Commit Graph

297 Commits

Author SHA1 Message Date
Benjamin Smedberg
cfbf77b641 Bug 617539 - Integrate nsIAppStartup2 and nsIAppStartup_MOZILLA_2_0, r=Mossop 2011-03-25 11:03:35 -04:00
Rafael Ávila de Espíndola
86507523c4 Bug 623123 - Add constructor for nsXULAppInfo (which inherits from nsIXULAppInfo) to placate CLang; r=bsmedberg 2011-03-24 19:29:29 -04:00
L. David Baron
506701bba2 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
Mike Hommey
2cfeef8160 Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
Dave Townsend
666399b356 Bug 639090: Once you've restarted into safe mode from the menu you cannot restart into normal mode. r=bsmedberg 2011-03-23 10:28:18 -07:00
Mitchell Field
b6976ca587 Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Jonathan Kew
8700966d24 bug 636968 - check windows API calls for failure in InitDwriteBG. r=jdaggett a=roc 2011-02-28 09:55:14 +00:00
Ginn Chen
80188b7773 Bug 607900 [startup-notification] Restore DESKTOP_STARTUP_ID if a restart is required r=benjamin sr=glandium a=beltzner 2011-02-23 15:18:17 +08:00
Simon Montagu
9b88f158a9 Disable OSX 32/64-bit restart mode in non-libxul builds. Bug 631564, r+a=Mossop 2011-02-07 10:32:52 -08:00
Dave Townsend
0b4d335620 Bug 630703: Provide a way to restart in 32-bit mode. r=josh, r=bsmedberg, a=blocks-betaN 2011-02-03 09:27:00 -08:00
Jeremias Bosch
43d8ca0e70 Bug 626595 - Make it possible to build maemo 6 platform version without meegotouch r=romaxa,ted.mielczarek a=approval2.0
--HG--
extra : rebase_source : 435438ae2c39833353a958ba2770f0e44439d7bc
2011-02-03 08:31:36 +02:00
Jacek Caban
4acc529f1a Bug 628117 - nsAppRunner.cpp fails to compilr with dwrite disabled; r=jdaggett,Bas approval2.0=joedrew
--HG--
extra : rebase_source : 32b77b4ad76f30c4ae3a73f19d58d09cd47b7b69
2011-01-23 05:45:00 -05:00
John Daggett
7715ebfe19 Bug 602792. Initialize dwrite factory at app startup to avoid startup slowdown. r=bas, a=blocker 2011-01-22 01:44:33 +09:00
Taras Glek
cbffc495c3 Bug 522375 - built-in startup time measurement r=vlad a=Mossop 2011-01-13 12:18:51 -08:00
Steven Michaud
6056316781 Bug 531552 - Firefox opens two windows when opening external links. r,a=josh 2011-01-03 10:08:36 -06:00
Robert Strong
3443d45ac9 Bug 619866 - Shift key for safe mode conflicts with Windows shortcut keys. r=dtownsend, a=approval2.0 2010-12-21 16:32:14 -08:00
Robert Strong
ae13fd4995 Bug 602562 - [Win] Add keyboard modifier to start in safe mode for windows. r=dtownsend, ui-r=faaborg, feedback=jmathies, a=blocking2.0-BetaN 2010-11-18 17:20:05 -08:00
Mike Hommey
0d82fbd898 Bug 569629 - Remove static xpcom modules list static initializer. r=bsmedberg,a=bsmedberg 2010-11-07 09:25:38 +01: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
Benedict Hsieh
0169e66ffc Bug 599062 - issuing make does not invalidate fastload/startupcache in opt builds r=bsmedberg a=bsmedberg 2010-09-23 13:41:26 -07:00
David Dahl
f97c57999b Bug 542122 - Replace safe mode shortcut with keyboard modifier and menu command r=rs a=beta7+ 2010-09-21 19:36:53 -07:00
Chris Jones
0a4b5217a4 Merge m-c --> cedar 2010-09-15 12:33:59 -05:00
Oleg Romashin
497f2db326 Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Justin Dolske
9b7acfdc2f Bug 581182 - running "firefox-bin -profile /tmp/newdir" no longer works. r=benjamin, a=dtownsend 2010-09-09 19:08:25 -07:00
Chris Jones
9e23f35349 Merge m-c --> cedar 2010-09-07 17:35:15 -05:00
Oleg Romashin
bd3aa71c63 Merged m-c: 51d17027ff45 -> cedar 2010-09-01 09:36:29 -07:00
Benedict Hsieh
5fd557ef9b Bug 592323 - Fastload not invalidated after making on OSX. r=benjamin a=blocking 2010-09-02 12:09:51 -07:00
Chris Jones
7b7af2c67c Merge m-c --> cedar
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
2010-08-31 02:29:31 -05:00
Chris Jones
f97bf2bc48 Bug 588911: Initialize gArgc/v earlier in XRE_InitParentProcess(). r=bent a=test-only 2010-08-19 14:50:17 -05:00
Jeremias Bosch
51a4f53124 Bug 583341 - "Lose" focus if MeeGoTouch VKB is closed by the user. r=romaxa a=npodb
--HG--
extra : rebase_source : 2aed309de5a47f3c0572cfae2c595b8e46e9ac35
2010-08-30 16:40:14 -07:00
bhsieh@mozilla.com
fba716bbcd bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg 2010-08-12 12:37:44 -07:00
Oleg Romashin
b83b1bfc23 Bug 586325 - Maemo5/6 build bustage. qt includes. r=jones.chris.g
--HG--
extra : rebase_source : 8b4ba64d2b20ef250a490b1f1a21eec0dc28d04d
2010-08-11 18:18:41 -07:00
Michael Wu
608574db24 Bug 556644 - 1. Move omnijar setup to NS_InitXPCOM and use omni.jar by default, r=bsmedberg a=blocking2.0 2010-08-10 15:08:06 -07:00
jeremias bosch
b1f1400cf5 Bug 582371 - Enable VKB in Maemo 6 / Meego Qt Version. r=dougt
--HG--
extra : rebase_source : 7b51d79950904c2a124dcf8d9de7c543176cf358
2010-08-03 11:33:12 -07:00
Jan Arne Petersen
b9fff87719 Bug 583179 - Make sure meego touch is only used in parent process. r=dougt
--HG--
extra : rebase_source : 80db88609fe21d5d2130056eec45e5e0255e3045
2010-08-03 10:44:46 -07:00
Josh Aas
22caa14a4d Merge backout of db7e931c4410 (CLOSED TREE) 2010-08-04 00:41:01 -04:00
Josh Aas
9c04a7e2c0 Backed out changeset db7e931c4410 to see if it is responsible for bug 584273. (CLOSED TREE) 2010-08-04 00:40:02 -04:00
Josh Aas
6616e71c71 Bug 531552: Force handling of at-launch open-url and open-file Apple Events to happen during command line construction so that we can put them on the command line and don't open unnecessary windows. r=benwa 2010-07-30 09:44:51 -04:00
Mark Banner
88d5f2d936 Bustage fix for the bug 582032 bustage fix (typo) 2010-07-30 23:08:14 +01:00
Mark Banner
410bcb1393 Follow up to bug 582032, bustage fix for non-IPC builds - add needed ifdef. 2010-07-30 22:15:16 +01:00
Doug Turner
9c89882ec5 Bug 582032 - Part 1 - Adds a start method to nsIXULRuntime. r=cjones
--HG--
extra : rebase_source : 6e4e6dde727ecfc37393dbd73c3233e6c3c80a2e
2010-07-30 11:43:56 -07:00
Josh Aas
8470cb1a51 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg 2010-07-21 23:25:24 -04:00
Steffen Imhof
87bfa9832b Bug 567066 - Keep Qt related command line parameters during restart. r=dtownsend
--HG--
extra : rebase_source : 875da9f999311031ea266b8b9ce26c6251f056e8
2010-07-17 09:52:23 +03:00
Josh Aas
5759fdff07 Backed out changeset f6c93f02146c, bug 571193. 2010-07-16 20:31:24 -04:00
Josh Aas
6a6d3c8ee5 Bug 571193. Move Mac OS X to UNIX filesystem code shared with Linux. Also fixes bug 506812, bug 528447, bug 530188. r=benwa sr=bsmedberg CLOSED TREE 2010-07-16 18:35:59 -04:00
Dave Townsend
fbd07113b1 Bug 376553: Don't restart during startup affor extension and app changes. r=robstring, r=bsmedberg 2010-07-14 10:13:26 -07:00
Neil Rashbrook
3ab5e497d0 Bug 568691 Further followup to actually register static components r=bsmedberg 2010-07-13 15:24:58 +01:00
Benedict Hsieh
94b9e463dd Bug 531886 - [regression] *.mfasl fastload caches not invalidated after build / changing XUL/JS code. r=bsmedberg 2010-07-02 16:59:17 -07:00
Benjamin Smedberg
76af4cae87 Fix --disable-libxul from bug 568691. r=Mossop 2010-07-02 14:23:41 -04:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
4588c2f4bf Fix --disable-crashreporter build in nsAppRunner.cpp 2010-06-22 20:18:45 -04:00
Benjamin Smedberg
38b1ff6d7b Fix crash running leaktest --register because nNativeAppSupport hasn't been set yet. 2010-06-22 20:11:32 -04:00
Benjamin Smedberg
ed3a49c9a2 Address review comments from bug 568691 comment 13/14/17:
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Benjamin Smedberg
c020d3bdef Bug 570488 - Remove xpti.dat caching which harms us in runtime and code complexity 2010-06-10 12:51:29 -04:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Michael Wu
01a2cef59b Bug 574120 - Add support for IPC on Android to everything else, r=dougt 2010-06-25 13:29:43 -07:00
Benjamin Smedberg
755c2ae337 Bug 570488 - Stop reading/writing xpti.dat and incrementally loading XPT files [1/2] r=Mossop
--HG--
extra : rebase_source : 9f28729c1032b516e8b950d29d80402e87759fda
2010-06-14 16:05:48 -07:00
Kyle Huey
1fd06013ed Backed out changeset f7323647892a 2010-06-14 11:14:36 -07:00
Benedict Hsieh
e801a49643 Bug 531886 - [regression] *.mfasl fastload caches not invalidated after build / changing XUL/JS code. r=bsmedberg 2010-06-11 12:02:13 -07:00
Josh Aas
e2b3518473 Simplify nsCommandLineServiceMac, make it easier to understand and faster. Remove unused code. b=542936 r=mstange r=bsmedberg 2010-06-08 18:26:12 -04:00
Michael Wu
f7ea7a8b12 Bug 565142 - Support startup on Android, patch by vlad, blassey, alexp, and me. r=dougt
--HG--
extra : rebase_source : 1153c0a4fb1d73f29d8c9da78c66bf4bf21b8142
2010-06-03 18:16:20 -07:00
Ben Newman
713e822c3c Build and IPDL groundwork for the multi-process Jetpack API (bug 556846). r=bsmedberg 2010-06-25 08:00:35 -07:00
Oleg Romashin
b09328979f Bug 569514 - graphicssystem cmdline argument does not work anymore. r=dougt 2010-06-02 05:24:16 -04:00
Oleg Romashin
b6732fc4d3 Bug 564770 - provide graphics system parameter for child processes. r=dougt 2010-05-24 14:21:52 +02:00
Michael Wu
a7bab5285a Bug 552121 - Add omnijar API [2/7], r=bsmedberg 2010-05-21 10:58:32 -07:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Rob Arnold
fd95e7b700 Bug 563462 - Remove Photon bits from toolkit/ r=Mossop 2010-05-12 14:31:24 -04:00
Dave Townsend
b454969d34 Bug 553169: Make the platform talk to the extension manager without using a custom interface. r=bsmedberg 2010-04-29 13:11:23 -07:00
Dave Townsend
74b7768710 Backout new add-ons manager due to Ts regression on OSX 10.5
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml => toolkit/mozapps/extensions/test/unit/data/test_bug404024.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug417606.xml => toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug424262.xml => toolkit/mozapps/extensions/test/unit/data/test_bug424262.xml
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug404024.js => toolkit/mozapps/extensions/test/unit/test_bug404024.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug417606.js => toolkit/mozapps/extensions/test/unit/test_bug417606.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug424262.js => toolkit/mozapps/extensions/test/unit/test_bug424262.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js => toolkit/mozapps/extensions/test/unit/test_bug449027.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js => toolkit/mozapps/extensions/test/unit/test_bug455906.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js => toolkit/mozapps/extensions/test/unit/test_bug514327_3.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js => toolkit/mozapps/extensions/test/unit/test_bug541420.js
2010-05-01 11:04:44 -07:00
Dave Townsend
396af8873a Bug 553169: Make the platform talk to the extension manager without using a custom interface. r=bsmedberg 2010-04-29 13:11:23 -07:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Mike Hommey
924b226213 Bug 368477 - Set $HOME with data from getpwuid if $HOME is not set. [r=benjamin]
--HG--
extra : rebase_source : eada90f268f55842d556a18a76845e944f1a553c
2010-04-29 07:19:50 +00:00
Vladimir Vukicevic
e3731a1e45 b=560647; basic start-to-end startup instrumentation and some fixes; r=bz a=coop 2010-04-26 11:13:03 -07:00
Jonathan Kew
51608a2869 bug 559473 - use a longer-lived autorelease pool to try and resolve intermittent crash during widget destruction. r=smichaud,joshmoz 2010-04-21 09:29:38 +01:00
Mike Hommey
cd27a1692e Bug 555894 - Don't use static strings when setting environment variables [r=vladimir, sr=benjamin]
--HG--
extra : rebase_source : 75e46dd8215cb761d4f96b441c05407d991d9d1b
2010-04-19 10:29:18 +02:00
Siddharth Agarwal
9da4e1201a Bug 558918 - VC10: _set_sbh_threshold missing. r=bsmedberg.
This only affects debug builds on Windows 2000.
2010-04-20 00:47:54 +05:30
Nickolay Ponomarev
ed75422f99 bug 369147, "Warning: unrecognized command line flag -foreground" on launch
r=josh
Don't add the '-foreground' flag to the list of command line arguments if we're not restarting,
since no-one outside of XRE_main knows how to handle it.
2010-04-17 13:50:17 +04:00
Michael Wu
ede652e594 Bug 543150 - Eliminate platform.ini checking in XRE_main, r=bsmedberg
--HG--
extra : rebase_source : 66d7259ae79d9df6e68f00fb29d2766bc14128a8
2010-04-07 12:44:38 -07:00
Phil Ringnalda
e560a670ad Bug 552688 - Clean up .autoreg leftovers, r=bsmedberg 2010-03-13 00:03:27 -08:00
Martin Stránský
42303779c0 Bug 237128 - Raise an alert window if a profile couldn't be loaded. ui-rjohnath, r=bsmedberg 2010-03-06 16:40:33 +01:00
Mark Banner
4296bc6a4a Bug 550145 NS_APPSTARTUP_CONTRACTID should exist in nsToolkitCompsCID.h and not nsXPFEComponentsCID.h (kill nsXPFEComponentsCID.h). r=benjamin 2010-03-05 12:11:55 +00:00
Mike Kristoffersen
abdb2aa82c Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Karl Tomlinson
6ed1f5d145 b=517133 Get crash stats for X errors r=bsmedberg
--HG--
extra : rebase_source : e9b2319a566ecb5a8a3cd6ba322df97e1ff3ffc8
2010-02-24 14:25:16 -08:00
Justin Dolske
0763c9dd9f Bug 540532 - allow setting report submission preference via XPCOM. r=gavin, r=ted 2010-02-09 17:05:31 -08:00
Walter Meinl
4829f752d9 Bug 536343: Fix build bustage on OS/2 in nsSigHandles.cpp r=bsmedberg,dragtext 2010-01-30 07:48:32 -05:00
Brian Crowder
7a7bba15a0 bug 530539 - Need to be able to specify nosplash in an environment variable r=dolske 2009-12-29 20:21:46 -05:00
Benjamin Smedberg
a4fc9676b2 Followup to bug 535802, make it work on Linux too by passing around the program name from argv[0] 2009-12-18 17:14:53 -05:00
Benjamin Smedberg
b916205fe7 Bug 535802 - disable the Windows JIT crash dialog when running mochitests, r=ted 2009-12-18 16:16:38 -05:00
Andreas Gal
f02162a25b Extensions/libraries/plugins might enable FPU/SSE2 exceptions, causing floating-point operations to crash (533035, r=robarnold,bsmedberg). 2009-12-17 13:56:12 -08:00
Ginn Chen
e876f1d1eb 534845 KDE/Gnome startup notification not disappearing for the first time startup (needsRestart) r=bsmedberg 2009-12-16 19:22:36 +08:00
Benjamin Smedberg
ed517f92fc Bug 534701 - Make linkage work even in static builds (where nsEmbedFunctions.cpp is not built) r=cjones, a=bz for a CLOSED TREE 2009-12-14 14:13:00 -08:00
Chris Jones
ba122c592e fix some leaks found by valgrind. r=trivial 2009-12-04 18:15:44 -06:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Gabriele Best
4d534d62de Bug 531532 - Crash for profiles with a non-existent non-relative profile location. r=bsmedberg a=beltzner 2009-12-02 20:00:56 +01:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00