Jim Mathies
d3113730d9
Bug 820200 - Pass application directory to XRE_InitEmbedding2 in content process. r=bsmedberg
2012-12-18 10:24:42 -06:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Oleg Romashin
1d26eb893f
Bug 818787 - Return back NS_ENSURE_TRUE(appShell, into XRE_RunAppShell. r=cjones
2012-12-10 09:14:52 -05:00
Ehsan Akhgari
0fd9123eac
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
Aryeh Gregor
dbff4eaa1c
Bug 782252 - Convert declared types to nsresult; r=ehsan
2012-08-06 15:02:31 +03:00
Aryeh Gregor
98c0410ea1
Bug 777292 - modules/libpref/, toolkit/: Fix incorrect conversions to nsresult; r=bsmedberg
2012-07-30 12:24:36 +03:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jeff Muizelaar
7b59b859b6
Bug 777879. Add SAMPLE_INIT() to XRE_InitChildProcess. r=ehsan
...
We need this for profiling child processes.
--HG--
extra : rebase_source : 3ea50c12da824daa0fe35b52e58f58f29b5de986
2012-07-27 14:57:48 -04:00
Benjamin Smedberg
d19c5bb416
Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
...
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Justin Wood
b43efade28
Backed out Bug 771251 -- changeset 95c9bc0e63f7 due to red.
2012-07-10 22:50:33 -04:00
Benjamin Smedberg
6d7c8015de
Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
...
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Martin Stransky
00527285da
Bug 627699 - Port GTK2 to GTK3, toolkit part, r=karlt
2012-06-16 18:06:10 +12:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Jim Mathies
bd3f82ea02
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
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Jeff Muizelaar
43465f2503
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
4ab7e65f42
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
28551c757a
Bug 694039 - Load plugin quirks during interpose. r=jmuizelaar
2011-10-26 22:57:26 -04:00
Jeff Muizelaar
c7279f539d
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
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
Makoto Kato
2bb839d096
Bug 692689 - XRE_SendTestShellCommand returns NS_ERROR_FAILURE. r=bsmedberg
2011-10-14 11:23:12 +09: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
Josh Matthews
038a99e073
Bug 581341 - Part 4: Always run the IPC testshell callback, regardless of execution success or failure. r=bent
2011-06-23 19:31:58 -04:00
Josh Matthews
5ab94d451d
Bug 581341 - Part 3: Install child process exception handler before activating breakpad. r=bsmedberg
2011-06-23 19:30:31 -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
Brian R. Bondy
7c36066ba8
Bug 655117 - Citrix ICA Client Version: 12.1.0.30 (npicaN.dll) crashes other plugins. r=bsmedberg
2011-09-08 12:11:52 -04:00
Benjamin Smedberg
9432e1edba
Bug 666748 - Optionally support a pool of content processes instead of a single one. r=jdm The followup patch for 669640 must land together with this one.
2011-08-02 15:35:42 -04:00
Ed Morley
d27c027671
Bug 665534 - Fix unused variable warnings in nsEmbedFunctions.cpp; r=Mossop
2011-07-19 12:04:54 +02:00
Chris Jones
3bc6d25111
Bug 564086, part b: Suppress some spurious static-ctor/dtor warnings in IPDL tests. r=bsmedberg
2011-06-03 13:33:55 -05:00
Mike Hommey
e56745d75b
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
...
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-02-25 12:53:36 +01:00
Matheus Kerschbaum
93480c6366
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07: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
Chris Jones
e34832051b
Bug 625060: Make sure XRE_ShutdownChildProcess() actually does that on mac. r=bent a=b
...
--HG--
extra : rebase_source : b19e92d6a4f8300c19340b60936f63d58b9e9935
2011-02-01 13:53:53 -06:00
Chris Jones
c387896b46
Bug 625060: Process tasks that might otherwise have been ignored because of failed NS_DispatchToMainThread() early in startup. r=bent
...
--HG--
extra : rebase_source : 9dd4f31abc3fb00317719820b991424b89e6872b
2011-02-01 13:53:53 -06:00
Oleg Romashin
25e94b7043
Bug 622474 - [QT] ipdlunittest does not work on Qt port r=dougt a=npodb
2011-01-05 15:48:21 +02:00
Luke Wagner
2fc61cf52e
Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh)
2010-12-03 00:24:17 -08:00
Oleg Romashin
497f2db326
Merge with mozilla central 2779c55431a4, no conflicts
2010-09-10 22:32:25 -07:00
Josh Aas
ccef2eb783
Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+
2010-09-10 13:09:30 -04: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
Josh Aas
85e2b9463a
Backed out changeset 52388a9a6337, bug 592951. a=me
2010-09-08 18:19:51 -04:00
Josh Aas
2993a12ec8
Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+
2010-09-08 16:24:30 -04:00
Ted Mielczarek
491acee0d8
bug 559228 - Implement multi-process crash reporting on Mac. r=bsmedberg a=blocking
...
--HG--
extra : rebase_source : 83e8073a3c8e47f8fec39b123221f80db89941e7
2010-08-16 15:05:09 -04:00
Michael Wu
ccd773d868
Bug 556644 - 8. Fix leak in child process, r=bsmedberg a=blocking2.0
2010-08-12 21:31:59 -07:00
Chris Jones
0fba33b98d
Bug 583056: Have MessageLoop die before NS_LogTerm() so as to avoid spurious xpcom-dtor-from-static-context warnings. r=bent
2010-08-05 17:11:23 -05:00
Chris Jones
d37c23f270
Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg
...
--HG--
rename : dom/ipc/ContentProcessChild.cpp => dom/ipc/ContentChild.cpp
rename : dom/ipc/ContentProcessChild.h => dom/ipc/ContentChild.h
rename : dom/ipc/ContentProcessParent.cpp => dom/ipc/ContentParent.cpp
rename : dom/ipc/ContentProcessParent.h => dom/ipc/ContentParent.h
rename : dom/ipc/ContentProcessProcess.cpp => dom/ipc/ContentProcess.cpp
rename : dom/ipc/ContentProcessProcess.h => dom/ipc/ContentProcess.h
rename : dom/ipc/PIFrameEmbedding.ipdl => dom/ipc/PBrowser.ipdl
rename : dom/ipc/PContentProcess.ipdl => dom/ipc/PContent.ipdl
2010-07-19 13:33:33 -05: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
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