Commit Graph

330 Commits

Author SHA1 Message Date
Benjamin Smedberg
c15c4ed945 Bug 755724 Part C - Move ScopedAppData into the XPCOM glue, r=glandium
--HG--
rename : toolkit/xre/nsAppData.cpp => toolkit/xre/CreateAppData.cpp
rename : toolkit/xre/nsAppData.cpp => xpcom/glue/AppData.cpp
extra : rebase_source : 6223397345e77b00f14d93a1f188c042fc5f89ea
2012-06-08 08:41:30 -04:00
Martin Stransky
fa65d41f83 Bug 627699 - Port GTK2 to GTK3, toolkit part, r=karlt 2012-06-16 18:06:10 +12:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Matthew Noorenberghe
aac556568f Bug 731047 - Clean up old profile after Firefox profile reset. r=bsmedberg, ui-r=limi
--HG--
extra : rebase_source : 28d16189069f2a05cbe5e16d271561ab53aa9b1e
2012-03-19 17:01:49 -07:00
Jim Mathies
20eb979e64 Bug 750911 - Add a third 'flags' parameter to XRE_main and add support for WindowsEnvironmentType. r=bsmedberg 2012-05-25 05:01:29 -05:00
Nicolas Silva
3dbfab5718 Bug 722012 - Added a call to XInitThreads before the first call to XOpenDisplay to fix OMTC crashes. r=karlt
--HG--
rename : toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul => toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0113_general.js => toolkit/mozapps/update/test/unit/test_0110_general.js
rename : toolkit/mozapps/update/test/unit/test_0114_general.js => toolkit/mozapps/update/test/unit/test_0111_general.js
rename : toolkit/mozapps/update/test/unit/test_0115_general.js => toolkit/mozapps/update/test/unit/test_0112_general.js
rename : toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js => toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js
extra : rebase_source : f527614c4a5f0b8979bd8bc39dcd3ca739ba9e08
2012-05-22 11:34:34 -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
Gavin Sharp
b9ece23533 Bug 747990: Add ability to specify the "application name" used in the user agent in application.ini, r=bsmedberg
--HG--
extra : rebase_source : fbaaa2e94c2bbaf74e001147ec014b1ffdf3502f
2012-04-23 16:09:23 -04:00
Ehsan Akhgari
545bb7a0b1 Merge mozilla-central into birch 2012-04-20 13:50:08 -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
Ehsan Akhgari
dbae9d14b7 Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage 2012-04-18 17:05:06 -04:00
Peng Kang
f1c951a722 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 16:31:59 -04:00
Michael Kaply
fec212b73e Bug 278860 - Show the right error message when the profile is missing; r=bsmedberg a=mfinkle 2012-04-19 15:40:49 -04:00
Oleg Romashin
891bec5670 Bug 740244 - Do not compile glx test when EGL provider enabled. r=bjacob 2012-04-11 17:55:22 -04:00
Mark Capella
4666038a24 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Jim Mathies
c3ef9926d9 Bug 736953 - Break XRE_main up into parts that can be called individually, r=dtownsend 2012-03-27 08:37:35 -05:00
Oleg Romashin
6b5cad0bce Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -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
Matthew Noorenberghe
682f579aec Bug 717070 - Profile reset - Part 1 - Backend to initiate profile reset. r=mano 2012-02-23 19:34:18 -08:00
Matthew Noorenberghe
fde3087a8e Bug 294260 - Safe Mode: Auto detect previous start-up failure and offer to start in safe mode r=bsmedberg,Mossop
--HG--
rename : toolkit/components/startup/tests/Makefile.in => toolkit/components/startup/tests/browser/Makefile.in
extra : rebase_source : 8df6b163173362ae80832eb3667e04bb817280b3
2011-11-07 21:20:42 -08:00
Jed Davis
7145a95a6e Bug 716110 - Split -new-instance flag out of existing -no-remote flag. r=bsmedberg 2012-01-20 01:12:00 -05:00
Marco Bonardo
03eac44863 Merge mozilla-central and mozilla-inbound 2012-01-05 11:31:12 +01:00
Brian R. Bondy
528c9af51d Bug 711692 - Various fixes for intermittent failures. r=rstrong. 2011-12-28 21:08:37 -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
Jeff Muizelaar
109bb22bf3 Bug 711658. Move quirks triggering earlier. r=bgirard
Bug 696376 caused our quirks to be triggered too late. This
makes sure we're early enough.

This also moves the copy of NS_CompareVersions into the header to make things work.

--HG--
extra : rebase_source : cf2179f0127a5e2c150c5fd54a0a6e8904c52301
2011-12-19 12:47:09 -05:00
Ms2ger
5f5ed0e186 Bug 711838 - Remove the jetpack service; r=bsmedberg
Change to toolkit-makefiles.sh r=edmorley
2011-12-24 09:25:52 +01:00
Benoit Girard
b5208d174f Bug 707185 - Programmatic control for eventtracer. r=ted.mielczarek 2011-12-04 20:53:17 -05:00
Marco Castelluccio
eeb49effb3 Bug 679352 - Remove libreg - Part 1: Clean nsProfileMigrator; r=bsmedberg 2011-12-10 22:41:14 +00:00
Jeff Muizelaar
1bf2e7bff1 Bug 707800. Rename SAMPLE_CHECKPOINT to SAMPLE_LABEL. r=bgirard
Checkpoint was never a good name.
2011-12-02 17:18:26 -05:00
Doug Turner
d06687ed59 Bug 706560 - Send MOZ_APP_ID to crash reporter. r=ted 2011-12-01 19:24:10 -08:00
Ted Mielczarek
09ab80a642 bug 704479 - Annotate ReleaseChannel with MOZ_UPDATE_CHANNEL earlier in startup. r=bsmedberg 2011-11-22 16:46:57 -05:00
Mike Hommey
24650c0957 Bug 686466 part 3 - Use a pre-generated nsXREAppData struct instead of application.ini. r=ted,bsmedberg
--HG--
rename : build/application.ini => build/application.ini.in
2011-11-22 08:05:59 +01:00
Mike Hommey
3966d0498f Bug 702764 part 2 - Make nsAppStartup::GetStartupInfo more flexible. r=tglek 2011-11-18 08:54:27 +01:00
Michael Wu
34d5f356e4 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Benoit Girard
ecd5f82a46 Bug 683229 - Add user space profiling using Simple Profiler System (SPS). r=cjones r=jmuizelaar
--HG--
extra : rebase_source : 2482a65256588b88663e8f0ab621b9787bbe5489
2011-08-26 17:05:37 -07:00
Benoit Girard
525237a7e4 Bug 694039 - Load plugin quirks during interpose. r=jmuizelaar 2011-10-26 22:57:26 -04:00
Ginn Chen
a10bfb42d5 Bug 696599 Use PRBool for nspr_use_zone_allocator r=benjamin,karlt 2011-10-27 17:00:55 +08:00
Neil Deakin
5548813f50 Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc 2011-10-25 11:05:32 -04:00
Jeff Muizelaar
3f12aea599 Bug 694039. Work around OpenGL quirks in the plugin process. r=bgirard
We do the same in the main process so that we get the right
bundle id on in Nightly and Aurora

--HG--
extra : rebase_source : 6545f4a54d83a086e09e6b67a23aba1af9ec31ea
2011-10-14 15:22:11 -04:00
Oleg Romashin
cccaa78c7e Bug 693422 - Unify QApplication creation. r=tatiana
--HG--
rename : widget/src/qt/mozqwidget.h => widget/src/qt/moziqwidget.h
extra : rebase_source : b9dc6d5d2c2826aad68a145413886f518ab388fa
2011-10-17 17:53:37 -07:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Jiten Thakkar
1d2dc950cf Bug 683245 - Make navigator.buildID and navigator.version work in content processes. r=bsmedberg 2011-10-04 16:31:00 -04:00
Phil Ringnalda
de0fedfce1 Back out 68b6b149d652 (bug 683245) for xpcshell timeouts in test_content_annotation.js 2011-10-03 15:17:21 -07:00
Jiten Thakkar
31b407a685 Bug 683245 - Allow retrieving navigator.buildID and navigator.version in content processes. r=bsmedberg 2011-10-03 13:08:00 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ed Morley
528fb842c2 Backout changeset 81a7f5489ebc (bug 679352), since burning comm-central; a=callek 2011-09-25 16:27:30 +01:00