Commit Graph

2555 Commits

Author SHA1 Message Date
Ehsan Akhgari
dead1c5a1b Bug 757632 - Re-enable the test; r=rstrong 2012-06-13 10:30:07 -04:00
Ehsan Akhgari
7ce04794eb Bug 764587 - Do not throttle the download of a complete mar if we fall back to a complete update after attempting to stage a partial update; r=rstrong 2012-06-13 22:00:03 -04:00
Ehsan Akhgari
7c66e981ad Bug 764269 - Handle symbolic links properly when copying the installation directory before staging an update; r=rstrong 2012-06-13 20:38:56 -04:00
Ehsan Akhgari
87bbd427a3 Bug 760577 - Part 4: Add full round-trip tests for keeping the mar file around and falling back to apply it at startup if replacing the application fails; r=rstrong
--HG--
rename : toolkit/mozapps/update/test/unit/test_0201_app_launch_apply_update.js => toolkit/mozapps/update/test/unit/test_0203_app_launch_apply_update.js
rename : toolkit/mozapps/update/test_svc/unit/test_0201_app_launch_apply_update_svc.js => toolkit/mozapps/update/test_svc/unit/test_0203_app_launch_apply_update_svc.js
2012-06-08 15:06:53 -04:00
Ehsan Akhgari
48639f87df Bug 760577 - Part 3: Verify the fallback behavior on all the locked file tests; r=rstrong
--HG--
rename : toolkit/mozapps/update/test/unit/test_0161_appInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0162_appInUse_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0174_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0175_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0184_fileInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0188_fileInUse_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0185_fileInUse_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0189_fileInUse_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0186_rmrfdirFileInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0190_rmrfdirFileInUse_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0187_rmrfdirFileInUse_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0191_rmrfdirFileInUse_xp_win_partial.js
rename : toolkit/mozapps/update/test_svc/unit/test_0161_appInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0162_appInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0174_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0175_fileLocked_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0184_fileInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0188_fileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0185_fileInUse_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0189_fileInUse_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0186_rmrfdirFileInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0190_rmrfdirFileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0187_rmrfdirFileInUse_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0191_rmrfdirFileInUse_xp_win_partial_svc.js
2012-06-14 09:26:02 -04:00
Ehsan Akhgari
cee6e67eff Bug 760577 - Part 2: Fall back to regular updates if the replacing step fails after we've staged an update; r=rstrong 2012-06-14 09:25:24 -04:00
Ehsan Akhgari
97c7757142 Bug 760577 - Part 1: Keep the update files around when an update has been staged; r=rstrong 2012-06-14 09:21:13 -04:00
Ehsan Akhgari
5f1a93f20d Bug 762032 - Increase the amount of time we wait for the helper application to finish running in the updater tests; r=rstrong 2012-06-11 10:36:21 -04:00
Matt Brubeck
cee86ebe22 Merge last green changeset from inbound to mozilla-central 2012-06-13 13:23:54 -07:00
Brian R. Bondy
4f18864be4 Bug 763474 - Firefox win32 l10n builds broken because Win2008R2 check not avail in NSIS 2.33. r=jimm 2012-06-13 12:33:15 -04:00
Ben Hearsum
f11903524a bug 758644: Contents/CodeResources isn't included in MARs. r=ted 2012-06-11 11:10:05 -04:00
Jason Orendorff
c3b86b1336 Bug 750307 - "Assertion failure: isBoolean()" in RegExpObject::ignoreCase after redefining nonconfigurable data property. r=Waldo. Second landing, test change rs=bholley on IRC. 2012-06-13 03:11:18 -05:00
Takanori MATSUURA
91189edc0c bug 761975 - remove extra closing parenthesis that makes RPM nightly build fail; r=bsmedberg
--HG--
extra : rebase_source : 2958a216f8077fdad42c3b9237642ee8aa533b0e
2012-06-06 10:56:40 -07:00
Ehsan Akhgari
7b7a3556e8 Merge the last green changeset of mozilla-inbound to mozilla-central 2012-06-02 14:39:47 -04:00
Pranav Ravichandran
a74d2889e8 Bug 750554 - If service is not used for updates then do not show it in preferences. r=bbondy 2012-05-31 10:28:01 -04:00
Ehsan Akhgari
5b1b2aa3b0 Bug 760290 - The update UI needs to be aware of the possibility that the update cannot be staged in the background; r=rstrong 2012-05-31 20:28:32 -04:00
Ehsan Akhgari
c1a2ef8da5 Bug 760027 - Attempt to retry moving the installation directory when performing the replace stage of an update 10 times; r=strong
This will hopefully give the applications which might have a handle to some
file in that directory open a chance to close them up so that the replace
operation would finish successfully.
2012-05-31 15:40:07 -04:00
Ehsan Akhgari
991b81f254 Bug 759615 - Avoid running the PostUpdate step when only staging the update in the background; r=rstrong 2012-05-30 18:09:59 -04:00
Ehsan Akhgari
976be9a0fc Merge mozilla-central into mozilla-inbound 2012-06-01 17:22:53 -04:00
Ed Morley
092d819417 Merge mozilla-central to mozilla-inbound 2012-06-01 16:58:27 +01:00
Ginn Chen
fd2aa86370 Bug 758514 consistently use typedef for NS_tchar, also enable testing for Solaris r=rstrong 2012-06-01 17:50:35 +08:00
Ehsan Akhgari
8a0b44b9e8 Bug 759065 - Fall back to downloading the full update if staging the update in the background fails; r=rstrong 2012-05-29 16:20:12 -04:00
Ehsan Akhgari
77dc25ccd3 Bug 757965 - Properly test for write access before staging an update in the background; r=rstrong
This patch makes sure that we test to make sure we can create a
directory in the installation directory and also in its parent (the
latter check only happens on Windows and Linux), so that we wouldn't try
to stage an update in the background if that's bound to fail if we don't
have the require write permissions.
2012-05-30 17:57:05 -04:00
Blair McBride
e6ee6fa65a Bug 757663 - AddonManagerInternal.callAddonlListeners() informs it's listeners unsafely, causing silent skips in the notification loop. r=Mossop,darktrojan 2012-06-01 18:12:26 +12:00
Ehsan Akhgari
e68423b7a6 Merge mozilla-central into mozilla-inbound 2012-05-30 22:43:10 -04:00
Robert Strong
045aefbfce Move channel-prefs.js back to original location - Bug 756325 - channel-prefs.js appears in new 'preferences' location on fresh installation but remains in 'pref' for updated existing installation. r=bbondy 2012-05-30 15:17:54 -07:00
Robert Strong
36b8cf6fcb Bug 759460 - Preprocess channel name into nsUpdateService.js instead of just using 'default'. r=bbondy 2012-05-30 15:17:43 -07:00
Ehsan Akhgari
3127b280c3 Bug 758998 - Use the correct installation directory when attempting to upgrade the maintenance service; r=bbondy 2012-05-29 17:31:04 -04:00
Dave Camp
8500bf9d6c Merge fx-team to m-c 2012-05-30 19:21:18 -07:00
Ehsan Akhgari
190b2cadd1 Bug 759390 - Make sure gCanStageUpdates will not fail if the maintenance service pref is set to false; r=rstrong 2012-05-30 13:54:10 -04:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ed Morley
7b41eeb233 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-30 12:20:57 +01:00
Blair McBride
eb5f63b0c8 Bug 746908 - Add parameter guards to AddonManager/AddonManagerPrivate API functions. r=dtownsend 2012-05-30 18:34:32 +12:00
Tim Taubert
7d9fdcd493 merge m-c to fx-team 2012-05-29 10:22:01 +02:00
Marcos Santiago ext:(%2C%20Jimmy%20Phan%20%3Cjphan9%40gmail.com%3E)
d1cf7a363c Bug 740237 - Use for...of loops in Add-ons Manager frontend and backend code. r=Unfocused 2012-05-28 00:21:48 +12:00
Brian R. Bondy
4671436044 Bug 692255 - Get rid of prefetch files on Windows for faster startup. r=rstrong 2012-05-27 22:40:48 -04:00
Ed Morley
28d48cf58f Merge mozilla-central to mozilla-inbound 2012-05-25 22:44:48 +01:00
Ehsan Akhgari
173dd728bb Debugging code for bug 757632; r=me 2012-05-25 16:57:00 -04:00
Ben Hearsum
f8e9b0626c bug 723176: support mac dmg signing in the build system - turn on signing of mac builds again. r=ted
--HG--
extra : rebase_source : 7aa71b8b31f975411b491966e859df15b8d9071f
2012-05-25 09:25:07 -04:00
Ehsan Akhgari
74c31c97e7 Bug 757965 - Test to make sure we have write access to the needed directories before attempting to stage an update; r=rstrong
--HG--
extra : rebase_source : 78470ccf04a9e29c5f6320e06ec899d3d47ac618
2012-05-25 03:17:16 -04:00
Ehsan Akhgari
4ea0bd11da Bug 757632 followup - Try to disable the test properly 2012-05-29 17:16:57 -04:00
Ehsan Akhgari
25952ff6ed Bug 757632 followup - Remove the test name from the manifest file; r=me 2012-05-29 17:03:36 -04:00
Ehsan Akhgari
49199db8cd Bug 757632 - Disable test_0202_app_launch_apply_update_dirlocked.js for now; r=me 2012-05-29 16:39:39 -04:00
Szabolcs Hubai
43aecde60c Bug 756960 - Iterate on a shallow copy while notifying downloadListeners. r=Mossop 2012-05-21 21:20:54 +02:00
Ehsan Akhgari
bb46fe0915 Bug 757885 - Handle falling back to non-staged updates correctly when an update fails to be staged in the background; r=rstrong 2012-05-23 17:51:50 -04:00
Ehsan Akhgari
6ef914c817 Bug 757835 - Fall back to not use the maintenance service if there is an error when using the service to stage an update in the background; r=rstrong
This will cause us to fall back to a non-background update with a UAC prompt,
which sucks, but at least it lets the user to update.

--HG--
extra : transplant_source : z%00/Z%ED%E3gj%A2%E6%244%D0%B0%AE%A1zdPT
2012-05-23 12:31:37 -04:00
Ryan VanderMeulen
2e63a9af97 Merge m-c to inbound 2012-05-23 22:39:33 -04:00
Ben Hearsum
7f46aa6ec8 Backout all patches from bug 723176, because we still have problems with our CodeResources file. 2012-05-23 22:30:25 -04:00
Ehsan Akhgari
f35f3560ae Bug 757981 - Make sure to use the correct installation directory for regular updates; r=bbondy 2012-05-23 16:50:10 -04:00
Ben Hearsum
a90f956c7a bug 723176: support mac dmg signing in the build system - add PACKAGE_BASE_DIR to packager.mk, override in l10n.mk, to fix mac repacks. r=ted 2012-05-23 13:53:43 -04:00