Commit Graph

41 Commits

Author SHA1 Message Date
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger
1dcdf03895 Bug 906342 - Move the remaining SIMPLE_PROGRAMS to moz.build and disallow setting SIMPLE_PROGRAMS in Makefiles; r=gps 2013-08-22 08:35:03 +02: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
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -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
Gregory Szorc
cc8470b5e8 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Robert Strong
d08742bda0 Bug 821343 - TestAUSHelper doesn't exist for b2g xpcshell_updater tests, r=ahal 2012-12-16 15:53:57 -05:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02: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
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
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
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
f3519a8442 Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05: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
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
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
53f5372593 Bug 616924 - App update test cleanup. r=dtownsend, a=tests 2010-12-07 12:05:49 -08: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
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
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
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
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
Robert Strong
e0f5c34494 4. mochitest chrome tests for app update - Bug 530872. r=dtownsend 2010-03-03 10:57:09 -08:00
Mitchell Field
8932ffdcab bug 542222 - Reduce recursion in makefiles r=ted.mielczarek r=robert.bugzilla
--HG--
rename : toolkit/mozapps/update/public/nsIUpdateService.idl => toolkit/mozapps/update/nsIUpdateService.idl
rename : toolkit/mozapps/update/public/nsIUpdateTimerManager.idl => toolkit/mozapps/update/nsIUpdateTimerManager.idl
rename : toolkit/mozapps/update/src/nsUpdateService.js.in => toolkit/mozapps/update/nsUpdateService.js
rename : toolkit/mozapps/update/src/nsUpdateServiceStub.js => toolkit/mozapps/update/nsUpdateServiceStub.js
rename : toolkit/mozapps/update/src/nsUpdateTimerManager.js => toolkit/mozapps/update/nsUpdateTimerManager.js
rename : toolkit/mozapps/update/src/updater/Makefile.in => toolkit/mozapps/update/updater/Makefile.in
rename : toolkit/mozapps/update/src/updater/archivereader.cpp => toolkit/mozapps/update/updater/archivereader.cpp
rename : toolkit/mozapps/update/src/updater/archivereader.h => toolkit/mozapps/update/updater/archivereader.h
rename : toolkit/mozapps/update/src/updater/bspatch.cpp => toolkit/mozapps/update/updater/bspatch.cpp
rename : toolkit/mozapps/update/src/updater/bspatch.h => toolkit/mozapps/update/updater/bspatch.h
rename : toolkit/mozapps/update/src/updater/launchchild_osx.mm => toolkit/mozapps/update/updater/launchchild_osx.mm
rename : toolkit/mozapps/update/src/updater/macbuild/Contents/Info.plist => toolkit/mozapps/update/updater/macbuild/Contents/Info.plist
rename : toolkit/mozapps/update/src/updater/macbuild/Contents/PkgInfo => toolkit/mozapps/update/updater/macbuild/Contents/PkgInfo
rename : toolkit/mozapps/update/src/updater/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in => toolkit/mozapps/update/updater/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in
rename : toolkit/mozapps/update/src/updater/macbuild/Contents/Resources/English.lproj/MainMenu.nib/classes.nib => toolkit/mozapps/update/updater/macbuild/Contents/Resources/English.lproj/MainMenu.nib/classes.nib
rename : toolkit/mozapps/update/src/updater/macbuild/Contents/Resources/English.lproj/MainMenu.nib/info.nib => toolkit/mozapps/update/updater/macbuild/Contents/Resources/English.lproj/MainMenu.nib/info.nib
rename : toolkit/mozapps/update/src/updater/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib => toolkit/mozapps/update/updater/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
rename : toolkit/mozapps/update/src/updater/macbuild/Contents/Resources/updater.icns => toolkit/mozapps/update/updater/macbuild/Contents/Resources/updater.icns
rename : toolkit/mozapps/update/src/updater/module.ver => toolkit/mozapps/update/updater/module.ver
rename : toolkit/mozapps/update/src/updater/progressui.h => toolkit/mozapps/update/updater/progressui.h
rename : toolkit/mozapps/update/src/updater/progressui_gtk.cpp => toolkit/mozapps/update/updater/progressui_gtk.cpp
rename : toolkit/mozapps/update/src/updater/progressui_null.cpp => toolkit/mozapps/update/updater/progressui_null.cpp
rename : toolkit/mozapps/update/src/updater/progressui_osx.mm => toolkit/mozapps/update/updater/progressui_osx.mm
rename : toolkit/mozapps/update/src/updater/progressui_win.cpp => toolkit/mozapps/update/updater/progressui_win.cpp
rename : toolkit/mozapps/update/src/updater/resource.h => toolkit/mozapps/update/updater/resource.h
rename : toolkit/mozapps/update/src/updater/updater.cpp => toolkit/mozapps/update/updater/updater.cpp
rename : toolkit/mozapps/update/src/updater/updater.exe.manifest => toolkit/mozapps/update/updater/updater.exe.manifest
rename : toolkit/mozapps/update/src/updater/updater.ico => toolkit/mozapps/update/updater/updater.ico
rename : toolkit/mozapps/update/src/updater/updater.png => toolkit/mozapps/update/updater/updater.png
rename : toolkit/mozapps/update/src/updater/updater.rc => toolkit/mozapps/update/updater/updater.rc
rename : toolkit/mozapps/update/src/updater/updater_wince.cpp => toolkit/mozapps/update/updater/updater_wince.cpp
rename : toolkit/mozapps/update/src/updater/updater_wince.h => toolkit/mozapps/update/updater/updater_wince.h
rename : toolkit/mozapps/update/src/updater/updater_wince.rc => toolkit/mozapps/update/updater/updater_wince.rc
rename : toolkit/mozapps/update/src/updater/updater_winmo.rc => toolkit/mozapps/update/updater/updater_winmo.rc
2010-01-26 07:11:00 -05:00
Brad Lassey
b547f4fd74 bug 533542 - don't build readstrings.cpp in source dir r=ted
--HG--
rename : toolkit/mozapps/update/src/updater/errors.h => toolkit/mozapps/readstrings/errors.h
rename : toolkit/mozapps/update/src/updater/readstrings.cpp => toolkit/mozapps/readstrings/readstrings.cpp
rename : toolkit/mozapps/update/src/updater/readstrings.h => toolkit/mozapps/readstrings/readstrings.h
2010-01-12 10:47:04 -05:00
Robert Strong
289f1720d4 Bug 507339 - Test more files in the complete / partial mar files and check file permissions. r=blassey, r=me
--HG--
rename : toolkit/mozapps/update/test/unit/head_update.js => toolkit/mozapps/update/test/unit/head_update.js.in
rename : toolkit/mozapps/update/test/unit/test_0040_general.js.in => toolkit/mozapps/update/test/unit/test_0040_general.js
2009-08-07 13:19:58 -07:00
Robert Strong
86cd66476e Test only - Bug 503308 - Debug build failure in toolkit/mozapps/update/TestAUSReadStrings.cpp: undefined reference to NS_DebugBreak. 2nd try - succeeded on the try server. r=me 2009-07-09 15:50:49 -07:00
Robert Strong
5870101ca3 Backing out Bug 503308 2009-07-09 11:33:07 -07:00
Robert Strong
79c6fedfef Test only - Bug 503308 - Debug build failure in toolkit/mozapps/update/TestAUSReadStrings.cpp: undefined reference to NS_DebugBreak. r=me 2009-07-09 11:18:07 -07:00
Robert Strong
720970d90b Bug 490253 - TestAUSReadStrings.cpp: fix nits in result reports. r=ted.mielczarek 2009-07-08 13:15:22 -07:00
Brad Lassey
d95ee52024 bug 499184 - Updater string test needs wmain entry point r=robstrong 2009-07-08 11:51:30 -04:00
Robert Strong
7437e2754c Bug 476336 - Remove check for InfoText from readstrings.cpp. r=ted.mielczarek 2009-03-11 19:10:56 -07:00
Serge Gautherie
a5a2252e81 Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell
(Ev2-MC) Rename the object tests directory
2009-02-23 19:28:20 +01:00
Jeremy Lea
54bd95e3ca Bug 479524 - TestAUSReadStrings fails to build on Mac OS X 10.4.8. r=rstrong 2009-02-20 18:02:29 -08:00
Robert Strong
3202062a0d Fix error running tests for bug 473417 on Thunderbird Mac tinderbox 2009-02-08 16:03:25 -08:00
Robert Strong
745e6150ac Tests for Bug 473417 - updater.exe window is blank, and doesn't close. r=ted.mielczarek 2009-02-08 13:44:02 -08:00
Robert Strong
13b6095ca1 Bug 446527 - major update not offered when some language packs are installed. r=dtownsend, r=bsmedberg 2008-08-17 19:15:10 -07:00
Robert Strong
b32937f301 Adding general application update service tests from Bug 446527. r=dtownsend, r=bsmedberg 2008-08-16 22:40:34 -07:00