Commit Graph

490 Commits

Author SHA1 Message Date
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian R. Bondy
cc02047c24 Bug 750850 - Delayed loading. r=ehsan 2012-05-05 09:21:53 -04:00
Brian R. Bondy
0398ec71be Bug 751652 - Disable MAR tests when security checks are disabled. r=rstrong 2012-05-04 08:09:14 -04:00
Brian R. Bondy
c20b4e4ab2 Bug 748948 - Possible race condition when launching updates from service after security checks. r=rstrong, a=ehsan. 2012-05-02 15:40:33 -04:00
Brian R. Bondy
94473aa0f3 Bug 735970 - Add xpcshell tests for version downgrades. r=rstrong, a=test-only. 2012-05-01 22:17:31 -04:00
Peng Kang
98d1b53def Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 23:22:29 -04:00
Brian R. Bondy
233361a29e Bug 735969 - Revert the disable version downgrade check workaround from Bug 735784. r=rstrong 2012-04-12 19:06:19 -04:00
Chris Jones
936c3d52ae Bug 739801: Initialize the lastUpdateTime to 0 to make sure we check for an update on first startup after a fresh install (or profile clear). r=rs 2012-04-10 01:55:10 -07:00
Chris Jones
28b2216a18 Bug 737368, part 2: Implement a trivial update-application-progress UI for Gonk that shows ASCII bars in logcat. r=mwu
--HG--
rename : toolkit/mozapps/update/updater/progressui_null.cpp => toolkit/mozapps/update/updater/progressui_gonk.cpp
2012-03-21 15:50:53 -07:00
Chris Jones
f390d1321c Bug 737368, part 1: Fix up ifdefs to support building update code for Gonk. r=mwu 2012-03-21 15:50:53 -07:00
Brian R. Bondy
4e0c08fd8b Bug 735784 - Workaround for 13.0a1 users who are getting version downgrade errors. r=rstrong 2012-03-14 22:42:42 -04:00
Brian R. Bondy
8fb28312c5 Bug 735713 - MAR files should specify maximum version for version compare checks; r=ehsan 2012-03-14 19:39:40 -04:00
Ehsan Akhgari
527cea691e Bug 735713 - Make sure that we can update users if the version of the application has been bumped up; r=rstrong 2012-03-14 14:08:01 -04:00
Ehsan Akhgari
ade575882e Backed out changeset a888f210af4e (bug 735713) because of test failures on Windows
--HG--
extra : rebase_source : eb2c30597bd72049b57e3aed4a496e007d322d03
2012-03-14 17:45:18 -04:00
Ehsan Akhgari
71ca779083 Bug 735713 - Make sure that we can update users if the version of the application has been bumped up; r=rstrong 2012-03-14 14:08:01 -04:00
Brian R. Bondy
b61e60af2e Bug 731901 - Update telemetry ping to use new telemetry name. r=rstrong 2012-03-09 14:01:50 -05:00
Brian R. Bondy
bf2cc24f9c Bug 711054 - Stop using readstrings errors for updater. r=rstrong
--HG--
rename : toolkit/mozapps/readstrings/errors.h => toolkit/mozapps/update/common/errors.h
rename : toolkit/mozapps/readstrings/readstrings.cpp => toolkit/mozapps/update/common/readstrings.cpp
rename : toolkit/mozapps/readstrings/readstrings.h => toolkit/mozapps/update/common/readstrings.h
2012-03-05 15:47:46 -05:00
Brian R. Bondy
f054840ac4 Bug 730792 - Enable new security checks for updates without the service. r=rstrong 2012-03-05 15:47:46 -05:00
Kyle Huey
56bb56f79d Bug 728392: nsUpdateService should clear its references to the update listener once it is no longer needed. r=rs 2012-02-28 08:57:35 -08:00
Brian R. Bondy
32487eb533 Bug 725180 - Updater JS error handling for new error codes. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
f53637514f Bug 725180 - Misc libmar fixes found from tests. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
d5d3212890 Bug 728301 - Enable new security checks only for the service. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
b4f0f02c3b Bug 721758 - Ability to configure updater to accept multiple MAR IDs. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
91e82baa20 Bug 708690 - Updated MAR files for product information blocks. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
9f37e649a9 Bug 708690 - XPCShell test enhancements for product information blocks. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
fa2a4a39bd Bug 708690 - Updater enhancements for product information blocks. r=rstrong 2012-02-24 16:29:41 -05:00
Brian R. Bondy
4ae40571d6 Bug 711139 - MOZ_VERIFY_MAR_SIGNATURE build option for verifying MAR signatures. r=rstrong. sr=khuey 2012-02-24 16:29:41 -05:00
Brian R. Bondy
edd93a1353 Bug 704285 - Certificates for updater cert check. r=rstrong 2012-02-24 16:29:41 -05:00
Brian R. Bondy
650b463f1b Bug 704285 - Include certificates inside updater.exe and use them to verify MARs. r=rstrong 2012-02-24 16:29:41 -05:00
Brian R. Bondy
0ed7886cd2 Bug 699700 - Add support for signing and verifying MAR files in libmar and the mar program. r=bsmith 2012-02-24 16:29:41 -05:00
Ginn Chen
14e9d16868 Bug 674478 Implement rmdir rf without FTS on Solaris r=bbondy 2012-02-22 10:12:54 +08:00
Nathan Froyd
6ae9126bcf Bug 727156 - fix compiler warnings in toolkit/mozapps/update/; r=bbondy 2012-02-14 10:48:23 -08:00
Geoff Lankow
b0321a6413 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg 2012-01-17 14:18:29 +13:00
Panagiotis Koutsourakis
e1c3ff7ece Bug 702388 - Convert some more Makefiles to use |TEST_DIRS += foo|; r=khuey 2012-02-10 21:06:56 +00:00
Brian R. Bondy
4e8a0d70b6 Bug 719947 - Add an indeterminate progress bar for updates applied from service. r=rstrong 2012-02-03 08:51:22 -05:00
Brian R. Bondy
56f12f2e82 Bug 719066 - Callback application should relaunch with the same privileges it had last. r=rstrong 2012-01-22 16:18:15 -05:00
Matt Brubeck
e21f1bcba1 Merge mozilla-central and mozilla-inbound 2012-01-19 11:13:07 -08:00
Brian R. Bondy
5b8410bbc2 Bug 718450 - Callback application does not relaunch on some limited user account WinXP. r=rstrong 2012-01-19 13:05:51 -05:00
Tim Taubert
8165319fae merge m-c to fx-team 2012-01-19 12:10:03 +01:00
Robert Strong
406b98c2d9 Main patch - Bug 660038 - Remove channel switching support. r=bbondy 2012-01-18 14:10:38 -08:00
Tim Taubert
3c3a8573ab merge m-c to fx-team 2012-01-13 11:40:59 +01:00
Jared Wein
87eda9a7cd Bug 710968 - Updater incorrectly checks fread() retval. r=bbondy 2012-01-12 16:38:20 -08:00
Brian R. Bondy
1cc4dd3f92 Bug 715749 - service broke builds with --disable-updater. r=rstrong 2012-01-10 11:28:50 -05:00
Brian R. Bondy
e2fc40309f Bug 715746 - Fix for intermittent test_0000_bootstrap_svc.js failure failed: 7 == succeeded. r=rstrong 2012-01-12 09:54:40 -05:00
Mike Hommey
567913809a Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00
Brian R. Bondy
c97793c692 Bug 711692 - Various fixes for intermittent failures. r=rstrong. 2011-12-28 21:08:37 -05:00
Brian R. Bondy
2fdf796977 Bug 711692 - appbin fix and SCM lock hang fix. r=rstrong. 2012-01-04 23:19:19 -05:00
Robert Strong
95ad280cda Bug 711692 - Fail if service is started and doesn't stop at test start. r=bbondy. 2012-01-04 23:19:19 -05:00
Brian R. Bondy
3588126af5 Bug 711692 - Don't rely on event and don't uninstall/install service on updates. r=rstrong. 2012-01-04 23:19:19 -05:00
Brian R. Bondy
814dc1f222 Bug 711692 - Cleanup tests. r=rstrong. 2012-01-04 23:19:18 -05:00
Brian R. Bondy
36927de39a Bug 711692 - Loop on app bin copy to ensure it can be removed (intermittent test failure). r=rstrong. 2012-01-04 23:19:18 -05:00
Brian R. Bondy
1d25a248b6 Bug 711834 - Clear out env variable after getting value from unelevated updater.exe. r=rstrong. 2012-01-04 23:19:18 -05:00
Brian R. Bondy
d80120e18e Bug 711692 - Intermittent service callback log failure fix. r=rstrong. 2012-01-04 23:19:18 -05:00
Brian R. Bondy
51ebd2d43b Bug 712211 - Stop service before the test as well and wait for 20 seconds at most. r=rstrong. 2012-01-04 23:19:18 -05:00
Brian R. Bondy
477121ea93 Bug 712155 - Maintenance service: Wait for service to stop before starting the next xpcshell test. r=rstrong. 2012-01-04 23:19:18 -05:00
Brian R. Bondy
195b8ef006 Bug 711834 - Fix force no UAC prompt for xpcshell tests. r=rstrong 2012-01-04 23:19:17 -05:00
Brian R. Bondy
e0a208e138 Bug 711792 - Speed up and simplify maintenance service update command processing. r=rstrong. 2012-01-04 23:19:17 -05:00
Robert Strong
5d94139de0 Bug 711692 - Append TEST_ID to app_console_log. r=bbondy. 2012-01-04 23:19:17 -05:00
Robert Strong
9fc224f58b Bug 711692 - Some intermittent failures cleaned up for new maintenance service tests. r=bbondy. 2011-12-16 20:33:17 -05:00
Brian R. Bondy
041d4c3506 Bug 711682 - command line support to determine if updater is signed. r=rstrong. 2012-01-04 23:19:17 -05:00
Robert Strong
e40116e467 Bug 711660 - maintenance service updater tests can't be run locally. r=bbondy. 2011-12-16 20:33:17 -05:00
Brian R. Bondy
b374707209 Bug 711505 - Callback application should be locked when doing updates from the service. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
165e3a3c65 Bug 711140 - Use maintenance service if the fallback key is present so tests can run. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
c41584e6f4 Bug 709598 - If no registry keys exist for the install dir, don't try to use the maintenance service for updates. r=rstrong.
--HG--
rename : toolkit/components/maintenanceservice/pathhash.cpp => toolkit/mozapps/update/common/pathhash.cpp
rename : toolkit/components/maintenanceservice/pathhash.h => toolkit/mozapps/update/common/pathhash.h
2012-01-04 23:19:16 -05:00
Brian R. Bondy
e6f1faa1ee Bug 708778 - Updater service used on Windows should drop as many permissions as possible. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
af8dcf0b95 Bug 709173 - updater.exe needs to be verified to be an updater, not just an executable signed by Mozilla. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
28a67f5a40 Bug 709158 - updater.exe was not verified to be a particular product's/channel's/version of the updater. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
d9f3ef0a5a Bug 709183 - Callback path and arguments untrusted, don't use/pass them. r=rstrong. 2012-01-04 23:19:16 -05:00
Brian R. Bondy
86afcc4bf8 Bug 708854 - No longer use session ID for work item files. r=rstrong.
--HG--
rename : toolkit/mozapps/update/common/launchwinprocess.cpp => toolkit/mozapps/update/common/updatehelper.cpp
rename : toolkit/mozapps/update/common/launchwinprocess.h => toolkit/mozapps/update/common/updatehelper.h
2012-01-04 23:19:15 -05:00
Ehsan Akhgari
c83fd30f2f Bug 481815 - Make sure that the maintenance service tests are only run when the service is enabled. r=rstrong.
--HG--
rename : toolkit/mozapps/update/test/Makefile.in => toolkit/mozapps/update/test_svc/Makefile.in
rename : toolkit/mozapps/update/test/unit/test_0000_bootstrap_svc.js => toolkit/mozapps/update/test_svc/unit/test_0000_bootstrap_svc.js
rename : toolkit/mozapps/update/test/unit/test_0110_general_svc.js => toolkit/mozapps/update/test_svc/unit/test_0110_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general_svc.js => toolkit/mozapps/update/test_svc/unit/test_0111_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general_svc.js => toolkit/mozapps/update/test_svc/unit/test_0112_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0120_channelChange_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0120_channelChange_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0150_appBinReplaced_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0150_appBinReplaced_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0151_appBinPatched_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0151_appBinPatched_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0160_appInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0160_appInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0170_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0171_fileLocked_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0180_fileInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0180_fileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0181_fileInUse_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0181_fileInUse_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0182_rmrfdirFileInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0182_rmrfdirFileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0183_rmrfdirFileInUse_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0183_rmrfdirFileInUse_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update_svc.js => toolkit/mozapps/update/test_svc/unit/test_0200_app_launch_apply_update_svc.js
rename : toolkit/mozapps/update/test/unit/xpcshell_updater_windows_svc.ini => toolkit/mozapps/update/test_svc/unit/xpcshell.ini
2012-01-04 23:19:15 -05:00
Ehsan Akhgari
a4f0bf9dcb Bug 481815 - Automated tests for updates using the maintenance service; r=rstrong.
--HG--
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0110_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0111_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0112_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0120_channelChange_complete.js => toolkit/mozapps/update/test/unit/test_0120_channelChange_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0150_appBinReplaced_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0150_appBinReplaced_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0151_appBinPatched_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0151_appBinPatched_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0160_appInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0160_appInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0180_fileInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0180_fileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0181_fileInUse_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0181_fileInUse_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0182_rmrfdirFileInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0182_rmrfdirFileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0183_rmrfdirFileInUse_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0183_rmrfdirFileInUse_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update.js => toolkit/mozapps/update/test/unit/test_0200_app_launch_apply_update_svc.js
2012-01-04 23:19:14 -05:00
Brian R. Bondy
54527b0e1a Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00
Brian R. Bondy
65f8818961 Bug 718348 - Obtain more telemetry data for app update memory errors. r=rstrong 2012-01-18 13:43:21 -05:00
Dave Townsend
1cd8e3f6d4 Bug 704988: Check the add-on hotfix is signed by a specific certificate. r=robstrong, r=Unfocused 2011-12-16 12:04:28 -08:00
Dave Townsend
8af0b5129b Bug 704987: Ignore the hotfix add-on when warning users about incompatible add-ons. r=robstrong 2011-12-16 12:04:40 -08:00
Ehsan Akhgari
73f27461e5 Bug 708123 - Add a telemetry probe for update status; r=rstrong 2011-12-09 11:37:16 -05:00
Mike Hommey
c124580b04 Bug 696555 - Move update.locale into omni.jar. r=rstrong 2011-11-22 08:05:59 +01:00
Tim Abraldes
a92e874526 Bug 668436 - Send service pack major and minor version info in AUS ping. r=rstrong 2011-11-07 12:53:41 -06:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Blair McBride
92950dc020 Bug 693901 - Add preference to globally (re)enable strict compatibility checks. r=dtownsend 2011-11-01 18:48:45 +13:00
Jonas Sicking
0588c874fd Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Kyle Huey
d822544c8a Bug 687332: Fix up update tests. 2011-09-29 12:06:36 -04:00
Kyle Huey
ad4e94ee90 Bug 687332: Fix toolkit/. r=rs 2011-09-29 12:06:36 -04:00
Mike Hommey
3c82e02c3f Bug 687139 - Avoid linking the updater against libmozutils. r=khuey 2011-09-17 08:55:45 +02:00
Michael Wu
4d3352bc1e Bug 682547 - Convert readstrings.cpp to bool, r=rstrong 2011-08-30 11:55:14 -07:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Phil Ringnalda
ff3f5d608d Bug 668508 - Use xpcshell manifests instead of preprocessing to control which update tests run on which platforms, r=rs 2011-06-08 23:18:44 -07:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Nick Thomas
6d51508415 Bug 491464, Append -shark to BUILDTARGET for update queries when shark is enabled, r=rstrong 2011-06-30 10:23:04 +12:00
Jonas Sicking
7ac9726ad6 Bug 664932: Make update unit tests not implement nsIXMLHttpRequestEventTarget in script. r=rstrong 2011-06-22 15:17:07 -07:00
Robert Strong
daa61a7eb2 Bug 661784 - Make sure that the nsITimer variable doesn't get garbage collected causing the updater tests to fail intermittently; r=ehsan 2011-06-13 17:32:17 -04:00
Phil Ringnalda
c29b25bbce Bug 660504 - Use $(OS_TARGET) rather than ifndef ANDROID, which doesn't work in makefiles, to keep Android away from the parts of mozapps/update/ that require the updater binary, r=rs 2011-06-04 22:31:23 -07:00
Robert Strong
f2b5628639 backing out Bug 661784 since it didn't help 2011-06-09 17:31:03 -07:00
Robert Strong
7d238e35b9 Bug 647296 - crashreporter.exe and updater.exe creates HKEY_CURRENT_USER\Software\Classes\Applications as a volatile key. r=khuey 2011-06-09 15:14:19 -07:00
Robert Strong
ba02b8273b Bug 661784 - Intermittent timeout /test_0083_error_patchApplyFailure_partial_complete.xul | Test timed out. Maximum time allowed is 25 seconds. r=mossop 2011-06-09 15:14:09 -07:00
Robert Strong
cf868e6923 Bug 658916 - TEST-UNEXPECTED-FAIL | test_0182_rmrfdirFileInUse_xp_win_complete.js | test failed (with xpcshell return code: 0), see following log:TEST-UNEXPECTED-FAIL | head.js | exception thrown from do_timeout callback. r=mossop 2011-06-09 15:14:00 -07:00
Peter Van der Beken
ae44770a16 Fix for bug 658632 (Provide easy way to add non-leaky classinfo to JS components). r=gavin.
--HG--
extra : rebase_source : 8463c6f8ba1f969278d4e33bfa08495fa3e36071
2011-05-25 10:46:51 +02:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00