David Zbarsky
2f6d14bd46
Bug 885804: Renaming in js/layout/ipc r=roc
2013-07-08 11:48:39 -04:00
David Zbarsky
781af3f62f
Bug 885804: Change IPDL codegen to rename (De)allocPFoo functions to (De)allocPFoo(Parent|Child) r=jlebar
2013-07-08 11:48:39 -04:00
Mike Shal
2f5d43999f
Bug 868536 - Move ipdl.mk files to moz.build; r=gps
...
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Ms2ger
7e40d44c1b
Bug 888573 - Remove bit_cast; r=Waldo
2013-07-10 11:54:35 +02:00
Nicolas Silva
71afc33248
Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow
2013-07-08 23:30:44 +02:00
David Anderson
a52a14df6e
Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug).
2013-07-03 00:24:32 -07:00
David Anderson
611f3250de
Add urgent message semantics to IPC and IPDL (bug 867013, r=cjones).
2013-07-02 20:37:33 -07:00
Trevor Saunders
ea8461a6ca
bug 887854 - remove most useage of pratom.h r=mounir, mcmanus, jrmuizel
2013-06-16 03:09:07 -04:00
Joey Armstrong
b7ee853939
bug 870407: move CMMSRCS to mozbuild (file batch #3 ). r=mshal
2013-07-02 17:09:08 -04:00
David Anderson
0100dc0e39
Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones).
2013-07-02 11:22:18 -07:00
Bobby Holley
d74725cf62
Bug 880917 - Add an API to mutate the version on the compartment and use it from the shells. r=luke
2013-06-29 09:11:19 -06:00
Bobby Holley
c5c7c812ca
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-29 09:11:18 -06:00
Bobby Holley
49f8ff5f9d
Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
...
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Justin Lebar
09d2312322
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Catalin Iacob
67956116e0
Bug 798914 (part 2) - Use newly introduced mozilla::MallocSizeOf in chromium. r=njn.
...
--HG--
extra : rebase_source : 3488c0e9140919a78b9a8658f54a6dc162935653
2013-06-16 14:12:19 +02:00
Ms2ger
deda04d37b
Bug 883537 - Remove dead testing code from chromium; r=bsmedberg
2013-06-23 09:14:36 +02:00
Ms2ger
e7a4fa6b68
Bug 883504 - Remove references to EXCLUDE_SKIA_DEPENDENCIES; r=bsmedberg
2013-06-23 09:14:26 +02:00
Justin Lebar
27b6f81735
Bug 885158 - If a message is sent on a closed IPC channel, delete it immediately. r=bent
...
Our old behavior was to enqueue it until the channel gets destructed.
--HG--
extra : rebase_source : 9766774838257d9e1a6adc15d3b4cf9e38fefcbe
2013-06-21 13:58:47 -07:00
Kartikaya Gupta
dcd5272bcc
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Ryan VanderMeulen
5ee79e7c80
Backed out 7 changesets (bug 883646) for reftest-ipc failures.
...
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
David Anderson
b850fce1a2
Bug 868919 - Confirm that the child process has received fd handles on OSX before releasing them. r=bent
2013-06-21 09:32:02 +12:00
Kartikaya Gupta
f4bbce6956
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Sotaro Ikeda
be709a28b0
Bug 882552 - Change Binder Thread's default priority to 0. r=mwu, r=jlebar
2013-06-20 12:51:19 -04:00
Alex Xu
00a9e592e5
Bug 853208 - Fix build break on Gentoo
2013-06-15 20:44:37 -04:00
Nathan Froyd
d71f013917
Bug 871596 - part 3 - replace memcpys of POD datatypes in Pickle with something smarter; r=bent
2013-06-05 13:01:05 -04:00
Nathan Froyd
c2b79add9d
Bug 871596 - part 2 - add a new memberAlignmentType to replace the scattered uint32_t alignments; r=bent
2013-05-30 11:31:35 -04:00
Nathan Froyd
a0c4494449
Bug 871596 - part 1 - rewrite Pickle's alignment mechanism to be more obviously optimizable; r=bent
2013-05-30 11:29:45 -04:00
Kan-Ru Chen (陳侃如)
8d7cc83640
Bug 783451 - Add ipdl testcases. r=bent DONTBUILD
...
--HG--
extra : rebase_source : 7943a9f7d594a5790782c3f37b5bda46ae1a30cc
2013-06-13 13:53:38 +08:00
David Zbarsky
2ac37e2b29
Fix error message in ipdl compiler, no bug, r=jlebar over irc
2013-06-18 17:39:04 -07:00
Siddartha P
4d377a1072
Bug 879821 - NFC B2G IPC Implementation Using UnixSockets; r=qdot
2013-06-17 15:33:48 -07:00
Ehsan Akhgari
d6628d6d1a
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Martin Stransky
3399b67572
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
Kartikaya Gupta
c78c6af9f4
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Kartikaya Gupta
3add0c36b5
Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Matt Woodrow
b49181dcc0
Bug 877036 - Make SharedMemory's memory reporter threadsafe. r=jlebar
2013-06-07 17:10:31 +12:00
Bobby Holley
213d43e430
Bug 877478 - Remove FullTrustSecMan junk. r=mrbkap
...
This stuff shouldn't be necessary anymore. The default security manager should
do the right thing given for script running in the scope of a BackstagePass.
2013-06-04 19:56:42 -07:00
Ryan VanderMeulen
eed17358d0
Merge m-c to inbound.
2013-06-03 11:58:20 -04:00
Kartikaya Gupta
83f51d55ac
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
Ryan VanderMeulen
3e4730727d
Merge m-c to birch.
2013-06-03 07:44:41 -04:00
Mark Hammond
e0f274e62b
Bug 875210 - child processes on Windows inherit (only) stdout and stderr. r=aklotz
2013-05-30 23:21:36 +10:00
Thomas Zimmermann
bc89c94747
Bug 830290: Don't block DBus while waiting for replies r=bent,qdot
2013-03-11 15:22:56 +01:00
Thomas Zimmermann
a9f9586dbc
Bug 830290: Send blocking DBus messages from within DBus thread r=bent,qdot
...
The this commit moves the sending of blocking DBus messages to the
DBus thread. This allows us to avoid concurrency problems within the
DBus library, which is not explicitly thread-safe.
As a side note, I'd like to mention that blocking in distributed
systems simply doesn't work. The dbus library is especially broken
in this regard as it delays all unrelated messages until the reply
for the blocking request has been received. A future commit should
implement this functionality with an asyncronous call and make the
related thread wait for the reply.
2013-03-01 15:05:50 +01:00
Thomas Zimmermann
f47f37fc91
Bug 830290: Execute DBus send operation in DBus thread r=bent,qdot
...
The DBus send operation simply sends a DBus message without further
processing of replies. If the sender is interested in a reply, the
respective serial number can be returned. In this case, the sending
operation (and only the sending) is serialized with the calling
thread.
2013-03-01 13:43:45 +01:00
Thomas Zimmermann
adfa4a29d0
Bug 830290: Cleanup DBusConnectionSendWithReplyTask r=bent,qdot
...
The class DBusConnectionSendWithReplyTask has been renamed to
DBusConnectionSendWithReplyRunnable, which better fits its purpose. The
internal callback function and data has been move into the implementation
of DBusConnectionSendWithReplyRunnable. Additionally, there is now an
abstract base class for DBus send runnables. This class will become useful
for implementing send classes with different policies.
2013-03-01 12:49:57 +01:00
Thomas Zimmermann
1853aa5f3f
Bug 830290: Setup asyncronous DBus messages in DBus thread r=bent,qdot
...
This patch finally fixes bug 827888 were a message's reply was
received before the respective handler function could be installed.
The patch adds the class DBusConnectionSendWithReplyTask, which
asyncronously sends a DBus message and installs the reply's handler
function. The DBus utility functions for asyncronous messages create
an instance of this class and dispatch it to the DBus thread. This
intercepts the DBusPollTask, so no DBus replies can be received until
the dispatched DBusConnectionSendWithReplyTask has finished.
2013-01-28 10:15:31 +01:00
Thomas Zimmermann
c3746ccd8e
Bug 830290: Added dispatch function for DBus thread r=bent,qdot
...
The new function allows to schedule nsRunnables to an existing DBus
thread. This intercepts the running instance of DBusPollTask and
makes the DBus thread process the dispatched runnable. The intercepted
poll task automatically continues polling once all pending runnables
have been processed.
2013-01-14 11:50:27 +01:00
Thomas Zimmermann
3a688cbcb3
Bug 830290: Use DBusPollTask r=bent,qdot
...
This patch replaces the DBus EventLoop function by an instance
of DBusPollTask. It also cleans up the initialization and shutdown
code of the DBusThread.
2013-01-14 11:50:25 +01:00
Thomas Zimmermann
bff7e9cbcf
Bug 830290: Added DBusPollTask r=bent,qdot
...
This patch adds class DBusPollTask. The DBusPollTask class is an
nsRunnable for receiving DBus messages. It is intended to run in
a separate thread that is dedicated to DBus only.
The Run function of the poll task resembles the DBus EventLoop
function, but allows to intercept execution in favor of other
nsRunnables. Afterwards the DBusPollTask continues.
2013-01-14 11:50:21 +01:00
Thomas Zimmermann
2a57c5d12a
Bug 830290: Cleanup DBus EventLoop function r=bent,qdot
...
We intent to run the DBus thread's EventLoop function as separate
nsRunnable, but the function also contains code for initializing
sockets that are used for internal communication.
With this patch the socket initialization has been moved to the
setup function. This reduces the EventLoop function to plain event
handling.
2013-01-14 11:50:18 +01:00
Kartikaya Gupta
09a6269c24
Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe
2013-05-30 21:30:13 -04:00
Boris Zbarsky
897328ff5b
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Kyle Huey
fb465d209c
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Jan Beich
a6c49e2595
Bug 877139 - Fix a few freebsd typos in bug 864774. r=glandium
2013-05-29 20:56:09 -04:00
Julian Seward
38e97ed8fa
Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard.
2013-05-28 14:03:38 +02:00
Mike Shal
6f32ddf61c
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Anthony Jones
f4328c5b39
Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa
2013-05-24 09:43:36 +08:00
Bobby Holley
d3fb3b4dde
Bug 868110 - Remove JS_GetGlobalObject from the IPC test-shell. r=luke
...
This one is easy to infer, because we subsequently call JS_CallFunctionValue,
which asserts that cx, obj, and fval are all same-compartment. So assuming
this code doesn't compartment mismatch right now, this should be equivalent.
2013-05-22 15:42:44 -06:00
Bobby Holley
ba05c93769
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Boris Zbarsky
810766595d
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Ehsan Akhgari
2f3ac0380a
Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium
2013-05-16 11:16:30 -04:00
Matt Woodrow
61ebe2bb02
Bug 870211 - Expose details about possible texture upload limitations in TextureFactoryIdentifier. r=nical
2013-05-16 15:45:43 +12:00
Ryan VanderMeulen
88ac4b7137
Merge m-c to inbound.
2013-05-15 08:36:44 -04:00
Bobby Holley
a747313c85
Bug 871299 - Remove JS_GetGlobalObject from SystemWorkerManager and RIL. r=mrbkap
2013-05-14 10:16:51 -07:00
Ryan VanderMeulen
5d06283e78
Merge m-c to birch.
2013-05-14 08:38:59 -04:00
Kyle Machulis
ac7b024f17
Bug 854846: Make UnixSocket's connect function non-block; r=tzimmermann
2013-05-13 20:51:21 -07:00
Joey Armstrong
0d49db0381
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Albert Crespell
15f0bb9c3d
Bug 783966 - Process netd's InterfaceChange(600) and BandwidthControl(601) message. r=vchang
2013-04-23 09:27:05 +02:00
Matt Woodrow
bdbd53065b
Bug 870176 - Import chromium bug 20249. r=dvander
2013-05-10 09:02:50 +12:00
Matt Woodrow
b5f9287e07
Bug 756601 - Send the values of mScaleToSize/mScaleMode across IPC. r=roc
2013-05-10 09:02:50 +12:00
Brian O'Keefe
3f66654fdb
Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-05-01 14:05:40 -04:00
Brian O'Keefe
9e463eb7f7
Bug 862986 - Part 1a: Move MOZ_CHILD_PROCESS_NAME and MOZ_CHILD_PROCESS_BUNDLE to configure.in, remove ipc/app/def.mk. r=glandium
2013-05-09 15:55:28 -04:00
Jonathan Kew
e7d3bbfbdf
bug 866365 - declare both firefox.exe and plugin-container.exe as dpi-aware via their manifests. r=jimm,gps
2013-05-07 09:16:43 +01:00
David Zbarsky
d48e979f76
Bug 867459: Rooting fixes for ipc r=terrence
2013-05-03 17:49:47 -04:00
Ryan VanderMeulen
a940e46079
Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
...
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
9305158b76
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-04-30 20:46:10 -04:00
Brian O'Keefe
7561bb1573
Bug 862986 - Part 1a: Move MOZ_CHILD_PROCESS_NAME and MOZ_CHILD_PROCESS_BUNDLE to configure.in, remove ipc/app/def.mk. r=glandium
2013-04-30 20:45:39 -04:00
Ryan VanderMeulen
4f020afd30
Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures.
2013-04-30 10:08:38 -04:00
Brian O'Keefe
fd2b88f265
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-04-30 09:08:31 -04:00
Brian O'Keefe
da64a005e6
Bug 862986 - Part 1a: Move MOZ_CHILD_PROCESS_NAME and MOZ_CHILD_PROCESS_BUNDLE to configure.in, remove ipc/app/def.mk. r=glandium
2013-04-30 09:05:17 -04:00
Joey Armstrong
12356a4c50
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00
Bobby Holley
1ebbd86c0f
Bug 865729 - Remove nsIJSContextStack from other miscellaneous parts of gecko. r=gabor
2013-04-29 11:16:19 -07:00
Daniel Holbert
73c22ad7f0
Bug 865766 - Reorder MessageLoop init list to fix build warning. r=jlebar
2013-04-26 10:11:00 -04:00
Bill McCloskey
75a7f384d9
Bug 860885 - Turn off Chromium IPC [debug] spew (r=glandium)
2013-04-23 12:14:47 -07:00
Jan Beich
0a63e878f4
Bug 864013 - Add libevent config for BSDs. r=landry
2013-04-23 10:58:11 +02:00
Georg Fritzsche
f29dc288d8
Bug 848237 - Let IPDL generate runtime aborts for constructor failures in child processes. r=bsmedberg
2013-04-15 15:57:14 +02:00
Xin Zhang
5e389b35b8
Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
...
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -07:00
Ehsan Akhgari
5ed27bd7f5
Bug 863559 - Do not leak the mach port in PlatformThread::CurrentId; r=jlebar
2013-04-19 14:37:41 -04:00
Ryan VanderMeulen
68f8a6547f
Merge m-c to inbound.
2013-04-18 14:01:31 -04:00
Justin Lebar
5cf8518c6b
Bug 857152 - Make IPC channels more robust against use after being closed. r=bent
2013-04-03 15:54:00 +02:00
James Willcox
68e1f2184d
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : 04021da9d3d871f51f931b6e6f57a0bbbbaa6393
2013-03-29 15:34:49 -04:00
Bobby Holley
0c23dcc5db
Bug 860438 - Remove custom AutoPusher in ipc XPCShellEnvironment. r=gabor
...
Some of this existing code is little wacky in that it calls Environment(mCx)
in a non-static method, which I would think would be equivalent to |this|.
But I don't know this code well enough to be sure of that, so I'm just going
to do the careful thing.
2013-04-18 11:36:05 -04:00
Ryan VanderMeulen
f5f5be2b5b
Backed out 3 changesets (bug 734691, bug 862500) for leaks.
...
Backed out changeset 4444510d672f (bug 862500)
Backed out changeset 5c321bc4dc63 (bug 734691)
Backed out changeset e045934f78be (bug 734691)
2013-04-18 08:15:09 -04:00
James Willcox
589330ecab
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : b9ecaa62430dc4f04a2d00a742c4b2d30e479bb5
2013-03-29 15:34:49 -04:00
Mike Shal
24b4056720
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Ryan VanderMeulen
3d897785d7
Backed out 2 changesets (bug 734691) for leaks.
...
Backed out changeset ba88d9730af6 (bug 734691)
Backed out changeset 7d2fbf7b0372 (bug 734691)
2013-04-16 13:45:53 -04:00
James Willcox
120e2a328a
Bug 734691 - Add multi-thread support to profiler r=benwa
...
--HG--
extra : rebase_source : 71db00ee222713fd60ba42be14226b52535a4f1e
2013-03-29 15:34:49 -04:00
Gian-Carlo Pascutto
bb950110e7
Bug 861637 - Add workaround for missing clone function. r=blassey
2013-04-16 15:47:41 +02:00
Eric Chou
0f4f444972
Bug 823803 - Add L2CAP/EL2CAP Socket support, r=qdot, r=gyeh
...
This version of BlueZ from Code Aurora has added GOEP_PSM to Object
Push Profile service record, which means that remote devices may
connect with us via both L2CAP and RFCOMM. This patch completes
L2CAP/EL2CAP socket implementation.
2013-04-12 18:45:37 +08:00
Joshua Cranmer
2dfc78553b
Bug 856108 - Port static analyses to clang, part 2h: use MOZ_STACK_CLASS everywhere else. r=bsmedberg
2013-04-11 22:22:09 -05:00