Olli Pettay
93984b6736
m-c to e10 merge
2010-05-24 17:45:59 +03:00
Chris Jones
2ed40cd772
Merged m-c
2010-05-13 18:04:53 -05:00
Chris Jones
58222a942d
No bug: Reduce IPDL-compiler spew and stop logging to stderr. irc-r=bsmedberg
2010-05-13 17:25:20 -05:00
Doug Turner
1aca4c8153
Bug 552822 - IPC remoting of geolocation prompt. r=olli/r=jdm
2010-05-13 10:44:51 -07:00
Ben Newman
293a2d1b82
Bug 565078 - Move js/src/ipc to js/ipc. r=bsmedberg
...
--HG--
rename : js/src/ipc/CPOWTypes.h => js/ipc/CPOWTypes.h
rename : js/src/ipc/ContextWrapperChild.h => js/ipc/ContextWrapperChild.h
rename : js/src/ipc/ContextWrapperParent.h => js/ipc/ContextWrapperParent.h
rename : js/src/ipc/Makefile.in => js/ipc/Makefile.in
rename : js/src/ipc/ObjectWrapperChild.cpp => js/ipc/ObjectWrapperChild.cpp
rename : js/src/ipc/ObjectWrapperChild.h => js/ipc/ObjectWrapperChild.h
rename : js/src/ipc/ObjectWrapperParent.cpp => js/ipc/ObjectWrapperParent.cpp
rename : js/src/ipc/ObjectWrapperParent.h => js/ipc/ObjectWrapperParent.h
rename : js/src/ipc/PContextWrapper.ipdl => js/ipc/PContextWrapper.ipdl
rename : js/src/ipc/PObjectWrapper.ipdl => js/ipc/PObjectWrapper.ipdl
rename : js/src/ipc/ipdl.mk => js/ipc/ipdl.mk
rename : js/src/ipc/jar.mn => js/ipc/jar.mn
rename : js/src/ipc/tests/Makefile.in => js/ipc/tests/Makefile.in
rename : js/src/ipc/tests/adhoc/child.html => js/ipc/tests/adhoc/child.html
rename : js/src/ipc/tests/adhoc/test.xul => js/ipc/tests/adhoc/test.xul
rename : js/src/ipc/tests/unit/cpow_child.js => js/ipc/tests/unit/cpow_child.js
rename : js/src/ipc/tests/unit/test_cpow.js => js/ipc/tests/unit/test_cpow.js
2010-05-11 10:44:42 -07:00
Doug Turner
0dc0f3273e
merge with m-c. resolved conflicts in:
...
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk
--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Benoit Girard
94d6258a5b
Bug 528146: Run plug-in code on the thread that starts in main(). r=cjones
...
--HG--
rename : dom/plugins/PluginThreadChild.cpp => dom/plugins/PluginProcessChild.cpp
rename : dom/plugins/PluginThreadChild.h => dom/plugins/PluginProcessChild.h
rename : ipc/ipdl/test/cxx/IPDLUnitTestThreadChild.cpp => ipc/ipdl/test/cxx/IPDLUnitTestProcessChild.cpp
rename : ipc/ipdl/test/cxx/IPDLUnitTestThreadChild.h => ipc/ipdl/test/cxx/IPDLUnitTestProcessChild.h
2010-05-10 23:18:00 -05:00
Chris Jones
ba8e10bb5d
Bug 565462: Implement operator== for IPDL structs and unions. r=bsmedberg
2010-05-22 14:35:42 -05:00
Chris Jones
3736c87ff8
Tests for bug 560000
2010-05-22 14:35:40 -05:00
Chris Jones
81dfc13752
Bug 560000: Allow IPDL unions and structs to be recursively defined. r=benjamn
2010-05-22 14:35:38 -05:00
Chris Jones
ca7af8ea8c
Tests for bug 553846.
...
--HG--
rename : ipc/ipdl/test/cxx/PTestArrays.ipdl => ipc/ipdl/test/cxx/PTestDataStructures.ipdl
rename : ipc/ipdl/test/cxx/PTestArraysSub.ipdl => ipc/ipdl/test/cxx/PTestDataStructuresSub.ipdl
rename : ipc/ipdl/test/cxx/TestArrays.cpp => ipc/ipdl/test/cxx/TestDataStructures.cpp
rename : ipc/ipdl/test/cxx/TestArrays.h => ipc/ipdl/test/cxx/TestDataStructures.h
2010-05-22 14:35:37 -05:00
Chris Jones
6407922744
Bug 553846: Implement an IPDL "struct" type. r=benjamn
2010-05-22 14:35:35 -05:00
Chris Jones
e0a14f18fc
Bug 522547: Serialize/deserialize IPC messages in a "streaming" style. r=bent
2010-05-22 14:35:34 -05:00
Chris Jones
03b01c916d
Bug 562741: Allow |Shmem|s to be shared across different protocol trees. r=bent
2010-05-22 14:35:33 -05:00
Chris Jones
9751148c41
Bug 564086: Frontend support for IPDL process graphs and Bridge()ing processes. r=benjamn
2010-05-22 14:35:31 -05:00
Chris Jones
5be467f10e
Bug 565844: Distinguish between illegal-value and couldn't-process errors in IPDL error messages. r=bent
2010-05-22 14:35:29 -05:00
Doug Turner
c88906d971
Merge with m-c. no hand edits
2010-04-29 21:04:50 -07:00
Mike Hommey
92506b7f9a
Bug 561971 - Cleanup ipdl generated code and compiled python on make clean [r=benjamin]
...
--HG--
extra : rebase_source : d4ab3ddde23f3b98521756f8362376fef6b76764
2010-04-29 07:21:14 +00:00
Jim Mathies
0879ff6221
Bug 558986 - detect and resolve races between MS-COM RPC and IPDL RPC by implementing IMessageFilter and processing pending IPDL RPC calls while waiting for MS-COM RPC responses. Original patch by bsmedberg, r=cjones/jimm/ehsan with followup fixes by Jim Mathies, r=bsmedberg
...
--HG--
extra : rebase_source : 214029d3188f8aa00948e0dcdc3c11cd279d1569
2010-05-21 11:48:34 -04:00
Jim Mathies
e9cf1d1dad
Bug 558986 - Backout of fix for crashes in TSF with Flash/Silverlight on tablets. CLOSED TREE
2010-05-17 14:36:43 -05:00
Benjamin Smedberg
695ab55828
Bug 558986 - Fix for crashes in TSF with Flash/Silverlight on tablets (OLE/COM nested event loops). r=cjones, jimm, ehsan.
2010-05-17 11:33:34 -05:00
Chris Jones
a945d618e9
Followup to bug 559898: fix cycle checker to allow self-loop special case.
2010-04-27 02:12:39 -05:00
Chris Jones
574b849ecd
Followup to bug 541131: update |include protocol "PFoo.ipdl"| usages in e10s.
2010-04-27 02:12:38 -05:00
Chris Jones
bd6bf48e7a
Merged m-c
2010-04-27 01:53:06 -05:00
Chris Jones
cc52e0aa86
Bug 518881: Fix unused-result warnings in IPDL/C++ unit tests.
2010-04-27 00:43:01 -05:00
Chris Jones
168d0459ca
Bug 518881: Make Send/Call*() methods for IPDL parent actors warn_unused_result. r=bent
2010-04-27 00:43:00 -05:00
Chris Jones
43db547c0a
Bug 559898: Allow (sub-)protocols to manage themselves. r=bsmedberg
2010-04-26 20:11:48 -05:00
Chris Jones
821e840e3b
Bug 559953: Add a |const nsTArray<Subactor*>& ManagedFoo();| accessor. r=bent
2010-04-26 20:11:47 -05:00
Thomas Lee
f562dffa71
Bug 541131: Include IPDL headers as |include protocol PFoo;|. r=cjones
2010-04-26 20:11:46 -05:00
Chris Jones
14a0306954
Bug 554244: Get the right loc info for message declarations. r=bent
2010-04-26 20:11:44 -05:00
Chris Jones
b95a8efccc
Bug 555276: Top-level protocols should handle shmem messages if any subprotocol uses it. r=bent
2010-04-26 20:11:43 -05:00
Chris Jones
403eae2c27
Bug 555275: Clean up shared memory segments when the top-level actor dies. r=bent
2010-04-26 20:11:42 -05:00
Chris Jones
c2273182da
Bug 555275: Implement a DeallocShmem() interface. r=bent
2010-04-26 20:11:40 -05:00
Benjamin Smedberg
e0862137aa
Bug 561871, part A: IPDL changes to expose ProcessNativeEventsInRPCCall from the toplevel actor, r=cjones
...
--HG--
extra : rebase_source : 3c5a7516aa43ba17b796b8e8757d74d634689a09
2010-04-28 11:00:13 -04:00
Chris Jones
8cd39f1f00
Merge mozilla-central
2010-04-16 01:34:35 -05:00
Chris Jones
e81c79ae2f
Bug 548437: Test SysV shmem.
2010-04-16 00:29:17 -05:00
Joe Drew ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
0bd95dade4
Bug 548437: Add a SysV shmem subtype of SharedMemory. r=dougt
2010-04-16 00:29:16 -05:00
Olli Pettay
f8623be5f3
Bug 555573 - [e10s] IPDL generates code which may not compile on Windows, r=cjones
2010-03-29 23:29:07 +03:00
Doug Turner
19845bed4d
merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp.
2010-03-26 14:22:48 -07:00
Dan Witte
90b6b20cf2
Bug 537156 - [e10s] Implement cookies. r=jduell,sdwilsh; sr=bz
2010-03-25 16:02:28 -07:00
Chris Jones
b9728f5cea
Bug 544936, part 4: Move some common code for dealing with minidumps and .extra files into nsExceptionHandler. r=ted
2010-03-24 16:22:01 -05:00
Ben Newman
bb75ed49d1
Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst
2009-11-06 12:43:39 -08:00
Chris Jones
d684a35ea5
Bug 544623 - IPDL: Shmem buffers should be shared across actor tree. r=bent
2010-03-22 21:56:42 -07:00
Jason Duell
f78fd1ae1e
Merge from m-c in order to fix e10s necko hangs caused by last m-c merge.
2010-03-19 23:55:40 -07:00
Josh Matthews
d4487458dd
Bug 552117 - Print current test name in IPDL tests. r=cjones
...
--HG--
extra : rebase_source : 45b554a05e8a9e3ca627b10f633a955cec4f0f05
2010-03-13 13:23:50 +13:00
Chris Jones
297b367c19
Backed out changeset bda8efa53512
2010-03-18 21:01:10 -05:00
Chris Jones
6b2339095c
Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted
2010-03-18 17:52:38 -05:00
Chris Jones
4b4233facd
Bug 551392: Remove subprocess minidumps after they're grabbed to avoid spurious crash detection. r=ted
2010-03-18 17:52:36 -05:00
Chris Jones
eae7be085a
Bug 552014: Test
2010-03-18 17:52:34 -05:00
Chris Jones
2c7741fa1a
Bug 533055: Part 2: Set Message names in IPDL-generated code. r=bent
2010-03-18 17:52:31 -05:00
Chris Jones
51582e89d2
b=550026 Cancel PluginCrashed when PluginModule is deleted. r=bsmedberg
2010-03-08 09:16:02 +13:00
Chris Jones
55b7305f9e
Followup to bug 545342: atomically refcount the dequeue task. r=bent
2010-03-11 16:24:15 -06:00
Doug Turner
186a2d7596
Merge with m-c
2010-03-18 21:53:17 -07:00
Doug Turner
453380b2a7
Merge
2010-03-12 15:20:36 -08:00
Chris Jones
6fa2d57900
b=550026 Don't call PluginCrashed while plugin code is still on the stack r=bsmedberg
2010-03-08 09:16:02 +13:00
Doug Turner
c741a38e65
Merge
2010-03-01 15:36:51 -08:00
Chris Jones
f2a324d0d6
Bug 545455: IPDL/C++ test.
2010-02-16 12:44:23 -06:00
Chris Jones
557d0a7e78
Bug 545455, part 2: Expose override-able hooks for top-level IPDL actors to be notified on stack entrance/exit. r=bent
2010-02-16 12:44:22 -06:00
Chris Jones
94faebe11f
Bug 545455: IPDL/C++ test.
...
--HG--
extra : rebase_source : 9fae2c3f3192633834166b863f7ab0c1ed2f0e40
2010-02-16 12:44:23 -06:00
Chris Jones
357da6d25d
Bug 545455, part 2: Expose override-able hooks for top-level IPDL actors to be notified on stack entrance/exit. r=bent
...
--HG--
extra : rebase_source : e50ede6dbffc9d864ba62eda6d2a622c8b99dece
2010-02-16 12:44:22 -06:00
Chris Jones
17e4329c85
Bug 548214: Extended IPDL/C++ test.
2010-02-24 15:59:24 -06:00
Chris Jones
41ab2c5abe
Merge backout
2010-03-11 05:07:51 -06:00
Chris Jones
ec36ea088a
Backing out bug 550026 due to orange
2010-03-11 05:07:42 -06:00
Chris Jones
eb4b1d88db
Bug 549888: Test
2010-03-11 01:35:32 -06:00
Chris Jones
bfbfdfedc8
Bug 549888: Part 1: Let the channel listener decide how to mediate RPC races, defaulting to "child wins". r=bent
2010-03-11 01:35:30 -06:00
Chris Jones
560720af2a
Bug 546035: Test
2010-03-11 01:35:28 -06:00
Chris Jones
3cbb7db096
b=550026 Don't call PluginCrashed while plugin code is still on the stack r=bsmedberg
2010-03-08 09:16:02 +13:00
Chris Jones
60dbdc95ce
Bug 545342: Test
2010-03-11 01:35:21 -06:00
Chris Jones
91c8a167c1
Followup to bug 559898: fix cycle checker to allow self-loop special case.
2010-04-27 02:12:39 -05:00
Olli Pettay
74bb79d9b1
Bug 555573 - [e10s] IPDL generates code which may not compile on Windows, r=cjones
2010-03-29 23:29:07 +03:00
Chris Jones
44e3e67b08
No bug: Test RPC round-trip times and warn before sleep()ing. no r=, test only
2010-02-04 21:40:42 -06:00
Thomas Lee
0486f6f11e
Bug 541126: Error out if there are manager/managee cycles in protocol graphs. r=cjones
2010-02-01 12:44:54 -06:00
Chris Jones
3ac6364837
Bug 544623 - IPDL: Shmem buffers should be shared across actor tree. r=bent
2010-03-22 22:02:16 -07:00
Chris Jones
e7d4687beb
Bug 545053: IPDL/C++ test of hang detector.
2010-02-11 14:32:17 -06:00
Chris Jones
1d3d3b182e
Bug 545591: Temporary workaround.
2010-02-11 00:48:33 -06:00
Chris Jones
d88c179be1
Bug 540004, part 3: Add a ShouldContinue() interface to IPDL actors that allows them to decide how a hang should be treated. r=bent
2010-02-09 18:02:55 -06:00
Chris Jones
188261c0b2
Bug 540004, part 1: Various and sundry trivial refactorings. r=bent
2010-02-09 18:02:53 -06:00
Chris Jones
45b95bf64a
No bug: Test RPC round-trip times and warn before sleep()ing. no r=, test only
2010-02-04 21:40:42 -06:00
Benjamin Smedberg
0ff6ac2cc0
Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
...
--HG--
rename : ipc/glue/GeckoThread.cpp => ipc/glue/MozillaChildThread.cpp
rename : ipc/glue/GeckoThread.h => ipc/glue/MozillaChildThread.h
2010-01-31 22:19:21 -05:00
Benjamin Smedberg
4452a3a846
Merge mozilla-central into electrolysis.
2010-02-01 15:30:27 -05:00
Thomas Lee
d835c898c1
Error out if there are manager/managee cycles in protocol graphs. r=cjones
2010-02-01 12:44:54 -06:00
Benjamin Smedberg
31592f59ac
Merge mozilla-central into electrolysis.
2010-01-27 09:56:07 -05:00
Chris Jones
23f49f5ce9
Bug 540886, part 3: IPDL/C++ test for BlockChild()/UnblockChild(). r=bnewman
2010-01-27 00:41:33 -06:00
Chris Jones
bd2194a01e
Bug 540886, part 2: Offer a BlockChild() interface to RPC protocols that allows parents to prevent children from sending messages back of their own volition until the parent calls UnblockChild(). r=bent
2010-01-27 00:41:32 -06:00
Chris Jones
ed86fcca84
Bug 540111, part 5: IPDL/C++ test of multi-managers. r=bnewman
2010-01-26 22:56:14 -06:00
Chris Jones
0bb819c7de
Bug 540111, part 4: IPDL-only tests of multi-managers.
2010-01-26 22:56:13 -06:00
Chris Jones
d30cfaf796
Bug 540111, part 3: Allow IPDL actors to be managed by one of a set of possible managers. r=bent
2010-01-26 22:56:12 -06:00
Chris Jones
eefb2c4602
Bug 540111, part 2: Subsume direct calls to manager->Dealloc*() into RemoveManagee(). r=bent
2010-01-26 22:56:11 -06:00
Chris Jones
106e56b0fa
Bug 540111, part 1: Add a new IProtocolManager::RemoveManagee interface to break reliance on the |Manager()| interface. r=bent
2010-01-26 22:56:09 -06:00
Chris Jones
ae46ec2d2f
Bug 521929, part 3: IPDL/C++ test.
2010-01-21 20:04:11 -06:00
Chris Jones
78decd9082
Fix Windows build busted by 2e3e142612b1.
2010-01-20 22:58:47 -06:00
Chris Jones
1a58181162
Test for bug 538239.
2010-01-20 21:50:07 -06:00
Chris Jones
71d511c249
bug 539552 - Add a GetMinidump() method to top-level, parent-side IPDL classes. r=bent
2010-01-13 20:17:00 -05:00
Chris Jones
7450192aba
Followup to bug 539856: Save actors' IDs in all message handlers to avoid use-after-free when the actor is deleted above the handler in the stack. IRC r=bent
2010-01-15 15:15:52 -06:00
Chris Jones
f13dc9d7ae
Test for followup to bug 539856.
2010-01-15 15:15:51 -06:00
Chris Jones
8d8174a707
Bug 539856: Avoid use-after-free of |mId| when constructing replies to destructor messages by saving |mId| on the stack. no r=, minor
2010-01-14 23:25:57 -06:00
Chris Jones
6e33770c22
Test for bug 539856.
2010-01-14 23:25:56 -06:00
Chris Jones
7db6c82f97
Bug 539343: Call DeallocSubtree() on subprotocol actors after being __delete__-ed. r=bent
2010-01-13 21:08:36 -06:00
Chris Jones
90128359d2
Test for bug 539343.
2010-01-13 21:08:35 -06:00
Chris Jones
27bd6ce0a6
Test for bug 538586.
2010-01-12 00:14:31 -06:00