Commit Graph

906 Commits

Author SHA1 Message Date
Chris Jones
9d4a84d546 Bug 598869: Test that using actors on non-main threads works 2011-06-03 13:33:56 -05:00
Chris Jones
13d0b99a66 Bug 613442, part 6: Test IPDL |opens| 2011-06-03 13:33:56 -05:00
Chris Jones
a5fcc3f046 Bug 613442, part 5: Generate C++ goop for creating |opens| channels. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
e84bad58c6 Bug 613442, part 4: Library support of |opens| API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
e173c413d3 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
b93e3c9d25 Bug 613442, part 2: Frontend tests 2011-06-03 13:33:56 -05:00
Chris Jones
a360737a93 Bug 613442, part 1: Frontend support for IPDL |opens|. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
8c842dccb2 Bug 564086, part r: Test IPDL |bridge| 2011-06-03 13:33:56 -05:00
Chris Jones
777e4d37f8 Bug 564086, part q: Generate C++ goop for creating |bridge| channels. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
cc3d830618 Bug 564086, part p: Library support of |bridge| API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
7cecf7ddbd Bug 564086, part o: Use the existing IPC::Channel typedef in AsyncChannel. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
c3142d4d19 Bug 564086, part n: Build new Transport code. r=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
9d7a73797a Bug 564086, part m: Windows impl of Transport API. r=bent 2011-06-03 13:33:56 -05:00
Chris Jones
f20990803f Bug 564086, part l: POSIX impl of Transport API. r=bsmedberg 2011-06-03 13:33:56 -05:00
Chris Jones
33a3bb7fe0 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
a17a5d62d4 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
8499bc3fba 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
561e04d6d7 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
2840ba1ca0 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
6b2fe7502d 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
4dd6a3e50f 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
d47f120bfd 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
9e4b4086e4 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
db73b3b4cf Bug 564086, part c: Remove dependency on XPCOM in subprocesses-spawning code. r=bsmedberg 2011-06-03 13:33:55 -05:00
Josh Matthews
99a4dc0b0b Bug 645532 - Make content process xpcshell print newlines. r=mrbkap 2011-06-02 13:11:54 +02: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
Kyle Huey
8a97c4db9f Back out Bug 639754. 2011-03-31 09:12:20 -04:00
Kyle Huey
959ea8bc3e Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
b06dc06820 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Chris Leary
02fde279ea Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary
7f1a11eb97 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Mitchell Field
601b7aba82 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
d5dcbf68a6 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
9f40b44a29 Merge cedar into mozilla-central 2011-03-25 23:55:33 -04:00
Jason Duell
4d46a8bfba 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
b98bf75175 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
cb6a971f1a Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Chris Jones
2387f54dbe Test for bug 640901. a=b 2011-03-25 12:56:17 -05:00
Ben Turner
ecf6425f70 Bug 640901: Clean up managees when manager ctor fails. r=cjones 2011-03-21 11:00:00 -05: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
Mitchell Field
959b2c2a90 Merge mozilla-central to build-system. 2011-03-03 20:13:35 +11:00
Chris Jones
cd1a38d565 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
225c13b333 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mike Hommey
e0ba81d2eb 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
a36a04c6d1 Bug 633462: Nuke this printf in release builds. r=bent a=a 2011-02-23 11:45:09 -06:00
Josh Matthews
cb6853e93f Bug 586362 - Add gczeal to content process xpcshell. r=bent 2010-08-11 13:45:00 -04:00
Makoto Kato
1ab756dc2d 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
56d2cfef7f Bug 636202 - Turn ipc/ipdl/ipdl/type.py Python 2/3-agnostic; r=cjones 2011-02-23 10:39:00 -05:00
Chris Jones
ac68853cfa 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
5d7822abb3 Bug 606074: removing bogus include, r=me, a=cleanup, DONTBUILD 2011-01-20 09:17:42 -08:00
Brian Crowder
091e50c7d7 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
04ffe6d2a0 Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-18 11:19:21 -08:00
Andreas Gal
f5c9522e86 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
bf079ecdad Bug 616841, part 4: "Localize" the IPC testshell JSContext. r=bent a=b 2011-01-14 16:03:21 -06:00
Chris Jones
8d9bc1ea81 Test for bug 572134. a=b 2011-01-12 01:07:17 -06:00
Chris Jones
fc47f098e3 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
7642105ca5 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
cba55906d2 Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -08:00
Chris Jones
08183edeb5 Bug 622235: Fix ipdlunittest.exe build error. a=npotb 2011-01-04 10:40:54 -06:00
Oleg Romashin
08463ea8b9 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
e16594c52b 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
f736793d01 Bug 613338: Fix hidden-virtual warnings. r=bsmedberg a=2.0 2010-11-24 15:38:50 -06:00
Josh Matthews
11617cf605 Backed out changeset 1d4e3afd67e7 2010-11-23 16:06:34 -05:00
Josh Matthews
b7c9fdafe3 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
d4ffb4ca8d Bug 584946 - e10s: localStorage, r=honzab, a=blocking-fennec2.0b3+ 2010-11-18 20:15:23 -05: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
Robert Sayre
4945f654ff Merge tracemonkey to mozilla-centra. a=blockers. 2010-11-17 13:55:14 -08:00
Robert Sayre
945bb866bf Merge mozilla-central to tracemonkey. 2010-11-16 07:25:10 -08:00
Igor Bukanov
08acfd00c4 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-11 21:40:29 +01:00
David Anderson
b4ec0dde6d Backed out changeset 8e119f847f97 (build busted) 2010-11-11 11:19:42 -08:00
Igor Bukanov
048e1e0a13 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-02 15:36:25 +01:00
Ryan VanderMeulen
5de9ca5fd4 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
e5050e3722 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
4580960fc4 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
6c2e6b0a79 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
48cc92a4b0 Merge mozilla-central to tracemonkey. 2010-11-09 15:29:44 -05:00
Chris Jones
339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
52d0f01838 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
f9c8ac111c Bug 598862, part 2: Add a dummy base::FileDescriptor. r=bsmedberg 2010-11-08 20:48:59 -06:00
Ehsan Akhgari
f401254d50 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
c074b68d29 bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00
Blake Kaplan
cb4d83e6c8 Bug 606585 - Make the compartment map use principals properly. r=peterv/bz, a=beta7+ 2010-10-26 23:57:31 -07:00
Michael Wu
e9a652183b 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
ecf2427900 Bug 608239: Backout changeset 99233ad2ff70 a=fennec-should-load-pages 2010-10-29 10:07:54 -04:00
Michael Wu
1a9d63506c 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
ce89cd5c59 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
6170cbcb5c Bug 606279, part 2: Use more concise types in PDocumentRenderer. r=joe 2010-10-26 17:20:53 -05:00
Chris Jones
a1fec27f70 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
f416b103b4 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
abe5e4d05f 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
b4c1905756 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
3c717e39c6 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Jim Mathies
786df8b68b Bug 607326 - Fix for ASSERTION: Received 'nonqueued' message 126. r=bent, a=final. 2010-11-05 10:19:05 -05:00
Chris Jones
198322446f 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
5c7d3456fb Bug 605362, part 5: Centralize more of the accounting. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
bb45a6061a Bug 605362, part 4: Notify shmem MemoryReporters from all shmem backends. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones
d842dc7390 Bug 605362, part 3: Add MemoryReporters for shmem. r=vlad 2010-11-05 02:17:07 -05:00
Chris Jones
58cd28b141 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
d1fddc9cfc 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