Commit Graph

233 Commits

Author SHA1 Message Date
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
Oleg Romashin
e23374081a Bug 554911 - mozilla-runtime process hang and not closed properly after closing fennec UI. r=dougt 2010-03-30 07:28:10 -04:00
Olli Pettay
b4a11d8557 Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman 2010-03-29 23:29:45 +03:00
Olli Pettay
de7b07408d backout Bug 554941 again 2010-03-28 20:07:16 +03:00
Olli Pettay
9a1e450904 Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman 2010-03-28 19:02:05 +03:00
Olli Pettay
d0ab5348f1 Backout Bug 554941 2010-03-28 00:58:49 +02:00
Olli Pettay
7dbad85a52 Bug 554941 - [E10s] CPOW for synchronous TabChildGlobal messages, r=bnewman 2010-03-27 18:54:57 +02:00
Benedict Hsieh
dfa9ca21a4 Bug 51470 - [E10s] The tab browser should inform the chrome process during navigation. r=smaug,
sr=bsmedberg
2010-03-26 11:39:39 -07:00
Oleg Romashin
8710d8cd86 Bug 554008 - QApplication init must be initialized in ContentProcessChild, move to ::Init. r=dougt 2010-03-24 08:06:26 -04: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
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
Joe Drew
d4c42c1218 Bug 524180 - Implement async drawWindow/Element() using shared memory. r=cjones 2010-03-24 03:47:18 -07:00
Josh Matthews
c9c6966c80 Bug 542907 - "e10s: Chrome registry should be unified between parent and child" [r=benjamin] 2010-03-11 18:33:00 +13:00
Oleg Romashin
bff94e11ae Bug 554008 - QApplication init must be initialized in ContentProcessChild, not in TabChild. r=smaug 2010-03-22 16:31:47 +02:00
Doug Turner
ef22106e0b [Bug 553149] Implement sendCrossProcessKeyEvent for e10s. r=smaug 2010-03-18 23:52:18 -07:00
Olli Pettay
354fead050 Bug 549693 - [E10s] addMessageListener callback object should have access to browser object, r=jst 2010-03-05 13:00:43 +02:00
Olli Pettay
e2ad087211 Bug 549884 - [E10s] add .docShell to TabChildGlobal, r=dougt 2010-03-03 22:30:25 +02:00
Oleg Romashin
cb70343ee4 Bug 545899 - Qt XEmbedding must be updated according to QWidget->QGraphicsWidget change. r=dougt 2010-03-01 21:05:48 +02:00
Olli Pettay
16e965be16 Bug 549223 - [E10s] MozAfterPaint events aren't activated when event listener is added to tabChildGlobal, r=bsmedberg 2010-03-01 16:47:27 +02:00
Oleg Romashin
a4c39d5979 Bug 547668 - TabChild.cpp fail to compile with Qt port enabled. r=dougt 2010-02-26 12:54:19 +02:00
Olli Pettay
ba5ee34fc9 Bug 547947 - [E10s] content process root context should use JSVERSION_LATEST, r=dougt 2010-02-24 12:04:06 +02:00
Olli Pettay
72dc86132d Bug 542242 - E10s, content process event handlers, r=jst, r=bsmedberg 2010-02-20 19:05:20 +02:00
Oleg Romashin
8662fa2b8f Bug 545651 - QApplication is not starting in tab child process. r=dougt 2010-02-17 21:14:48 +02:00
Oleg Romashin
2f8503b1f3 Bug 544192 - Qt Xembed version required for IPC browser content embedding. r=bzbarsky,mozbugz 2010-02-04 18:00:52 +02: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
Ben Newman
368b49823d Bug 542341 - Add RequestRunToCompletion method to ContentProcessParent. r=cjones 2010-02-01 17:53:52 -08:00
Boris Zbarsky
af71184cfe Bug 516747 part 3. Make TabChild and TabParent cooperate on window opening at least to the extent of doing all window opens in new tabs. r=bsmedberg 2009-12-31 20:35:55 -05:00
Boris Zbarsky
91fef6fc3b Bug 516747 part 1; make TabChild hand things out via nsIInterfaceRequestor. r=bsmedberg 2009-12-31 20:34:06 -05: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
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
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
Frederic Plourde<frederic.plourde@polymtl.ca>
36bdecc47f Bug 513354 - Destroy the baseWindow on tab destruction, r=bs 2009-11-13 07:43:43 -05:00
Olli Pettay
cab5358845 Bug 523356 - Remote event listeners for Electrolysis, r=bsmedberg 2009-11-17 16:22:23 +02:00
Olli Pettay
d0250ab7c3 Backout Bug 523356 2009-11-17 13:56:49 +02:00
Olli Pettay
cc2bb5ab11 Bug 523356 - Remote event listeners for Electrolysis, r=bsmedberg 2009-11-17 10:43:39 +02: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
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
Olli Pettay
3d8a76e521 Bug 516727 - Electrolysis+Fennec: forward mouse events from the chrome tiles to the content process 2009-11-05 20:21:09 +02:00
Olli Pettay
ca88319903 Bug 522533 - Sort out focus handling in Electrolysis
--HG--
extra : rebase_source : 8b91e5c9a55bb7c2809352c5e297be77399141dd
2009-11-05 20:14:22 +02:00
Benjamin Smedberg
bbfa38694c Bug 523224 - nsFrameLoader::TryNewProcess crashes if reflow hasn't happened yet and created a view for our remote tab. Fix this by separating the process of creating the IFrameEmbedding and hooking up the view. IFrameEmbedding creation is analogous to creating a docshell, and we can hook up the view/widget hierarchy later.
* * *
imported patch fennelectrolysis-workihng
2009-10-28 16:41:46 -04:00
Joe Drew
f911423115 Bug 505847 - Implement asyncDrawXULElement in 2D canvas. r=bz,bsmedberg 2009-10-29 13:58:31 -04:00
Joe Drew
ba49904511 Back out asyncDrawXULElement, since WebGL isn't ready to be compiled with -DUNICODE. 2009-10-28 18:51:59 -04:00
Joe Drew
00437f1258 Bug 505847 - Implement asyncDrawXULElement in 2D canvas. r=bz,bsmedberg 2009-10-28 16:55:49 -04:00
Benjamin Smedberg
a54270b28d We can use <xul:browser> now. Exciting! 2009-10-19 15:17:20 -04:00
Chris Jones
5954e92c4a fix an nsresult/bool confusion resulting in an incorrect error message 2009-10-27 21:01:38 -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
Benjamin Smedberg
e5eb537d73 Bug 522351 - check for remote="true" on the element before trying to remote it, r=bz 2009-10-16 15:42:27 -04:00
Frederic Plourde
d746c06ac8 Bug 513990 - Add provisions to nsFrameLoader for reflow and resize events. r=bzbarsky 2009-10-05 07:52:19 -04: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
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
Jason Duell
7b9643e8c3 Necko init patch, with modeline fixes 2009-08-18 12:05:15 -07: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
Ben Turner
0f1d5c36a0 Force child processes to close and wait for them on shutdown 2009-09-02 17:18:27 -07:00
Ben Turner
99f1c34f15 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Ben Turner
b5348a3322 Fix build bustage 2009-08-25 16:39:30 -07:00
Ben Turner
1521c7b109 Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07:00
Benjamin Smedberg
fc13eedc7c Package test.xul so that it ends up at chrome://global/content/test-ipc.xul. This allows it to be tested with nightly builds, as well as giving it chrome permissions so that jdm can work on hooking up typeaheadfind. 2009-08-19 13:59:58 -04:00
Robin Bate Beorop
b7c4e982b3 Bug 507218 - Expose the process type (chrome/content) to client code via XRE_GetProcessType and nsIXULRuntime, r=bent 2009-08-19 13:09:51 -04:00
Chris Jones
dc16b0c031 export ContentProcess* headers 2009-08-14 18:21:21 -05:00
Benjamin Smedberg
3727beac48 Bug 510025 - make TestShell a subprotocol of ContentProcess so that it is useful for prototyping 2009-08-12 14:31:48 -04:00
Chris Jones
c22919e979 add ContentProcessChild singleton and accessor 2009-08-12 19:32:50 -05:00
Benjamin Smedberg
a12e66c042 More Returning NS_OK from non-void functions. 2009-08-12 16:20:42 -04:00
Benjamin Smedberg
6746d13000 Return NS_OK from non-void function 2009-08-12 15:12:47 -04:00
Benjamin Smedberg
0e0931b400 Bug 509798 - Create a ContentProcess protocol which manages IFrameEmbedding. ContentProcessChild is a globally-accessible singleton in the content process. For the moment, ContentProcessParent is a global singleton in the parent process, but that will change once we have process-per-domain or something similar.
--HG--
rename : dom/ipc/TabThread.cpp => dom/ipc/ContentProcessThread.cpp
rename : dom/ipc/TabThread.h => dom/ipc/ContentProcessThread.h
2009-08-12 12:18:08 -04:00
Ben Turner
d4bb2883d3 Use mozilla strings instead of std::string in IPDL 2009-07-29 14:12:15 -07:00
Chris Jones
cc9c58dbcb add SyncLaunch() method to GeckoChildProcess class. remove much newly obseleted code. 2009-07-20 13:14:41 -05:00
Chris Jones
14b0696047 fix up phase 1 browser: (i) suppress spurious RgnRectAlloc error msgs; (ii) make IFrameEmbedding protocol sync/async instead of rpc; (iii) fix bug that prevented child iframe from drawing 2009-07-14 02:33:50 -05:00
Chris Jones
d7947d5455 add IPDL test harness and the mountains of code that entails. add |bool| type to IPDL. fix bugs in nascent async/sync channels. 2009-07-14 00:12:50 -05:00
Benjamin Smedberg
28d4675b23 Build system for .ipdl files. 2009-07-13 12:14:56 -04:00
Chris Jones
c73832e4e0 remove in/out/inout syntax in favor of parent:, child:, and both: labels 2009-07-10 19:19:54 -05:00
Chris Jones
ca80c305cb generate skeleton IPDL actor impls, like the IDL compiler does for interfaces. also fix the C++ visitor. 2009-07-10 15:56:40 -05:00
Chris Jones
e6c73d1542 use a single binary, mozilla-runtime, for all child processes 2009-07-10 14:03:09 -05:00
Chris Jones
7929ffa13d add parsing and type-checking of protocol state machines in preparation for codegen of dynamic FSM checker. fix a couple of bugs here and there. 2009-07-08 18:03:56 -05:00
Benjamin Smedberg
d072272ca2 Windows build fixup. I haven't really tested whether tabs actually *work* in this scenario (widget sizing and parenting might be interesting), but it's at least enough to allow other people to start really working on code. 2009-07-07 12:26:49 -04:00
Benjamin Smedberg
6b72e92e31 Minor fixups... not sure why we needed unistd.h here, but Windows doesn't have it. 2009-07-07 12:22:21 -04:00
Benjamin Smedberg
0cf96b07ba Commit new versions of generated headers. 2009-07-07 11:20:51 -04:00
Benjamin Smedberg
2c8fc7fd77 Use PRUint32 instead of uint32_t since we don't have uint32_t on Windows (yet). 2009-07-07 11:18:48 -04:00
Chris Jones
00958eff01 port IFrame protocol to new interface. fix small IPDL bug. 2009-07-02 19:24:02 -05:00
Chris Jones
526ba058ae add initial support for protocol management in IPDL. small changes to existing protocols in preparation for merge from libchromiumipc. 2009-07-02 00:45:19 -05:00
Benjamin Smedberg
cdf4b869dc Land the remote-tab code from tmp-electrolysis. 2009-06-30 16:39:22 -04:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00