Commit Graph

446 Commits

Author SHA1 Message Date
Landry Breuil
19377b785e Bug 931354: OpenBSD doesn't provide arc4random_addrandom anymore, fix libevent accordingly by #ifndef'ing out its caller evutil_secure_rng_add_bytes() (which isnt called anywhere) r=joshaas 2013-11-19 17:48:30 +01:00
Ehsan Akhgari
84a8a1d796 Bug 939538 - Build parts of the ipc code in unified mode; r=glandium 2013-11-19 07:38:59 -05:00
Mike Hommey
2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Jaroslav Kopecký
32064a3ca2 Bug 933672 - Make sure in-tree libevent isn't built --with-system-libevent. r=glandium 2013-11-04 14:53:29 -05:00
Daniel Holbert
4908bbab5e Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg 2013-10-31 19:39:03 -07:00
Mike Hommey
5e41d2d75c Bug 932197 - Put QT generated files in GENERATED_SOURCES. r=gps 2013-11-01 10:30:45 +09:00
Mike Hommey
84fe98b48f Bug 870406 part n - Move more CSRCS to moz.build. r=mshal 2013-11-01 10:30:45 +09:00
Wes Kocher
9e8ba0656b Backed out changeset 4a21dc77dad9 (bug 932280) for inexplicably breaking win7debug browser-chrome tests on a CLOSED TREE 2013-10-29 17:19:15 -07:00
Oleg Romashin
d6e4b452a3 Bug 932280 - [Qt] Move moc_ files to Makefile.in in order to pass existance check for autogenerated files. r=Ms2ger 2013-10-29 07:56:53 -07:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
65c4700367 Bug 930380 - Make sure *SOURCES only point to existing files. r=gps 2013-10-25 07:58:17 +09:00
Brian O'Keefe
9c9d71fddb Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ehsan Akhgari
21157d1bc8 Backed out changeset 5373095214d9 (debugging patch for bug 924771) because it is no longer needed 2013-10-20 09:24:06 -04:00
Ehsan Akhgari
f8232ebf63 Debugging patch for bug 924771, landed on a CLOSED TREE 2013-10-19 13:35:13 -04:00
Landry Breuil
42962ccf95 Bug 927810: Fix ipc/chromium after p_psflags changes in struct kinfo_proc on OpenBSD. r=glandium 2013-10-18 11:13:45 +02:00
Ms2ger
f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
b84550061a Bug 912099 - Part b: Make sure CPP_SOURCES only points to existing files in ipc/chromium; r=mshal 2013-10-03 09:10:00 +02:00
David Anderson
47ae6f0cc8 Introduce new RPC messaging semantics (bug 910493 part 1, r=cjones). 2013-10-01 09:15:03 -07:00
Mark Hammond
5bc55a78af Bug 920397 part 1 - base::CloseProcessHandle() checks result in debug builds and is used everywhere a process handle is closed. r=bsmedberg 2013-10-01 10:56:15 +10:00
David Anderson
437f6053a9 Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f5213d3e66 Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
140b811282 Bug 771765 - Support template content process, part 2: IPC and glue changes. r=bent
Changes include:
* Getting/resetting platform thread ID.
* Creating an IPC channel with existing file descriptor sent from the template process.
* Child process host with existing process forked from the template.
2013-05-31 21:16:54 +08:00
David Anderson
fd2cf49aa1 Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00
Benoit Girard
c6760a62f1 Bug 919712 - Add labels in IPC message wait. r=benjamin 2013-09-24 11:40:01 -04:00
Nathan Froyd
117f140c46 Bug 909922 - don't pragma pack ipc message headers; r=bent
The IPC::Message header is surrounded by:

#pragma pack(push,2)
...
#pragma pack(pop)

which (at least on GCC) specifies that structure members defined lexically
within the pragma should be two-byte aligned, rather than the ABI's declared
alignment.

But for IPC::Message::Header, this is a silly requirement, as everything there
is four bytes; there's no reason to pack the members any tighter.  And packing
tighter means that strict alignment platforms (like ARM) need to use more
complex code for something as simple as storing to one of the members--like
when we set a message's request ID, over and over and over.  The current code
for setting a message's request ID on ARM looks like:

     264:	6863      	ldr	r3, [r4, #4]
     266:	696a      	ldr	r2, [r5, #20]
     268:	809a      	strh	r2, [r3, #4]
     26a:	0c12      	lsrs	r2, r2, #16
     26c:	80da      	strh	r2, [r3, #6]

With the patch, it looks like:

     264:	6863      	ldr	r3, [r4, #4]
     266:	696a      	ldr	r2, [r5, #20]
     268:	605a      	str	r2, [r3, #4]

Only four bytes, but multiplied over several hundred set_routing_id calls, it
saves some code size and runtime.  I verified that the header's length doesn't
change by looking at debug information.
2013-08-27 16:32:44 -04:00
Jed Davis
18b4888466 Bug 915129 - Don't link in epoll_sub.c from libevent on Android or B2G. r=bent 2013-09-12 11:08:50 -04:00
Ms2ger
4507bc1ead Bug 913953 - Part ab: Remove unused WriteInto function; r=ehsan 2013-09-10 09:03:37 +02:00
Ms2ger
2ee857480a Bug 913953 - Part aa: Remove unused GetNonClientMetrics function; r=ehsan 2013-09-10 09:03:37 +02:00
Ms2ger
d7caef66d0 Bug 913953 - Part z: Remove unused GetServicePackLevel function; r=ehsan 2013-09-10 09:03:37 +02:00
Ms2ger
12e5df4340 Bug 913953 - Part y: Remove unused AddAccessToKernelObject function; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
98911170b0 Bug 913953 - Part x: Remove unused GetUserSidString function; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
d476eebff5 Bug 913953 - Part w: Remove unused GetLogonSessionOnlyDACL function; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
40445f7249 Bug 913953 - Part v: Remove unused HWND subclassing functions; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
8354637364 Bug 913953 - Part u: Remove unused HWND user data functions; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
35187deb42 Bug 913953 - Part t: Remove unused HWND creation/destruction functions; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
2e3d886337 Bug 913953 - Part s: Remove unused UserAccountControlIsEnabled function; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
05c03d605a Bug 913953 - Part r: Remove unused GetClassName function; r=ehsan 2013-09-10 09:03:36 +02:00
Ms2ger
b861c34a24 Bug 913953 - Part q: Remove unused MatchPattern function; r=ehsan 2013-09-10 09:03:35 +02:00
Ms2ger
84148f8da2 Bug 913953 - Part p: Remove unused GetPagefileUsage function; r=ehsan 2013-09-10 09:03:35 +02:00
Ms2ger
aeb5c961a6 Bug 913953 - Part o: Remove unused GetPeakPagefileUsage function; r=ehsan 2013-09-10 09:03:35 +02:00
Ms2ger
533f1f6f83 Bug 913953 - Part n: Remove unused GetWorkingSetSize function; r=ehsan 2013-09-10 09:03:35 +02:00
Ms2ger
3d093a9b97 Bug 913953 - Part m: Remove unused GetPrivateBytes function; r=ehsan 2013-09-10 09:03:35 +02:00
Ms2ger
1eea33881e Bug 913953 - Part l: Remove unused FreeMBytes struct; r=ehsan 2013-09-10 09:03:34 +02:00
Ms2ger
f5d3d71745 Bug 913953 - Part k: Remove unused GetCommittedKBytes function; r=ehsan 2013-09-10 09:03:34 +02:00
Ms2ger
9d4280b585 Bug 913953 - Part j: Remove unused GetWorkingSetKBytes function; r=ehsan 2013-09-10 09:03:34 +02:00
Ms2ger
c12bc71999 Bug 913953 - Part i: Remove unused ReduceWorkingSet and UnReduceWorkingSet functions; r=ehsan 2013-09-10 09:03:34 +02:00
Ms2ger
8b5e587505 Bug 913953 - Part h: Remove unused WaitForExitCode and GetAppOutput functions; r=ehsan 2013-09-10 09:03:33 +02:00