Gina Yeh
bc0b8dce42
Bug 804436 - Patch 1 : Add listening status to UnixSocket, r=gyeh
2012-10-26 17:28:34 +08:00
Ehsan Akhgari
8e702f60c5
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
f3c0ac7a23
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Bobby Holley
10241f928c
Bug 789224 - Separate certificate principals out from CAPS. r=dveditz
...
There's no longer any reason why "certificate principals" need to be principals at all.
I tried to rip them out entirely, but it looks like they're still used vestigially at XPI
install time to display author information. But there's no reason that they have to be
porkbarreled into the security-critical objects that we pass around all over the place.
So let's make them their own deal.
I was tempted to call them "certificate holders", but that would involve renaming methods and
cause more compat fuss than necessary.
--HG--
rename : caps/idl/nsISignatureVerifier.idl => security/manager/ssl/public/nsISignatureVerifier.idl
2012-10-22 08:29:56 +02:00
Bobby Holley
02f7765031
Bug 789224 - Remove capability manager stuff in nsScriptSecurityManager. r=mrbkap
2012-10-22 08:29:55 +02:00
Kyle Machulis
0d5aa7e492
Bug 800249 - Patch 2: Add ability to retreive connected socket address as a string; r=cjones
2012-10-17 17:11:05 -07:00
Kyle Machulis
f7cbae787d
Bug 800249 - Patch 1: Add ability to store/retrieve address to UnixSocket; r=cjones
2012-10-17 17:10:27 -07:00
Ehsan Akhgari
76e3d29305
Bug 801345 - Give MessageReplyDeserializer a virtual dtor since we delete the base class pointer; r=cjones
2012-10-14 11:11:04 -04:00
Dave Hylands
35f7597dc6
Bug 801362 - Fixed typo (>= s/b <=) introduced in bug 797239. r=cjones
2012-10-13 21:25:23 -07:00
Kyle Machulis
79986a727c
Bug 800247: Add disconnect events to UnixSocket, update Bluetooth*Manager; r=echou r=cjones
...
--HG--
extra : rebase_source : 809d46954baea51bf4053c3a48ce45b18b1a58e9
2012-10-12 11:38:14 -07:00
Ehsan Akhgari
d2c59cfd66
Silence two uninitialized variable warnings; no bug
2012-10-13 12:16:22 -04:00
Kyle Machulis
f9915e04e4
Bug 796176 - Patch 1: UnixSocket changes to get connect/listen running main thread, connect status to consumers; r=cjones
...
--HG--
extra : rebase_source : 7fa0ed00a2c4ad526412af4ae0081818a547e5f3
2012-10-10 22:48:40 -07:00
Bobby Holley
a9295dd2c0
Bug 797204 - Remove API. r=mrbkap
...
\o/
2012-10-10 11:01:26 +02:00
Jan Beich
c75763de07
Bug 799591 - Cleanup stat64 in file_util_posix.cc on BSDs after bug 798377. r=ehsan
...
--HG--
extra : rebase_source : e22525b9e6b1623bb805be4ad5f2101ac16f984c
2012-10-09 11:17:00 -07:00
Ehsan Akhgari
7121b7ef2a
Bug 798354 - Remove the sizecheck global variable in ipc_channel_posix.cc since its only needed at compile time, and there are better ways to do this; r=cjones
...
--HG--
extra : rebase_source : 103ee1d497eb28f997e2d2734c4dc29cfca6c22b
2012-10-05 16:28:21 -04:00
Ehsan Akhgari
75031cebf9
Backout changeset 9adf5ca922a4 (bug 798354) because it relied on the assumption that C++98 is a sane language and allows sizeof(class::member), but that sanity has just been added to C++11
2012-10-09 17:27:05 -04:00
EKR
1188de1f60
Bug 799246: Conditionally enable webrtc unit tests r=jesup,ted,cjones
2012-10-08 18:56:00 -07:00
Dave Hylands
d883cb7a0c
Bug 797239 - Fix message loop to allow idle tasks to work in child content processes. r=cjones
2012-10-08 22:46:18 -06:00
Kyle Machulis
2a5ddd38ed
Bug 796184 - Revert UnixSocketImpl to a bare pointer, make Bluetooth*Managers use CloseSocket; r=cjones r=gyeh
...
--HG--
extra : rebase_source : fe8f4633eb9fb86ffc4a87e6b483b3357ab9896d
2012-10-05 16:05:35 -07:00
Justin Lebar
b28095bf78
Bug 797904 - Include app name in about:memory dump. r=njn,cjones
2012-10-05 17:54:54 -04:00
Ehsan Akhgari
4ac3852d87
Bug 798354 - Remove the sizecheck global variable in ipc_channel_posix.cc since its only needed at compile time, and there are better ways to do this; r=cjones
2012-10-05 16:28:21 -04:00
Ehsan Akhgari
551973987d
Bug 798377 - Don't use the deprecated stat64 function in file_util_posix.cc; r=cjones
...
--HG--
extra : rebase_source : efd7b826e462851d475e7307bd95da29514daec7
2012-10-05 16:17:21 -04:00
Ehsan Akhgari
a2b18d2454
Bug 798355 - Remove the base class conversion operator from MachMsgPortDescriptor because it will never be used; r=cjones
...
--HG--
extra : rebase_source : d0941e3296856a871d8226b51888f086efd559c4
2012-10-05 16:16:33 -04:00
Ehsan Akhgari
e027d31e94
Bug 798356 - Do not convert a boolean literal into a null pointer constant in TransportDIB::Map; r=cjones
...
--HG--
extra : rebase_source : 1d7a6be5ee0b090b9a4cf73158b1588eaef55390
2012-10-05 16:15:34 -04:00
Ehsan Akhgari
53048448f4
Bug 798349 - Only include TransportDIB::sequence_num_ in Windows, as it is not used in other platforms; r=cjones
...
--HG--
extra : rebase_source : ecc6f194ea415ba5a112227cc7333a30a654abe5
2012-10-05 16:11:35 -04:00
Ehsan Akhgari
a2c114b534
Bug 798350 - Remove ChildProcessHost::resource_dispatcher_host_ since it is unused, and simplify the ChildProcessHost constructor; r=cjones
...
--HG--
extra : rebase_source : 4908129a3d9d2e57ebb0e7ef7b31dca14bedd72c
2012-10-05 16:09:46 -04:00
Nathan Froyd
02948d84c9
Bug 746714 - add a memory reporter for telemetry; r=taras,njn
2012-10-05 12:19:14 -04:00
Ehsan Akhgari
17af47564d
Mark AsyncWaiter as final, no bug, blanket-r=bzbarsky
2012-10-05 10:48:49 -04:00
Jacek Caban
90ce391b92
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (ipc/ part) r=bent
...
--HG--
extra : rebase_source : e20bd1677b784a9279db1655dea2bcaffb346774
2012-10-04 10:32:45 +02:00
Daniel Holbert
52edfdf864
Bug 797111: Mark variable 'msgSeqno' as DebugOnly, in SyncChannel::Send, to fix opt build warning. r=cjones
2012-10-02 17:18:48 -07:00
Ms2ger
f79221cd0a
Bug 793263 - Remove #error from base/basictypes.h; r=bsmedberg
2012-10-02 10:24:12 +02:00
Ms2ger
b138fe0e97
Bug 792379 - Don't include prtypes.h in base/basictypes.h; r=cjones
2012-10-02 10:24:12 +02:00
Kyle Machulis
156f92210d
Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones
2012-10-01 00:04:01 -07:00
Kyle Machulis
184cc8ba2c
Bug 790739: Patch 1 - UnixSocket changes for server sockets; r=cjones
2012-10-01 00:03:16 -07:00
Kyle Machulis
a24393b718
Backing out e8e7e0cf43d8 (Bug 790739) due to bustage
...
--HG--
extra : rebase_source : ab39dff4819b2a08bbc9696bfdca88b513fcb9c6
2012-09-30 23:17:46 -07:00
Kyle Machulis
3825fda6ae
Backing out 9a88f0d57e7d (Bug 790739) due to bustage
...
--HG--
extra : rebase_source : 1f6e7eda80f1b66b854c5c112f1b0816381f27e2
2012-09-30 23:16:26 -07:00
Kyle Machulis
2a50397f57
Bug 790739: Patch 3 - Service and Manager changes for Bluetooth server sockets; r=cjones
2012-09-30 22:55:27 -07:00
Kyle Machulis
f73578f1a8
Bug 790739: Patch 1 - UnixSocket changes for server sockets; r=cjones
2012-09-30 22:54:27 -07:00
Kyle Machulis
00548792dc
Bug 793831: Add socket validity checks to RIL IPC; r=cjones
2012-09-30 22:03:43 -07:00
Doug Sherk
05643b327a
Bug 784908: Part 3: Distinguish resolution from a new zoom field on FrameMetrics r=roc
2012-09-28 22:16:38 -04:00
Doug Sherk
4b01b719b1
Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc
2012-09-28 22:16:34 -04:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Josh Matthews
10314074af
Bug 770778 - Make TCPSocket e10s-friendly. r=bent
2012-09-24 14:53:49 -04:00
Chris Jones
22c09989b8
Back out bug 793831 for breaking telephony (c88496e8454f)
...
--HG--
extra : rebase_source : b559bff5e0857b2c8129a9c9c2669d8be9ce1925
2012-09-25 21:07:39 -07:00
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
Ben Turner
7370f46298
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
8740622e89
Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey.
2012-08-22 19:13:54 -07:00
Michael Wu
ef40e6f1bc
Bug 784858: Pass LD_PRELOAD to child processes. r=cjones
2012-08-22 18:50:25 -07:00
Ryan VanderMeulen
4369c9acf5
Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures.
2012-08-22 17:31:06 -04:00
Ben Turner
f17c803d93
Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey.
2012-08-22 12:19:29 -07:00
Ehsan Akhgari
2d709c2f52
Merge the landing of bug 579517 to mozilla-inbound
2012-08-22 12:12:15 -04:00