Commit Graph

613 Commits

Author SHA1 Message Date
Chris Jones
6bb717f964 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
de3a2d743f Bug 553846: Implement an IPDL "struct" type. r=benjamn 2010-05-22 14:35:35 -05:00
Chris Jones
f196c3f8dd Bug 522547: Serialize/deserialize IPC messages in a "streaming" style. r=bent 2010-05-22 14:35:34 -05:00
Chris Jones
0f31d5ef38 Bug 562741: Allow |Shmem|s to be shared across different protocol trees. r=bent 2010-05-22 14:35:33 -05:00
Chris Jones
e3145e0a2f Bug 562741: Refcount |SharedMemory|s. r=joedrew 2010-05-22 14:35:32 -05:00
Chris Jones
eef3841654 Bug 564086: Frontend support for IPDL process graphs and Bridge()ing processes. r=benjamn 2010-05-22 14:35:31 -05:00
Chris Jones
39eb188564 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
Chris Jones
cd133a7a10 Bug 563747: Allow building ipc/chromium on PPC, enable MOZ_IPC for mac/ppc. r=bsmedberg 2010-05-04 19:22:34 -05:00
Doug Turner
8f97a20153 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Mike Hommey
bbd7d47d17 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
67068143b5 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
Masatoshi Kimura
a50b072e40 Bug 567497 - "Files executed via download manager cause Win7 compatibility mode to permanently apply to firefox.exe and not downloaded file" [r=ted]
(transplanted from 63b89b3114614929b80a358163a2d1ae9feea91b)

--HG--
extra : transplant_source : c%B8%9B1%14aI%29%B8%0A5%81c%A2%D1%AE%9F%EE%A9%1B
2010-05-24 09:55:00 -04:00
Chris Jones
84a3655756 Bug 551071: Suppress valgrind-reported "mismatched free()" (false alarm) of chromium objects by using mozalloc there (complements STL wrappers). Add a gross hack to prevent mozalloc macros from conflicting with methods in jscntxt.h. r=bent r=bsmedberg dependent-r=brendan 2010-06-04 18:16:34 -05:00
Jim Mathies
2a9af3f851 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
e43e305194 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
24be06f9cd Followup to bug 559898: fix cycle checker to allow self-loop special case. 2010-04-27 02:12:39 -05:00
Chris Jones
bb21ef7d89 Followup to bug 541131: update |include protocol "PFoo.ipdl"| usages in e10s. 2010-04-27 02:12:38 -05:00
Chris Jones
d53b8a18d0 Merged m-c 2010-04-27 01:53:06 -05:00
Chris Jones
88517643e0 Bug 518881: Fix unused-result warnings in IPDL/C++ unit tests. 2010-04-27 00:43:01 -05:00
Chris Jones
f1ccfef3ce 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
4665be334c Bug 545733: |const|-ify some *Channel methods. r=bent 2010-04-27 00:42:59 -05:00
Chris Jones
b330eeb701 Bug 559898: Allow (sub-)protocols to manage themselves. r=bsmedberg 2010-04-26 20:11:48 -05:00
Chris Jones
867c2c58be Bug 559953: Add a |const nsTArray<Subactor*>& ManagedFoo();| accessor. r=bent 2010-04-26 20:11:47 -05:00
Thomas Lee
ce2d2bb9d6 Bug 541131: Include IPDL headers as |include protocol PFoo;|. r=cjones 2010-04-26 20:11:46 -05:00
Chris Jones
2709c30d60 Bug 554244: Get the right loc info for message declarations. r=bent 2010-04-26 20:11:44 -05:00
Chris Jones
f51d5ae1a5 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
660b8c799c 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
ce3499a322 Bug 555275: Implement a DeallocShmem() interface. r=bent 2010-04-26 20:11:40 -05:00
Doug Turner
ed6494b616 merge with m-c. 2010-04-26 23:17:51 -07:00
Benjamin Smedberg
67995408eb Bug 561871 part B: don't use Windows events to enter/exit a nested event loop within an RPC stack frame, because delivery of those events isn't always associated with the correct stack frame, and also because the events can be lost if they race with an incoming RPC reply message. Instead, keep a linked list (on the stack) of RPC frames globally and per-channel, to associate requests to enter a nested event loop with the correct frame, r=jimm
--HG--
extra : rebase_source : 694186dde4643904752c67e0c6eb7a6ad1dd2082
2010-04-28 11:01:09 -04:00
Benjamin Smedberg
c59441502b 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
Oleg Romashin
7a2ec023c4 Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla 2010-04-20 21:43:51 +03:00
Doug Turner
6c196f14e2 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Mike Hommey
f950f70917 Bug 558789 - Allow to build against system libevent [r=benjamin, r=cjones]
--HG--
extra : rebase_source : cd964ba40277ebd89dda8392c8a842ca9ef01bf8
2010-04-20 09:06:55 +02:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Chris Jones
3dd14a4fc7 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)
8ed356359a Bug 548437: Add a SysV shmem subtype of SharedMemory. r=dougt 2010-04-16 00:29:16 -05:00
Jonathan Kew
5e4a15e897 bug 558489 - prevent cocoa object autorelease-leakage during ipc startup. r=josh 2010-04-15 09:31:10 +01:00
Josh Matthews
7354faf277 b=539406 retain existing listener in AyncChannel for GeckoChildProcessHost::OnChannelConnected r=cjones 2010-04-12 12:13:00 +12:00
Oleg Romashin
8de514e284 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Ben Newman
86093aaf1c Bug 554942 - [E10s] Sort out what object TabParent::GetGlobalJSObject should return and how. r=smaug 2010-03-30 21:41:44 -07:00
Olli Pettay
9ec837d9c5 Bug 555573 - [e10s] IPDL generates code which may not compile on Windows, r=cjones 2010-03-29 23:29:07 +03:00
Doug Turner
c15f159231 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
94bef3b858 Bug 537156 - [e10s] Implement cookies. r=jduell,sdwilsh; sr=bz 2010-03-25 16:02:28 -07:00
Chris Jones
1adcc7f5e1 Bug 557011: Ensure OOP crashreporter has been initialized on mac. r=bsmedberg 2010-04-12 15:47:47 -05:00
Jim Mathies
bee34d930e Bug 558503 - [OOPP] Watching netflix video: Silverlight crashes the plugin helper. r=bsmedberg. 2010-04-12 15:25:57 -05:00
Doug Turner
24bc0a9a66 Bug 570945 - Qt is not compiling. r=me. Slightly modifed based on chris.jones comments 2010-06-09 16:02:38 -07:00
Gavin Sharp
508e0b8635 Bug 552889: avoid spamming stderr in release builds, r=cjones 2010-05-06 15:17:08 -04:00
Dão Gottwald
ae2f7ccc8b Backed out changeset 48e202424e35 2010-05-13 18:26:36 +02:00
Martin Stránský
a28426a5cb Bug 562029 - ipc fails to build with gcc version 4.1.2. r=chris.jones 2010-05-13 17:38:19 +02:00
Oleg Romashin
b2716147b6 Bug 562285 - Rewrite gfxSharedImageSurface class to be compatible with IPC Shmem.r=jones.chris.g, sr=vladimir
--HG--
extra : rebase_source : 245e4c8ee52856bcf8900a049132b9f5b4a53bbb
2010-05-13 11:52:59 -04:00
Jim Mathies
d70b2de416 Bug 545338 - RPCChannel should use events rather than thread messages for NotifyWokerThread. r=bent. 2010-03-25 16:53:10 -05:00
Mike Hommey
ce41784187 Bug 542460 - Remove executable permission on source files [r=ted.mielczarek] 2010-05-06 09:32:50 +02:00
Mike Hommey
0e0b16f3aa Bug 563294 - Include memory.h instead of memory to avoid failure to build in gcc C++0x mode [r=benjamin] 2010-05-06 09:16:54 +02:00
Chris Jones
def07f1688 Bug 563747: Allow building ipc/chromium on PPC, enable MOZ_IPC for mac/ppc. r=bsmedberg 2010-05-05 16:35:09 -05:00
Kai Engert
d754f0faf2 Bug 560615, XPCOM fails to build because of incorrect IPC code
r=jones.chris.g
2010-05-03 13:35:19 +02:00
Chris Jones
e4aea6bfca Followup to bug 544936: Open child process handles with more privileges. r=bsmedberg 2010-03-24 19:12:31 -05:00
Chris Jones
06f32ffddd Bug 554262 - [OOPP] Silverlight context menu hangs the browser. r=bent, jmathies. 2010-03-24 16:49:54 -05:00
Jim Mathies
0eba287c0f Bug 553606 - [OOPP] Limit spin loop to a call depth of one. r=bent. 2010-03-24 16:49:05 -05:00
Chris Jones
926e2f746f 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 Turner
75ca06acb6 Bug 521118 - '[OOPP] Need NPAPI threadsafety checks in plugin process'. r=cjones, a=dbaron for CLOSED TREE 2010-03-24 12:30:45 -07:00
Doug Turner
c777c5a314 Bug 547881 - Made a mistake when fixing a nit. r=me 2010-03-24 09:20:36 -07:00
Chris Jones
1a4d37c1ac Bug 554466: Only EnqueuePending when there's been an rpc out-call. r=bent 2010-03-24 00:52:47 -05:00
Oleg Romashin
a793154807 Bug 564997 - _state is not initialized in QT-MessagePumpForUI ctor. r=dougt
--HG--
extra : rebase_source : 07e186531ad8b4d3bd71778d2a0b3d613b8ddc17
2010-05-12 05:46:33 -04:00
Chris Jones
495cbf8111 Bug 544518: Send Messages directly through the Transport on the IO thread rather than through a no-added-value AsyncChannel indirection. r=bent 2010-04-22 18:53:30 -05:00
Oleg Romashin
494639846e Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla
--HG--
extra : rebase_source : 2a018b5f9c74a713e493643e611b330e08e1afd8
2010-04-20 21:43:51 +03:00
Ben Turner
57ca71f5eb Bug 558190 - 'Plugin container process name needs to be more appropriate'. r=bsmedberg
--HG--
rename : ipc/app/mozilla-runtime.exe.manifest => ipc/app/plugin-container.exe.manifest
2010-04-09 15:40:14 -07:00
Ben Turner
d037a570d7 Backed out changeset 25879ce33e7a 2010-04-09 20:57:30 -07:00
Ben Turner
915b42cb28 Bug 558190 - 'Plugin container process name needs to be more appropriate'. r=bsmedberg
--HG--
rename : ipc/app/mozilla-runtime.exe.manifest => ipc/app/plugin-container.exe.manifest
2010-04-09 15:40:14 -07:00
Martin Stránský
1507192afe Make ipc/ build with gcc 4.1.2. r=cjones 2010-05-24 09:36:49 +12:00
Ben Newman
1c9d92dfb9 Bug 540126 - CPOW: Let PObjectWrapper actors use ContentProcessParent::RequestRunToCompletion(). r=mrbkap sr=jst 2010-01-20 18:24:14 -08:00
Chris Jones
c049a4f02b Second followup to bug 542053; missed a spot. 2010-04-09 15:24:41 -05:00
Chris Jones
21fa5fb2f2 Bustage followup to bug 542053. 2010-04-09 15:21:08 -05:00
Chris Jones
8a134203f8 Bug 542053: Set LD_LIBRARY_PATH=[GRE dir] for mozilla-runtime on linux. r=bsmedberg 2010-04-09 15:03:08 -05:00
Jim Mathies
f6dc2fd7ce Bug 563381 - Sync AppUserModelID with plugin-container. r=bsmedberg. 2010-05-14 19:25:10 -05:00
Chris Jones
8254dfb7f0 Bug 566054: Add missing error message case, tighten up UNREACHED guard. r=bent 2010-05-14 21:05:34 -05:00
Ben Newman
b3cb7ea79d Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst 2009-11-06 12:43:39 -08:00
Jason Duell
89ddf40c21 Bug 536279 (send request headers to chrome channel) and bug 536283 (send full nsHttpResponseHead in OnStartRequest) a=jae-seong r=dwitte,jduell 2010-03-23 08:14:36 -07:00
Doug Turner
b6fe4bd112 today is two merge monday 2010-03-22 22:05:25 -07:00
Chris Jones
884cdb0da5 Bug 544623 - IPDL: Shmem buffers should be shared across actor tree. r=bent 2010-03-22 22:02:16 -07:00
Chris Jones
b12ade1884 Bug 544623 - IPDL: Shmem buffers should be shared across actor tree. r=bent 2010-03-22 21:56:42 -07:00
Joe Drew
3791d5c283 Bug 544607 - Add Shmem::IsWriteable/Shmem::IsReadable r=cjones
--HG--
extra : rebase_source : 25a2ef756c682bc6a74797025e223fbbc3aaf4d3
2010-03-22 13:33:43 -07:00
Doug Turner
9e52c27932 merge from mozilla-central. no merges required 2010-03-23 02:53:35 -07:00
Joe Drew
dd4d1abe9c Bug 547881 - need to serialize/deserialize gfxMatrix. r=cjones 2010-03-22 13:04:37 -07:00
Jason Duell
69b885991b 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
9e6dd7d2f1 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
d556eb733c Bug 552014 - Treat RPC replies received in an event loop nested inside the one from which the call was made as if they had arrived out of order. r=jimm. 2010-03-19 01:57:00 -05:00
Chris Jones
ecaab71939 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones
a9301cdf81 Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones
d7b8ead1aa 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
06b6cd61b1 Bug 552014: Test 2010-03-18 17:52:34 -05:00
Chris Jones
8e42c6307b Bug 552014: Don't run OnMaybeDequeueOne from a nested context. r=bent 2010-03-18 17:52:33 -05:00
Chris Jones
3cf309f8cc Bug 533055: Part 3: Track |Message|s being processed on the C++ stack and offer a DumpRPCStack() method to print them. r=bent 2010-03-18 17:52:32 -05:00
Chris Jones
e2914d2ec0 Bug 533055: Part 2: Set Message names in IPDL-generated code. r=bent 2010-03-18 17:52:31 -05:00
Chris Jones
bc14ef93fa Bug 533055: Part 1: Add a name field to IPC::Message. r=bent 2010-03-18 17:52:29 -05:00
Chris Jones
cfe012af2f Bug 552294: *Channel::OnError must run atomically. r=bent 2010-03-18 17:52:28 -05:00
Josh Aas
50805865c7 Update Mac OS X message pump code for child processes. b=552878 rs=cjones 2010-03-17 20:10:42 -04:00
Josh Aas
09fc21cbeb Allow Gecko to build and run on Mac OS X with MOZ_IPC defined. b=552862 r=cjones 2010-03-17 14:38:28 -04:00
Doug Turner
6ebdbb7c73 Bug 542053 - OOPP do not work in XR builds. Use NS_GRE_DIR when determining exe path of child process. r=bsmedberg
--HG--
extra : rebase_source : abc95f4e1b496b552caa1341ef4b72534c43d3ee
2010-03-15 10:08:27 -07:00
Chris Jones
3775fecc82 b=550026 Cancel PluginCrashed when PluginModule is deleted. r=bsmedberg 2010-03-08 09:16:02 +13:00