Граф коммитов

928 Коммитов

Автор SHA1 Сообщение Дата
Chris Jones 02f407ca9f Bug 584580: Delete some unused code imported from chromium. r=bent 2010-08-05 17:11:23 -05:00
Chris Jones 2cac4eee0b 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 497b6af26f Bug 575110: Fix C++ IPDL test build failure on windows. r=NPOTB (alas!) 2010-08-05 17:11:23 -05:00
Kyle Huey 682cc66d87 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 017624baad Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Robert Sayre 1dd6dffb4b Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Benoit Girard 42b6895038 Bug 557225 - Fix TryServer failures. r=cjones r=josh 2010-07-20 00:17:45 -04:00
Benoit Girard f92711bc17 Bug 557225 - Load the plugin-container from the App Bundle. r=cjones 2010-07-19 18:35:45 -04:00
Blake Kaplan 91470f10e6 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Luke Wagner ad475468cd Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Ted Mielczarek fb65ab8732 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 6bd3515680 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 ebaad53cfe 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 0870f7f1c1 Bug 525181, part 2: Implement protocol state machines in C++. r=bent 2010-07-15 14:27:43 -05:00
Chris Jones aee77be857 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 0c9649a871 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 604c8de576 Bug 555690 ThreadData::StartTracking should use #else. r=cjones 2010-07-13 11:56:47 -07:00
timeless@mozdev.org 7e1a8cac9e 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 88b1dca8bc 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 f63ec74105 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 0566c37bef Bug 580406 - [OOOP] plugin process should be properly named; r=benjamin approval2.0=beltzner 2010-07-21 11:55:51 -04:00
Benjamin Smedberg 033cd9567d 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 dfed11844b Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg b54a384bb8 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 f56445a420 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Chris Jones 70b14142fc Bug 570099: Allow Shmems to be used in IPDL structs. r=benjamn 2010-06-23 13:59:07 -05:00
Benjamin Smedberg 9dfb495463 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 cae1800556 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 374277e489 Bug 570096: Implement serialization of a grab-bag of gfx types. r=joe 2010-06-21 15:35:48 -05:00
Benjamin Smedberg 4d7e3ff7df 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 f51e70def2 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 4d4c880191 merge 2010-06-30 21:09:47 -05:00
Jim Mathies 993f078977 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 72ae9fb347 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 83708ad128 Bug 569500 - e10s: /netwerk/test/unit_ipc/* fails on windows 7 r=bsmedberg 2010-06-30 15:51:44 -07:00
Doug Turner c7c3407599 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 6ce8eb93c9 Bug 574120 - Add support for IPC on Android to everything else, r=dougt 2010-06-25 13:29:43 -07:00
Michael Wu bce4cb589c Fix windows build after bug 574120 1727bfc11147 2010-06-25 13:03:48 -07:00
Michael Wu ce5dbc8e97 Bug 574120 - Add Android support to IPC code, r=cjones 2010-06-25 11:39:02 -07:00
Doug Turner c1b97654d7 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jason Duell 549ae22a9e 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 611fabe87f 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 217acab227 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 7f7c2c6b10 Moving cookie ipc source to the right place. 2010-06-07 14:19:20 -07:00
Doug Turner 6e5944e4fe 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 91d5a62423 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay 3fed591ba3 m-c to e10 merge 2010-05-24 17:45:59 +03:00
Doug Turner 6f853bbfda 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 93323859a7 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 fea6936df1 Merged m-c 2010-05-13 18:04:53 -05:00
Chris Jones 0b2a3d2985 No bug: Reduce IPDL-compiler spew and stop logging to stderr. irc-r=bsmedberg 2010-05-13 17:25:20 -05:00
Doug Turner b2b1085458 Bug 552822 - IPC remoting of geolocation prompt. r=olli/r=jdm 2010-05-13 10:44:51 -07:00
Ben Newman 14294cc97f 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 7492065872 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 7c3b2bbde3 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 9a9c6b5800 Bug 565462: Implement operator== for IPDL structs and unions. r=bsmedberg 2010-05-22 14:35:42 -05:00
Chris Jones 7b752496f2 Tests for bug 560000 2010-05-22 14:35:40 -05:00
Chris Jones 91c7c512cc Bug 560000: Allow IPDL unions and structs to be recursively defined. r=benjamn 2010-05-22 14:35:38 -05:00
Chris Jones 5a179e6412 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 3e08fa01c3 Bug 553846: Implement an IPDL "struct" type. r=benjamn 2010-05-22 14:35:35 -05:00
Chris Jones 34baacd79e Bug 522547: Serialize/deserialize IPC messages in a "streaming" style. r=bent 2010-05-22 14:35:34 -05:00
Chris Jones 2c7ffd5131 Bug 562741: Allow |Shmem|s to be shared across different protocol trees. r=bent 2010-05-22 14:35:33 -05:00
Chris Jones 834a27d892 Bug 562741: Refcount |SharedMemory|s. r=joedrew 2010-05-22 14:35:32 -05:00
Chris Jones c55a427970 Bug 564086: Frontend support for IPDL process graphs and Bridge()ing processes. r=benjamn 2010-05-22 14:35:31 -05:00
Chris Jones e530ee8961 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 c2a0ffd0a2 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 ddd12dbe18 Merge with m-c. no hand edits 2010-04-29 21:04:50 -07:00
Mike Hommey 059f669403 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 fe1ee01716 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 b7b0adac59 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 70959e98d5 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 10cc88a617 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 8a66748579 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 4b51cdc5bd Followup to bug 559898: fix cycle checker to allow self-loop special case. 2010-04-27 02:12:39 -05:00
Chris Jones e1e4a9c4d4 Followup to bug 541131: update |include protocol "PFoo.ipdl"| usages in e10s. 2010-04-27 02:12:38 -05:00
Chris Jones 63ca8b65c6 Merged m-c 2010-04-27 01:53:06 -05:00
Chris Jones 3853bf3560 Bug 518881: Fix unused-result warnings in IPDL/C++ unit tests. 2010-04-27 00:43:01 -05:00
Chris Jones 784888920c 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 30361f401e Bug 545733: |const|-ify some *Channel methods. r=bent 2010-04-27 00:42:59 -05:00
Chris Jones a09ef25b0d Bug 559898: Allow (sub-)protocols to manage themselves. r=bsmedberg 2010-04-26 20:11:48 -05:00
Chris Jones 993273dd4c Bug 559953: Add a |const nsTArray<Subactor*>& ManagedFoo();| accessor. r=bent 2010-04-26 20:11:47 -05:00
Thomas Lee 724a5a9e20 Bug 541131: Include IPDL headers as |include protocol PFoo;|. r=cjones 2010-04-26 20:11:46 -05:00
Chris Jones ee58a6e501 Bug 554244: Get the right loc info for message declarations. r=bent 2010-04-26 20:11:44 -05:00
Chris Jones 3f29d383ad 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 fc9a2571ad 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 9edec1c173 Bug 555275: Implement a DeallocShmem() interface. r=bent 2010-04-26 20:11:40 -05:00
Doug Turner 6126049649 merge with m-c. 2010-04-26 23:17:51 -07:00
Benjamin Smedberg 6f96eb277f 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 6c8be0b618 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 2a96eab718 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 5350023988 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Mike Hommey 64be11b35e 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 2918f2e692 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Chris Jones ff5a2f66b5 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) c706584d5f Bug 548437: Add a SysV shmem subtype of SharedMemory. r=dougt 2010-04-16 00:29:16 -05:00
Jonathan Kew c7cf7577e5 bug 558489 - prevent cocoa object autorelease-leakage during ipc startup. r=josh 2010-04-15 09:31:10 +01:00
Josh Matthews c8fc5f9966 b=539406 retain existing listener in AyncChannel for GeckoChildProcessHost::OnChannelConnected r=cjones 2010-04-12 12:13:00 +12:00
Oleg Romashin f3e3834d75 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Ben Newman 0efa26c6fe 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 c007495e7a Bug 555573 - [e10s] IPDL generates code which may not compile on Windows, r=cjones 2010-03-29 23:29:07 +03:00
Doug Turner 55aabe42b5 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 5cfc06daae Bug 537156 - [e10s] Implement cookies. r=jduell,sdwilsh; sr=bz 2010-03-25 16:02:28 -07:00
Chris Jones e865231f39 Bug 557011: Ensure OOP crashreporter has been initialized on mac. r=bsmedberg 2010-04-12 15:47:47 -05:00
Jim Mathies 5fe1aa1267 Bug 558503 - [OOPP] Watching netflix video: Silverlight crashes the plugin helper. r=bsmedberg. 2010-04-12 15:25:57 -05:00
Doug Turner 6a88bb855c 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 54eaa18186 Bug 552889: avoid spamming stderr in release builds, r=cjones 2010-05-06 15:17:08 -04:00
Dão Gottwald f15f398c69 Backed out changeset 48e202424e35 2010-05-13 18:26:36 +02:00
Martin Stránský 6acba6095d 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 7135ac8e96 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 4e3abdc37b Bug 545338 - RPCChannel should use events rather than thread messages for NotifyWokerThread. r=bent. 2010-03-25 16:53:10 -05:00
Mike Hommey 3487aea406 Bug 542460 - Remove executable permission on source files [r=ted.mielczarek] 2010-05-06 09:32:50 +02:00
Mike Hommey c00a04c907 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 664ac3f4df 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 9b1b0e240d 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 450e526b0a Followup to bug 544936: Open child process handles with more privileges. r=bsmedberg 2010-03-24 19:12:31 -05:00
Chris Jones 484bf7cef6 Bug 554262 - [OOPP] Silverlight context menu hangs the browser. r=bent, jmathies. 2010-03-24 16:49:54 -05:00
Jim Mathies 5b1f0953f8 Bug 553606 - [OOPP] Limit spin loop to a call depth of one. r=bent. 2010-03-24 16:49:05 -05:00
Chris Jones 2e38d1fe43 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 b75898abc2 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 c5f8387c1e Bug 547881 - Made a mistake when fixing a nit. r=me 2010-03-24 09:20:36 -07:00
Chris Jones 25b99b72ca Bug 554466: Only EnqueuePending when there's been an rpc out-call. r=bent 2010-03-24 00:52:47 -05:00
Oleg Romashin 1dbe3f967c 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 35629f37dd 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 c5e09b6795 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 febd314390 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 7646c9d84c Backed out changeset 25879ce33e7a 2010-04-09 20:57:30 -07:00
Ben Turner 2389c11903 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ý 429576844b Make ipc/ build with gcc 4.1.2. r=cjones 2010-05-24 09:36:49 +12:00
Ben Newman c10469b486 Bug 540126 - CPOW: Let PObjectWrapper actors use ContentProcessParent::RequestRunToCompletion(). r=mrbkap sr=jst 2010-01-20 18:24:14 -08:00
Chris Jones 0fd083fad2 Second followup to bug 542053; missed a spot. 2010-04-09 15:24:41 -05:00
Chris Jones 03de1e6736 Bustage followup to bug 542053. 2010-04-09 15:21:08 -05:00
Chris Jones d3f8ba7999 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 60b7d64908 Bug 563381 - Sync AppUserModelID with plugin-container. r=bsmedberg. 2010-05-14 19:25:10 -05:00
Chris Jones 16949a575d Bug 566054: Add missing error message case, tighten up UNREACHED guard. r=bent 2010-05-14 21:05:34 -05:00
Ben Newman 8543260519 Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst 2009-11-06 12:43:39 -08:00
Jason Duell 6ffab16dcf 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 8dfa93be1c today is two merge monday 2010-03-22 22:05:25 -07:00
Chris Jones be45a8cce8 Bug 544623 - IPDL: Shmem buffers should be shared across actor tree. r=bent 2010-03-22 22:02:16 -07:00
Chris Jones e093207105 Bug 544623 - IPDL: Shmem buffers should be shared across actor tree. r=bent 2010-03-22 21:56:42 -07:00
Joe Drew 71a6fe1619 Bug 544607 - Add Shmem::IsWriteable/Shmem::IsReadable r=cjones
--HG--
extra : rebase_source : 25a2ef756c682bc6a74797025e223fbbc3aaf4d3
2010-03-22 13:33:43 -07:00
Doug Turner 0a1d6a724c merge from mozilla-central. no merges required 2010-03-23 02:53:35 -07:00
Joe Drew f1399b9690 Bug 547881 - need to serialize/deserialize gfxMatrix. r=cjones 2010-03-22 13:04:37 -07:00
Jason Duell 5f4f54e48f 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 517fdc8f94 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 1d734b93e8 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 b3ace4bc37 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones fed9cef751 Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones b3ef4ccf41 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 0b70b611cf Bug 552014: Test 2010-03-18 17:52:34 -05:00
Chris Jones c43514fb32 Bug 552014: Don't run OnMaybeDequeueOne from a nested context. r=bent 2010-03-18 17:52:33 -05:00
Chris Jones e15df582cd 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 83622b0ddc Bug 533055: Part 2: Set Message names in IPDL-generated code. r=bent 2010-03-18 17:52:31 -05:00
Chris Jones 06ebb04eb0 Bug 533055: Part 1: Add a name field to IPC::Message. r=bent 2010-03-18 17:52:29 -05:00
Chris Jones dd6a0c56f1 Bug 552294: *Channel::OnError must run atomically. r=bent 2010-03-18 17:52:28 -05:00
Josh Aas 83e606ce40 Update Mac OS X message pump code for child processes. b=552878 rs=cjones 2010-03-17 20:10:42 -04:00
Josh Aas 7415ddde42 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 3c6b433eb6 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 27d68eeed4 b=550026 Cancel PluginCrashed when PluginModule is deleted. r=bsmedberg 2010-03-08 09:16:02 +13:00
Chris Jones d9e3230839 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 352b298673 Followup to bug 545342: atomically refcount the dequeue task. r=bent 2010-03-11 16:24:15 -06:00
Benjamin Smedberg 66aa2629e1 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 fd0bcfee98 Merge with m-c 2010-03-18 21:53:17 -07:00
Jason Duell 80d2609d87 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00
Doug Turner f4215966ff Merge with mc 2010-03-17 10:37:32 -07:00
Doug Turner 7d99e9efdd Merge 2010-03-12 15:20:36 -08:00
Doug Turner ddf80a42b7 Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js. 2010-03-10 19:13:35 -08:00
Jim Mathies 8c27ee3b6d 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 adb1f31b28 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 c043cf2f4d Fix some merge bustage. 2010-03-08 14:16:41 -06:00
Doug Turner 02a3a11d33 Merge with mc 2010-03-08 10:09:55 -08:00
Chris Jones 82e46b0742 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 122766f8d7 Merge 2010-03-01 15:36:51 -08:00
Chris Jones 071f61d5f9 Fix merge problems 2010-02-23 00:08:29 -06:00
Chris Jones b4affb74dd Merge from mozilla-central 2010-02-22 21:31:18 -06:00
Benjamin Smedberg 75322f964e 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 89cf500fde Bug 545455: IPDL/C++ test. 2010-02-16 12:44:23 -06:00
Chris Jones 4684d13633 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 ae01fe7d41 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 7674a5ab7c 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 9f15762144 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 230c72032e 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 c71afaa23b 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 990bb64f58 Bug 544190 - QCore version needed to replace message_pump_glib.cc. r=dougt 2010-02-18 23:48:50 +02:00
Ben Turner cc86971905 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 142d0b0f80 Bug 543942 - 'crash at [@ free | mozilla::ipc::windows::DeferredSettingChangeMessage::~DeferredSettingChangeMessage() ]' r=jimm. 2010-02-18 12:12:44 -08:00
Ben Turner 48038b40eb 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 ece57f08b7 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 fb63479e2a Backed out changeset 4d8d4fd97c4f - bug 543764, because of deadlocks. 2010-02-18 10:27:07 -05:00
Ben Turner 67025c757e 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 d2bfdbb2ca 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 b4f85e6dbc Bug 545455: IPDL/C++ test.
--HG--
extra : rebase_source : 9fae2c3f3192633834166b863f7ab0c1ed2f0e40
2010-02-16 12:44:23 -06:00
Chris Jones 5225241793 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 40a5e9f8b9 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 a523566173 Bug 548214: Extended IPDL/C++ test. 2010-02-24 15:59:24 -06:00
Chris Jones 90cd893581 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 283e765a0d Merge backout 2010-03-11 05:07:51 -06:00
Chris Jones 25cffd7381 Backing out bug 550026 due to orange 2010-03-11 05:07:42 -06:00
Chris Jones 7132d5b029 Bug 549888: Test 2010-03-11 01:35:32 -06:00
Chris Jones c9b2213be5 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 ac65c720e6 Bug 546035: Test 2010-03-11 01:35:28 -06:00
Chris Jones 640d54d3d3 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 60005eaec9 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 8d3f396415 Bug 545342: Test 2010-03-11 01:35:21 -06:00
Josh Matthews 392ec3b467 Bug 545342: Cancel dequeue task on channel error. r=cjones 2010-02-15 20:47:00 +13:00
Chris Jones 7ec95f927b Followup to bug 559898: fix cycle checker to allow self-loop special case. 2010-04-27 02:12:39 -05:00
Olli Pettay 8e654f06b0 Bug 555573 - [e10s] IPDL generates code which may not compile on Windows, r=cjones 2010-03-29 23:29:07 +03:00
Chris Jones 41a2ea3d54 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 0084f05433 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 d020c86c3a 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 62b8e418d4 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 63bf8467cd Bug 556198: Build jemalloc into mozilla-runtime. r=bsmedberg 2010-04-01 15:51:49 -05:00
Chris Jones 1205a65069 Stub out OOP crashreporter on OS X. b=555714 r=josh 2010-03-30 13:32:53 -04:00
Chris Jones a43fbff31a 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 f441f333a1 Bug 545053: IPDL/C++ test of hang detector. 2010-02-11 14:32:17 -06:00
Ben Turner c0974d59b2 Bug 545053: Implement IPC hang detection for windows. r=jimm 2010-02-11 12:19:21 -08:00
Jim Mathies e30a161986 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 e7a3be493d Bug 538918 - Move Init() above mutex unlock - attempted test hang fix. 2010-02-11 11:25:39 -06:00
Chris Jones 660de085ef Bug 545591: Temporary workaround. 2010-02-11 00:48:33 -06:00
Jim Mathies 5a91863f49 Bug 538918 - Don't delete gNeuteredWindows until the stack unwinds. 2010-02-10 22:51:05 -06:00
Chris Jones 2c958bbc72 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 e0a83f8901 Bug 538918 - Don't test the stack depth on entering WaitForNotify(). r=cjones. 2010-02-10 20:30:21 -06:00
Benjamin Smedberg f057709d70 Followup to bug 538918 - Don't leak gNeuteredWindows, r=jimm 2010-02-10 17:18:19 -05:00
Chris Jones a235c5a69b 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 dc5264506a Bug 538918 - follow up patch: IsMessagePending should use PeekMessage, not the stacks for detection. 2010-02-09 22:47:44 -06:00
Ben Turner b646ef9187 Bustage fix 2010-02-09 16:12:41 -08:00
Chris Jones 512e6a3823 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 2527075771 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 92c35205ad Bug 540004, part 1: Various and sundry trivial refactorings. r=bent 2010-02-09 18:02:53 -06:00
Chris Jones fb3d1e104d Fix linux bustage. 2010-02-09 17:04:06 -06:00
Jim Mathies 6103dd696a 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 53eb4dfd36 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 8ee5aea6fc Merge mozilla-central into electrolysis 2010-02-09 11:39:28 -05:00
Chris Jones 882d5ca185 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 1b8509ce1b 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 8a8d9b2174 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 b10320361a Electrolysis bustage, fix up testshell from bug 543696, Remove unused nsIScriptSecurityManager::CheckConnect 2010-02-03 13:45:54 -05:00
Benjamin Smedberg d6b2c74d12 Merge mozilla-central into electrolysis. 2010-02-01 15:30:27 -05:00
Thomas Lee 4fcdfcedbc Error out if there are manager/managee cycles in protocol graphs. r=cjones 2010-02-01 12:44:54 -06:00
Ben Turner 21eeaccbb4 Bug 542617 - 'Deferred message loop mishandles WM_NCCALCSIZE'. r=jimm. 2010-01-28 10:03:37 -08:00
Benjamin Smedberg 2ccdf8ae92 Merge mozilla-central into electrolysis. 2010-01-27 09:56:07 -05:00
Chris Jones 099fbe6aac Follow-up to bug 540886: address review comments I forgot to before pushing. 2010-01-27 02:17:17 -06:00
Chris Jones 885ffdf2d5 Bug 540886, part 3: IPDL/C++ test for BlockChild()/UnblockChild(). r=bnewman 2010-01-27 00:41:33 -06:00
Chris Jones 8f6cb86037 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 5ddf1ec50c Bug 540886, part 1: Refactor "special message" dispatch in AsyncChannel. r=bent 2010-01-27 00:41:31 -06:00
Chris Jones b5354060b3 Bug 540111, part 5: IPDL/C++ test of multi-managers. r=bnewman 2010-01-26 22:56:14 -06:00
Chris Jones e9b6d7923f Bug 540111, part 4: IPDL-only tests of multi-managers. 2010-01-26 22:56:13 -06:00
Chris Jones ff09f10f7e 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 a49ff578cc Bug 540111, part 2: Subsume direct calls to manager->Dealloc*() into RemoveManagee(). r=bent 2010-01-26 22:56:11 -06:00
Chris Jones e342e7332c 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 5a9fac09c2 Final merge of debug-spew backout 2010-01-26 20:09:07 -06:00
Chris Jones 685c8787e3 Backout 8d0ad9632fd2 2010-01-26 20:09:04 -06:00
Chris Jones 07b0086457 Intermediate merge of debug-spew backout 2010-01-26 20:08:59 -06:00
Chris Jones c9b6286e1c Backout f861b6e0a364 2010-01-26 20:08:56 -06:00
Chris Jones fa75dde744 Intermediate merge of debug-spew backout 2010-01-26 20:08:52 -06:00
Chris Jones 25c2e48fca Backout b0fee4f9b8c7 2010-01-26 20:08:48 -06:00
Chris Jones 788b7914ff Intermediate merge of debug-spew backout 2010-01-26 20:08:44 -06:00
Chris Jones 6c1a49a2be Backout 76bf173816e8 2010-01-26 20:08:41 -06:00
Chris Jones d8f28e94dd Intermediate merge of debug-spew backout 2010-01-26 20:08:38 -06:00
Chris Jones 6df227154f Backout d87a958aab73 2010-01-26 20:08:35 -06:00
Chris Jones 48e68a58d7 Intermediate merge of debug-spew backout 2010-01-26 20:08:31 -06:00
Chris Jones d92ce8059f Backout 581822324d75 2010-01-26 20:08:28 -06:00
Chris Jones cbb3883968 Intermediate merge of debug-spew backout 2010-01-26 20:08:25 -06:00
Chris Jones 8532c1fcc5 Backout 23ee84dbd7b5 2010-01-26 20:08:22 -06:00
Chris Jones 2b05c4748e 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 f21201bf38 Yet more temporary debug spew for diagnosing mochitest hang. 2010-01-26 14:57:16 -06:00
Chris Jones 015264a56a Temporary mochitest debugging: eliminate race condition between parent exit and child minidump request. 2010-01-26 09:40:42 -08:00
Benjamin Smedberg 1704008465 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 4074b529ad 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 a983993393 More temporary debug spew to sort linux mochitest hang. 2010-01-25 14:10:12 -06:00
Benjamin Smedberg 2567923b2d Printf-debugging to help figure out bug 535564 2010-01-25 14:33:50 -05:00
Chris Jones b1db628178 More debug spew for sorting mochitest-plain hang. 2010-01-22 18:03:38 -06:00
Chris Jones bf1fdf46e1 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 f6a25b2c48 Temporary debug spew for diagnosing Linux mochitest hang. 2010-01-22 12:53:18 -06:00
Benjamin Smedberg 64f0218c20 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 3495fc6611 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 b4495455ca Bug 521929, part 3: IPDL/C++ test. 2010-01-21 20:04:11 -06:00
Chris Jones 4697d43abc 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 ff50562ff0 Bug 521929, part 1: Add a "seqno" field to synchronous messages. r=bent 2010-01-21 20:04:09 -06:00
Chris Jones 564d52370b Fix Windows build busted by 2e3e142612b1. 2010-01-20 22:58:47 -06:00
Chris Jones 4c3da32b76 Bug 538239: Guard against async messages unblocking sync message waits. r=bent 2010-01-20 21:50:36 -06:00
Chris Jones 15782113a9 Test for bug 538239. 2010-01-20 21:50:07 -06:00
Oleg Romashin 559c0b1090 Bug 534644 - e10s: implement Qt ipc/chromium backend, part 2. r=benjamin. 2010-01-29 08:50:44 +02:00
Chris Jones 70af7dbf05 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 172163cfe2 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 1f163ff151 Test for followup to bug 539856. 2010-01-15 15:15:51 -06:00
Ben Turner 1be3c6c424 Bug 539061 - 'OOPP: ASSERTION: Received "nonqueued" message 31, 10'. r=jimm. 2010-01-15 12:35:53 -08:00
Chris Jones 78350389ee 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 c83054db68 Test for bug 539856. 2010-01-14 23:25:56 -06:00
Benjamin Smedberg b1be9e88cf Merge mozilla-central into electrolysis 2010-01-14 09:01:59 -05:00
Chris Jones 7827d7b519 Bug 539343: Call DeallocSubtree() on subprotocol actors after being __delete__-ed. r=bent 2010-01-13 21:08:36 -06:00
Chris Jones 98962c9484 Test for bug 539343. 2010-01-13 21:08:35 -06:00
Chris Jones a6f7796c11 Bug 539295: Use lenient child reaping in NS_BUILD_REFCNT_LOGGING builds. r=bsmedberg 2010-01-13 14:57:52 -06:00
Chris Jones 3848436880 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 6a942f9824 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 c3f4f838fa Bustage fix: work around XRE hackery. 2010-01-12 17:42:58 -06:00
Chris Jones 09869bd409 Bug 516759: Use OOP crash reporting in Gecko. r=luser 2010-01-12 15:14:38 -06:00
Chris Jones 34616c2ef6 Small edit to comment. No r=, just want another set of talos runs. 2010-01-12 02:25:18 -06:00
Chris Jones 2112682d90 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 807babad31 Test for bug 538586. 2010-01-12 00:14:31 -06:00
Chris Jones c7e9147ef6 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