Commit Graph

1280 Commits

Author SHA1 Message Date
Kyle Machulis
f87fb81b3d Bug 776182: Patch 3 - Socket I/O for ipc unix sockets; r=cjones r=echou
--HG--
rename : ipc/socket/Makefile.in => ipc/unixsocket/Makefile.in
rename : ipc/socket/Socket.cpp => ipc/unixsocket/UnixSocket.cpp
rename : ipc/socket/Socket.h => ipc/unixsocket/UnixSocket.h
extra : rebase_source : 18f401b047424a187863c9fbe8943364330d1f4d
2012-09-25 13:13:15 -07:00
Kyle Machulis
979e723b46 Bug 776182: Patch 2 - Move Socket.* to UnixSocket.*; r=cjones
--HG--
rename : ipc/socket/Socket.cpp => ipc/unixsocket/UnixSocket.cpp
rename : ipc/socket/Socket.h => ipc/unixsocket/UnixSocket.h
extra : rebase_source : 1e8da79be97c0e6f1a457276b209ff3b4d1193f6
2012-09-25 12:32:09 -07:00
Kyle Machulis
ef52cf02cc Bug 776182: Patch 1 - Move ipc/socket to ipc/unixsocket; r=cjones
--HG--
rename : ipc/socket/Makefile.in => ipc/unixsocket/Makefile.in
rename : ipc/socket/Socket.cpp => ipc/unixsocket/Socket.cpp
rename : ipc/socket/Socket.h => ipc/unixsocket/Socket.h
extra : rebase_source : ee6560813e80b834390a973c68147c2fc79e2aed
2012-09-25 12:31:22 -07:00
Kyle Machulis
017164c1d9 Bug 793831: Add socket validity checks to RIL IPC; r=cjones
--HG--
extra : rebase_source : b14efdcb4c6deb89ba1af9a06ece84888fdb009a
2012-09-25 11:46:54 -07:00
Ehsan Akhgari
a82ddeeb07 Bug 793411 - #include StandardInteger.h instead of prtypes.h in IPCMessageUtils.h; r=cjones 2012-09-22 11:49:58 -04:00
Josh Matthews
22b97c746b Bug 783878 - Part 2: Allow serializing remote input streams by passing the actor reference over the wire and retrieving the original stream in the parent. r=bent 2012-09-21 13:26:13 -04:00
Ehsan Akhgari
87bfca191a Merge the landing of nsresult-enum on mozilla-central 2012-09-21 14:49:57 -04:00
Chris Peterson
ffc8bf2738 Bug 778980 - Part 4a: Fix gcc -Wconversion-null warnings in ipc/chromium. r=bsmedberg
--HG--
extra : rebase_source : f74cecfefcdd599cf888d961906d0c033a9ee786
2012-09-21 09:28:13 -07:00
Chris Jones
cbe3e12296 Test for bug 775777. r=bent 2012-09-20 12:30:53 -07:00
Chris Jones
b594f26efa Bug 775777: Check dynamic actor type when deserializing. r=bent 2012-09-20 12:30:52 -07:00
Jan Beich
b92133ab14 Bug 791838 - lwpid_t is defined in sys/types.h, explicitly include it. r=cjones 2012-09-19 20:24:58 -04:00
Aryeh Gregor
93caa9fc7e Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg 2012-08-07 11:27:45 +03:00
Kyle Machulis
d2fe699a15 Bug 743933: Update B2G Bluetooth to ICS API; r=echou 2012-09-17 23:11:00 -07:00
Koosha Khajeh Moogahi
dcf81f4fb0 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Ms2ger
711f1fd480 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Jan Beich
92f76dd4ac Bug 789817 - Fix BeingDebugged() in IPC on NetBSD/OpenBSD. r=cjones 2012-09-11 21:49:39 -04:00
Dave Hylands
faf42254b1 Bug 784805 - Set the process name (comm) to the app name. r=cjones 2012-09-10 21:30:33 -07:00
Jan Beich
2bb1187455 Bug 787588 - d_reclen is dead on DragonFly since 64bit inode support. r=landry 2012-09-06 21:47:27 +02:00
Kyle Machulis
d403f38686 Bug 756299: Patch 1 - IPC Socket Functions; r=mrbkap 2012-09-05 20:06:06 -07:00
Bobby Holley
081bc4bb16 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-09-05 11:32:07 -07:00
Chris Jones
97fdaf5406 Bug 788396: Centralize usage of ipc::LoggingEnabled() and ensure it goes to logcat on bionic OSes. r=bent 2012-09-05 10:11:05 -07:00
Mike Hommey
9f50415300 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Brad Lassey
846c9ef9ee bug 761503 - return a bool from PumpMessageLoop to indicate if work was performed r=snorp 2012-06-05 01:14:12 -04:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil
f6add9be1c Bug 787040. Fix build warnings under ipc/. r=ms2ger 2012-08-31 10:18:42 +02:00
Jan Beich
61c455b317 Bug 787279 - Unbreak OS_BSD build after bug 782456. r=cjones 2012-08-31 10:17:24 +02:00
Vincent Chang
5556c6f2eb Bug 735547 - Support Wifi/USB Tethering, Part 1: netd IPC. r=bent 2012-08-30 04:35:53 +08:00
Chris Jones
0e062741d9 Bug 782456, part 1: Let clients of GeckoChildProcessHost specify privileges. r=bent 2012-08-29 09:24:48 -03:00
Jan Beich
647decf129 Bug 753046 - Apply libc++ fixes after OS_BSD changes. r=cjones 2012-08-28 23:17:07 +02:00
Martin Husemann
de9ae86824 Bug 753046 - Add IPC support for BSDs, build glue. r=khuey,cjones 2012-08-28 23:16:51 +02:00
Martin Husemann
7579a5c9e1 Bug 753046 - Add IPC support for BSDs, ipc/chromium part. r=cjones 2012-08-28 23:16:41 +02:00
Martin Husemann
675f8473f1 Bug 753046 - Add IPC support for BSDs, ipc/glue part. r=cjones 2012-08-28 23:16:29 +02:00
Martin Husemann
5f7b3202b0 Bug 753046 - Add IPC support for BSDs, process_util_bsd.cc file. r=cjones 2012-08-28 23:15:29 +02:00
Jan Beich
88fdf09070 Bug 753046 - Add IPC support for BSDs, dir_reader_bsd.h file. rs=cjones 2012-08-28 23:15:18 +02:00
Rafael Ávila de Espíndola
0b6fcd9466 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Luke Wagner
992c618fdb Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap) 2012-08-23 11:23:28 -07:00
Jan Beich
ac932f999f Bug 784776 - Don't assume NULL is numeric. r=cjones 2012-08-26 08:56:59 -04:00
Jan Beich
f9928b922f Bug 785026 - Merge file_util_linux.cc into file_util_posix.cc. r=cjones 2012-08-25 22:29:06 -04:00
Chris Jones
2de67e31af 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
fef429cb47 Bug 636063, part 3: Honor compression requests when queuing messages. r=bent 2012-08-25 01:25:08 -07:00
Chris Jones
967d4da9ae Bug 636063, part 2: Backend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Chris Jones
e3beae9af4 Bug 636063, part 1: Frontend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Ms2ger
1023162c9c Back out bug 636063, bug 774988 and bug 784647 for busting all of Android. 2012-08-25 13:18:18 +02:00
Chris Jones
384aad9cbe 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
59b05f8960 Bug 636063, part 3: Honor compression requests when queuing messages. r=bent 2012-08-25 01:25:08 -07:00
Chris Jones
8b9d683757 Bug 636063, part 2: Backend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Chris Jones
6da49bb1b7 Bug 636063, part 1: Frontend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Matt Brubeck
cdd4612f38 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
ad90af9ca5 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
be79576daa 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