Jan Beich
b90e2af5a0
Bug 784776 - Don't assume NULL is numeric. r=cjones
2012-08-26 08:56:59 -04:00
Jan Beich
d77243bea8
Bug 785026 - Merge file_util_linux.cc into file_util_posix.cc. r=cjones
2012-08-25 22:29:06 -04:00
Chris Jones
c96530321b
Bug 784647: Ensure that Tasks and XPCOM events are dispatched with the same priority. r=bent
2012-08-25 01:25:08 -07:00
Chris Jones
881203aa1b
Bug 636063, part 3: Honor compression requests when queuing messages. r=bent
2012-08-25 01:25:08 -07:00
Chris Jones
4ab56b458e
Bug 636063, part 2: Backend support for |compress|d messages. r=bent
2012-08-25 01:25:08 -07:00
Chris Jones
9c817aa327
Bug 636063, part 1: Frontend support for |compress|d messages. r=bent
2012-08-25 01:25:08 -07:00
Ms2ger
da90b234b1
Back out bug 636063, bug 774988 and bug 784647 for busting all of Android.
2012-08-25 13:18:18 +02:00
Chris Jones
0b8efc5aae
Bug 784647: Ensure that Tasks and XPCOM events are dispatched with the same priority. r=bent
2012-08-25 01:25:08 -07:00
Chris Jones
fdad648d61
Bug 636063, part 3: Honor compression requests when queuing messages. r=bent
2012-08-25 01:25:08 -07:00
Chris Jones
f8943f2217
Bug 636063, part 2: Backend support for |compress|d messages. r=bent
2012-08-25 01:25:08 -07:00
Chris Jones
70c6901be5
Bug 636063, part 1: Frontend support for |compress|d messages. r=bent
2012-08-25 01:25:08 -07:00
Matt Brubeck
5e47d4412f
Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Luke Wagner
94264a0bc8
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Bobby Holley
a2d7eabc5a
Bug 774607 - Remove use of JS_{Is,Make}SystemObject from Gecko. r=bz
...
We currently set this for system globals and anything whose parent
chain leads to a system global. Maybe this was relevant before, but
with CPG this is just equivalent to asking whether the object is in
a system compartment. And the only place where we _check_ this bit
is immediately after checking for a system compartment, in
WrapperFactory. So AFAICT this can go away entirely.
2012-08-23 16:44:53 -07:00
Ben Turner
0727b7098c
Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
...
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Ben Turner
1557efd8b1
Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey.
2012-08-22 19:13:54 -07:00
Michael Wu
faefd7af60
Bug 784858: Pass LD_PRELOAD to child processes. r=cjones
2012-08-22 18:50:25 -07:00
Ryan VanderMeulen
1733e65710
Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures.
2012-08-22 17:31:06 -04:00
Ben Turner
3e66942f49
Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey.
2012-08-22 12:19:29 -07:00
Ehsan Akhgari
57ac5ddc72
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00
Doug Sherk
b018fea56e
Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc
2012-08-21 21:37:15 -07:00
Doug Sherk
2347943aeb
Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones
2012-08-21 21:37:06 -07:00
Eric Chou
14bcc1f020
Bug 783932 - [b2g-bluetooth] Fix wrong textwidth(tw=) value in Mode line, r=qdot
2012-08-21 11:21:24 +08:00
Ehsan Akhgari
ad25766553
Bug 579517 - Part 3: Remove NSPR types from the IPDL parser's built-in type list; r=bsmedberg
2012-08-22 11:59:02 -04:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
d631e1b3a1
Bug 783835 - Compositor needs to know the css property being animated r=roc
2012-08-20 09:35:41 -04:00
Ben Turner
10787d0206
Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
...
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Jan Beich
6d2fe1a5e3
Bug 782521 - Don't use const for pthread_setname_np's 3rd arg on NetBSD. r=cjones
2012-08-15 21:00:50 -04:00
Doug Sherk
de15346fad
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-08 21:39:02 -07:00
Ryan VanderMeulen
4141fe2da6
Backout 7158af024a9b (bug 779013) due to suspected Windows bustage on a CLOSED TREE.
2012-08-08 19:40:54 -04:00
Chris Dearman
2d04964edc
Bug 779013 - Align the mValue union in IPDL-generated code. r=cjones
2012-08-08 15:10:03 -04:00
Kyle Machulis
9993d9dae5
Bug 768306 - Patch 1: Fix error handling in unpacking DBus replies, set up DBus blocking call handling thread; r=mrbkap
2012-08-08 10:46:39 -07:00
Eric Faust
17695b5079
Bug 775788 - Modify JSFunctionSpec to accept JSJitInfos. (r=luke)
2012-08-07 22:26:19 -07:00
Eric Chou
20aa3fc5b1
Bug 780812 - [b2g-bluetooth] Implement function to get RFCOMM channel of specific Bluetooth service; r=qdot
2012-08-07 21:19:07 -07:00
Kyle Machulis
b4c6de65bf
Bug 759883 - [b2g-bluetooth] Divide out bluetooth specifics from DBusThread object; r=echou
2012-08-07 21:16:03 -07:00
Phil Ringnalda
6a0eae6eb5
Backout 8b3b879bc63f (Bug 777463), 32cc8084d1b7 (Bug 775451), ce9014442e13:4d52cfac7c37 (Bug 779572), b33f2b2dbbc5:963aed158547 (Bug 775463), 36832ad5ea65 (Bug 780210), 10695750e4e9:a2afc5b5e538 (Bug 775448), c9f42eebd694 (Bug 775447) for Linux bustage
2012-08-07 20:40:48 -07:00
Doug Sherk
b53b2122ba
Bug 775463: Implement double-tap-to-zoom content r=cjones
2012-08-07 18:51:08 -07:00
Chris Jones
eb57290969
Bug 774131, part 2: Add GeckoChildProcessHost::LaunchAndWaitForProcessHandle() to do that, use it in ContentParent, and share more process-launching code. r=bent
2012-08-07 16:29:32 -07:00
Chris Jones
e13379b1d8
Bug 774131, part 1: Refactor GeckoChildProcessHost to use a state enum and eagerly create a ProcessHandle. r=bent
2012-08-07 16:29:32 -07:00
Chris Jones
90125f622d
Bug 778382: Don't put anonymous sockets in the PipeMap because they can collide. r=bent
2012-08-07 16:29:32 -07:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ben Turner
0010e82b08
Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
...
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Kyle Machulis
7e77b05901
Bug 761511: Patch 2 - Added BluetoothPropertyContainer base class and utility functions; r=mrbkap
2012-07-31 21:49:59 -07:00
David Zbarsky
1ab8257975
Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-31 10:28:20 -07:00
David Zbarsky
06ea1f66f2
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Mark Finkle
70a01196ec
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Oleg Romashin
acd3d18d8f
Bug 744121 - Fix bogus issue with QObject::startTimer: QTimer cannot have a negative interval. r=cjones
2012-07-28 17:55:16 -04:00
David Zbarsky
12752872fe
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-27 13:23:44 -07:00
Chris Jones
8c7bd34d5f
Bug 778070: Trigger ProtocolErrorBreakpoint() on message-handler |return false/null;|. r=bent
2012-07-27 11:39:44 -07:00
Guillaume Destuynder
1688b83429
Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones
2012-07-26 21:42:56 -07:00
Chris Jones
47abd59f8e
Backed out changeset 201612a0b133
2012-07-26 21:55:41 -07:00
Guillaume Destuynder
bd26065506
Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones
2012-07-26 21:42:56 -07:00
Ehsan Akhgari
1d60882e54
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (ipc parts); blanket-r=bzbarsky
...
--HG--
extra : rebase_source : 232de4000988dfa5cb45114ff36730d001fbd79b
2012-07-26 15:17:38 -04:00
Ehsan Akhgari
54d06abbe0
Bug 777734 - Initialize the type variable in ParamTraits<LogData>::Read; r=cjones
...
This is mostly to silence compiler warnings. The uninitialized type itself
won't cause problems because failed Read() prevents dispatch.
2012-07-26 11:23:54 -04:00
Ed Morley
be8bf4beae
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
2008ff368b
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -07:00
Matt Brubeck
2e41f92cb5
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
dfd3e3d5ba
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-23 17:34:22 -07:00
Joshua Cranmer
4ad48824ad
Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
...
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Ehsan Akhgari
42cb6edfc7
Convert some of the IPDL C++ test files to use Unix line endings (no bug)
2012-07-23 16:31:14 -04:00
Chris Jones
a3ec7aebd3
Bug 775867: Implement ProtocolErrorBreakpoint() for easier debugging of IPC errors. r=bent
2012-07-23 10:24:29 -07:00
Jonas Sicking
68ce0e34aa
Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir
2012-07-21 00:29:40 -07:00
Jonas Sicking
b0b6c14ad5
Bug 774585 - Add GetDocShellCodebasePrincipal to nsIScriptSecurityManager. r=mounir
2012-07-20 00:06:24 -07:00
Mounir Lamouri
15fad48685
Bug 758258 - part 5 - Add GetAppCodebasePrincipal and GetNoAppCodebasePrincipal to nsIScriptSecurityManager. r=mrbkap sr=sicking
2012-07-19 20:28:08 -07:00
Mounir Lamouri
19b289e5df
Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking
2012-07-18 21:25:19 -07:00
Steve Fink
fe7cf7ba30
Backed out changeset afc1cf222996
2012-07-19 15:22:32 -07:00
Landry Breuil
cc75f7deee
Bug 775428: add a long long template for OpenBSD/64bits, fixes build breakage after 745148. r=cjones
2012-07-19 22:54:50 +02:00
Mounir Lamouri
a5975943d6
Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking
2012-07-18 21:25:19 -07:00
Mounir Lamouri
96545b3886
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -07:00
Mounir Lamouri
15ea035b93
Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking
2012-07-19 10:49:17 -07:00
Ed Morley
80af77da9d
Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange
2012-07-19 08:29:48 +01:00
Mounir Lamouri
e7de2ebedc
Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking
2012-07-18 21:25:19 -07:00
Mounir Lamouri
8a2133a405
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -07:00
Mounir Lamouri
32d220e324
Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking
2012-07-18 13:35:15 -07:00
David Zbarsky
88371b030a
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Dave Hylands
c01bd473a9
Bug 772734 - Fixes LaunchApp hang when launching. r=cjones
...
From 8010cffba6e3dec5f792e965aacb9621ef06e0d7 Mon Sep 17 00:00:00 2001
plugin-container - v5
Added checks in case PR_DuplicateEnvironment or PR_Malloc fail
Added #ifdef so that only Android builds try to call PR_DuplicateEnvironment
Moved PR_DuplicateEnvironment function from mozglue into process_util_linux.cc
so that matched alloc/free calls happen under android.
---
ipc/chromium/src/base/process_util_linux.cc | 146 +++++++++++++++++++++++++--
1 file changed, 140 insertions(+), 6 deletions(-)
2012-07-13 08:41:30 -07:00
Ed Morley
6c00eca83e
Backout 41f4bdd4b6bd (bug 772734), af578c454d1e (bug 773414) for XUL Android bustage, on a CLOSED TREE
2012-07-18 09:51:44 +01:00
Dave Hylands
4175253873
Bug 772734 - Fixes LaunchApp hang when launching. r=cjones
...
From c6bdfcf39e3dfe28fe7376f8c0b1b9d07a1d969b Mon Sep 17 00:00:00 2001
plugin-container - v4
Added checks in case PR_DuplicateEnvironment or PR_Malloc fail
Added #ifdef so that only Android builds try to call PR_DuplicateEnvironment
---
ipc/chromium/src/base/process_util_linux.cc | 121 +++++++++++++++++++++++++--
1 file changed, 115 insertions(+), 6 deletions(-)
2012-07-13 08:41:30 -07:00
Kyle Machulis
d6a549555c
Bug 740744: Asynchronous dbus events for bluetooth, Start/StopDiscovery and device event firing; r=bent sr=mrbkap
2012-07-17 20:41:54 -07:00
Chris Jones
beb475c2b3
Bug 745148, part 2: GeckoChildProcessHost can't drop messages on the floor. Queue them and hand them off to the *Channel. r=bent
2012-07-14 14:21:32 -07:00
Chris Jones
29ff878dea
Bug 745148, part 1: Allow sending messages on an Opening channel, since they'll be queued if we're really actually still awaiting connect. r=bent
2012-07-14 14:21:32 -07:00
Chris Jones
3cf2534de5
Bug 745148, part 0: Log the PID with MOZ_IPC_MESSAGE_LOG logging. r=bent
2012-07-14 14:21:32 -07:00
Josh Matthews
9dae93ab98
Bug 767775 - Viciously and loudly kill any process sending messages that race with RPC __delete__ messages. Test by bsmedberg. r=cjones
2012-07-13 13:53:00 -04:00
Doug Turner
8437779089
Bug 761930 - Multi-process support for Device Storage. r=sicking
2012-06-19 16:14:39 -07:00
Ryan VanderMeulen
bf22b9314b
Backout b3f14a850269, f9d877d78294, and c7335ca109a4 due to build bustage.
2012-07-14 00:01:52 -04:00
Doug Turner
ca640a90d5
Bug 761930 - Multi-process support for Device Storage. r=sicking
2012-06-19 16:14:39 -07:00
Chris Jones
8605f8c673
Bug 773830: Check GetEnabled() before OOPInit(). r=ted
2012-07-13 17:47:23 -07:00
Ryan VanderMeulen
7b319a5a6b
Merge the last PGO-green inbound changeset to m-c.
2012-07-12 20:46:27 -04:00
Benjamin Smedberg
d19c5bb416
Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
...
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Tim Abraldes
592eef2d4e
Bug 771090 - Use NS_GRE_DIR instead of current process dir when looking up plugin container. r=bsmedberg
2012-07-10 18:31:04 -04:00
Chris Jones
e0f72354fe
Bug 765734, part 3: Remove unused code. r=mattwoodrow
...
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones
98149930c3
Bug 765734, part 0.1: Gecko subprocesses on Gonk want propdb too. r=mwu
...
--HG--
extra : rebase_source : dc881f7d75698ebab6e0a576e912af4f543b00a6
2012-07-12 05:51:57 -07:00
Chris Jones
ce0178a04b
Bug 765734, part 0: Do the right thing here. r=bent
...
--HG--
extra : rebase_source : 7b73d2ea334b9ca394e156b598e888723844315a
2012-07-12 05:51:57 -07:00
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
Bobby Holley
22171babc1
Bug 754202 - Remove context pushing/popping API. r=mrbkap Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.
...
Can I get a 'hell yeah'?
2012-06-28 23:47:55 +02: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