Benjamin Smedberg
fcd6683cce
Bug 770805 - Close the IPC channel safely when we discover that a Flash process has crashed; don't call Close() directly, because PluginModuleParent assumes that a normal shutdown only occurs from PluginModuleParent::NP_Shutdown. Instead, follow a similar codepath to the hang timeout which calls AsyncChannel::SynchronouslyClose and then sets a specific error code, r=cjones
2012-07-05 14:48:40 -04:00
Chris Lord
9fd49ed93f
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Ed Morley
ef4179d2d4
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
1448e862c1
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Jonathan Watt
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Kartikaya Gupta
1d7f868a88
Bug 766696 - Allow the MessagePump to process multiple pieces of idle work in a row. r=blassey
2012-06-21 10:45:00 -04:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Kartikaya Gupta
8a9a864a95
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Kartikaya Gupta
0f2c633486
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
6ab5f951cd
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Bas Schouten
166998bb51
Bug 749499: Fix CrossProcessMutex ctor counter. r=cjones
2012-05-01 23:46:53 +02:00
James Willcox
b0e2e8e19f
Bug 730890 - Install and run an Android Looper on Gecko main thread r=cjones
2012-05-03 10:53:31 -04:00
Nicholas Nethercote
08dc2dae6b
Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
...
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Chris Lord
8f9b90984f
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
68fdd39a98
Back out 4114c654f5d0 (bug 745177) because of Mac build errors
2012-04-24 20:18:50 -07:00
Chris Lord
7f2c8c3737
Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
...
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Oleg Romashin
fae4b3d391
Bug 746810 - Move mChannelState = ChannelOpening before PostTask call to fix assertion. r=cjones, a=mfinkle
2012-04-21 17:35:43 -04:00
Jeff Muizelaar
78533845be
Bug 744901 - Store the page size in FrameMetrics in CSS pixels in addition to device pixels. r=cjones
...
--HG--
extra : rebase_source : ac38e2ff9dda55bd5dc44d757b67cb1550da1eaa
2012-04-12 15:55:26 -04:00
James Willcox
3d617c8f21
backout 022be5c50732 for xul bustage
2012-04-11 12:56:00 -04:00
James Willcox
311851c7a5
Bug 730890 - Set up an Android Looper on the main Gecko thread r=cjones
2012-04-11 11:43:08 -04:00
Cameron McCormack
982211b8db
Back out bug 725475 due to breaking scrolling on some machines
2012-03-08 17:21:09 +11:00
Cameron McCormack
00db874245
Bug 725475 - Use more hidden scrollbars to tempt Synaptics drivers into giving us scrolling messages. r=jmathies
2012-03-08 13:16:47 +11:00
Bas Schouten
03ad4fdbb7
Bug 725552 - Part 2: Implement cross-process mutex class in IPC code. r=cjones
2012-02-16 04:11:43 +01:00
Sinker Li
d65d8e1017
Bug 697641, part 2: Add a hal API for sensor access. r=cjones
...
With this API, Gecko code can access sensors provied by system. This
patch include an implementation for Android.
2012-02-05 19:51:06 +00:00
Ed Morley
b99d579b4b
Backout 90f7f032757f, 6695904a4a70, 50e98f67df1b & d26e8631514c (bug 697641) for native Android failures and 20289eb83e51 (bug 712378) because it conflicted with the backout CLOSED TREE
2012-02-02 10:09:40 +00:00
Sinker Li
e2c13d2e36
Bug 697641, part 2: Add a hal API for sensor access. r=cjones
...
With this API, Gecko code can access sensors provied by system. This
patch include an implementation for Android.
2012-02-01 22:47:53 -08:00
Daniel Holbert
e070b4dd0d
Bug 722424: Reorder SyncChannel init list to fix build warning. r=jmathies
2012-01-30 13:06:33 -08:00
Jeff Muizelaar
3638f8e3e4
Bug 721069. Remove default case from filter switch statement. r=cjones
...
This fixes a clang warning and allows us to get warnings when a new enumeration is added to the enum.
2012-01-25 22:15:22 -05:00
Makoto Kato
ab87bd22db
Bug 718382 - IPCMessageUtils.h(70) : warning C4099: 'base::FileDescriptor' : type name first seen using 'struct' now seen using 'class'. r=cjones
2012-01-18 11:01:51 +09:00
Marco Bonardo
bc3801a4cd
Backout 789f244f34f8, 1bea53f2d067, 577cba6021d2, 4191fe602648 (bug 697641) for win build bustage
2012-01-16 15:43:46 +01:00
Sinker Li
690a89b92d
Bug 697641, part 2: Add a hal API for sensor access. r=cjones
...
With this API, Gecko code can access sensors provied by system. This
patch include an implementation for Android.
2012-01-16 14:37:44 +01:00
Jacek Caban
58488e3ef5
Bug 717220 - Tons of 'comma at end of enumerator list' warnings r=jones.chris.g
2012-01-12 12:07:50 +01:00
Jim Mathies
4d05b21d4f
Bug 679240 - Split total channel timeout into two discrete wait periods. Avoids aborting children after system sleep. r=bsmedberg
2012-01-06 12:17:03 -06:00
Mike Hommey
b7210dd88e
Bug 711144 - Prepend LD_LIBRARY_PATH instead of appending to it when starting plugin-container. r=bsmedberg
2011-12-28 08:23:42 +01:00
Niko Matsakis
bb9a3e6e5b
Bug 699319 - Part 2: Create threaded version of the Link class. r=cjones
2011-11-30 08:26:16 -08:00
Niko Matsakis
a45cfeda15
Bug 699319 - Part 1: Abstract out the mTransport and I/O thread into the Link abstraction. r=cjones
2011-11-30 08:24:46 -08:00
Makoto Kato
6f82f76952
Bug 696049 - Battery API: Windows backend. r=mounir,jimm
2011-12-05 19:34:27 +09:00
Niko Matsakis
8706855bfb
Bug 698075 - Use nsAutoptr<> to guarantee msg is freed; r=cjones
2011-11-30 13:19:49 +00:00
Mounir Lamouri
cdeea80ab9
Bug 674725 - Part N - Receiving SMS: IPC handling. r=cjones
2011-11-24 12:45:55 +01:00
Jeff Walden
19f38bafe5
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Michael Wu
3e0835d415
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeremy Huddleston
b8d021930a
Bug 691138 - ipc: fails to build darwin/x11. r=smichaud
2011-10-14 16:54:46 +09:00
Jim Mathies
ea8073a977
Bug 693890 - Build fix for disable-accessibility link errors post the landing of bug 677883. r=davidb
2011-10-12 11:50:31 -05:00
Jim Mathies
fce2e8b202
Bug 677883 - Bypass deferred message processing for accessible tab windows. Fixes occasional wm_getobject query failures, which must be responded to. r=davidb
2011-10-11 11:11:35 -05:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Josh Aas
a5520ad4df
Bug 669036: Fix bad path to child process binary that caused assertions. r=bsmedberg
2011-09-07 00:51:38 -04:00
Makoto Kato
fc11948d1b
Bug 657129 - Flash x64 Crash on GMail. r=cjones
2011-08-26 09:59:57 +09:00
Chris Jones
a3317162ef
Bug 648484, parts 3, 3.1, and 3.2: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc
2011-08-09 12:38:26 -07:00
Chris Jones
8786c55e3f
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-08-09 12:38:26 -07:00
Jim Mathies
93af60090c
Bug 626975 - Trap Google Earth out-of-process messages destined for plugin instances. Prevents spurious incalls on the browser which violate our rpc rules. r=bent
2011-07-27 17:15:25 -05:00
Alexander Surkov
2000f5c701
Bug 671550 - provide correct parent HWND for content process window, r=jones.chris.g, davidb
2011-07-22 09:49:35 +09:00
Mike Hommey
e93ad364ef
Bug 573958 - Extend LD_LIBRARY_PATH instead of replacing it during plugin-container initialization. r=bsmedberg
2011-07-21 09:53:29 +02:00
Chris Jones
24f027292c
Back out bug 648484
2011-07-15 11:35:55 -07:00
Chris Jones
289ccdf1c6
Bug 648484, part 3 and part 3.1: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc
2011-07-13 22:43:43 -07:00
Chris Jones
7e90855ae8
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-07-13 22:43:43 -07:00
Chris Jones
dc9d5133ae
Bug 671189: Unblock for error replies to sync messages. r=bent
2011-07-13 22:43:43 -07:00
Nicholas Nethercote
7b61ea2b0e
Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz.
2011-07-08 12:45:16 +10:00
Justin Lebar
169b00ccad
Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
...
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Kyle Huey
ecb9c8319d
Merge b-s to m-c
2011-06-25 10:13:14 -07:00
Kyle Huey
58bc8f2d91
Bug 543061: Serialize nsID. r=cjones,bent
2011-06-24 07:19:56 -07:00
Neil Rashbrook
9294538f56
Bug 660535 Remove useless use of PromiseFlatCString r=cjones
2011-06-09 21:15:10 +01:00
Chris Jones
109cb23caa
Bug 613442, part 4: Library support of |opens| API. r=bent
2011-06-03 13:33:56 -05:00
Chris Jones
cc130518ca
Bug 613442, part 3: Add AsyncChannel::Echo() to allow sending a message back to the originating endpoint. r=bent
2011-06-03 13:33:56 -05:00
Chris Jones
434a98eabd
Bug 564086, part p: Library support of |bridge| API. r=bent
2011-06-03 13:33:56 -05:00
Chris Jones
40ec0f0dea
Bug 564086, part o: Use the existing IPC::Channel typedef in AsyncChannel. r=bent
2011-06-03 13:33:56 -05:00
Chris Jones
156904718c
Bug 564086, part n: Build new Transport code. r=bsmedberg
2011-06-03 13:33:56 -05:00
Chris Jones
a1e3f93459
Bug 564086, part m: Windows impl of Transport API. r=bent
2011-06-03 13:33:56 -05:00
Chris Jones
a37643c229
Bug 564086, part l: POSIX impl of Transport API. r=bsmedberg
2011-06-03 13:33:56 -05:00
Chris Jones
cf60a3e23c
Bug 564086, part k: API for creating new IPC "Transport" not tied to a ProcessHost. sr=bsmedberg
2011-06-03 13:33:56 -05:00
Chris Jones
aa5d46178b
Bug 564086, part i: Add an (IPDL-private) interface for getting the underlying AsyncChannel from a top-level actor. r=bsmedberg
2011-06-03 13:33:55 -05:00
Chris Jones
a5ef6c6d6a
Bug 564086, part g: Allow opening an AsyncChannel with an explicit parent/child "side" so that Transport::Connect can be called for parent-side channels that need it. r=bent
2011-06-03 13:33:55 -05:00
Chris Jones
2bfe0087e1
Bug 564086, part c.1: Allow non-XPCOM processes (which don't use omnijar) to spawn other non-XPCOM subprocesses. r=glandium
2011-06-03 13:33:55 -05:00
Chris Jones
84d0bc8ee0
Bug 564086, part c: Remove dependency on XPCOM in subprocesses-spawning code. r=bsmedberg
2011-06-03 13:33:55 -05: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
Nicholas Nethercote
30e92c3349
Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc.
2011-05-22 19:49:56 -07:00
Jim Mathies
3cd1f9198a
Bug 648935 - Process native events during calls to WaitForNotify in the child process when nested native event loops are detected in the parent. r=bsmedberg.
2011-05-18 06:57:08 -05:00
Jim Mathies
96b782ecd9
Bug 648935 - When paint events are deferred in WindowsMessageLoop, temporarily validate the plugin until painting can occur. r=bent.
2011-05-18 06:57:08 -05:00
Mike Hommey
e56745d75b
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
...
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-02-25 12:53:36 +01:00
Mike Hommey
0268686b84
Bug 620931 part 2.5 - Properly quote arguments on Windows when starting child processes. r=rstrong
2011-05-12 15:44:35 +02:00
Chris Jones
486d30794e
Bug 648935: Need to use the "remote stack depth view" when deciding whether to undefer, too. r=bsmedberg
2011-05-04 15:55:54 -05:00
Nicholas Nethercote
6ef173ddbb
Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin.
2011-05-03 17:12:58 -07:00
Chris Jones
ea36cc9d82
Bug 556214, part 3: IPC code wants to be using non-reentrant Monitor. r=bent
2011-04-29 14:21:57 -05:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Chris Jones
a886978274
Bug 651059: Fix (benign) read/write race on AsyncChannel.mChannelState. r=bent
2011-04-28 19:15:03 -05:00
Jacek Caban
7a79d4a6ce
Bug 643778 - WindowsMessageLoop.h fails to compile on case-sensitive
...
OSes r=benjamin
--HG--
extra : rebase_source : 03aa080043dd86c5b95c8f75bf49f7f538bfb30d
2011-04-26 11:45:08 +00:00
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
Chris Jones
4665be334c
Bug 545733: |const|-ify some *Channel methods. r=bent
2010-04-27 00:42:59 -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
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
Chris Jones
09869cfb77
Merge mozilla-central
2010-04-16 01:34:35 -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
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
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
Chris Jones
1adcc7f5e1
Bug 557011: Ensure OOP crashreporter has been initialized on mac. r=bsmedberg
2010-04-12 15:47:47 -05:00
Gavin Sharp
508e0b8635
Bug 552889: avoid spamming stderr in release builds, r=cjones
2010-05-06 15:17:08 -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
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
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
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
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
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
Chris Jones
884cdb0da5
Bug 544623 - IPDL: Shmem buffers should be shared across actor tree. r=bent
2010-03-22 22:02:16 -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
Joe Drew
dd4d1abe9c
Bug 547881 - need to serialize/deserialize gfxMatrix. r=cjones
2010-03-22 13:04:37 -07: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
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
cfe012af2f
Bug 552294: *Channel::OnError must run atomically. r=bent
2010-03-18 17:52:28 -05: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
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
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
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
Josh Matthews
73c4737e85
Bug 545342: Cancel dequeue task on channel error. r=cjones
2010-02-15 20:47:00 +13: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
49b89002de
Stub out OOP crashreporter on OS X. b=555714 r=josh
2010-03-30 13:32:53 -04: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
9f23c33db6
Bug 548214: Seqno's go up in the parent, down in the child. r=bsmedberg
2010-02-24 15:59:23 -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
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
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
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
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
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
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
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
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
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
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
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
b15d1dec18
Bug 538239: Guard against async messages unblocking sync message waits. r=bent
...
--HG--
extra : transplant_source : .%3E%14%26%12%B1%80%BC%60%5D%E5%27%DE%11%C6uRY%F36
2010-01-20 21:50:36 -06:00
Ben Turner
06e68d5929
Bug 539061 - 'OOPP: ASSERTION: Received "nonqueued" message 31, 10'. r=jimm.
2010-01-15 12:35:53 -08:00
Chris Jones
b121097b42
Bug 539295: Use lenient child reaping in NS_BUILD_REFCNT_LOGGING builds. r=bsmedberg
...
--HG--
extra : transplant_source : %FE%1B%07%A0%E4G%A2%F9%90%1Dc8J%3FP%E7%0A%DDL%05
2010-01-13 14:57:52 -06:00
Benjamin Smedberg
0807858aa2
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.)
...
--HG--
extra : rebase_source : e143e12ea5babc78fd95bf799aff2920e1915481
2010-01-13 10:44:10 -05:00
Chris Jones
e8012b2b92
Bug 516759: Use OOP crash reporting in Gecko. r=luser
...
--HG--
extra : rebase_source : 1949d23a5ce0c15c266d9e67e6a6be7d650a51df
2010-01-12 15:14:38 -06:00
Chris Jones
cb033bc042
Small edit to comment. No r=, just want another set of talos runs.
...
--HG--
extra : rebase_source : 1316e80d35d9640b249be2f0d393c5a76dd7bd87
2010-01-12 02:25:18 -06:00
Chris Jones
e987efa9d9
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
...
--HG--
extra : rebase_source : b363f3ab257e3aac3801c09e26ca2d9bf6cc3353
2010-01-12 00:14:32 -06:00
Chris Jones
8ff8aeed5a
bug 535867: fix threadsafety problem causing windows tinderbox error. r=trivial
2009-12-18 18:09:56 -06:00
Benjamin Smedberg
01268329e1
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
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
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
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
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
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
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