Commit Graph

727 Commits

Author SHA1 Message Date
Robert Strong
205bbe75bf Part 1. use custom XREExeF and UpdRootD - Bug 889183 - mozapps/update xpcshell tests cannot be run concurrently. r=bbondy 2013-07-16 19:19:03 -07:00
Robert Strong
f9985178c3 Simplify xpcshell ini files - Bug 894115 - xpcshell ini file confusion. r=bbondy 2013-07-16 19:18:44 -07:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Masatoshi Kimura
9b846c9c52 Bug 888870 - Add Windows 8.1 support to WinUtils::GetWindowsVersion. r=jimm 2013-07-12 06:26:55 +09:00
Robert Strong
86edef7731 Bug 886545 - Provide method to check for updates to support bug 885641. r=bbondy 2013-07-11 13:46:32 -07:00
Joey Armstrong
df6123b0bc bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Robert Strong
3261700a85 Test fix for Bug 889860 - Intermittent test_0200_app_launch_apply_update.js | Test timed out | test failed (with xpcshell return code: 1). r=bbondy 2013-07-05 13:11:44 -07:00
Joey Armstrong
44ade60e99 bug 870370: EXTRA_COMPONENTS cleanup for conversion patches #1 & #2. 2013-07-03 12:01:06 -04:00
Robert Strong
c82c660633 Bug 853198 - Defend against bad system clocks. r=bbondy 2013-07-02 19:05:27 -07:00
Brian R. Bondy
f64ea7aba4 Bug 888361. r=rstrong 2013-07-01 19:11:52 -04:00
Brian R. Bondy
5a1474f31c Bug 888314. r=rstrong 2013-07-01 19:11:59 -04:00
Brian R. Bondy
10e772f676 Bug 859072. r=rstrong 2013-07-01 19:12:06 -04:00
Robert Strong
6804d8b857 Take 2 - fix a likely race condition that might fix Bug 626833 - Intermittent test_0200_app_launch_apply_update.js. r=bbondy 2013-07-01 19:31:38 -07:00
Robert Strong
c79d305310 Test only patch - Bug 626833 - Intermittent failure in test_0200_app_launch_apply_update.js. r=bbondy 2013-06-27 12:58:14 -07:00
Shih-Chiang Chien
2c5d35b0f0 Bug 880737 - Cancel retry timer while pausing OTA download. r=bbondy 2013-06-26 21:35:29 -04:00
Robert Strong
e4dd348ebf Bug 886647 - passed unused in TestAUSHelper.cpp. r=bbondy 2013-06-25 13:16:28 -07:00
Robert Strong
d5c5b59562 Additional test patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-22 13:37:25 -07:00
Robert Strong
c16af18aa7 xpcshell test fixup - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=me for test fixup 2013-06-22 13:37:20 -07:00
Robert Strong
30f87f9181 3. tests patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-22 13:37:16 -07:00
Robert Strong
1452df86fa 1. main patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-22 13:37:07 -07:00
Phil Ringnalda
1225010fe6 Back out 7c8506b0729d (bug 843497) since I already backed out the rest of the bug's patches for xpcshell failures 2013-06-21 19:52:48 -07:00
Phil Ringnalda
1ea0ef631a Back out 01bc57172461:5bd9adbd3b15 (bug 843497) for xpcshell failures 2013-06-21 19:49:47 -07:00
Robert Strong
36bf5da9d1 Additional test patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-21 19:39:48 -07:00
Robert Strong
ce8f7a922c 3. tests patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-21 18:11:25 -07:00
Robert Strong
0724cfacea 1. main patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-21 18:10:58 -07:00
Joey Armstrong
1156439ca4 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Robert Strong
c14eb2b8a5 Tests - Bug 882007 - Restart notification is not shown when staging is enabled. r=bbondy
--HG--
rename : toolkit/mozapps/update/test/chrome/test_0095_restartNotification.xul => toolkit/mozapps/update/test/chrome/test_0093_restartNotification.xul
rename : toolkit/mozapps/update/test/chrome/test_0096_restartNotification_remote.xul => toolkit/mozapps/update/test/chrome/test_0094_restartNotification_remote.xul
rename : toolkit/mozapps/update/test/chrome/test_0097_restartNotification_remoteInvalidNumber.xul => toolkit/mozapps/update/test/chrome/test_0095_restartNotification_remoteInvalidNumber.xul
rename : toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul => toolkit/mozapps/update/test/chrome/test_0096_restartNotification_stagedBackground.xul
rename : toolkit/mozapps/update/test/chrome/test_0094_stagedServiceBackground.xul => toolkit/mozapps/update/test/chrome/test_0097_restartNotification_stagedServiceBackground.xul
2013-06-19 18:05:34 -07:00
Robert Strong
3e07312ff7 Main patch - Bug 882007 - Restart notification is not shown when staging is enabled. r=bbondy 2013-06-19 18:05:04 -07:00
Joey Armstrong
2145ef4142 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (file batch #1) r=mshal 2013-06-14 14:07:19 -04:00
Brian R. Bondy
a83303e488 Bug 874323 - Continue to launch callback when allow set foreground call fails. r=jimm 2013-06-12 10:31:10 -04:00
Brian R. Bondy
389028a997 Bug 874323 - wait longer for app to close for Metro since it launches updater directly. r=rstrong 2013-06-12 10:31:10 -04:00
Brian R. Bondy
c713f259fc Bug 874323 - Start updater manually for Metro to apply update. r=rstrong 2013-06-12 10:31:10 -04:00
Brian R. Bondy
2365bc282c Bug 866229 - Metro pref telemetry. r=rstrong 2013-06-12 10:31:10 -04:00
Brian R. Bondy
d2a554b3bd Bug 866229 - Don't abort when app.update.silent is true and update.showPrompt is true on Metro. r=rstrong 2013-06-12 10:31:10 -04:00
Brian R. Bondy
0ecd3a56fe Bug 866229 - Use metro enabled pref. r=rstrong 2013-06-12 10:31:09 -04:00
Joey Armstrong
bfded569cf bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal 2013-06-10 11:19:28 -04:00
Martin Stransky
572a55316c Bug 877626 - Port GTK2 to GTK3 - build config - xpcom, toolkit, accessible, xulrunner dirs. r=ted, r=karlt 2013-06-10 08:36:26 -04:00
Joey Armstrong
b3686ddf23 bug 870407: move CMMSRCS to moz.build (file batch #1). r=mshal 2013-06-07 11:43:39 -04:00
Robert Strong
fadd742811 2. Move gProcessObserver and gTimerCallback to head_update.js.in - Bug 879612 - Move app update common xpcshell test code into head_update.js.in. r=bbondy 2013-06-05 20:25:42 -07:00
Robert Strong
de1ffd84e1 1. Move adjustPathsOnWindows to head_update.js.in - Bug 879612 - Move app update common xpcshell test code into head_update.js.in. r=bbondy 2013-06-05 20:25:06 -07:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Brian R. Bondy
1c91f2b4ba Bug 867056. r=rstrong 2013-05-23 13:26:44 -04:00
Brian R. Bondy
b501437d89 Bug 794937 - Updater callback should launch Metro Firefox when updating from Metro Firefox. r=rstrong 2013-05-22 10:16:56 -04:00
Brian R. Bondy
7f71bc9de8 Bug 794937 - Make updates work from the Metro front end, add handling for 1 instance handling updates. r=rstrong 2013-05-22 10:16:53 -04:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Gregory Szorc
44c73ec043 Bug 863069 - Part 4: Reorder lists to be alphabetical; r=ted
--HG--
extra : rebase_source : 87ed9d862bc32824d518438b0be74b47a77c198a
2013-05-16 15:37:18 -07:00
Ryan VanderMeulen
05933cccdf Backed out changeset 94978dab7186 (bug 863069) for build bustage.
CLOSED TREE
2013-05-16 13:22:02 -04:00
Gregory Szorc
c8d80b86ec Bug 863069 - Part 4: More sorting of existing lists; r=ted 2013-05-16 09:53:27 -07:00
Brian R. Bondy
bc92d73e1a Bug 572162 - Changes to tests for update root hash changes. r=rstrong 2013-05-15 10:58:09 -07:00
Brian R. Bondy
f153980081 Bug 572162 - Update root dir migration xpcshell tests. r=rstrong 2013-05-15 10:58:09 -07:00
Brian R. Bondy
7b78adf4e8 Bug 572162 - Migrate update files to new update directory after updates. r=rstrong 2013-05-15 10:58:09 -07:00
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Brian O'Keefe
3f66654fdb Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-05-01 14:05:40 -04:00
Stephen Kraemer
8b4660cd59 Bug 836078 - Replace all gcc __GNUC__ version checks with MOZ_GCC_VERSION_AT_LEAST macro. r=dvander 2013-05-01 15:45:05 -04:00
Ryan VanderMeulen
a940e46079 Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
9305158b76 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 20:46:10 -04:00
Ryan VanderMeulen
4f020afd30 Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures. 2013-04-30 10:08:38 -04:00
Brian O'Keefe
fd2b88f265 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 09:08:31 -04:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Brian R. Bondy
285ede137c Bug 715746 - Test fixes for allowing updates to be applied on Windows while the browser is open. r=rstrong
--HG--
rename : toolkit/mozapps/update/test/unit/test_0160_appInUse_xp_unix_complete.js => toolkit/mozapps/update/test/unit/test_0160_appInUse_complete.js
rename : toolkit/mozapps/update/test_svc/unit/test_0160_appInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0160_appInUse_complete_svc.js
2013-04-28 18:27:00 -04:00
Brian R. Bondy
1c9fbf544f Bug 715746 - Allow callback to be renamed and update to continue if in use. r=rstrong 2013-04-28 18:26:56 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Boris Zbarsky
71fae3fb7c Bug 792215. Convert quickstubs to using JSNative getters and setters. r=peterv 2012-09-25 14:44:40 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
0d33ac5f93 Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium 2013-03-12 10:20:41 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Brian R. Bondy
3537cb8eb8 Bug 843770. r=rstrong 2013-02-28 16:12:51 -05:00
Brian R. Bondy
a177984e04 bug 830134. r=rstrong 2013-02-28 10:05:45 -05:00
Ms2ger
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
cc8470b5e8 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Marshall Culpepper
06a8d84849 Bug 833708: Correctly set the active update's errorCode when there isn't enough space in Gonk. r=dhylands 2013-02-25 21:11:14 -06:00
Shih-Chiang Chien
fbbdc55e37 Bug 835260 - Need B2G version number for composing update URL. r=marshall_law 2013-02-25 20:44:12 -05:00
Gavin Sharp
0185984451 Remove some unnecessary preprocessing, no bug
--HG--
extra : rebase_source : b8bfed7a5b55652fd8a9b3bf3c601accb8b2022f
2013-02-17 17:49:25 -08:00
Tatiana Meshkova
675609b5ae Bug 837730 - Add missing NULL definition so that updater will compile on some Linux platforms. r=rstrong 2013-02-12 16:14:13 -08:00
Dave Hylands
babb96dec1 Bug 827896 - Cancel download rather than letting it fail when powering off the phone. r=rstrong 2013-02-08 19:36:16 -08:00
Mike Hommey
414926b916 Bug 793767 - Use the executable file location to derive the update root. r=rstrong 2013-02-08 15:58:52 +01:00
Robert Strong
23a279658b Bug 753730 - Intermittent test_0110_general_svc.js failure in head_update.js | UPDATE TYPE complete. r=bbondy 2013-02-05 10:48:00 -08:00
Robert Strong
ff98fd9c24 Bug 767968 - Intermittent test_0201_app_launch_apply_update.js, test_0203_app_launch_apply_update.js | WindowsError: [Error 13] The process cannot access the file because it is being used by another process: '...\maintenanceservice_installer.exe'. r=bbondy 2013-02-04 17:54:13 -08:00
Robert Strong
9ea1cd0150 Bug 762032 - Intermittent test_0201_app_launch_apply_update_svc.js | WindowsError: [Error 13] The process cannot access the file because it is being used by another process: '...\ExecutableDir.tmp\bin\uninstall\helper.exe'. r=bbondy 2013-02-04 17:54:02 -08:00
Robert Strong
49aee920ea Bug 695811 - Checking for updates logs two warnings about deprecated XMLHttpRequest attributes. r=bbondy, r=dhylands 2013-02-01 18:58:48 -08:00
Robert Strong
50e2943d8a Additional logging for Bug 835197 - Intermittent test_0201_app_launch_apply_update.js, test_0202_app_launch_apply_update_dirlocked.js, test_0203_app_launch_apply_update.js [Exception... 'Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.copyTo]'. r=bbondy 2013-02-01 11:36:08 -08:00
Robert Strong
157ca47999 Bug 836620 - Cleanup app binary copies used by app update xpcshell tests. r=bbondy 2013-01-31 12:31:52 -08:00
Ehsan Akhgari
32d278987e Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Robert Strong
d0f559c7f4 Significantly increase timeout to see if it makes a difference for Bug 814535 and bug 774014 - Intermittent test_0203_app_launch_apply_update.js, test_0203_app_launch_apply_update_svc.js Intermittent test_0201_app_launch_apply_update.js, test_0201_app_launch_apply_update_svc.js | launch application timer expired. r=bbondy 2013-01-28 12:23:27 -08:00
Robert Strong
6b202f1957 Bug 835090 - Where possible app update xpcshell tests should run on xulrunner. r=bbondy 2013-01-28 12:23:10 -08:00
Dave Hylands
af3bb6ca29 Bug 831701 - Finish active updates unless the user swtiches to a newer one. Remove stale updates. r=rstrong
Once the user starts to download an update, stick to that update until the user cancels the download and does a "Check Now".

If a newer update is started and a stale update is detected, remove the stale update.

If a download fails due an update being in the applied state, prompt the user to apply it.

If an update was fully downloaded, but interrupted during verification, then don't redownload.
2013-01-25 10:27:49 -08:00
Dave Hylands
802e24ff19 Bug 802423 - Updater needs to set oom_adj and nice appropriately. e=ehsan a=b2g-only 2013-01-21 12:22:16 -08:00
Dave Hylands
01c02154e4 Bug 830462 - Remove update.mar from sdcard when finished (or when starting a new download). r=rstrong 2013-01-14 20:29:46 -08:00
Dave Hylands
821f180a4d Bug 823695 - unsetenv LD_PRELOAD when running the updater. r=cjones 2013-01-14 23:18:44 -08:00
Robert Strong
808dbee277 Followup possible fix for Bug 814535 and Bug 774014 - Intermittent test_0201_app_launch_apply_update* and test_0203_app_launch_apply_update* | launch application timer expired. r=bbondy, a=test-only 2013-01-13 00:46:41 -08:00
Robert Strong
062a0de755 Possible fix for Bug 814535 and Bug 774014 - Intermittent test_0201_app_launch_apply_update* and test_0203_app_launch_apply_update* | launch application timer expired. r=bbondy 2013-01-12 23:30:11 -08:00
Dave Hylands
5f6cd11a09 Bug 813770 - Fix xpcshell update tests to work with new code. r=rstrong 2013-01-12 05:03:13 +01:00
Dave Hylands
bbea4b3632 Bug 813770 - Rebooting after update is downloaded but before it's applied doesn't show prompt to re-apply on subsequent restart. r=rstrong 2013-01-12 05:03:13 +01:00
Chris Peterson
f456453bfd Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Marshall Culpepper
84fb5c3fc7 Bug 816306: Part 2 - Report update HTTP errors to Gaia, and accompanying tests. r=fabrice 2013-01-10 18:13:39 +01:00
Marshall Culpepper
c669f32c0a Bug 816306: Part 1 - Report more network errors during update checks. r=bbondy 2013-01-10 18:10:19 +01:00