Commit Graph

708 Commits

Author SHA1 Message Date
Marshall Culpepper
ba8c45700b Bug 764684: Enable update staging for B2G, and skip the update.test check. r=ehsan 2012-08-27 12:15:12 -03:00
Ehsan Akhgari
2962d2eed1 Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mark Capella
d35354cd9e Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Toolkits, r=ted, f=gps 2012-08-14 10:06:12 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
be451c22dc Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
e79d87471e Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Blair McBride
c11391d111 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
Matt Brubeck
0c2d460ca2 Bug 774789 - Add quotes around MOZ_APP_DISPLAYNAME to fix build errors on beta [r=ted] 2012-07-17 12:10:11 -07:00
Ehsan Akhgari
eb8c258145 Bug 767968 - Increase the amount of time we wait for the helper application to finish running in the updater tests; r=rstrong 2012-07-10 20:13:52 -04:00
Ehsan Akhgari
ad10d0e5c3 Bug 771766 - Preserve the case of the application installation directory when replacing the application after an update for it has been staged; r=rstrong 2012-07-09 20:50:16 -04:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mark Banner
46c22a04d6 Bug 766264 Fix test failures in test_0201_app_launch_apply_update.js and test_0203_app_launch_apply_update.js when MOZ_MAINTENANCE_SERVICE isn't set for the build by correctly handling the applied state value. Also tidy up some error statements to provide better debug. r=ehsan 2012-07-05 08:42:03 +01:00
Siddharth Agarwal
e5365ab69f Bug 767827 - TestAUSReadStrings.cpp fails with 'unable to find platform specific path separator' under Pymake on Windows. r=rstrong 2012-06-26 22:39:17 +05:30
Neil Rashbrook
7b61c655b7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Brian R. Bondy
0505a31cba Bug 767471 - Report telemetry data for if the MozillaMaintenance service was ever manually uninstalled. r=rstrong 2012-06-25 15:17:45 -04:00
Ed Morley
38b8947933 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
a95ac4a2a9 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Brian R. Bondy
a36b6983f0 Bug 735975 - Get rid of UNEXPECTED_ERROR codes from updater error handling. r=ehsan 2012-06-21 19:40:47 -04:00
Brian R. Bondy
d66bdba6ff Bug 766567 - Figure out the source of WRITE_ERROR (7) errors in updater code. r=ehsan 2012-06-21 19:40:43 -04:00
Mike Hommey
13388d7565 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
2c40a7fa85 Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
7d33543b83 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mark Banner
d49e0abf6f Bug 757794 - Constant "command timed out: 1200 seconds without output" in test_0200_app_launch_apply_update.js and others. Ensure that timeout loops will always abort eventually. r=ehsan
--HG--
extra : rebase_source : d29af708ec3c8d26bb5bcc95c51e25b13f798072
2012-06-19 15:48:00 +01:00
Ryan VanderMeulen
1df0bbcdcc Merge inbound to m-c. 2012-06-16 09:38:43 -04:00
Brian R. Bondy
505064e416 Bug 763025 - Report telemetry data for the number of people that cannot upgrade due to permissions. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
aa85cfc765 Bug 763018 - Report telemetry data for if background updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
470c83fc9b Bug 763016 - Report telemetry data for if the MozillaMaintenance service is installed. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
dd8cf25f67 Bug 763022 - Report telemetry data for the number of service related errors people encountered. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
42e78780a1 Bug 763017 - Report telemetry data for if the MozillaMaintenance service is enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
52cd3783ba Bug 763012 - Report telemetry data for whether or not updates are automatic. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
d04c812950 Bug 763011 - Report telemetry data for whether or not updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Ehsan Akhgari
bafa4505f1 Bug 757632 - Re-enable the test; r=rstrong 2012-06-13 10:30:07 -04:00
Ehsan Akhgari
6ec73dc93d 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
3bc64d4216 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
40be4b6271 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
f8297e90d5 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
ac82ce6e75 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
14e077ce86 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
4be95f94ff 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
Brian R. Bondy
a17abf507b bug 740842 - When updating Firefox the service is used although the UAC is off in win8. r=rstrong 2012-06-15 17:43:58 -04:00
Ehsan Akhgari
299eef5789 Merge the last green changeset of mozilla-inbound to mozilla-central 2012-06-02 14:39:47 -04:00
Pranav Ravichandran
913a846852 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
3cb1fce0b2 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
d98ade3af7 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
741f3aa5e4 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
f0f2c4c6f3 Merge mozilla-central into mozilla-inbound 2012-06-01 17:22:53 -04:00
Ginn Chen
6da3ccb587 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
6508c6a4a5 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
e2a2f37105 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
Ehsan Akhgari
4ca5e487c2 Merge mozilla-central into mozilla-inbound 2012-05-30 22:43:10 -04:00
Robert Strong
76299ad0c2 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
b80be89a87 Bug 758998 - Use the correct installation directory when attempting to upgrade the maintenance service; r=bbondy 2012-05-29 17:31:04 -04:00
Ehsan Akhgari
4e3796a564 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
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ehsan Akhgari
35799dd0ac Bug 757632 followup - Try to disable the test properly 2012-05-29 17:16:57 -04:00
Ehsan Akhgari
9d124404a4 Bug 757632 followup - Remove the test name from the manifest file; r=me 2012-05-29 17:03:36 -04:00
Ehsan Akhgari
ce033c3b11 Bug 757632 - Disable test_0202_app_launch_apply_update_dirlocked.js for now; r=me 2012-05-29 16:39:39 -04:00
Brian R. Bondy
869d0f838f Bug 692255 - Get rid of prefetch files on Windows for faster startup. r=rstrong 2012-05-27 22:40:48 -04:00
Ehsan Akhgari
83a556e6f2 Debugging code for bug 757632; r=me 2012-05-25 16:57:00 -04:00
Ehsan Akhgari
089ae618d3 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
Szabolcs Hubai
329ae02b55 Bug 756960 - Iterate on a shallow copy while notifying downloadListeners. r=Mossop 2012-05-21 21:20:54 +02:00
Ehsan Akhgari
4cf7dcbd5e 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
066029ac7f 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
Ehsan Akhgari
1ff26e1fb8 Bug 757437 - Remove the rest of the support code for xpcshell-specific Mac bundle hacks from bug 307181; r=rstrong 2012-05-22 11:32:01 -04:00
Ehsan Akhgari
0ea3be6ccb Bug 757981 - Make sure to use the correct installation directory for regular updates; r=bbondy 2012-05-23 16:50:10 -04:00
Landry Breuil
12f3ec812b Bug 757611 - pass a FILE* to ferror(), fixes build on OpenBSD - r=ehsan 2012-05-22 17:24:42 -04:00
Ehsan Akhgari
904efc4f7a Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart.  This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.

Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.

--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian R. Bondy
1b38735da3 Bug 750850 - Delayed loading. r=ehsan 2012-05-05 09:21:53 -04:00
Brian R. Bondy
13b6966040 Bug 751652 - Disable MAR tests when security checks are disabled. r=rstrong 2012-05-04 08:09:14 -04:00
Brian R. Bondy
2a4bd445d4 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
c7c0958d8f Bug 735970 - Add xpcshell tests for version downgrades. r=rstrong, a=test-only. 2012-05-01 22:17:31 -04:00
Peng Kang
2fbc22e590 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
2603dd257a Bug 735969 - Revert the disable version downgrade check workaround from Bug 735784. r=rstrong 2012-04-12 19:06:19 -04:00
Chris Jones
429bcdc10b 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
3230be69f4 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
c1482b9eec 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
24ef69a7c8 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
222b5d3a39 Bug 735713 - MAR files should specify maximum version for version compare checks; r=ehsan 2012-03-14 19:39:40 -04:00
Ehsan Akhgari
8556581fe1 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
e3ed3939b7 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
c69bcdf686 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
a096bfe35d Bug 731901 - Update telemetry ping to use new telemetry name. r=rstrong 2012-03-09 14:01:50 -05:00
Brian R. Bondy
22c90e2a57 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
3612e788bd Bug 730792 - Enable new security checks for updates without the service. r=rstrong 2012-03-05 15:47:46 -05:00
Kyle Huey
55aedeb63f 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
79ad489863 Bug 725180 - Updater JS error handling for new error codes. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
5f2c644ddf Bug 725180 - Misc libmar fixes found from tests. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
2e8d83a148 Bug 728301 - Enable new security checks only for the service. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
52f09e123c Bug 721758 - Ability to configure updater to accept multiple MAR IDs. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
e257b10cd5 Bug 708690 - Updated MAR files for product information blocks. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
7710522f5d Bug 708690 - XPCShell test enhancements for product information blocks. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
c12098b4fa Bug 708690 - Updater enhancements for product information blocks. r=rstrong 2012-02-24 16:29:41 -05:00
Brian R. Bondy
2f4e84f6b1 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
c9e0f526ad Bug 704285 - Certificates for updater cert check. r=rstrong 2012-02-24 16:29:41 -05:00
Brian R. Bondy
20efb99369 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
6b5c28e8df 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
32679407a0 Bug 674478 Implement rmdir rf without FTS on Solaris r=bbondy 2012-02-22 10:12:54 +08:00
Nathan Froyd
067defe024 Bug 727156 - fix compiler warnings in toolkit/mozapps/update/; r=bbondy 2012-02-14 10:48:23 -08:00
Geoff Lankow
63ce20111b 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
52aeae032c Bug 702388 - Convert some more Makefiles to use |TEST_DIRS += foo|; r=khuey 2012-02-10 21:06:56 +00:00
Brian R. Bondy
665be9d14b 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
5b975c3835 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
c0ac5a1f10 Merge mozilla-central and mozilla-inbound 2012-01-19 11:13:07 -08:00
Brian R. Bondy
4c1176a1d7 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
d2339616cf merge m-c to fx-team 2012-01-19 12:10:03 +01:00
Robert Strong
5e8bc51cc8 Main patch - Bug 660038 - Remove channel switching support. r=bbondy 2012-01-18 14:10:38 -08:00
Tim Taubert
56aca129ef merge m-c to fx-team 2012-01-13 11:40:59 +01:00
Jared Wein
edd3ef212c Bug 710968 - Updater incorrectly checks fread() retval. r=bbondy 2012-01-12 16:38:20 -08:00
Brian R. Bondy
34557e2378 Bug 715749 - service broke builds with --disable-updater. r=rstrong 2012-01-10 11:28:50 -05:00
Brian R. Bondy
882c79dd2c 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
1f4341fcce 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
528c9af51d Bug 711692 - Various fixes for intermittent failures. r=rstrong. 2011-12-28 21:08:37 -05:00
Brian R. Bondy
157a1ffc3d Bug 711692 - appbin fix and SCM lock hang fix. r=rstrong. 2012-01-04 23:19:19 -05:00
Robert Strong
9330be5485 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
37096b5741 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
0c6a473810 Bug 711692 - Cleanup tests. r=rstrong. 2012-01-04 23:19:18 -05:00
Brian R. Bondy
434d2d023c 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
be9d3e989e 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
e4c607cbae Bug 711692 - Intermittent service callback log failure fix. r=rstrong. 2012-01-04 23:19:18 -05:00
Brian R. Bondy
a923d8eab8 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
9b9cd2b25a 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
dd832197ee Bug 711834 - Fix force no UAC prompt for xpcshell tests. r=rstrong 2012-01-04 23:19:17 -05:00
Brian R. Bondy
03ad6d8657 Bug 711792 - Speed up and simplify maintenance service update command processing. r=rstrong. 2012-01-04 23:19:17 -05:00
Robert Strong
757a44d37e Bug 711692 - Append TEST_ID to app_console_log. r=bbondy. 2012-01-04 23:19:17 -05:00
Robert Strong
767b98352e 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
4b5a258fdc Bug 711682 - command line support to determine if updater is signed. r=rstrong. 2012-01-04 23:19:17 -05:00
Robert Strong
73ab5e1876 Bug 711660 - maintenance service updater tests can't be run locally. r=bbondy. 2011-12-16 20:33:17 -05:00
Brian R. Bondy
2c0a6e3e93 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
18284e755d 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
427d50bb11 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
fa7e88ea76 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
6c106443a7 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
ef6ac7d7f3 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
05a2844e25 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
73d552a617 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
a8f96de42a 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
66d7b96e42 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
f3519a8442 Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00
Brian R. Bondy
18878b1615 Bug 718348 - Obtain more telemetry data for app update memory errors. r=rstrong 2012-01-18 13:43:21 -05:00
Dave Townsend
e581739e91 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
baafc31af5 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
1192d1da90 Bug 708123 - Add a telemetry probe for update status; r=rstrong 2011-12-09 11:37:16 -05:00
Mike Hommey
6c1448574b Bug 696555 - Move update.locale into omni.jar. r=rstrong 2011-11-22 08:05:59 +01:00
Tim Abraldes
73269760a7 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
7bc582f20f 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
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Blair McBride
c8f32d996d Bug 693901 - Add preference to globally (re)enable strict compatibility checks. r=dtownsend 2011-11-01 18:48:45 +13:00
Jonas Sicking
ac8b04fb20 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
Robert Strong
736a778c68 Tests - Switching channels is broken when an update is already downloading or downloaded - Bug 652016 - When switching channels, I get a failed update. r=mossop 2011-05-18 11:29:18 -07:00
Robert Strong
6c8f63e466 Main patch - Switching channels is broken when an update is already downloading or downloaded - Bug 652016 - When switching channels, I get a failed update. r=mossop 2011-05-18 11:28:56 -07:00
Ed Morley
99856dd6e9 Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
Robert Strong
b9358f011e Bug 650973 - Update dialog is seldom if ever shown on Mac OS X and Linux for complete updates. r=mossop 2011-04-26 14:35:54 -07:00
Robert Strong
1957e6110e Increase app update test timeout - Bug 645607 - Intermittent failure in toolkit/mozapps/update/test/chrome/test_0072_notify_verifyFailComplete_noPartial.xul | Test timed out. Maximum time allowed is 20 seconds. r=mossop 2011-04-19 11:04:12 -07:00
Robert Strong
014a0f327a Bug 650254 - Permanent fail on update xpcshell tests for Thunderbird | TEST-UNEXPECTED-FAIL | test_0110_general.js and co failing in head_update.js. r=mossop 2011-04-19 11:03:57 -07:00
Mike Hommey
0659550873 Bug 602245 - Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass. r=ted 2011-04-14 11:23:13 +02:00
Robert Strong
ebd39d774a Bug 649754 - update dialog no longer centered. r=mossop 2011-04-13 13:52:55 -07:00
Robert Strong
9757fe29e3 test fix for test_0112_general.js - Linux and Mac - Bug 386760 - directory removal with software update. r=testfix 2011-04-12 00:15:42 -07:00
Robert Strong
35ffe77cb8 test fix for test_0160_appInUse_xp_unix_complete.js - Linux and Mac - Bug 386760 - directory removal with software update. r=testfix 2011-04-11 22:58:01 -07:00
Robert Strong
5c63a6b32c 6. test fix to make log parsing happy - Bug 386760 - directory removal with software update. r=testfix 2011-04-11 21:44:03 -07:00
Robert Strong
613e13bd13 2. only support channel change with complete mar files - Bug 642765 - Add ability to channel change to the client. r=mossop 2011-04-11 21:24:28 -07:00
Robert Strong
7729d8fd36 1. main patch - Bug 642765 - Add ability to channel change to the client. r=mossop 2011-04-11 21:24:16 -07:00
Robert Strong
811d84945a 6. test patch 2 - Bug 386760 - directory removal with software update. r=dolske
--HG--
rename : toolkit/mozapps/update/test/unit/data/partial_in_use_win.mar => toolkit/mozapps/update/test/unit/data/partial_win.mar
2011-04-11 21:24:06 -07:00
Robert Strong
f3cf07fb80 5. test binaries - Bug 386760 - directory removal with software update. r=dolske 2011-04-11 21:23:54 -07:00
Robert Strong
a7278c5f99 4. remove updater wince support- Bug 386760 - directory removal with software update. r=dolske 2011-04-11 21:23:44 -07:00
Robert Strong
331caf27f8 3. test patch 1 - Bug 386760 - directory removal with software update. r=mossop 2011-04-11 21:23:36 -07:00
Robert Strong
7a66d630a6 2. updater changes - Bug 386760 - directory removal with software update. r=dolske 2011-04-11 21:23:27 -07:00
Robert Strong
4458cc621d Bug 641422 - wrong arg passed for current working directory. r=mossop 2011-04-11 21:23:06 -07:00
Robert Strong
cfbe02a662 Bug 575296 - Firefox Update should show no options in the context menu (e.g. right click) - based on a patch from timeless. r=jimm, a=approval2.0 2011-02-07 18:41:21 -08:00
Robert Strong
de47aeb571 Bug 524294 - [Mac] Updater window does not resize to fit text label on localized builds. r=joshmoz, a=approval2.0 2011-01-27 13:11:25 -08:00
Robert Strong
addbaf3f48 Patch part 2 - Bug 628829 - Updater crashes when localized strings excess 200 utf-8 bytes, as bn-IN, kn, ml, and te do. r=mossop, a=blocking2.0-final 2011-01-27 13:11:05 -08:00
Robert Strong
0fc8a61c77 Bug 595078 - Where possible, remove the possibility of other components breaking app update. r=mossop, a=approval2.0 2011-01-13 11:36:36 -08:00
Robert Strong
6730a4355a Bug 601701 - Automatic updates get stalled when installed version is newer than a downloaded update restored using Windows system restore. r=mossop, a=blocking2.0-final 2011-01-13 11:36:28 -08:00
Robert Strong
d1237319b6 Bug 369411 - improve CRC error value in the update.log. r=dolske, a=approval2.0 2010-12-21 21:46:32 -08:00
Robert Strong
276f333eef Bug 617512 - Additional tests for deprecated update xml format. r=dtownsend, a=tests 2010-12-21 16:32:35 -08:00
Robert Strong
2b802fcbb2 Bug 617513 - Duplicate declaration of doc in updates.xml. r=dtownsend, a=approval2.0 2010-12-15 14:37:24 -08:00
Robert Strong
53f5372593 Bug 616924 - App update test cleanup. r=dtownsend, a=tests 2010-12-07 12:05:49 -08:00
Robert Strong
80415fa831 Bug 615467 - intermittent failure in toolkit\mozapps\update\test\unit\test_0170_fileLocked_xp_win_complete.js | test failed (with xpcshell return code: 0), see following log: succeeded == failed. r=dtownsend, a=test fix 2010-12-02 19:57:20 -08:00
Robert Strong
4ebc7088e0 File fragmentation on update fix for partial updates which are by far the worst culprit - Bug 570058 - investigate small writes from MBS_ApplyPatch. r=tglek, r=dtownsend, a=dtownsend 2010-12-02 19:57:05 -08:00
Alon Zakai
c586e4a338 Bug 604804 - Make nsUpdateTimerManager.js run its timer at the optimal frequency. r=rs, a=blocking-fennec 2010-11-23 13:14:11 -08:00
Robert Strong
1a5d0c594c Bug 611186 - [Win] Try to lock the main exe multiple times before giving up. r=dolske, a=dtownsend 2010-11-18 17:21:20 -08:00
Robert Strong
d7b6ac5f86 2. tests - Bug 466778 - [Win] Unable to update when files to be patched are in use on Windows. r=dtownsend, a=blocking2.0-BetaN
--HG--
rename : toolkit/mozapps/update/test/unit/data/aus-0110_general.mar => toolkit/mozapps/update/test/unit/data/complete.mar
rename : toolkit/mozapps/update/test/unit/data/aus-0110_general_ref_image.png => toolkit/mozapps/update/test/unit/data/complete.png
rename : toolkit/mozapps/update/test/unit/data/aus-0111_general.mar => toolkit/mozapps/update/test/unit/data/partial.mar
rename : toolkit/mozapps/update/test/unit/data/aus-0111_general_ref_image.png => toolkit/mozapps/update/test/unit/data/partial.png
2010-11-18 17:20:58 -08:00
Robert Strong
448f5a3f44 1. main patch - Bug 466778 - [Win] Unable to update when files to be patched are in use on Windows. r=dolske, a=blocking2.0-BetaN 2010-11-18 17:20:44 -08:00
Alex Pakhotin
7e736d9b18 Bug 597579 - Investigate downloading updates to sd card r=rstrong,blassey a=blocking-fennec 2010-10-30 17:24:14 -07:00
Robert Strong
f6093d528c Bug 606410 - add tests for calling the callback app and the arguments passed to it. r=dtownsend, a=tests 2010-11-06 23:41:49 -07:00
Robert Strong
1c13959461 Bug 601386 - Running in 64 bit mode after applying an update when the bundle was originally opened in 32 bit mode. r=joshmoz, a=blocks a blocker 2010-10-20 11:37:26 -07:00
Robert Strong
53dac7b840 Bug 605767 - Intermittent test_0200_app_launch_apply_update.js | the application can't be in use when running this test. r=dtownsend, a=test fix 2010-10-20 11:37:13 -07:00
Robert Strong
2faf64b982 Bug 601518 - Need updater tests to cover nsUpdateDriver.cpp code. r=dtownsend, a=blocking2.0-final 2010-10-19 21:28:29 -07:00
Robert Strong
86e12cc4da Bug 599274 - Add ability to fallback to previous update snippet format. r=Mossop a=Blocking-b8+ 2010-09-25 04:02:00 -04:00
Robert Strong
c0d500d755 strings needed for b7 for Bug 315278 - Update process produces a broken application when disk space is low. r=mossop, ui-r=beltzner, a=blocks a blocker 2010-10-06 13:22:20 -07:00
Josh Aas
a4e524e09b Bug 600777: Update driver code should launch updater application with a preference for the parent architecture. r=rstrong a=blocking-beta7 2010-10-02 00:11:24 -04:00
Josh Aas
9819aaabcf Bug 600362: Make updater application launch callback application with per-OS preferences for architecture. r=rstrong a=blocking-beta7 2010-10-02 00:08:18 -04:00
Josh Aas
8fcedf56b7 Bug 600098: Mac OS X: Update access and modification time on top-level application bundle after successful update. r=rstrong a=b7-blocker 2010-09-29 22:55:47 -04:00
Nick Thomas
b4c0b93b35 Bug 571367, turn production x86_64 builds into i386/x86_64 universal binaries (disable tests known to fail on leopard) r=ted CLOSED TREE 2010-09-27 12:14:47 +13:00
Robert Strong
163feb77f0 Main patch - Bug 596813 - Check for updates inside the About window without opening a new window. r=dtownsend, ui-r=beltzner, a=blocking2.0-beta7 2010-09-23 21:02:08 -07:00
Alex Pakhotin
a9504bf27a Bug 596662 - New update mechanism does not work on Android 2.1, r=alexp, a=blocking-fennec 2010-09-17 11:03:43 -07:00
Robert Strong
bab2be3b11 Bug 597664 - Add finalURI.spec for the mar file download to the local update xml and log the finalURI.spec along with the original URI.spe. r=dtownsend, a=approval2.0 2010-09-20 21:42:26 -07:00
Robert Strong
383a7d6c41 Bug 597630 - Fix __snprintf / snwprintf usage in updater.cpp and various x64 compiler warnings. r-dolske, a=approval2.0 2010-09-20 21:41:38 -07:00
Robert Strong
3233b7968e Bug 595455 - After several background update check failures notify the user that they should check if there is a new version available. r=dtownsend, a=blocking2.0-beta7 2010-09-14 18:49:10 -07:00
Alex Pakhotin
e8dbfdc893 temporarily disable updater tests on android r=blassey a=bustage-fix 2010-09-14 16:38:28 -04:00
Alex Pakhotin
557b304725 Bug 587384 - Need an updater for Fennec on Android [r=rs, a=blocking-fennec] 2010-09-09 12:45:02 -07:00
Alex Pakhotin
d5a4b48ab6 Bug 595384 - Disable the updater utility for Android [r=rs, a2.0=blassey] 2010-09-10 16:48:52 -07:00
Robert Strong
78559834a9 Bug 595722 - Using this._enabled to make nsIUpdatePrompt not show some of the UI when the app.update.silent pref is set is confusing. r=dtownsend, a=approval2.0 2010-09-13 23:57:56 -07:00
Robert Strong
b270b3d18b strings for Bug 595455 - After several background update check failures notify the user that they should check if there is a new version available. r=dtownsend, ui-r=beltzner, a=blocking2.0-beta6 2010-09-13 23:57:39 -07:00
Robert Strong
7b1035eb29 Followup for Bug 595059 - Incorrect errorCode comparison and enabled check in showUpdateError. r=dtownsend, a=approval2.0 2010-09-13 23:57:19 -07:00
Robert Strong
2a945c237a Bug 595059 - Incorrect errorCode comparison and enabled check in showUpdateError. r=dtownsend, a=approval2.0 dtownsend 2010-09-10 21:40:49 -04:00
Joel Maher
161d8ae5ae Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Robert Strong
7435970458 Bug 594986 - Allow applications to specify the first timer interval via a pref. r=dtownsend, a=dtownsend 2010-09-09 16:11:00 -07:00
Robert Strong
0b5a2dd93d Bug 546593 - If both a partial and complete update have a verification failure this._update is null, the UI breaks, and the user is not notified of the update failure. r=dtownsend, a=approval2.0 dtownsend 2010-09-09 12:22:27 -07:00
Robert Strong
51c54e98b0 Bug 316890 - Add more logging to updater and close patch files so they can be deleted. r=dolske, a=approval2.0 dtownsend 2010-09-09 12:22:02 -07:00
Robert Strong
14f475c8d3 followup test only fix for SeaMonkey and Thunderbird for bug 583408. r=dtownsend, a=test bustage fix 2010-09-03 14:27:06 +12:00
Robert Strong
9320bf1acd Patch 2 (tests only) - Bug 583408 - Notify user when the certificate attribute check fails. r=dtownsend, a=blocking2.0-beta6 2010-09-01 16:27:21 -07:00
Robert Strong
dc84ef605a Patch 1 (main patch) - Bug 583408 - Notify user when the certificate attribute check fails. r=dtownsend, a=blocking2.0-beta6 2010-09-01 16:27:07 -07:00
Robert Strong
70e1a689c2 Bug 592785 - Don't report add-ons as incompatible if they are already incompatible with the current version. r=dtownsend, a=approval2.0 dtownsend 2010-09-01 16:26:30 -07:00
Robert Strong
c33be2e05f Bug 583408 - Notify user when the certificate attribute check fails. r=dtownsend ui-r=beltzner a=blocking 2010-08-28 02:35:01 +02:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Robert Strong
1b4bd240b0 Bug 552924 - Allow distinguishing Universal ppc/i386 from Universal i386/x86_64 builds in AUS request. r=dtownsend, a=blocking bug 519060 2010-08-26 10:45:50 -07:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Josh Aas
b82cc5db2a Bug 589391: Ensure proper minimum Mac OS X system version is set for each architecture. r=smichaud r=ted a=blocking-b5 2010-08-23 15:33:51 -04:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Dan Witte
655f9eb546 Fix comment in head.js, and use do_execute_soon in mozapps/update/test/unit/test_bug497578.js. 2010-08-13 23:03:36 -07:00
Dan Witte
92fe187fb1 Fix test_0010_timermanager.js test and disable e10s redirect/resume tests in test_resumable_channel.js. 2010-08-13 14:35:13 -07:00
Robert Strong
e1495bfabb Bug 586194 - move never pref check into selectUpdate and use services js module in app updat. r=dtownsend, approval2.0=bsmedberg 2010-08-12 19:07:44 -07:00
Robert Strong
2bab61a8fb Bug 585838 - Disable update checks in any tests running in the browser. r=dtownsend, a=dtownsend 2010-08-12 19:07:18 -07:00
Robert Strong
798841f3e0 App update patch for Bug 544442 - Add support for signed AUS update snippets. r=dtownsend, a=blocking2.0-Beta3 2010-08-01 19:02:21 -07:00
Robert Strong
cf322bfc5a Bug 580579 - While creating services from category 'profile-after-change', service for entry 'nsUpdateServiceStub', contract ID '@mozilla.org/updates/update-service-stub;1' does not implement nsIObserver. r=dtownsend, approval2.0=dtownsend 2010-07-23 18:02:56 -07:00
timeless@mozdev.org
0ca334208b Bug 577213 firefox 4 beta 1 gives bad error message when run on Mac OS X 10.4
r=josh r=bsmedberg
2010-07-07 11:55:03 +03:00