Robert O'Callahan
17b91a87af
Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
Justin Lebar
7e2c5ae50d
Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
...
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Ehsan Akhgari
a2f674fb10
Merge cedar into mozilla-central
2011-03-25 23:55:33 -04:00
Jason Duell
6651a096c6
Bug 534764. Allow separate NSPR logs if requested, in case of interleaving issues; r=mayhemer,wtc
2011-03-25 19:40:50 -04:00
Jim Mathies
0dbb327e40
Bug 641705 - Don't drop win app shell gecko processing events in ipc's windows message loop processing. r=bsmedberg
2011-03-25 18:17:35 -05:00
Ben Turner
3e1c82c126
Bug 640901: Clean up managees when manager ctor fails. r=cjones
2011-03-21 11:00:00 -05:00
L. David Baron
506701bba2
Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790.
2011-03-24 21:07:05 -07:00
Mike Hommey
2cfeef8160
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
...
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.
We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.
We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).
The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.
Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
Chris Jones
68448b7880
Bug 633462: Nuke this printf in release builds. r=bent a=a
2011-02-23 11:45:09 -06:00
Chris Jones
854eb4805d
Bug 625060: Only plugin-container needs to walk out of plugin-container.app/Content/MacOS to find the real GRE dir. r=bent
...
--HG--
extra : rebase_source : a679b5caf11b507f15d952cb1979e73b125a5b0a
2011-02-01 13:53:53 -06:00
Brian Crowder
b1625ad538
Bug 606074: removing bogus include, r=me, a=cleanup, DONTBUILD
2011-01-20 09:17:42 -08:00
Brian Crowder
9dd1b4486c
Bug 606074: ensure that we share the Android system properties memory-map with the child process, r=cjones, a=blocking-fennec:2.0:mfinkle
2011-01-20 09:01:31 -08:00
Chris Jones
a7c8bdb47f
Bug 572134: "Undefer" the in-call that lost a race at stack-depth 1, if there is one, when RPCChannel code leaves the C++ stack, so that the in-call can be processed if there is an immediately following out-call. r=bsmedberg
2011-01-12 01:07:17 -06:00
Oleg Romashin
5e4a6a5c25
Bug 619488 - Inform child processes of the compositor's layer-manager type. r=jones.chris.g a=b-f
2010-12-31 09:40:19 +02:00
Benedict Hsieh
fba1d721da
Bug 592768 - When using async launch, the toplevel actor doesn't have a process handle. Set the process ID with a callback function (OnChannelConnected). r=cjones
...
--HG--
extra : rebase_source : aa7743035e9a21759d99b9b9fbaf6371b8c82395
2010-10-08 16:24:36 -07:00
Ryan VanderMeulen
b3c91154cb
Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin
2010-11-16 10:21:53 +01:00
Chris Jones
703c658a1c
Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking
2010-11-08 20:49:00 -06:00
Chris Jones
70626ca310
Bug 598862, part 2: Add a dummy base::FileDescriptor. r=bsmedberg
2010-11-08 20:48:59 -06:00
Mike Hommey
573e82c45b
Bug 605146 part 1 - Don't implement in StringUtil.cpp functions implemented in sys_string_conversion_win.cpp. r=ted,a=bsmedberg
2010-11-07 09:20:50 +01:00
Jim Mathies
ada067c895
Bug 607326 - Fix for ASSERTION: Received 'nonqueued' message 126. r=bent, a=final.
2010-11-05 10:19:05 -05:00
Chris Jones
6142433bc6
Change a comment in a patch for bug 605362, so I can add a=blocking-fennec
2010-11-05 02:21:30 -05:00
Chris Jones
3a6c74c8d5
Bug 605362, part 5: Centralize more of the accounting. r=joe
2010-11-05 02:17:07 -05:00
Chris Jones
9119868099
Bug 605362, part 4: Notify shmem MemoryReporters from all shmem backends. r=joe
2010-11-05 02:17:07 -05:00
Chris Jones
0dd1deba83
Bug 605362, part 3: Add MemoryReporters for shmem. r=vlad
2010-11-05 02:17:07 -05:00
Chris Jones
f8648de60a
Bug 605362, part 2: Track allocated sizes (in the allocating process) in all shmem backends. r=joe
2010-11-05 02:17:07 -05:00
Chris Jones
5ca29d9212
Bug 605362, part 1: Allocate page-aligned shmem segments in ShmImage, to match other allocators which more honestly report address space and system mem taken by alloc. r=joe
2010-11-05 02:17:07 -05:00
Chris Jones
ed08fa2c82
Bug 598866, part 2: Generate an AllocUnsafeShmem() method for shmem-using protocols. r=bent
2010-11-05 02:17:07 -05:00
Chris Jones
890cc387f6
Bug 598866, part 1: Add library support for an "unsafe" Shmem variant. r=joe
2010-11-05 02:17:07 -05:00
Michael Wu
402efe298f
Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec
2010-10-29 12:22:28 -07:00
Mark Finkle
c13d5f5238
Bug 608239: Backout changeset 99233ad2ff70 a=fennec-should-load-pages
2010-10-29 10:07:54 -04:00
Michael Wu
bb0cf0f8a4
Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec
2010-10-28 23:45:46 -07:00
Jim Mathies
d5795f9acb
Bug 545892 - Always pass WM_NCPAINT events to the default event procedure. r=bent, a=beta7
2010-10-27 08:48:09 -05:00
Chris Jones
d12924f284
Bug 606279, part 2: Use more concise types in PDocumentRenderer. r=joe
2010-10-26 17:20:53 -05:00
Chris Jones
e0830d554e
Bug 606538: Make msgids be 32 bits to stop the insanity. r=bent a=blocking-fennec
2010-10-22 17:28:40 -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
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
Josh Matthews
f1ce04b682
Bug 599198 - Content process throws several catastrophic assertions while initializing XPCOM (bandaide) r=bsmedberg a=blocking-fennec
2010-09-23 19:28:48 -04:00
Josh Aas
c647e8f417
Bug 599059: Always store length at the end of shared memory segments as a 32-bit value. Don't use "sizeof(size_t)" because that differs between i386 and x86_64 and causes crashes when running i386 plugins from a x86_64 host. r=cjones a=blocking-b7
2010-09-24 02:31:47 -04:00
Chris Jones
8d0a412baf
Bug 597336, part 4: If UseClientSideRendering(), render to a gfxImageSurface backed by memory shared with X and then XShmPutImage to copy it to our window's drawable. r=karl a=blocking-fennec
2010-09-23 20:00:06 -05:00
Josh Aas
526f55239a
Bug 590057: Add support for loading plugins of a different architecture than the host browser on Mac OS X. r=cjones a=blocking-b7
2010-09-15 23:09:19 -07:00
Chris Jones
2bb3bb3e9c
Merge m-c --> cedar
2010-09-15 16:44:30 -05:00
Chris Jones
00f365ac1f
Bug 570625, part 2: Add a SurfaceDescriptorX11 datatype that abstracts what's needed to share an Xlib surface to another process. r=karl sr=shaver
2010-09-14 00:23:08 -05:00
Oleg Romashin
497f2db326
Merge with mozilla central 2779c55431a4, no conflicts
2010-09-10 22:32:25 -07:00
Chris Jones
4539dc37ca
Bug 594878, part 2: Add a SharedMemoryBasic impl that uses /dev/ashmem on android. r=mwu
2010-09-10 16:45:59 -05:00
Chris Jones
d6d1dae10b
Bug 594878, part 1: Factor out chromium-implemented SharedMemoryBasic in preparation for an android-specific impl. r=joe
...
--HG--
rename : ipc/glue/SharedMemoryBasic.h => ipc/glue/SharedMemoryBasic_chromium.h
2010-09-10 16:45:59 -05:00
Chris Jones
4820da2166
Merge m-c --> cedar
2010-09-08 17:25:30 -05:00
Chris Jones
9454ae60b8
Bug 592866: Allow Shmem to be used in IPDL unions. r=bent a=blocking-2.0
2010-09-08 13:27:52 -05:00
Josh Aas
ccef2eb783
Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+
2010-09-10 13:09:30 -04:00
Oleg Romashin
7ff38c48b1
Merge m-c: 09872e2e2130 -> cedar, (qt build bustage fix)
2010-09-01 12:07:19 -07:00
Chris Jones
9f41678a5d
Bug 592002: Out-of-turn RPC replies should be taken into consideration when checking for races, or else we can defer in-calls when we shouldn't. r=bsmedberg a=blocking-beta6
2010-09-01 13:01:50 -05:00
Oleg Romashin
bd3aa71c63
Merged m-c: 51d17027ff45 -> cedar
2010-09-01 09:36:29 -07:00
Oleg Romashin
d6e7e30d34
Bug 556487 - Plugin Child/Parent async API. r=roc,jones.chris.g a=blocking2.0
2010-09-15 09:02:44 -07:00
Chris Jones
49048c0d61
Merge m-c --> cedar
...
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-31 00:35:03 -05:00
Chris Jones
ac0063f9b0
Bug 540097: Add a ProcessingError(what) notification interface for top-level actors. r=bent
2010-08-20 18:24:40 -05:00
Ted Mielczarek
c169279a76
bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking
...
--HG--
extra : rebase_source : fef081b5b0fae828ecc0c2678d83787778dfc70d
2010-08-27 09:32:45 -04:00
Josh Aas
5676c8d8f2
Bug 590857: Fix problematic usage of 'size_t' in IPC code, 'size_t' size depends on architecture and sending it via IPC directly can break cross-architecture IPC. Part of this patch was written by Ben Turner. r=cjones a=blocking-b6
2010-08-31 13:51:51 -04:00
Josh Aas
85e2b9463a
Backed out changeset 52388a9a6337, bug 592951. a=me
2010-09-08 18:19:51 -04:00
Josh Aas
2993a12ec8
Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+
2010-09-08 16:24:30 -04:00
Chris Jones
ebdb41468e
Comment fix so I add a=backout
2010-08-19 19:05:51 -05:00
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
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
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
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
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
Benoit Girard
d5759eca95
Bug 557225 - Load the plugin-container from the App Bundle. r=cjones
2010-07-19 18:35:45 -04:00
Chris Jones
dce4511b26
Bug 525181, part 2: Implement protocol state machines in C++. r=bent
2010-07-15 14:27:43 -05: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
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
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
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
4495dfe6ee
Backout of bug 569500 due to opt build bustage and possible debug xpshell test timeouts.
2010-06-30 21:09:38 -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
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
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
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
9327ed8dcc
Merged m-c
2010-05-13 18:04:53 -05: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
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
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
Doug Turner
8f97a20153
Merge with m-c. no hand edits
2010-04-29 21:04:50 -07: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
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
d53b8a18d0
Merged m-c
2010-04-27 01:53:06 -05:00