Commit Graph

1098 Commits

Author SHA1 Message Date
Chris Jones
c4a3241516 Bug 588216: Avoid race between IO-thread loop->PostTask() and main-thread loop->SetNestableTasksAllowed() that led to Tasks being ignored. r=bent 2010-08-19 15:31:47 -05:00
Jim Mathies
5e5a5f4a19 Bug 596094 - Restore plugin subclass when Flash resets it in full screen mode (ipc enabled case). r=bent, a=betaN 2010-10-21 16:52:48 -05:00
Dan Witte
d069a7c6bf Bustage fix. a=pleasegogreen 2010-10-21 12:05:08 -07:00
Honza Bambas
e618ce3cbb Bug 536295 - e10s HTTP: offline application cache, r=dwitte, sr=cbiesinger, a=fennec-2.0b2+
--HG--
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/OfflineCacheUpdateChild.cpp
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/nsOfflineCacheUpdateService.cpp
2010-10-20 19:12:32 +02:00
Dan Witte
353424c48f Bounce input stream and FTP patches for Windows test failure. a=bustage 2010-10-19 19:46:54 -07:00
Alon Zakai
7b7c9519a3 Bug 536289 - Part 2: Make FTP work for fennec. r=jduell a=blocking-fennec 2010-08-10 14:47:00 -04:00
Michal Novotny
ac7049477a Bug 561085 - Make wyciwyg channel work in e10s. r=dwitte sr=biesi
--HG--
rename : content/html/document/public/nsIWyciwygChannel.idl => netwerk/protocol/wyciwyg/nsIWyciwygChannel.idl
rename : content/html/document/src/nsWyciwygChannel.cpp => netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp
rename : content/html/document/src/nsWyciwygChannel.h => netwerk/protocol/wyciwyg/nsWyciwygChannel.h
rename : content/html/document/src/nsWyciwygProtocolHandler.cpp => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp
rename : content/html/document/src/nsWyciwygProtocolHandler.h => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.h
2010-10-11 13:35:10 +02:00
Michael Wu
3a56b7c4e8 Bug 588607 - 3. Add support for the custom library loader to plugin-container, r=cjones a=blocking-fennec
--HG--
extra : rebase_source : 9e0fbf12f79495964febafaa3f0065805139db03
2010-10-15 11:28:07 -07:00
Jim Mathies
447f798a29 Bug 545892 - Fix for plugins kill aero glass / browser window sometimes loses aero glass effect. r=bent, a=final. 2010-10-15 13:32:35 -05:00
Josh Aas
f4b39ed20b Bug 586584: Enable OOPP testing for x86_64 Mac OS X. r=bsmedberg a=blocking2.0beta8+ 2010-10-14 15:07:38 -04:00
Brad Lassey
66de27b901 bug 617115 - support building with andorid NDKr5 r=ted 2011-04-01 16:47:37 -07:00
Steven Michaud
74ff128aad Bug 621117 - Support native cursor manipulation from OOP plugins on OS X. r=josh,bsmedberg a=sheriff 2011-05-24 01:58:28 -05:00
Daniel Holbert
b7171271dd Bug 666989: Fix unused-but-set GCC 4.6 warning in Shmem::AssertInvariants. r=cjones 2011-06-24 14:01:30 -07:00
Benjamin Smedberg
3a5f09a601 Revert bug 595337 because of persistent leaks running mochitests, and bug 556487 because of in-process test failures (crashes) and a reftest failure. 2010-09-14 14:50:24 -07:00
Oleg Romashin
728d67a018 Bug 556487 - Plugin Child/Parent async API. r=roc,jones.chris.g a=blocking2.0 2010-09-14 12:01:05 -07:00
Chris Leary
7ed86b3a25 Merge mozilla-central to tracemonkey. 2011-03-21 16:36:56 -07:00
Igor Bukanov
b9b1577eec bug 630209 - (Compile|Execute)Script that are GC-safe. r=jorendorff 2011-02-03 14:06:21 +01:00
Brian Crowder
5ff434c249 Bug 562444 - e10s: fix external app handler code to enable download manager and others over IPC, r=dwitte, sr=biesi, blocking-fennec2.0a1=mfinkle 2010-08-17 20:19:24 -07:00
Ted Mielczarek
491acee0d8 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
Edmund Wong
7ef58c704b Bug 585336: Fix "a the" in comments (for General core code). r=timeless a=NPOTB (comment-only) 2010-08-15 15:50:02 -07:00
Doug Turner
7c50d1ab8c Merge from e10s clone. a=dougt 2010-08-10 18:33:38 -07:00
Benedict Hsieh
4be16266ab Bug 535077 - Fixes hang caused by failure to execute sync launch r=cjones a=blocking2.0 2010-08-10 14:14:10 -07:00
Josh Matthews
82e0af39d5 Bug 564351 - e10s: fix XMLHttpRequests in xpcshell. r=bent 2010-07-31 12:07:13 -04:00
Michael Wu
608574db24 Bug 556644 - 1. Move omnijar setup to NS_InitXPCOM and use omni.jar by default, r=bsmedberg a=blocking2.0 2010-08-10 15:08:06 -07:00
Oleg Romashin
67bde60497 Bug 560630 - NotificationService for e10s fennec initialized and used in different threads. r=bent.mozilla. a+ 2010-08-10 13:12:21 -07:00
Benjamin Smedberg
d2b5f1a5d7 But 578821 - Give jetpacks a way to mark a handle as unrooted, so that it can live as long as client code holds it alive without having to be explicitly deleted, and give the other side the ability to see handle deletion, r=bent/atul/cjones 2010-07-27 16:18:08 -04:00
Makoto Kato
30640f3b73 Bug 582910 - 64-bit win7: TEST-UNEXPECTED-FAIL | e4x/Regress/regress-347155.js | Exited with code -1073741571 during test run. r=dbaron, a=dbaron 2010-08-09 12:58:33 +09:00
Chris Jones
747193da1f Bug 584580: Delete some unused code imported from chromium. r=bent 2010-08-05 17:11:23 -05:00
Chris Jones
215c42366a Bug 581930: Add an async "spam test" and make output more readable. r=NPOTB (alas!) 2010-08-05 17:11:23 -05:00
Chris Jones
9de8956b51 Bug 575110: Fix C++ IPDL test build failure on windows. r=NPOTB (alas!) 2010-08-05 17:11:23 -05:00
Kyle Huey
932ea79b49 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Benoit Girard
5d68779104 Bug 557225 - Fix TryServer failures. r=cjones r=josh 2010-07-20 00:17:45 -04:00
Benoit Girard
d5759eca95 Bug 557225 - Load the plugin-container from the App Bundle. r=cjones 2010-07-19 18:35:45 -04:00
Blake Kaplan
de74d9d8f4 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Ted Mielczarek
0effa57b4a bug 557225 - add a bundle for the plugin process to make it not show up in the dock
@@ -575,7 +575,7 @@

--HG--
rename : toolkit/mozapps/update/updater/macbuild/Contents/Info.plist => ipc/app/macbuild/Contents/Info.plist.in
rename : toolkit/mozapps/update/updater/macbuild/Contents/PkgInfo => ipc/app/macbuild/Contents/PkgInfo
rename : toolkit/mozapps/update/updater/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in => ipc/app/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in
2010-06-11 08:28:03 -04:00
Chris Jones
d37c23f270 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
Chris Jones
4500eb81e9 Bug 525181, part 3: Turn on "soft" state checking, NS_WARNING()ing on bad transitions. Fix tests. r=bent 2010-07-15 14:27:43 -05:00
Chris Jones
dce4511b26 Bug 525181, part 2: Implement protocol state machines in C++. r=bent 2010-07-15 14:27:43 -05:00
Chris Jones
bb1ac58a3c Bug 525181, part 1: Fix up the stub C++ implementation of protocol states in actor classes. Add a special Null state that only transitions to -->Null and -->Dead for stateless protocols. r=bent 2010-07-15 14:27:43 -05:00
timeless@mozdev.org
d6f1639143 Bug 577456 warning: format not a string literal and no format arguments in GetLine
r=cjones

--HG--
extra : rebase_source : c3499b2ede5c0a4ebe0725e5e01d9813d6a17342
2010-07-08 13:34:40 +03:00
timeless@mozdev.org
8bfb404feb Bug 555690 ThreadData::StartTracking should use #else. r=cjones 2010-07-13 11:56:47 -07:00
timeless@mozdev.org
4e044ef7bb Bug 576384 AsyncChannel::ReportConnectionError case ChannelTimeout and case ChannelClosing are missing break
r=cjones

--HG--
extra : rebase_source : effdbd4b77048842387f834bd59495beae2d9875
2010-07-02 17:36:15 +03:00
timeless@mozdev.org
7b8177e5e1 Bug 576383 AsyncChannel::MaybeHandleError case MsgProcessingError is missing break
r=cjones

--HG--
extra : rebase_source : 4a595a81bcbd43bd37f0b5886b0a9f5c3a5e41fe
2010-07-02 17:33:19 +03:00
Chris Jones
5277f4315f Bug 570294, part d: IPC protocol for Layers. r=jrmuizel sr=vlad
--HG--
extra : rebase_source : dba7175f08f4fe6df93f2a66622dc3780a1890ed
2010-07-21 16:17:33 -05:00
Ehsan Akhgari
cc3957ab41 Bug 580406 - [OOOP] plugin process should be properly named; r=benjamin approval2.0=beltzner 2010-07-21 11:55:51 -04:00
Benjamin Smedberg
0380ca87ed Remove pieces of bug 557225 which depend on the incorrect @loader_path changes in bug 578751. This will probably allow plugin-container to launch, because DYLD_LIBRARY_PATH has been munged for it. a=johnath for pushing to a CLOSED TREE 2010-07-20 17:57:02 -04:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
63c0077443 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
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Chris Jones
710c313ec5 Bug 570099: Allow Shmems to be used in IPDL structs. r=benjamn 2010-06-23 13:59:07 -05:00
Benjamin Smedberg
1af2f3576f Bug 449129 - abort a plugin process if a plugin attempts to spin an event loop while painting, r=jmathies 2010-06-23 10:18:00 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Chris Jones
a6258b9dae Bug 570096: Implement serialization of a grab-bag of gfx types. r=joe 2010-06-21 15:35:48 -05:00
Benjamin Smedberg
9045c05660 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
Jim Mathies
75a4de084c Bug 569500 - e10s: /netwerk/test/unit_ipc/* fails on windows 7. (patch re-pushed with headers needed in release builds.) r=bsmedberg. 2010-06-30 22:07:50 -05:00
Jim Mathies
40cced4588 merge 2010-06-30 21:09:47 -05:00
Jim Mathies
4495dfe6ee Backout of bug 569500 due to opt build bustage and possible debug xpshell test timeouts. 2010-06-30 21:09:38 -05:00
Chris Jones
3921e1219b Bug 575918: Temporarily disable OOP xpcshell on OS X because it's completely broken. r=bsmedberg 2010-06-30 17:53:51 -05:00
Jim Mathies
56782c2715 Bug 569500 - e10s: /netwerk/test/unit_ipc/* fails on windows 7 r=bsmedberg 2010-06-30 15:51:44 -07:00
Doug Turner
901e02b2de 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
Michael Wu
01a2cef59b Bug 574120 - Add support for IPC on Android to everything else, r=dougt 2010-06-25 13:29:43 -07:00
Michael Wu
7bce0acffc Fix windows build after bug 574120 1727bfc11147 2010-06-25 13:03:48 -07:00
Michael Wu
1cc0b6840d Bug 574120 - Add Android support to IPC code, r=cjones 2010-06-25 11:39:02 -07:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
efbab3368a Bug 570945 - Qt is not compiling. r=me. Slightly modifed based on chris.jones comments 2010-06-09 16:02:38 -07:00
Doug Turner
be96d6cdaf Fixup to http after the necko-file-move
--HG--
rename : netwerk/protocol/http/src/HttpBaseChannel.cpp => netwerk/protocol/http/HttpBaseChannel.cpp
rename : netwerk/protocol/http/src/HttpBaseChannel.h => netwerk/protocol/http/HttpBaseChannel.h
rename : netwerk/protocol/http/src/HttpChannelChild.cpp => netwerk/protocol/http/HttpChannelChild.cpp
rename : netwerk/protocol/http/src/HttpChannelChild.h => netwerk/protocol/http/HttpChannelChild.h
rename : netwerk/protocol/http/src/HttpChannelParent.cpp => netwerk/protocol/http/HttpChannelParent.cpp
rename : netwerk/protocol/http/src/HttpChannelParent.h => netwerk/protocol/http/HttpChannelParent.h
rename : netwerk/protocol/http/src/PHttpChannel.ipdl => netwerk/protocol/http/PHttpChannel.ipdl
rename : netwerk/protocol/http/src/PHttpChannelParams.h => netwerk/protocol/http/PHttpChannelParams.h
rename : netwerk/protocol/http/src/ipdl.mk => netwerk/protocol/http/ipdl.mk
2010-06-07 14:40:08 -07:00
Doug Turner
cee802814f Moving cookie ipc source to the right place. 2010-06-07 14:19:20 -07:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Oleg Romashin
b36fb69349 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay
58b4f71840 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Doug Turner
3ad0032930 Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Chris Jones
2877589e40 Merge missed nsChromeRegistry change from m-c and fix busted content-process XPCOM/chromium event loop. 2010-05-14 01:41:14 -05:00
Chris Jones
9327ed8dcc Merged m-c 2010-05-13 18:04:53 -05:00
Chris Jones
07a9bff462 No bug: Reduce IPDL-compiler spew and stop logging to stderr. irc-r=bsmedberg 2010-05-13 17:25:20 -05:00
Doug Turner
74337a6b6a Bug 552822 - IPC remoting of geolocation prompt. r=olli/r=jdm 2010-05-13 10:44:51 -07:00
Ben Newman
9b5dc10c32 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
fe405e740c 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
4fe7201af4 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
41d4381920 Bug 565462: Implement operator== for IPDL structs and unions. r=bsmedberg 2010-05-22 14:35:42 -05:00
Chris Jones
8cd4f6e0b8 Tests for bug 560000 2010-05-22 14:35:40 -05:00
Chris Jones
a647aa0990 Bug 560000: Allow IPDL unions and structs to be recursively defined. r=benjamn 2010-05-22 14:35:38 -05:00
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
Chris Jones
69439d0740 Bug 550026: Don't deliver NotifyError() when RPCChannel code is on the stack. r=bent 2010-03-11 23:21:58 -06:00
Chris Jones
9961ca115c Followup to bug 545342: atomically refcount the dequeue task. r=bent 2010-03-11 16:24:15 -06:00
Benjamin Smedberg
ed824bba57 Bug 545342 - Remove the RPCChannel assertions about mismatched RPC stacks because mismatched stacks are normal when asynchronous messages are pending which cause secondary RPC messages, r=cjones 2010-03-11 17:17:35 -08:00
Doug Turner
4956b23fb3 Merge with m-c 2010-03-18 21:53:17 -07:00
Jason Duell
a5f74621b1 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00
Doug Turner
85bd4fb391 Merge with mc 2010-03-17 10:37:32 -07:00
Doug Turner
f295d7422b Merge 2010-03-12 15:20:36 -08:00
Doug Turner
16e2fd5fe7 Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js. 2010-03-10 19:13:35 -08:00
Jim Mathies
d064ea11c7 Bug 551242 - [OOPP] Hang (caught by hang detector) with flash and alt key. r=bent. 2010-03-10 19:16:44 -06:00
Jim Mathies
814f5bb4ea Bug 550784 - [OOPP] Flash deadlocks during script evals that trigger focus related events. r=bent. 2010-03-10 19:15:55 -06:00
Chris Jones
733adfeaaf Fix some merge bustage. 2010-03-08 14:16:41 -06:00
Doug Turner
d08632917d Merge with mc 2010-03-08 10:09:55 -08:00
Chris Jones
1e021f6343 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
5daaf36bf1 Merge 2010-03-01 15:36:51 -08:00
Chris Jones
c4db394310 Fix merge problems 2010-02-23 00:08:29 -06:00
Chris Jones
bc05dd163b Merge from mozilla-central 2010-02-22 21:31:18 -06:00
Benjamin Smedberg
290e8304d0 Bug 546492 - Provide a resource description for mozilla-runtime.exe, r=ted with altered text suggested by dolske
--HG--
extra : rebase_source : fa926b11f4e7bb2ec45a9f404afe6f22538c19ca
2010-02-24 11:41:34 -05:00
Chris Jones
5263ca362a Bug 545455: IPDL/C++ test. 2010-02-16 12:44:23 -06:00
Chris Jones
c944b75ac7 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
14baf9c7fa Bug 545455, part 1: Track when RPCChannel code is first pushed on the C++ stack and last popped. r=bent 2010-02-16 12:44:21 -06:00
Saint Wesonga
f78442c0ad Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst 2010-02-22 18:41:21 +01:00
Ben Turner
9511d287cb Bug 547247 - '[OOPP] Crash [@ RtlEnterCriticalSection ] when ending mozilla-runtime on a page that does not contain a plugin'. Bustage fix 2010-02-19 12:45:47 -08:00
Ben Turner
ed20dab3cd Bug 547247 - '[OOPP] Crash [@ RtlEnterCriticalSection ] when ending mozilla-runtime on a page that does not contain a plugin'. r=bsmedberg. 2010-02-19 12:39:38 -08:00
Ben Turner
4342186faf Bug 543764 - '[OOPP] Crash [@ PR_Unlock] when ending mozilla-runtime at lastfm.com/listen'. r=bsmedberg+cjones. 2010-02-18 14:21:15 -08:00
Oleg Romashin
f38368aba9 Bug 544190 - QCore version needed to replace message_pump_glib.cc. r=dougt 2010-02-18 23:48:50 +02:00
Ben Turner
ba4b057ad9 Bug 546797 - '[OOPP] Assertion in RPCChannel's EnqueuePendingMessages: ABORT: expected mDeferred to have 0 or 1 items' r=jimm 2010-02-18 12:12:54 -08:00
Ben Turner
d1936a4540 Bug 543942 - 'crash at [@ free | mozilla::ipc::windows::DeferredSettingChangeMessage::~DeferredSettingChangeMessage() ]' r=jimm. 2010-02-18 12:12:44 -08:00
Ben Turner
97a2c8d37b Bug 545760 - '[OOPP] Fix a few bad DefWindowProc messages that slipped through'. WM_SETICON. r=jimm. 2010-02-18 12:11:31 -08:00
Ben Turner
8e806cd030 Bug 545760 - '[OOPP] Fix a few bad DefWindowProc messages that slipped through'. WM_STYLECHANGED. r=jimm. 2010-02-18 12:11:31 -08:00
Benjamin Smedberg
c473fa8eaf Backed out changeset 4d8d4fd97c4f - bug 543764, because of deadlocks. 2010-02-18 10:27:07 -05:00
Ben Turner
9ce0e5ccd5 Bug 543764 - Crash at PR_Unlock when mozilla-runtime exits/crashes. Ensure that NotifyMaybeChannelError waits until OnChannelError is completely finished running, r=cjones 2010-02-18 09:24:03 -05:00
Benjamin Smedberg
9485b136dd Bug 528250 - Unify all the intermediate tiers (xpcom/necko/external/gecko/toolkit) into one tier_platform, r=ted sr=vlad 2009-11-12 14:37:34 -05:00
Chris Jones
aa5b9d019a Bug 545455: IPDL/C++ test.
--HG--
extra : rebase_source : 9fae2c3f3192633834166b863f7ab0c1ed2f0e40
2010-02-16 12:44:23 -06:00
Chris Jones
cc7e7893c6 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
53aa420578 Bug 545455, part 1: Track when RPCChannel code is first pushed on the C++ stack and last popped. r=bent
--HG--
extra : rebase_source : 1bf50aac0f5da1c4322347b42b24e72215543915
2010-02-16 12:44:21 -06:00
Chris Jones
c2fd996a25 Bug 548214: Extended IPDL/C++ test. 2010-02-24 15:59:24 -06:00
Chris Jones
9f23c33db6 Bug 548214: Seqno's go up in the parent, down in the child. r=bsmedberg 2010-02-24 15:59:23 -06:00
Chris Jones
7fd74b1a80 Merge backout 2010-03-11 05:07:51 -06:00
Chris Jones
415f85da1a Backing out bug 550026 due to orange 2010-03-11 05:07:42 -06:00
Chris Jones
bb3a4d1e88 Bug 549888: Test 2010-03-11 01:35:32 -06:00
Chris Jones
a839ebda02 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
64b0390f9c Bug 546035: Test 2010-03-11 01:35:28 -06:00
Chris Jones
512c98e2f7 Bug 546035: Check if we're still connected before dispatching a received message. r=bsmedberg 2010-03-11 01:35:26 -06:00
Chris Jones
148296d96a 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
f32598179a Bug 545342: Test 2010-03-11 01:35:21 -06:00
Josh Matthews
73c4737e85 Bug 545342: Cancel dequeue task on channel error. r=cjones 2010-02-15 20:47:00 +13:00
Chris Jones
761ea0d4f8 Followup to bug 559898: fix cycle checker to allow self-loop special case. 2010-04-27 02:12:39 -05:00
Olli Pettay
1e0e10aebf Bug 555573 - [e10s] IPDL generates code which may not compile on Windows, r=cjones 2010-03-29 23:29:07 +03:00
Chris Jones
1882438210 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
7cf42c9075 Bug 541126: Error out if there are manager/managee cycles in protocol graphs. r=cjones 2010-02-01 12:44:54 -06:00
Dan Witte
7a710d8ca6 Bug 562198: Namespace NSS & NSPR functions in ipc/chromium code, to avoid stomping on their Mozilla counterparts. r=bsmedberg 2010-06-11 11:03:07 -07:00
Josh Aas
dac88f2abc Bug 555234: Enable OOPP for x86 OS X and don't export mochitests conditional on MOZ_IPC. r=bsmedberg,ted 2010-04-02 20:19:31 -05:00
Chris Jones
aadefb4c35 Bug 556198: Build jemalloc into mozilla-runtime. r=bsmedberg 2010-04-01 15:51:49 -05:00
Chris Jones
49b89002de Stub out OOP crashreporter on OS X. b=555714 r=josh 2010-03-30 13:32:53 -04:00
Chris Jones
1ad383c970 Bug 545757: Don't post replies to the IO thread after a connection error. r=bent 2010-02-11 17:33:53 -06:00
Chris Jones
2d8c28e487 Bug 545053: IPDL/C++ test of hang detector. 2010-02-11 14:32:17 -06:00
Ben Turner
7f56845cb9 Bug 545053: Implement IPC hang detection for windows. r=jimm 2010-02-11 12:19:21 -08:00
Jim Mathies
1ce25062ef Bug 538918 - Fix for bug 545338, don't drop into WaitForNotify() when spin loop unwinds. r=bent. 2010-02-11 14:03:24 -06:00
Jim Mathies
83b997ec7f Bug 538918 - Move Init() above mutex unlock - attempted test hang fix. 2010-02-11 11:25:39 -06:00
Chris Jones
a082cb3bbf Bug 545591: Temporary workaround. 2010-02-11 00:48:33 -06:00
Jim Mathies
5ac54da692 Bug 538918 - Don't delete gNeuteredWindows until the stack unwinds. 2010-02-10 22:51:05 -06:00
Chris Jones
b29d08d712 Bug 544882, bug 545312: Only tell glib that work is pending if there has been a pollin or timer expiration. Merged from chromium latest, r=chromium 2010-02-10 22:04:56 -06:00
Jim Mathies
30bbf7bf87 Bug 538918 - Don't test the stack depth on entering WaitForNotify(). r=cjones. 2010-02-10 20:30:21 -06:00
Benjamin Smedberg
7c19e754c3 Followup to bug 538918 - Don't leak gNeuteredWindows, r=jimm 2010-02-10 17:18:19 -05:00
Chris Jones
f2ac603ebe Bug 545338: Make the IPC hang detector tolerate spurious wake-ups. Possibly temporary. irc-r=jimm 2010-02-10 15:41:44 -06:00
Jim Mathies
397fd64e73 Bug 538918 - follow up patch: IsMessagePending should use PeekMessage, not the stacks for detection. 2010-02-09 22:47:44 -06:00
Ben Turner
a0202c21cd Bustage fix 2010-02-09 16:12:41 -08:00
Chris Jones
28dcd794f9 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
8251abd52b Bug 540004, part 2: Detect hangs while awaiting synchronous IPC replies (on POSIX). r=bent 2010-02-09 18:02:54 -06:00
Chris Jones
ece2040d41 Bug 540004, part 1: Various and sundry trivial refactorings. r=bent 2010-02-09 18:02:53 -06:00
Chris Jones
fa53fc845d Fix linux bustage. 2010-02-09 17:04:06 -06:00
Jim Mathies
222acbd54a Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones. 2010-02-09 16:34:38 -06:00
Benjamin Smedberg
c2f8edb3f4 Bug 543788 - Infinite loop in CallUpdateWindow/WM_PAINT messages when switching tabs with a windowed plugin (Acrobat and sometimes Flash), r=jimm 2010-02-09 11:57:03 -05:00
Benjamin Smedberg
33745658c4 Merge mozilla-central into electrolysis 2010-02-09 11:39:28 -05:00
Chris Jones
f6bbb2b077 No bug: Test RPC round-trip times and warn before sleep()ing. no r=, test only 2010-02-04 21:40:42 -06:00
Ben Turner
64e53df6db Bug 542821 - 'Process startup event gets dropped on the floor by deferred messaging'. r=jimm. 2010-02-03 13:09:55 -08:00
Benjamin Smedberg
c4141662bb 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
a6bdf5bc53 Electrolysis bustage, fix up testshell from bug 543696, Remove unused nsIScriptSecurityManager::CheckConnect 2010-02-03 13:45:54 -05:00
Benjamin Smedberg
6e31be0f2d Merge mozilla-central into electrolysis. 2010-02-01 15:30:27 -05:00
Thomas Lee
d63023c6cd Error out if there are manager/managee cycles in protocol graphs. r=cjones 2010-02-01 12:44:54 -06:00
Ben Turner
10ac97ce43 Bug 542617 - 'Deferred message loop mishandles WM_NCCALCSIZE'. r=jimm. 2010-01-28 10:03:37 -08:00
Benjamin Smedberg
1e0aa446aa Merge mozilla-central into electrolysis. 2010-01-27 09:56:07 -05:00
Chris Jones
85cfeb583f Follow-up to bug 540886: address review comments I forgot to before pushing. 2010-01-27 02:17:17 -06:00
Chris Jones
7ec5b63ca4 Bug 540886, part 3: IPDL/C++ test for BlockChild()/UnblockChild(). r=bnewman 2010-01-27 00:41:33 -06:00
Chris Jones
bd22b5d094 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
50d75222fd Bug 540886, part 1: Refactor "special message" dispatch in AsyncChannel. r=bent 2010-01-27 00:41:31 -06:00
Chris Jones
eb725546da Bug 540111, part 5: IPDL/C++ test of multi-managers. r=bnewman 2010-01-26 22:56:14 -06:00
Chris Jones
74c290c883 Bug 540111, part 4: IPDL-only tests of multi-managers. 2010-01-26 22:56:13 -06:00
Chris Jones
b34f76e214 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
fc07cb5be2 Bug 540111, part 2: Subsume direct calls to manager->Dealloc*() into RemoveManagee(). r=bent 2010-01-26 22:56:11 -06:00
Chris Jones
95a3f6dcff 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
07003cf347 Final merge of debug-spew backout 2010-01-26 20:09:07 -06:00
Chris Jones
6a65c0d728 Backout 8d0ad9632fd2 2010-01-26 20:09:04 -06:00
Chris Jones
a8ac13cd85 Intermediate merge of debug-spew backout 2010-01-26 20:08:59 -06:00
Chris Jones
b42dd35ca1 Backout f861b6e0a364 2010-01-26 20:08:56 -06:00
Chris Jones
d6f00817b0 Intermediate merge of debug-spew backout 2010-01-26 20:08:52 -06:00
Chris Jones
4bbf603adf Backout b0fee4f9b8c7 2010-01-26 20:08:48 -06:00
Chris Jones
fe90ea5e99 Intermediate merge of debug-spew backout 2010-01-26 20:08:44 -06:00
Chris Jones
e12332b1d9 Backout 76bf173816e8 2010-01-26 20:08:41 -06:00
Chris Jones
a8f0455da5 Intermediate merge of debug-spew backout 2010-01-26 20:08:38 -06:00
Chris Jones
adf3681d02 Backout d87a958aab73 2010-01-26 20:08:35 -06:00
Chris Jones
85a8c4c641 Intermediate merge of debug-spew backout 2010-01-26 20:08:31 -06:00
Chris Jones
5ff8ade5f8 Backout 581822324d75 2010-01-26 20:08:28 -06:00
Chris Jones
fb901ce79e Intermediate merge of debug-spew backout 2010-01-26 20:08:25 -06:00
Chris Jones
833e7c87fc Backout 23ee84dbd7b5 2010-01-26 20:08:22 -06:00
Chris Jones
8a6a2fbd64 IPC socketpair()s should be CLOEXEC (dup2() unsets the flag for the new fd in the child process). irc-r=bsmedberg 2010-01-26 18:13:43 -06:00
Chris Jones
7df4c01b33 Yet more temporary debug spew for diagnosing mochitest hang. 2010-01-26 14:57:16 -06:00
Chris Jones
abf4355d51 Temporary mochitest debugging: eliminate race condition between parent exit and child minidump request. 2010-01-26 09:40:42 -08:00
Benjamin Smedberg
fff188953b Bug 535564 - automation.py: WindowsError: [Error 13] The process cannot access the file because it is being used by another process. Don't keep the PID log open all the time, but only open it when it is needed. r?griffin
--HG--
extra : rebase_source : 1072e20feb1db8a98f99de5617e416ca23efb511
2010-01-26 09:53:32 -05:00
Chris Jones
382bd97b0b More temporary mochitest hang diagnostics: kill the plugin process with SIGSEGV if it doesn't shut down within 30 seconds. 2010-01-25 18:49:02 -06:00
Chris Jones
e03c1f3854 More temporary debug spew to sort linux mochitest hang. 2010-01-25 14:10:12 -06:00
Benjamin Smedberg
10c46ca526 Printf-debugging to help figure out bug 535564 2010-01-25 14:33:50 -05:00
Chris Jones
bd0804d7d6 More debug spew for sorting mochitest-plain hang. 2010-01-22 18:03:38 -06:00
Chris Jones
db57f114be Temporary spew part 2: convert fprintf(stderr into printf( so that child output shows up in the log. 2010-01-22 15:31:56 -06:00
Chris Jones
7b53db6a22 Temporary debug spew for diagnosing Linux mochitest hang. 2010-01-22 12:53:18 -06:00
Benjamin Smedberg
ad605908e9 Bug 540967 - "missing output line for total leaks" because the parent process isn't waiting for the child process to clean up/write leak logs, r=cjones 2010-01-22 10:21:33 -05:00
Benjamin Smedberg
5ff7ecd852 Bug 540868 part 2: keep all NPObjects (not just those with actors) in mObjectMap, and invalidate/deallocate them when we destroy the associated instance, r=bent 2010-01-22 10:06:13 -05:00
Chris Jones
73a1d2211e Bug 521929, part 3: IPDL/C++ test. 2010-01-21 20:04:11 -06:00
Chris Jones
b79dc7dd3a Bug 521929, part 2: Save racy RPC replies onto a special stack until they're the reply to the right out-call. r=bent 2010-01-21 20:04:10 -06:00
Chris Jones
5f451f4f10 Bug 521929, part 1: Add a "seqno" field to synchronous messages. r=bent 2010-01-21 20:04:09 -06:00
Chris Jones
7ebeb43400 Fix Windows build busted by 2e3e142612b1. 2010-01-20 22:58:47 -06:00
Chris Jones
d42c00e1e9 Bug 538239: Guard against async messages unblocking sync message waits. r=bent 2010-01-20 21:50:36 -06:00
Chris Jones
e3c60ac47d Test for bug 538239. 2010-01-20 21:50:07 -06:00
Oleg Romashin
959dec8b52 Bug 534644 - e10s: implement Qt ipc/chromium backend, part 2. r=benjamin. 2010-01-29 08:50:44 +02:00
Chris Jones
1bbb5af93c 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
f396226bc4 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
f8cdcf7276 Test for followup to bug 539856. 2010-01-15 15:15:51 -06:00
Ben Turner
f2dc67e621 Bug 539061 - 'OOPP: ASSERTION: Received "nonqueued" message 31, 10'. r=jimm. 2010-01-15 12:35:53 -08:00
Chris Jones
fc41cdff9a 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
bd40e8fa28 Test for bug 539856. 2010-01-14 23:25:56 -06:00
Benjamin Smedberg
3f9c685874 Merge mozilla-central into electrolysis 2010-01-14 09:01:59 -05:00
Chris Jones
8cce034b88 Bug 539343: Call DeallocSubtree() on subprotocol actors after being __delete__-ed. r=bent 2010-01-13 21:08:36 -06:00
Chris Jones
d4d55d3e9b Test for bug 539343. 2010-01-13 21:08:35 -06:00
Chris Jones
6adcb662be Bug 539295: Use lenient child reaping in NS_BUILD_REFCNT_LOGGING builds. r=bsmedberg 2010-01-13 14:57:52 -06:00
Chris Jones
1e041371ce Bug 539295: Add an extra EnsureProcessTerminated() parameter to control how lenient to be wrt child shutdown. r=bent 2010-01-13 14:57:51 -06:00
Benjamin Smedberg
59e6e48206 Followup to bug 516759 (multi-process crash reporting), make childCrashNotificationPipe a leaked char* instead of a leaked nsString, so that it doesn't show up in leakstats. r=ted (Filed bug 539451 as a followup.) 2010-01-13 10:44:10 -05:00
Chris Jones
f604a6add1 Bustage fix: work around XRE hackery. 2010-01-12 17:42:58 -06:00
Chris Jones
7ebf798a09 Bug 516759: Use OOP crash reporting in Gecko. r=luser 2010-01-12 15:14:38 -06:00
Chris Jones
e3edb3da51 Small edit to comment. No r=, just want another set of talos runs. 2010-01-12 02:25:18 -06:00
Chris Jones
c63eb826e4 Bug 538586: Notify clients of channel errors if they call Close() before deleting themselves, but before the error notification event is delivered from the IO thread. r=bent 2010-01-12 00:14:32 -06:00
Chris Jones
4773f70f01 Test for bug 538586. 2010-01-12 00:14:31 -06:00
Chris Jones
8fdbf47035 Don't run TestLatency if the timing resolution is too low and use the new TimeDuration::ToSecondsSigDigits() method to display durations to humans. No r=, test only. 2010-01-11 23:46:17 -06:00
Jim Mathies
395d6723a9 Bug 538990 - Add a resource manifest to mozilla-runtime.exe. r=ted. 2010-01-13 19:44:34 -06:00
Benjamin Smedberg
c85b1e45a9 Merge mozilla-central to electrolysis 2009-12-21 10:22:07 -05:00
Makoto Kato
f0c8759e67 Bug 534813 - ipc_message_utils.h causes build error on Windows x64 build. r=jones.chris.g 2009-12-21 18:28:28 +09:00
Chris Jones
d6c43ac3f9 bug 535867: fix threadsafety problem causing windows tinderbox error. r=trivial 2009-12-18 18:09:56 -06:00
Benjamin Smedberg
5cb66dd785 Bug 535298: Cancel the NotifyMaybeChannelError event if the AsyncChannel is destroyed, and allow AsyncChannel::Close() to be called after a channel error (e.g. child process crash). r=cjones 2009-12-17 18:12:03 -06:00
Chris Jones
4b8c5aece2 bug 535298: IPDL unit test for use-after-free crashes after RPC errors. r=test-only 2009-12-17 18:12:01 -06:00
Benjamin Smedberg
15b231055d Bug 534736, and perhaps some others: parent crash within mozilla::plugins::PPluginInstanceParent::DestroySubtree, r=cjones 2009-12-17 16:39:22 -05:00
Chris Jones
e3e1f8b5c7 fix syntax error. r=trivial 2009-12-15 16:15:39 -06:00
Chris Jones
aadcbce897 bug 533507: improve IPC "race condition" error message. frontend only, r=me 2009-12-09 20:01:46 -06:00
Chris Jones
92ab770bfe bug 533587: process RPC in-calls deferred because of races until "later". in-person r=bent 2009-12-09 17:15:01 -06:00
Chris Jones
cf23f7f8bd add missing makefile dep. r=trivial 2009-12-09 14:53:52 -06:00
Chris Jones
7a4072a311 bug 532973: add a check-valgrind target that runs IPDL unit tests under valgrind. r=luser 2009-12-07 01:10:52 -06:00
Chris Jones
7a70d6f9c4 bug 533034: fix race condition that led to use-after-free. thanks valgrind! 2009-12-07 00:04:00 -06:00
Chris Jones
6e91459a40 bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg 2009-12-07 00:03:49 -06:00
Chris Jones
ba122c592e fix some leaks found by valgrind. r=trivial 2009-12-04 18:15:44 -06:00
Chris Jones
8ba8e5aaab bug 521949: make valgrind stop complaining about a false-positive uninitialized memory read 2009-12-04 16:45:23 -06:00
Chris Jones
0b9d5b4132 Fix MSVC warning 2009-12-04 16:27:59 -06:00
Chris Jones
ef2a387ab8 bug 523175: follow-up to 82549dbf71d8, fully enables the C++/IPDL side of Shmem and adds unit tests. r=bent 2009-12-04 12:45:21 -06:00
Chris Jones
96d13f9099 bug 523174: add a higher-level Shmem class that implements exclusive access rights between parent/child actors and does over/underflow checking. (Also adds a stop-gap lower-level SharedMemory class in lieu of bug 523172.) r=joedrew 2009-12-04 12:45:15 -06:00
Benjamin Smedberg
f29a8b92d2 Bug 532659 - PluginScriptableObjectParent gets double-deleted when the plugin crashes, and fix the IPDL bug where we delete the actor if construction fails, instead of calling Deallocate on it, r=bent
--HG--
extra : rebase_source : dbe9a100735b1e0d0a8b07f4421e1ccb6055a78a
2009-12-03 15:30:05 -05:00
Chris Jones
4572a1920a bug 529005: detect child process shutdowns vs. crashes, and expose this information to IPDL actors in a new |ActorDestroy(why)| interface. also ensure that subprotocol actors are notified of shutdown and cleaned up properly. r=bsmedberg r=bent 2009-12-03 02:16:28 -06:00
Chris Jones
36fa3e883c bug 521272: add C++ interfaces allowing IPDL manager actors to iterate over managees. r=trivial 2009-12-03 02:16:21 -06:00
Chris Jones
4a0c6ae1dc bug 525342: make IPDL dtors part of the destructed actor's protocol instead of the manager's. r=bsmedberg 2009-12-03 02:16:14 -06:00
Chris Jones
2898ebbb12 bug 525172: from IPDL specs generate .cpp files with method definitions instead of everything in .h files. r=bsmedberg 2009-12-03 02:16:09 -06:00
Chris Jones
5a85bd72bf bug 525483: simple check for IPDL actor use-after-free. also refactors some error handling code 2009-12-03 02:16:03 -06:00
Chris Jones
f2a7be3825 bug 524220: add a |nullable| type qualifier denoting whether C++ actor params are allowed to be NULL. r=bent 2009-12-03 00:35:22 -06:00
Chris Jones
f2e02884ba bug 523175: preliminary front-end-only support for shmem. r=bent 2009-12-03 00:35:15 -06:00
Chris Jones
de00c8390a bug 532333: part 2: implement an alternate EnsureChildTerminated() that listens for SIGCHLD (with a timeout) on the IO thread, instead of spawning a cleanup thread 2009-12-02 21:09:47 -06:00
Chris Jones
e89e8adc89 bug 532333: part 1: expose libevent signal events through chromium wrappers 2009-12-02 21:09:24 -06:00
Ben Turner
43fec0c5cf Add WM_MOUSEACTIVATE to list of deferred messages 2009-12-02 18:51:29 -08:00
Ben Turner
4c2c017389 Add WM_CAPTURECHANGED to the list of delayed messages. 2009-12-01 15:09:33 -08:00
Ben Turner
374d518bff Bug 531821 - Add chromium LICENSE file. 2009-12-01 14:18:27 -08:00
Benjamin Smedberg
f8977ad2f0 Bug 528367 - generate ipdl_{lex,yacc}tab.py in the objdir, not the srcdir 2009-11-24 10:34:38 -05:00
Ben Turner
fe230a0d56 Fix PostDelayedTask in the message loop 2009-11-23 16:01:12 -05:00
Benjamin Smedberg
593c06cd8c Do full shutdown, instead of _exit(0) shutdown in the plugin process when we're doing leak checking. 2009-11-20 13:49:15 -05:00
Chris Jones
efb828a947 include some headers missing in newer gcc/libc builds. r=trivial 2009-11-19 20:08:39 -06:00
Benjamin Smedberg
a5964bd8b9 Followup to bug 525090 - log new processes to a file based on the environment, instead of unconditionally to stdout, r=cjones 2009-11-19 14:52:11 -05:00
Chris Jones
27e7412d40 bug 529234: make sure to cleanup child processes 2009-11-19 13:03:30 -06:00
Ben Turner
fcac19872d Bug 526361 - 'Defer nonqueued messages received during synchronous IPC calls'. r=jimm+rs. 2009-11-18 15:18:08 -08:00
Josh Matthews
2414bcabb4 Bug 517963 - New-tab opening should not launch the content process synchronously r=cjones 2009-11-18 16:43:53 -05:00
Ben Turner
b579e4a306 Bug 528144 - 'Missing IPC messages cause hang during xpcshell test' 2009-11-17 15:34:48 -08:00
Chris Jones
ca75161694 add nsresult to IPDL builtins 2009-11-16 14:52:47 -06:00
Ben Turner
4aecc03b4f Bug 528144 - 'Missing IPC messages cause hang during xpcshell test' 2009-11-13 15:35:33 -08:00
Ben Turner
6a8386c605 Fix bustage 2009-11-12 14:46:29 -08:00
Chris Jones
64b9366a4d no need to include in C++ protocol-common headers |include protocol|'d from IPDL. this is an accident of history 2009-11-12 16:20:20 -06:00
Ben Turner
cafe07f11b Bug 525792 - 'Fix leaks running mochitests'. 2009-11-12 14:16:54 -08:00
Chris Jones
64d4b56ae4 fix misplaced forward declarations of protocols 2009-11-11 15:07:58 -06:00
Chris Jones
0807e5c7e2 bug 527871: fix shutdown assertion and leaking TestShellParent. still leaking ContentProcessParent's GeckoChildProcess, but needs discussion before fixing 2009-11-11 02:34:08 -06:00
Chris Jones
5629855e23 mac builds and runs with --enable-ipc, but the subprocess nsAppShell dies for an apparently Cocoa-related reason. IPC is fine though 2009-11-10 20:25:10 -06:00
Chris Jones
14e82a080a print actor names instead of protocol, regression 2009-11-10 18:02:44 -06:00
Chris Jones
11617230cd the protocol-tree-walk to determine friends was broken 2009-11-10 16:50:59 -06:00
Phineas T. Farnsworth
c1f7d557dc bug 526626: band-aids for shutdown assertions 2009-11-09 16:56:55 -06:00
Benjamin Smedberg
698d60225c Followup to last patch: using the ternary operator doesn't shortcut creating the temporary object, and I can't figure out why it was a ternary anyway: make it an if. 2009-11-09 12:57:32 -05:00
Benjamin Smedberg
77e06791ca Fix the chromium logging stuff: make CHECK/LOG release-and-debug (DCHECK/DLOG are debug-only), and make it print warning/error/abort using NS_DebugBreak, which is especially important for release aborts. 2009-11-09 12:03:48 -05:00
Chris Jones
52c9dd6f55 build fix for gcc <= 4.2 2009-11-06 22:57:13 -06:00
Ben Turner
b7ad07e8c6 Bustage fix 2009-11-06 16:22:54 -08:00
Chris Jones
f0b32f7472 fix linux build 2009-11-06 17:51:04 -06:00
Chris Jones
cb36d1b489 fix build bustage and test SEGFAULTs 2009-11-06 17:07:52 -06:00
Ben Turner
d1a97dd911 Bug 522414 - 'RPC and Sync channels will deadlock easily on Windows'. r=jimm+rs. 2009-11-06 14:33:12 -08:00
Chris Jones
5ba83387ef bug 526990: add support for serializing |float|s. no r=, trivial 2009-11-06 14:24:35 -06:00
Benjamin Smedberg
4824f760d5 Followup to the previous patch: give arguments to CHECK also, to fix Maemo build bustage and be consistent. 2009-11-06 14:45:38 -05:00
Benjamin Smedberg
007228edf0 Bug 526868 - Drop the dependency on GLIBCXX_3.4.9 by hacking Chromium logging to use NSPR logging instead of ostream. Pending r+ from cjones, but I wanted to get this landed to see what it did to the Linux testerboxes. 2009-11-05 17:47:09 -05:00
Chris Jones
721479dcd3 bug 523894: wstrings are bad news in OPT builds due to chromium/Mozilla -fshort-wchar mismatch 2009-11-05 18:24:27 -06:00
Chris Jones
fb5e908958 bug 525677: shuffle some headers to appease gcc 4.2. IRC r=fred23,bsmedberg 2009-11-04 23:11:33 -06:00
Benjamin Smedberg
03dcbb1ee5 Update chromium code to newer versions (rev 23304) to avoid tr1/function which doesn't compile without RTTI on, and disable RTTI by default. 2009-11-04 15:46:27 -05:00
Chris Jones
affe2a4e94 bug 526397: fix up command line init. no r=, minor 2009-11-03 23:12:18 -06:00
Chris Jones
f1358e3105 bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r= 2009-11-03 15:37:07 -06:00
Jonathan Griffin
2e50906674 Bug 525090. Log the PID's of launched processes. r=cjones
--HG--
extra : rebase_source : 69365c5d2f3a96b21efdeea876389027fca6feb5
2009-11-02 14:41:46 -08:00
Chris Jones
9d64f5f777 don't allow TestLatency to run when MOZ_IPC_MESSAGE_LOG is set 2009-10-30 16:04:06 -05:00
Chris Jones
0b6a5999de attempt to fix build 2009-10-29 12:50:28 -05:00
Chris Jones
59ae61c31e bug 525150: bring back MOZ_IPC_MESSAGE_LOG. no r=, logging code only 2009-10-29 10:46:42 -05:00
Chris Jones
bbf04a4991 bug 525169: remove superfluous test-harness. no r=, removing testing code only 2009-10-29 00:56:24 -05:00
Benjamin Smedberg
2efe22a0e4 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Chris Jones
6f92260e03 build fix 2009-10-27 22:31:04 -05:00
Chris Jones
4f942a96f2 bug 523761: give top-level IPDL actors handles to each others' processes. r=bent 2009-10-27 16:52:37 -05:00
Chris Jones
963eacd704 bug 524767: add better error logging to *Channel. no r?, logging only 2009-10-27 16:32:55 -05:00
Ben Turner
c650170292 Don't let people get the order of includes wrong in this horrifying patchwork of chromium and mozilla types 2009-10-21 16:01:16 -07:00
Chris Jones
1a17b00b3b fix bug where EndRead() is called on an empty (unread) message 2009-10-21 14:48:49 -05:00
Chris Jones
95443086a7 bug 523272: allow protocols to reference great*grandchild actors 2009-10-19 21:12:25 -05:00
Chris Jones
8cb71b94bf bug 518914: make sure that Messages are fully deserialized. fix fencepost error in chromium code 2009-10-19 16:06:13 -05:00
Chris Jones
0564ad103d bug 523143: switch protocols using nsTArray to native IPDL arrays 2009-10-19 14:10:52 -05:00
Chris Jones
373c019990 bug 521324: call the multi-threaded GLib initialization function. r=karlt 2009-10-19 11:28:42 -05:00
Chris Jones
f118b1b109 pre-emptive windows build fix. no hablas STDint 2009-10-16 19:33:19 -05:00
Chris Jones
e1e761401a bug 506171: rewrite lower.py and add native IPDL arrays. 2009-10-16 18:31:53 -05:00
Chris Jones
86f7da7536 temporarily un-apply some lower.py fixes that have been subsumed by bug 506171 2009-10-16 18:27:43 -05:00
Chris Jones
78353e5860 fix bugs that were preventing IPDL C++ unit tests from running on win32 2009-10-13 23:08:24 -05:00
Chris Jones
de0b8a6c7f add basic IPC latency tests 2009-10-13 17:36:28 -05:00
Chris Jones
a0897fc29d bug 521845: expand protocol space by 4x (temporarily) 2009-10-12 14:04:40 -05:00
Chris Jones
024372f081 fix bugs in RPC race resolution 2009-10-09 01:21:39 -05:00
Chris Jones
264a18bfdc hack around lack of C99 format specifiers on Windows 2009-10-08 18:07:24 -05:00
Chris Jones
0f4bfc1b8d followup to RPC race resolution --- convert RPC_DEBUGABORT into RPC_ASSERT, and pre-emptively fix potential spurious race detector alarms 2009-10-08 17:41:18 -05:00
Chris Jones
6c79e4bbd2 add racy RPC resolution. also add better debugging info and fix two shared-memory-race bugs. 2009-10-08 16:44:43 -05:00
Ben Turner
d8f6fca3ab Add threadsafety assertions to plugin code 2009-10-08 12:11:13 -07:00
Ben Turner
63699d2cd3 Two tiny IPDL fixes. 2009-10-07 16:52:41 -07:00
Chris Jones
8bd9efc8e7 bug 518425: C++ unit test for bug 2009-10-06 13:05:47 -05:00
Chris Jones
826a18e082 bug 518126, part 2: add infrastructure for C++ tests of IPDL-generated code. r=ted,bsmedberg 2009-10-06 13:02:26 -05:00
Ben Turner
fe26eff4e3 More bustage fix 2009-10-05 18:43:46 -07:00
Chris Jones
09b2bf5c05 Followup to bug 542052: Windows doesn't like stdint types. 2010-01-25 17:18:11 -06:00
Chris Jones
ec0791fe20 Bug 542052: Add support for serializing/deserializing byte types. r=bent 2010-01-25 16:47:39 -06:00
Benjamin Smedberg
9c1e8d42c6 Bug 540967 - "missing output line for total leaks" because the parent process isn't waiting for the child process to clean up/write leak logs, r=cjones
--HG--
extra : transplant_source : EW%5C-%60M%BCabd%A0%DE%F8%1EG%DF%03%14%B3%24
2010-01-22 10:21:33 -05:00
Benjamin Smedberg
8adba8c2a2 Bug 540868 part 2: keep all NPObjects (not just those with actors) in mObjectMap, and invalidate/deallocate them when we destroy the associated instance, r=bent
--HG--
extra : transplant_source : %96H%CA%BF%2BX%18s%C8%1B%2Bh%8F%92%05%F0%9F/N%01
2010-01-22 10:06:13 -05:00
Chris Jones
6345658b6f Bug 521929, part 3: IPDL/C++ test.
--HG--
extra : transplant_source : %9E%82%3E%20E%81J%97r%CD%05%93%FC%E0%9C%877P%DF%EE
2010-01-21 20:04:11 -06:00
Chris Jones
2649cb4bf4 Bug 521929, part 2: Save racy RPC replies onto a special stack until they're the reply to the right out-call. r=bent
--HG--
extra : transplant_source : %95R%85%B4%AD%0F%3D%9B%A5%18n%9B%94%BF%DA%9A%1BE%40%AC
2010-01-21 20:04:10 -06:00
Chris Jones
bcc3aca59d Bug 521929, part 1: Add a "seqno" field to synchronous messages. r=bent
--HG--
extra : transplant_source : %D0%5D%CF%0DUv%AC%AD%09%F98%C4%14%E2%F8%14%2CUZ%97
2010-01-21 20:04:09 -06:00
Chris Jones
fb35538a29 bug 518425, part 2: lessen routing ID collisions 2009-09-24 13:38:04 -05:00
Chris Jones
714b015109 bug 518126: part 1 --- test the IPDL compiler in isolation. r=bsmedberg 2009-09-23 11:00:37 -05:00
Chris Jones
4c587f8e45 bug 517977: require actor impls to override AllocPFoo/DeallocPFoo instead of PFooConstructor/PFooDestructor 2009-09-22 12:31:11 -05:00
Chris Jones
89fff610ce bug 518032: fix messed-up dtor code gen 2009-09-22 11:03:54 -05:00
Chris Jones
3ecb69991d fix sync/RPC deadlock bug that came to me in a dream. r=mr.sandman 2009-09-22 10:23:29 -05:00
Chris Jones
d484a65e38 bug 517923: support serializing ns*Strings that represent NULL, use this mechanism in PluginInstanceParent/PluginModuleChild. also add basic crash-handling to *Channel code and some NS_OVERRIDE annotations. 2009-09-21 21:02:15 -05:00
Chris Jones
90a2666dff fix lingering cruft from the nsresult-to-bool conversion 2009-09-18 16:35:53 -05:00
Chris Jones
20d86c434b make actor param/return types nullable. use decl initializers where possible for more concise code 2009-09-18 12:28:37 -05:00
Chris Jones
fef237688e fix bug in IPDL race detector causing it not to detect certain patterns involving async messages where parent/child state machines could get more than 1 state out of sync 2009-09-18 11:10:48 -05:00
Chris Jones
03947f0bf3 switch message handler nsresult return types to bool. appears to break test plugin, will be temporary 2009-09-17 18:09:20 -05:00
Ben Turner
5927a0e5fb Landing the first part of NPRuntime support for plugin-side objects. Not hooked up yet. 2009-09-17 15:15:12 -07:00
Benjamin Smedberg
6e0f17ed7c Bug 544361 - Silverlight 3 doesn't work since XPCOM was removed from plugin processes, it needs CoInitialize, r=cjones 2010-02-04 15:00:00 -06:00
Benjamin Smedberg
30bd4e4e51 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Ben Turner
e949113d77 Bug 542821 - 'Process startup event gets dropped on the floor by deferred messaging'. r=jimm.
--HG--
extra : transplant_source : %3A%2B%5E%7C%F6l%5D%5E6%C1%992%B9%2AA1%83%9A%E4%D5
2010-02-03 13:09:55 -08:00
Ben Turner
fe949c04d2 Bug 542617 - 'Deferred message loop mishandles WM_NCCALCSIZE'. r=jimm.
--HG--
extra : transplant_source : o%DD%22%21%91%F6%14%1D%C0H%BFsu%12%12%06%0B%81JM
2010-01-28 10:03:37 -08:00
Oleg Romashin
2d419b5929 Bug 534644 - implement Qt ipc/chromium backend, first part. r=benjamin, r=jones.chris.g 2010-01-28 07:22:41 +02:00
Benjamin Smedberg
8892ede9ff Bustage fixup from bad merge of bug 535564 2010-01-27 12:18:36 -05:00
Chris Jones
35bc3cbdf8 IPC socketpair()s should be CLOEXEC (dup2() unsets the flag for the new fd in the child process). irc-r=bsmedberg
--HG--
extra : rebase_source : 5946587beff45a6a0afa61469f7ba0288521bcc5
2010-01-26 18:13:43 -06:00
Benjamin Smedberg
ce9c2b3e2f Bug 535564 part 2: only open the PID for short periods while we're writing to it, r=jgriffin
--HG--
extra : rebase_source : 65604f973cc0ea70fc6b61273b8931a0c519c354
2010-01-27 11:17:22 -05:00
Jim Mathies
5df2fb9a6c e10s bustage fix after bad merge. 2010-02-12 00:31:08 -06:00
Chris Jones
1de2e347bc Bug 545757: Don't post replies to the IO thread after a connection error. r=bent
--HG--
extra : transplant_source : %AB%07%AF%B8%C0L%CC%82%16%CDH%3Fg%87rH%60ekr
2010-02-11 17:33:53 -06:00
Chris Jones
3f0c454925 Bug 545053: IPDL/C++ test of hang detector.
--HG--
extra : transplant_source : %92%F8%81%3A%E0%99n%15kQ%BEB%EB%B6U%1Csuar
2010-02-11 14:32:17 -06:00
Ben Turner
46d8619058 Bug 545053: Implement IPC hang detection for windows. r=jimm
--HG--
extra : transplant_source : %3E%B1-b%1E%F5%5B%5B%DB%C4%97%19Y%82%3A%28%A7%8Ew%96
2010-02-11 12:19:21 -08:00
Jim Mathies
1d812b5785 Bug 538918 - Fix for bug 545338, don't drop into WaitForNotify() when spin loop unwinds. r=bent.
--HG--
extra : transplant_source : %CA%8B%E6%0B%3E%FC%AEK%B2PH%D5l%BEh%D4oj%E2Y
2010-02-11 14:03:24 -06:00
Jim Mathies
efadb86d27 Bug 538918 - Move Init() above mutex unlock - attempted test hang fix.
--HG--
extra : transplant_source : W%0D%05%B8%D64%E7%16%3A%DFf%9B%F7%89%AA%27%C4%D3%7C%AA
2010-02-11 11:25:39 -06:00
Chris Jones
f684bbfeaf Bug 545591: Temporary workaround.
--HG--
extra : transplant_source : /%9E5%1C%A2%B1%21%BD%9D%A5%DB%039/p%23%95%A2%7B%D3
2010-02-11 00:48:33 -06:00
Jim Mathies
f3a7ada6f1 Bug 538918 - Don't delete gNeuteredWindows until the stack unwinds.
--HG--
extra : transplant_source : %9E%F8G%92P%1D%3D%1E%3B%BDYZ%E0%E8%C8%0ET%1C4p
2010-02-10 22:51:05 -06:00
Chris Jones
cc5715ebf9 Bug 544882, bug 545312: Only tell glib that work is pending if there has been a pollin or timer expiration. Merged from chromium latest, r=chromium
--HG--
extra : transplant_source : %E5%C0%3E%24%FEXX%FC%9A%1C%F4%93Pc%05%0AH%91%A1%F7
2010-02-10 22:04:56 -06:00
Jim Mathies
84a1f73a57 Bug 538918 - Don't test the stack depth on entering WaitForNotify(). r=cjones.
--HG--
extra : transplant_source : %5D%07%E1%C6Q%F4%E0%DE%BD%89%BDb%EE%8FSo%06l-%1B
2010-02-10 20:30:21 -06:00
Benjamin Smedberg
92dda878db Followup to bug 538918 - Don't leak gNeuteredWindows, r=jimm
--HG--
extra : transplant_source : %1D%9C%3Eg%A2%ACV%3DY%F3%92%C8b%BDxB%3A.e%A7
2010-02-10 17:18:19 -05:00
Chris Jones
043d4799c5 Bug 545338: Make the IPC hang detector tolerate spurious wake-ups. Possibly temporary. irc-r=jimm
--HG--
extra : transplant_source : E%DC%C1%E1%0Dv%E1%F4%1DN0%AD%95b%AA%EFXi%F9%1F
2010-02-10 15:41:44 -06:00
Jim Mathies
c7f9adb923 Bug 538918 - follow up patch: IsMessagePending should use PeekMessage, not the stacks for detection.
--HG--
extra : transplant_source : %3D%E4_%CE7m%FE%8F%B0S%DC%9F%FAF%D7%40%5D%83%C1/
2010-02-09 22:47:44 -06:00
Ben Turner
abe12e49d0 Bustage fix
--HG--
extra : transplant_source : %C9%C5%A7%A1%24%E55%A5%3DBj%F4%90%B8%A0%FD%8F%E6%B0%B9
2010-02-09 16:12:41 -08:00
Chris Jones
b7393756e9 Bug 540004, part 3: Add a ShouldContinue() interface to IPDL actors that allows them to decide how a hang should be treated. r=bent
--HG--
extra : transplant_source : m%5E%40%9FYJ%EFI%9F%E5%25s%8E%1A%AF%BEQ%01va
2010-02-09 18:02:55 -06:00
Chris Jones
83599906ac Bug 540004, part 2: Detect hangs while awaiting synchronous IPC replies (on POSIX). r=bent
--HG--
extra : transplant_source : %B8U2%20%5C%1B%06%85%F4%23%DA%CCw%C7%CB%D1%F2%9D%16%1A
2010-02-09 18:02:54 -06:00
Chris Jones
f421387c03 Bug 540004, part 1: Various and sundry trivial refactorings. r=bent
--HG--
extra : transplant_source : %D0%E7%9BX%E9%B8.%A1%D6%CC%C94%B6%01%0F9%B2%F0%CC%AC
2010-02-09 18:02:53 -06:00
Chris Jones
d9acb93873 Fix linux bustage.
--HG--
extra : transplant_source : %FE%8B%BA%B1o%011%9A%CD5%2B%FC%CC%5B%A0%9EY%9F%C4%0F
2010-02-09 17:04:06 -06:00
Jim Mathies
c877b84ecc Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones.
--HG--
extra : transplant_source : %28B%08h%F29L%BE%BBEh%E8%92%22%2A%8E%A8%00F%83
2010-02-09 16:34:38 -06:00
Chris Jones
3027574ad1 Follow-up to bug 540886: address review comments I forgot to before pushing.
--HG--
extra : transplant_source : a%25%DF%90g%8A%F0%5C%F7%9B%BEtX%13p9%3Fq%E8%E2
2010-01-27 02:17:17 -06:00
Chris Jones
0d9ee803ce Bug 540886, part 3: IPDL/C++ test for BlockChild()/UnblockChild(). r=bnewman
--HG--
extra : transplant_source : h%0DM%F8%C5s%82%97%28%AEH%91%86%00%0E%99%A0%05T%1B
2010-01-27 00:41:33 -06:00
Chris Jones
eebed3acd2 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
--HG--
extra : transplant_source : %2A%A7%D7%2C%7B%90%1B%9BZS%E5%3E%E1%A1M%F2%A7P%99E
2010-01-27 00:41:32 -06:00
Chris Jones
5b711f24bf Bug 540886, part 1: Refactor "special message" dispatch in AsyncChannel. r=bent
--HG--
extra : transplant_source : %81%F6%01%EB%0CE%B0%04R%02%A8%0B%F8c%EF/%1D%CC%3Ep
2010-01-27 00:41:31 -06:00
Chris Jones
e86369ebb5 Bug 540111, part 5: IPDL/C++ test of multi-managers. r=bnewman
--HG--
extra : transplant_source : %3B%83%10%FC%C3%5D%F7%22%B4%07WB7u%F6%8A4%D8%16%01
2010-01-26 22:56:14 -06:00
Chris Jones
847a993d0c Bug 540111, part 4: IPDL-only tests of multi-managers.
--HG--
extra : transplant_source : %D7%A3C%09%80XAvz%BF%AB%E1%D9%CFiG%B4%F4%D6%00
2010-01-26 22:56:13 -06:00
Chris Jones
89c3a09b22 Bug 540111, part 3: Allow IPDL actors to be managed by one of a set of possible managers. r=bent
--HG--
extra : transplant_source : %DE%1A%20%E5%21%F8%A0.%A2%3A%B1%B8A%BEi%8A%85%0C%3C%60
2010-01-26 22:56:12 -06:00
Chris Jones
35e34cec3b Bug 540111, part 2: Subsume direct calls to manager->Dealloc*() into RemoveManagee(). r=bent
--HG--
extra : transplant_source : %FF%FC%CA%FD%82%7F%C2%CC%E4%0Ca%85%C4a%CB%CCM%CE%06%83
2010-01-26 22:56:11 -06:00
Chris Jones
66b2acb772 Bug 540111, part 1: Add a new IProtocolManager::RemoveManagee interface to break reliance on the |Manager()| interface. r=bent
--HG--
extra : transplant_source : %D8%135V%07%DD%9C%40%D9y%01%12%07%E1%BA%20%CFE%256
2010-01-26 22:56:09 -06:00
Benjamin Smedberg
12c1cd2d24 Commit remaining piece of bug 543788, r=jimm 2010-02-11 15:50:32 -05:00
Jason Duell
7b9643e8c3 Necko init patch, with modeline fixes 2009-08-18 12:05:15 -07:00
Chris Jones
8ef0c1d0d8 bug 516798: fix busted actor-as-return-value handling in IPDL 2009-09-16 21:49:41 -05:00
Chris Jones
d50f580e04 fix mismatched expectations of generated vars arrays 2009-09-16 17:41:04 -05:00
Ben Turner
6767c1e151 Initialize managers asap in child actors 2009-09-16 15:01:00 -07:00
Ben Turner
cce28b953f Further fixes for unions 2009-09-14 19:26:17 -07:00
Ben Turner
ebf1496aa4 Fix union type stuff for linux too 2009-09-14 17:55:00 -07:00
Ben Turner
c3980cd06f Fix union type constructors to be explicit to avoid msvc choosing cheaper code paths 2009-09-14 14:44:06 -07:00
Ben Turner
b9c58a3347 Fix mem corruption from our different use of ChildProcessHost when child processes crash 2009-09-14 13:02:32 -07:00
Ben Turner
4c2446fda0 Fix recursive locking when unblocking an RPC channel for a sync message and add minimal error handling for sync messages. 2009-09-14 13:00:31 -07:00
Ben Turner
c8cd3d9e05 Fix nsTArray deserialization 2009-09-14 12:58:33 -07:00
Chris Jones
4adeb30006 modify the generated C++ enum representing the constituent types of IPDL unions so that they can represent a "not assigned" state 2009-09-12 17:18:56 -05:00
Chris Jones
af6b29815d fix the internal C++ union of generated IPDL unions so that they can contain non-POD types 2009-09-12 15:40:26 -05:00
Chris Jones
657a5413be fix isUnion/isUnionType schizophrenia introduced by d3e90292fd30 2009-09-12 15:11:35 -05:00
Benjamin Smedberg
0129b07555 Followup to changeset d3e90292fd30, discriminated union types: bustage fix when passing an actor 2009-09-11 12:05:26 -04:00
Chris Jones
eac97adcbe unblock RPC waiters for async messages, for realz 2009-09-11 02:28:09 -05:00
Chris Jones
f628e59149 fix bug introduced by d0d751ed8c3e where receiving multiple async messages while awaiting an RPC reply could screw things up. async messages no longer unblock RPC waiters. 2009-09-11 01:05:42 -05:00
Chris Jones
e20692ab9b add discriminated union types to IPDL 2009-09-10 23:55:03 -05:00
Chris Jones
88d2f89607 make RPC unblock for async and sync, as it supposed to have 2009-09-10 18:54:37 -05:00
Ben Turner
c6ad60ed4d Remove 'Protocol' suffix from IPDL-generated files 2009-09-09 15:59:06 -07:00
Ben Turner
dccb0805dd Rename remaining protocols
--HG--
rename : dom/ipc/ContentProcess.ipdl => dom/ipc/PContentProcess.ipdl
rename : dom/ipc/IFrameEmbedding.ipdl => dom/ipc/PIFrameEmbedding.ipdl
rename : ipc/test-harness/Test.ipdl => ipc/test-harness/PTest.ipdl
rename : ipc/testshell/TestShell.ipdl => ipc/testshell/PTestShell.ipdl
rename : ipc/testshell/TestShellCommand.ipdl => ipc/testshell/PTestShellCommand.ipdl
2009-09-09 15:00:14 -07:00