Commit Graph

925 Commits

Author SHA1 Message Date
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Mike Hommey
b0924cc77f 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
Chris Jones
bda1d2388d Test for bug 648935. 2011-05-04 15:55:54 -05:00
Chris Jones
486d30794e Bug 648935: Need to use the "remote stack depth view" when deciding whether to undefer, too. r=bsmedberg 2011-05-04 15:55:54 -05:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Chris Leary
55f7c6409e Merge mozilla-central to tracemonkey. (CLOSED TREE) 2011-05-02 10:55:34 -07:00
Chris Jones
ea36cc9d82 Bug 556214, part 3: IPC code wants to be using non-reentrant Monitor. r=bent 2011-04-29 14:21:57 -05:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Chris Jones
a886978274 Bug 651059: Fix (benign) read/write race on AsyncChannel.mChannelState. r=bent 2011-04-28 19:15:03 -05:00
Jacek Caban
0d02596cb7 Bug 651861 - ipc/chromium compilation broken on mingw
r=jones.chris.g
2011-04-28 11:36:38 +00:00
Jacek Caban
7a79d4a6ce Bug 643778 - WindowsMessageLoop.h fails to compile on case-sensitive
OSes r=benjamin

--HG--
extra : rebase_source : 03aa080043dd86c5b95c8f75bf49f7f538bfb30d
2011-04-26 11:45:08 +00:00
Taras Glek
94d8d441b4 Bug 651262 - Update histogram.h/cc[win build fixes] r=bent 2011-04-27 11:06:57 -07:00
Taras Glek
fd7d02c908 Bug 651262 - Update histogram.h/cc[build fixes] r=cjones 2011-04-27 11:06:53 -07:00
Taras Glek
db4fe4f5cd Bug 651262 - Update histogram.h/cc r=cjones 2011-04-19 15:18:48 -07:00
Luke Wagner
05d2002b66 Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack* 2011-04-13 09:27:37 -07:00
Chris Leary
71c7cfdc1f Merge mozilla-central and tracemonkey. 2011-04-26 10:42:36 -07:00
Benjamin Stover
a2586fcf46 Bug 650081 Fix ipc_channel_win.cpp WARNING about Connect called twice r=cjones 2011-04-22 10:55:46 -07:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Wes Garland
ed8e6d5fcf Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal 2011-04-16 15:13:10 -04:00
Josh Aas
6192fd5a60 Bug 649488: Move contents of dom/plugins to dom/plugins/ipc. r=bsmedberg
--HG--
rename : dom/plugins/AStream.h => dom/plugins/ipc/AStream.h
rename : dom/plugins/BrowserStreamChild.cpp => dom/plugins/ipc/BrowserStreamChild.cpp
rename : dom/plugins/BrowserStreamChild.h => dom/plugins/ipc/BrowserStreamChild.h
rename : dom/plugins/BrowserStreamParent.cpp => dom/plugins/ipc/BrowserStreamParent.cpp
rename : dom/plugins/BrowserStreamParent.h => dom/plugins/ipc/BrowserStreamParent.h
rename : dom/plugins/COMMessageFilter.cpp => dom/plugins/ipc/COMMessageFilter.cpp
rename : dom/plugins/COMMessageFilter.h => dom/plugins/ipc/COMMessageFilter.h
rename : dom/plugins/ChildAsyncCall.cpp => dom/plugins/ipc/ChildAsyncCall.cpp
rename : dom/plugins/ChildAsyncCall.h => dom/plugins/ipc/ChildAsyncCall.h
rename : dom/plugins/ChildTimer.cpp => dom/plugins/ipc/ChildTimer.cpp
rename : dom/plugins/ChildTimer.h => dom/plugins/ipc/ChildTimer.h
rename : dom/plugins/Makefile.in => dom/plugins/ipc/Makefile.in
rename : dom/plugins/NPEventAndroid.h => dom/plugins/ipc/NPEventAndroid.h
rename : dom/plugins/NPEventOSX.h => dom/plugins/ipc/NPEventOSX.h
rename : dom/plugins/NPEventWindows.h => dom/plugins/ipc/NPEventWindows.h
rename : dom/plugins/NPEventX11.h => dom/plugins/ipc/NPEventX11.h
rename : dom/plugins/NestedLoopTimer.cpp => dom/plugins/ipc/NestedLoopTimer.cpp
rename : dom/plugins/NestedLoopTimer.h => dom/plugins/ipc/NestedLoopTimer.h
rename : dom/plugins/PBrowserStream.ipdl => dom/plugins/ipc/PBrowserStream.ipdl
rename : dom/plugins/PPluginBackgroundDestroyer.ipdl => dom/plugins/ipc/PPluginBackgroundDestroyer.ipdl
rename : dom/plugins/PPluginIdentifier.ipdl => dom/plugins/ipc/PPluginIdentifier.ipdl
rename : dom/plugins/PPluginInstance.ipdl => dom/plugins/ipc/PPluginInstance.ipdl
rename : dom/plugins/PPluginModule.ipdl => dom/plugins/ipc/PPluginModule.ipdl
rename : dom/plugins/PPluginScriptableObject.ipdl => dom/plugins/ipc/PPluginScriptableObject.ipdl
rename : dom/plugins/PPluginStream.ipdl => dom/plugins/ipc/PPluginStream.ipdl
rename : dom/plugins/PPluginSurface.ipdl => dom/plugins/ipc/PPluginSurface.ipdl
rename : dom/plugins/PStreamNotify.ipdl => dom/plugins/ipc/PStreamNotify.ipdl
rename : dom/plugins/PluginBackgroundDestroyer.h => dom/plugins/ipc/PluginBackgroundDestroyer.h
rename : dom/plugins/PluginIdentifierChild.h => dom/plugins/ipc/PluginIdentifierChild.h
rename : dom/plugins/PluginIdentifierParent.h => dom/plugins/ipc/PluginIdentifierParent.h
rename : dom/plugins/PluginInstanceChild.cpp => dom/plugins/ipc/PluginInstanceChild.cpp
rename : dom/plugins/PluginInstanceChild.h => dom/plugins/ipc/PluginInstanceChild.h
rename : dom/plugins/PluginInstanceParent.cpp => dom/plugins/ipc/PluginInstanceParent.cpp
rename : dom/plugins/PluginInstanceParent.h => dom/plugins/ipc/PluginInstanceParent.h
rename : dom/plugins/PluginInterposeOSX.h => dom/plugins/ipc/PluginInterposeOSX.h
rename : dom/plugins/PluginInterposeOSX.mm => dom/plugins/ipc/PluginInterposeOSX.mm
rename : dom/plugins/PluginLibrary.h => dom/plugins/ipc/PluginLibrary.h
rename : dom/plugins/PluginMessageUtils.cpp => dom/plugins/ipc/PluginMessageUtils.cpp
rename : dom/plugins/PluginMessageUtils.h => dom/plugins/ipc/PluginMessageUtils.h
rename : dom/plugins/PluginModuleChild.cpp => dom/plugins/ipc/PluginModuleChild.cpp
rename : dom/plugins/PluginModuleChild.h => dom/plugins/ipc/PluginModuleChild.h
rename : dom/plugins/PluginModuleParent.cpp => dom/plugins/ipc/PluginModuleParent.cpp
rename : dom/plugins/PluginModuleParent.h => dom/plugins/ipc/PluginModuleParent.h
rename : dom/plugins/PluginProcessChild.cpp => dom/plugins/ipc/PluginProcessChild.cpp
rename : dom/plugins/PluginProcessChild.h => dom/plugins/ipc/PluginProcessChild.h
rename : dom/plugins/PluginProcessParent.cpp => dom/plugins/ipc/PluginProcessParent.cpp
rename : dom/plugins/PluginProcessParent.h => dom/plugins/ipc/PluginProcessParent.h
rename : dom/plugins/PluginScriptableObjectChild.cpp => dom/plugins/ipc/PluginScriptableObjectChild.cpp
rename : dom/plugins/PluginScriptableObjectChild.h => dom/plugins/ipc/PluginScriptableObjectChild.h
rename : dom/plugins/PluginScriptableObjectParent.cpp => dom/plugins/ipc/PluginScriptableObjectParent.cpp
rename : dom/plugins/PluginScriptableObjectParent.h => dom/plugins/ipc/PluginScriptableObjectParent.h
rename : dom/plugins/PluginScriptableObjectUtils-inl.h => dom/plugins/ipc/PluginScriptableObjectUtils-inl.h
rename : dom/plugins/PluginScriptableObjectUtils.h => dom/plugins/ipc/PluginScriptableObjectUtils.h
rename : dom/plugins/PluginStreamChild.cpp => dom/plugins/ipc/PluginStreamChild.cpp
rename : dom/plugins/PluginStreamChild.h => dom/plugins/ipc/PluginStreamChild.h
rename : dom/plugins/PluginStreamParent.cpp => dom/plugins/ipc/PluginStreamParent.cpp
rename : dom/plugins/PluginStreamParent.h => dom/plugins/ipc/PluginStreamParent.h
rename : dom/plugins/PluginSurfaceParent.cpp => dom/plugins/ipc/PluginSurfaceParent.cpp
rename : dom/plugins/PluginSurfaceParent.h => dom/plugins/ipc/PluginSurfaceParent.h
rename : dom/plugins/PluginUtilsOSX.h => dom/plugins/ipc/PluginUtilsOSX.h
rename : dom/plugins/PluginUtilsOSX.mm => dom/plugins/ipc/PluginUtilsOSX.mm
rename : dom/plugins/StreamNotifyChild.h => dom/plugins/ipc/StreamNotifyChild.h
rename : dom/plugins/StreamNotifyParent.h => dom/plugins/ipc/StreamNotifyParent.h
rename : dom/plugins/ipdl.mk => dom/plugins/ipc/ipdl.mk
2011-04-12 16:26:11 -07:00
Mike Hommey
00b2d5e3a7 Bug 643112 - Fix IPC build on Linux powerpc. r=bsmedberg 2011-04-13 09:45:42 +02:00
Chris Jones
d8e7ed4952 Bug 598869: Test that using actors on non-main threads works 2011-06-03 13:33:56 -05:00
Chris Jones
65c96c70e1 Bug 613442, part 6: Test IPDL |opens| 2011-06-03 13:33:56 -05:00
Chris Jones
27d4731d54 Bug 613442, part 5: Generate C++ goop for creating |opens| channels. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
109cb23caa Bug 613442, part 4: Library support of |opens| API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
cc130518ca Bug 613442, part 3: Add AsyncChannel::Echo() to allow sending a message back to the originating endpoint. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
bda046453f Bug 613442, part 2: Frontend tests 2011-06-03 13:33:56 -05:00
Chris Jones
7a275fc61c Bug 613442, part 1: Frontend support for IPDL |opens|. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
99ae961b09 Bug 564086, part r: Test IPDL |bridge| 2011-06-03 13:33:56 -05:00
Chris Jones
c2d355c9cb Bug 564086, part q: Generate C++ goop for creating |bridge| channels. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
434a98eabd Bug 564086, part p: Library support of |bridge| API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
40ec0f0dea Bug 564086, part o: Use the existing IPC::Channel typedef in AsyncChannel. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
156904718c Bug 564086, part n: Build new Transport code. r=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
a1e3f93459 Bug 564086, part m: Windows impl of Transport API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
a37643c229 Bug 564086, part l: POSIX impl of Transport API. r=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
cf60a3e23c Bug 564086, part k: API for creating new IPC "Transport" not tied to a ProcessHost. sr=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
e822730997 Bug 564086, part j: Add IPC::Channel support for getting OS-level pipe info and creating from existing pipe descriptors. r=bent 2011-06-03 13:33:55 -05:00
Chris Jones
aa5d46178b Bug 564086, part i: Add an (IPDL-private) interface for getting the underlying AsyncChannel from a top-level actor. r=bsmedberg 2011-06-03 13:33:55 -05:00
Chris Jones
e804acb3f2 Bug 564086, part h: One protocol can bridge multiple endpoints (oops!); add convenience process-graph querying functions. r=bent 2011-06-03 13:33:55 -05:00
Chris Jones
a5ef6c6d6a Bug 564086, part g: Allow opening an AsyncChannel with an explicit parent/child "side" so that Transport::Connect can be called for parent-side channels that need it. r=bent 2011-06-03 13:33:55 -05:00
Chris Jones
ff692e6da5 Bug 564086, part f: Compile IPDL specs in two passes so that the full process graph is available at codegen time. r=bsmedberg 2011-06-03 13:33:55 -05:00
Chris Jones
b58bf5efa7 Bug 564086, part e: Allow IPDL/C++ tests to spawn subprocesses that speak protocols that are not unit tests in and of themselves. r=ted 2011-06-03 13:33:55 -05:00
Chris Jones
79ac480fe7 Bug 564086, part d: Emit common code for PFoo into PFoo.h and PFoo.cpp. r=bsmedberg 2011-06-03 13:33:55 -05:00
Chris Jones
2bfe0087e1 Bug 564086, part c.1: Allow non-XPCOM processes (which don't use omnijar) to spawn other non-XPCOM subprocesses. r=glandium 2011-06-03 13:33:55 -05:00
Chris Jones
84d0bc8ee0 Bug 564086, part c: Remove dependency on XPCOM in subprocesses-spawning code. r=bsmedberg 2011-06-03 13:33:55 -05:00
Josh Matthews
9922293ca0 Bug 645532 - Make content process xpcshell print newlines. r=mrbkap 2011-06-02 13:11:54 +02: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
Kyle Huey
e169e16015 Back out Bug 639754. 2011-03-31 09:12:20 -04:00
Kyle Huey
61ff9410c4 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
1f81122982 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Chris Leary
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary
78ceed9ab7 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Mitchell Field
a191206c64 Bug 609434 - Don't emit switch statements containing 'default' but no 'case' labels in IPC IPDL files. r=cjones 2011-03-31 23:06:24 +11:00
Justin Lebar
7e2c5ae50d Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Ehsan Akhgari
a2f674fb10 Merge cedar into mozilla-central 2011-03-25 23:55:33 -04:00
Jason Duell
6651a096c6 Bug 534764. Allow separate NSPR logs if requested, in case of interleaving issues; r=mayhemer,wtc 2011-03-25 19:40:50 -04:00
Jim Mathies
0dbb327e40 Bug 641705 - Don't drop win app shell gecko processing events in ipc's windows message loop processing. r=bsmedberg 2011-03-25 18:17:35 -05:00
Ehsan Akhgari
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Chris Jones
95bda69b21 Test for bug 640901. a=b 2011-03-25 12:56:17 -05:00
Ben Turner
3e1c82c126 Bug 640901: Clean up managees when manager ctor fails. r=cjones 2011-03-21 11:00:00 -05: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
Mitchell Field
1592ff67f7 Merge mozilla-central to build-system. 2011-03-03 20:13:35 +11:00
Chris Jones
0a6f061349 Bug 637987: Don't compile IPDL unit-test protocols when not asked to. r=bsmedberg a=a 2011-03-02 12:29:31 -06:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mike Hommey
6ef83c9db5 Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01:00
Chris Jones
68448b7880 Bug 633462: Nuke this printf in release builds. r=bent a=a 2011-02-23 11:45:09 -06:00
Josh Matthews
a75f05eb43 Bug 586362 - Add gczeal to content process xpcshell. r=bent 2010-08-11 13:45:00 -04:00
Makoto Kato
96269b6d02 Bug 620888 - ReadParam(msg, iter, uint32) is extracted to ReadParam(msg, iter, size_t/intptr_t) on Windows x86; r=cjones 2011-01-28 00:27:00 -05:00
Gary Kwong
a23e399485 Bug 636202 - Turn ipc/ipdl/ipdl/type.py Python 2/3-agnostic; r=cjones 2011-02-23 10:39:00 -05:00
Chris Jones
854eb4805d Bug 625060: Only plugin-container needs to walk out of plugin-container.app/Content/MacOS to find the real GRE dir. r=bent
--HG--
extra : rebase_source : a679b5caf11b507f15d952cb1979e73b125a5b0a
2011-02-01 13:53:53 -06:00
Brian Crowder
b1625ad538 Bug 606074: removing bogus include, r=me, a=cleanup, DONTBUILD 2011-01-20 09:17:42 -08:00
Brian Crowder
9dd1b4486c Bug 606074: ensure that we share the Android system properties memory-map with the child process, r=cjones, a=blocking-fennec:2.0:mfinkle 2011-01-20 09:01:31 -08:00
Chris Leary
6805a382ac Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-18 11:19:21 -08:00
Andreas Gal
6278051362 Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer). 2011-01-14 17:58:40 -08:00
Chris Jones
efc286ce3f Bug 616841, part 4: "Localize" the IPC testshell JSContext. r=bent a=b 2011-01-14 16:03:21 -06:00
Chris Jones
402b448575 Test for bug 572134. a=b 2011-01-12 01:07:17 -06:00
Chris Jones
a7c8bdb47f Bug 572134: "Undefer" the in-call that lost a race at stack-depth 1, if there is one, when RPCChannel code leaves the C++ stack, so that the in-call can be processed if there is an immediately following out-call. r=bsmedberg 2011-01-12 01:07:17 -06:00
Dominik Roettsches
58eaaab9b9 Bug 618810 - Qt Message Pump locks up in case of nested loops in flash plugin. r=dougt a=npodb 2011-01-07 14:18:29 +02:00
Chris Leary
1d3c0638b7 Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -08:00
Chris Jones
3b270a9c6b Bug 622235: Fix ipdlunittest.exe build error. a=npotb 2011-01-04 10:40:54 -06:00
Oleg Romashin
5e4a6a5c25 Bug 619488 - Inform child processes of the compositor's layer-manager type. r=jones.chris.g a=b-f 2010-12-31 09:40:19 +02:00
Eli Friedman
d73fe8b3c6 Bug 579788 - Qualify access to dependent base in imported Chromium code. r=benjamin, a=benjamin
--HG--
extra : rebase_source : b2381678b364a078e554f3ef19afb3ce6d5bc753
2010-12-05 13:24:21 +00:00
Chris Jones
6269d59510 Bug 613338: Fix hidden-virtual warnings. r=bsmedberg a=2.0 2010-11-24 15:38:50 -06:00
Josh Matthews
11f8736ab8 Backed out changeset 1d4e3afd67e7 2010-11-23 16:06:34 -05:00
Josh Matthews
30d15bea23 Bug 586362 - xpcshell: gczeal() doesn't work in the content process. r=bent a=bsmedberg 2010-08-11 13:45:00 -04:00
Josh Matthews
5de7e34378 Bug 584946 - e10s: localStorage, r=honzab, a=blocking-fennec2.0b3+ 2010-11-18 20:15:23 -05: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
Robert Sayre
2d10c1480d Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Robert Sayre
f8d70b12f4 Merge mozilla-central to tracemonkey. 2010-11-16 07:25:10 -08:00
Igor Bukanov
52ea348c4c bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-11 21:40:29 +01:00
David Anderson
7487c14d37 Backed out changeset 8e119f847f97 (build busted) 2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-02 15:36:25 +01:00
Ryan VanderMeulen
b3c91154cb Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin 2010-11-16 10:21:53 +01:00
Benedict Hsieh
fba1d721da Bug 592768 - When using async launch, the toplevel actor doesn't have a process handle. Set the process ID with a callback function (OnChannelConnected). r=cjones
--HG--
extra : rebase_source : aa7743035e9a21759d99b9b9fbaf6371b8c82395
2010-10-08 16:24:36 -07:00
Ryan VanderMeulen
725ef76341 Bug 578540 - Fix MSVC warning spam by removing unneeded define from Chromium code. r=cjones 2010-11-13 09:15:07 +01:00
Ehsan Akhgari
eda812475f Bug 610556 - Linker errors on shared builds with NS_SetDllDirectory; r=khuey a=bsmedberg
--HG--
rename : toolkit/xre/nsSetDllDirectory.cpp => xpcom/base/nsSetDllDirectory.cpp
rename : toolkit/xre/nsSetDllDirectory.h => xpcom/base/nsSetDllDirectory.h
2010-11-09 21:02:09 -05:00
Robert Sayre
78fcef6d2d Merge mozilla-central to tracemonkey. 2010-11-09 15:29:44 -05:00
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Chris Jones
70626ca310 Bug 598862, part 2: Add a dummy base::FileDescriptor. r=bsmedberg 2010-11-08 20:48:59 -06:00
Ehsan Akhgari
ffa07f5b9a Bug 603679 - Fix a regression causing the Shockwave plugin to fail to load; r=bsmedberg a=blocking-beta8+ 2010-11-04 14:45:51 -04:00
Igor Bukanov
92b67c9caf bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00
Blake Kaplan
0947251bf8 Bug 606585 - Make the compartment map use principals properly. r=peterv/bz, a=beta7+ 2010-10-26 23:57:31 -07:00
Michael Wu
402efe298f Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec 2010-10-29 12:22:28 -07:00
Mark Finkle
c13d5f5238 Bug 608239: Backout changeset 99233ad2ff70 a=fennec-should-load-pages 2010-10-29 10:07:54 -04:00
Michael Wu
bb0cf0f8a4 Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec 2010-10-28 23:45:46 -07:00
Jim Mathies
d5795f9acb Bug 545892 - Always pass WM_NCPAINT events to the default event procedure. r=bent, a=beta7 2010-10-27 08:48:09 -05:00
Chris Jones
d12924f284 Bug 606279, part 2: Use more concise types in PDocumentRenderer. r=joe 2010-10-26 17:20:53 -05:00
Chris Jones
087771ec3a Bug 606609: Make script to extract protocol/message from msgtype numbers part of m-c. r=bsmedberg a=npotb 2010-10-26 11:57:46 -05:00
Adam Michel
8244e0148e Bug 570134 - Building with Apples llvm-gcc-4.2 fails on IPC. r+a=bsmedberg 2010-10-24 11:32:43 +02:00
Benjamin Smedberg
c1f3d96e91 Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Jim Mathies
ada067c895 Bug 607326 - Fix for ASSERTION: Received 'nonqueued' message 126. r=bent, a=final. 2010-11-05 10:19:05 -05:00
Chris Jones
6142433bc6 Change a comment in a patch for bug 605362, so I can add a=blocking-fennec 2010-11-05 02:21:30 -05:00
Chris Jones
3a6c74c8d5 Bug 605362, part 5: Centralize more of the accounting. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
9119868099 Bug 605362, part 4: Notify shmem MemoryReporters from all shmem backends. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
0dd1deba83 Bug 605362, part 3: Add MemoryReporters for shmem. r=vlad 2010-11-05 02:17:07 -05:00
Chris Jones
f8648de60a Bug 605362, part 2: Track allocated sizes (in the allocating process) in all shmem backends. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
5ca29d9212 Bug 605362, part 1: Allocate page-aligned shmem segments in ShmImage, to match other allocators which more honestly report address space and system mem taken by alloc. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
00324b70d5 Tests for bug 598866. 2010-11-05 02:17:07 -05:00
Chris Jones
ed08fa2c82 Bug 598866, part 2: Generate an AllocUnsafeShmem() method for shmem-using protocols. r=bent 2010-11-05 02:17:07 -05:00
Chris Jones
890cc387f6 Bug 598866, part 1: Add library support for an "unsafe" Shmem variant. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
9fc678e363 Followup to bug 606538: Fix incorrect assertion. r=bent a=blocking-fennec 2010-11-05 02:17:06 -05:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Benjamin Smedberg
64a132d0b8 Bug 607002 - Classes forward-declared as structs in IPDL-generated code cause MSVC warnings. Forward-declare them as classes. r=cjones 2010-10-27 09:17:33 -04:00
Chris Jones
e0830d554e Bug 606538: Make msgids be 32 bits to stop the insanity. r=bent a=blocking-fennec 2010-10-22 17:28:40 -05:00
Ehsan Akhgari
d678ca7e0d Bug 286382 - Don't load DLLs from the current directory; r=bsmedberg a=blocking-betaN+ 2010-09-28 20:33:43 -04:00
Josh Matthews
f1ce04b682 Bug 599198 - Content process throws several catastrophic assertions while initializing XPCOM (bandaide) r=bsmedberg a=blocking-fennec 2010-09-23 19:28:48 -04:00
Gregor Wagner
2bc52a61a6 compilation fix 2010-09-30 00:47:44 -07:00
Andreas Gal
ed798dc813 Set right compartment in ipc test shell (600022, r=jst). 2010-09-30 00:14:37 -07:00
Josh Aas
c647e8f417 Bug 599059: Always store length at the end of shared memory segments as a 32-bit value. Don't use "sizeof(size_t)" because that differs between i386 and x86_64 and causes crashes when running i386 plugins from a x86_64 host. r=cjones a=blocking-b7 2010-09-24 02:31:47 -04:00
Chris Jones
8d0a412baf Bug 597336, part 4: If UseClientSideRendering(), render to a gfxImageSurface backed by memory shared with X and then XShmPutImage to copy it to our window's drawable. r=karl a=blocking-fennec 2010-09-23 20:00:06 -05:00
Josh Aas
526f55239a Bug 590057: Add support for loading plugins of a different architecture than the host browser on Mac OS X. r=cjones a=blocking-b7 2010-09-15 23:09:19 -07:00
Chris Jones
2bb3bb3e9c Merge m-c --> cedar 2010-09-15 16:44:30 -05:00
Chris Jones
00f365ac1f Bug 570625, part 2: Add a SurfaceDescriptorX11 datatype that abstracts what's needed to share an Xlib surface to another process. r=karl sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones
ee72f210ea Merge m-c --> cedar 2010-09-13 19:24:09 -05:00
Oleg Romashin
497f2db326 Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Chris Jones
4539dc37ca Bug 594878, part 2: Add a SharedMemoryBasic impl that uses /dev/ashmem on android. r=mwu 2010-09-10 16:45:59 -05:00
Chris Jones
d6d1dae10b Bug 594878, part 1: Factor out chromium-implemented SharedMemoryBasic in preparation for an android-specific impl. r=joe
--HG--
rename : ipc/glue/SharedMemoryBasic.h => ipc/glue/SharedMemoryBasic_chromium.h
2010-09-10 16:45:59 -05:00
Chris Jones
4820da2166 Merge m-c --> cedar 2010-09-08 17:25:30 -05:00
Chris Jones
9454ae60b8 Bug 592866: Allow Shmem to be used in IPDL unions. r=bent a=blocking-2.0 2010-09-08 13:27:52 -05: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
Doug Turner
4c4c8dfdd9 Bug 594261 - IPC part - Factor out geolocation prompt into something that can be reused. r=chris jones, a=stuart
--HG--
rename : dom/src/geolocation/PGeolocationRequest.ipdl => dom/ipc/PContentPermissionRequest.ipdl
extra : rebase_source : 73f75b6f4c4deae71337dd2a9925d15aefcaacb8
2010-09-09 22:00:08 -07:00
Robert Sayre
4659902f34 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Benoit Girard
4fd9b06f6c Bug 589371 - Prevent FatalError from being inlined for better error reporting. r=josh a2.0=blocking2.0:betaN 2010-09-11 10:03:29 -07:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Oleg Romashin
7ff38c48b1 Merge m-c: 09872e2e2130 -> cedar, (qt build bustage fix) 2010-09-01 12:07:19 -07:00
Chris Jones
078e84688f Test for bug 592002. a=test 2010-09-01 13:01:50 -05:00