Ehsan Akhgari
e368dc9c85
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
ff57e540e2
Bug 782252 - Convert declared types to nsresult; r=ehsan
2012-08-06 15:02:31 +03:00
Aryeh Gregor
f74602e698
Bug 777292 - modules/libpref/, toolkit/: Fix incorrect conversions to nsresult; r=bsmedberg
2012-07-30 12:24:36 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jeff Muizelaar
1764d4b703
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
b341414c8f
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
8c0081b486
Backed out Bug 771251 -- changeset 95c9bc0e63f7 due to red.
2012-07-10 22:50:33 -04:00
Benjamin Smedberg
a1ac513b61
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
b057ab26b1
Bug 627699 - Port GTK2 to GTK3, toolkit part, r=karlt
2012-06-16 18:06:10 +12:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Jim Mathies
81bcae808c
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
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Jeff Muizelaar
6012344c54
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
41881a88d1
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
2da377bf15
Bug 694039 - Load plugin quirks during interpose. r=jmuizelaar
2011-10-26 22:57:26 -04:00
Jeff Muizelaar
d213388e95
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
b5e57820bf
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
68eb6887ec
Bug 692689 - XRE_SendTestShellCommand returns NS_ERROR_FAILURE. r=bsmedberg
2011-10-14 11:23:12 +09:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
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
9e0c52e51a
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
70eb743d00
Bug 581341 - Part 3: Install child process exception handler before activating breakpad. r=bsmedberg
2011-06-23 19:30:31 -04:00
Michael Wu
d2b70213ac
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
0ebc4054f4
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
3ad781c193
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
e00243b9bf
Bug 665534 - Fix unused variable warnings in nsEmbedFunctions.cpp; r=Mossop
2011-07-19 12:04:54 +02:00
Chris Jones
7f80a2c75a
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
7de58a1cfa
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
4eb6429f47
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
7c0acef8c1
Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790.
2011-03-24 21:07:05 -07:00
Mike Hommey
0cfcd44b08
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
bf44ff7a3c
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
78b6da7bc6
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
9126c24b6e
Bug 622474 - [QT] ipdlunittest does not work on Qt port r=dougt a=npodb
2011-01-05 15:48:21 +02:00
Luke Wagner
56b2810a26
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
8c88c718ff
Merge with mozilla central 2779c55431a4, no conflicts
2010-09-10 22:32:25 -07:00
Josh Aas
1f83591a78
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
6077c4bbda
Bug 588911: Initialize gArgc/v earlier in XRE_InitParentProcess(). r=bent a=test-only
2010-08-19 14:50:17 -05:00
Josh Aas
252c8e9c10
Backed out changeset 52388a9a6337, bug 592951. a=me
2010-09-08 18:19:51 -04:00
Josh Aas
27016c473f
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
3f7bf2f258
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
27448b4d5f
Bug 556644 - 8. Fix leak in child process, r=bsmedberg a=blocking2.0
2010-08-12 21:31:59 -07:00
Chris Jones
a743b7cfe9
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
613ff7284a
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
a677e5bf91
Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691.
2010-07-01 11:55:57 -04:00
Benjamin Smedberg
29e089defb
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
c611ebcd81
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
Jason Duell
9e62fb7a46
Add a missing 'break' that caused assertion for e10s tree at startup. r=cjones
2010-06-29 00:08:35 -07:00
Doug Turner
e5c86fcd42
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
Doug Turner
cfd298a40d
Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
...
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00