Nathan Froyd
44d376b745
Bug 914826 - part 3 - forward-declare nsIFile for GetMinidump() declaration; r=ehsan
2013-09-10 15:35:51 -04:00
Nathan Froyd
a4908f9bf1
Bug 914826 - part 2 - rename builtinIncludes to builtinHeaderIncludes; r=ehsan
2013-09-10 15:34:44 -04:00
Nathan Froyd
515c39f6fa
Bug 914826 - part 1 - use static_assert instead of COMPILE_ASSERT in IPCMessageStart.h; r=ehsan
2013-09-10 15:07:10 -04:00
Chris Kitching
939077cb0b
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
6b7e07f87d
Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
...
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
602a2edbcb
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Gregory Szorc
d03c8a0359
Bug 921070 - Remove precompile tier; r=glandium
...
It made sense at the time. We now have inverted tiers and will soon have
derecursified building. This doesn't make sense any more.
2013-09-26 16:05:10 -07:00
Benoit Girard
c6760a62f1
Bug 919712 - Add labels in IPC message wait. r=benjamin
2013-09-24 11:40:01 -04:00
David Zbarsky
9eca84e4d8
Bug 879475: Allocing an actor for a bridged or opened protocol should return bool r=jlebar
...
Conflicts:
dom/ipc/ContentChild.cpp
dom/ipc/ContentChild.h
2013-09-23 17:54:25 -04:00
Ehsan Akhgari
7233ba7103
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Mike Shal
3dd206a952
Bug 920915 - Use correct manifest dependencies; r=gps
2013-09-26 15:27:17 -04:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
cadac0602a
Bug 771765 - Support template content process, part 8: process initialization flow changes. r=khuey
...
Changes initialization code for the template process:
* Let the process run for NUWA_PREPARATION_TIME ms and then start freezing the threads.
* Delay android binder thread pool creation after the content process is forked from the template and other thread recreation has finished.
* Poke the app shell after the content process is forked from the template.
2013-06-03 18:14:46 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
ba5a1bd24c
Bug 771765 - Support template content process, part 7: Don't schedule timer in the message pump if template process is ready. r=khuey
2013-06-03 18:14:44 +08: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)
32bdb371af
Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent
2013-06-03 18:14:37 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
42fe4d9b7d
Bug 771765 - Support template content process, part 3: IPC glue and IPDL codegen to support protocol cloning. r=bent
2013-05-31 21:16:57 +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
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
Ryan VanderMeulen
fd143fc064
Merge m-c to b2g-inbound.
2013-09-12 20:41:54 -04:00
Benjamin Smedberg
309e25e5aa
Bug 800347 - Try clearing RPCChannel in the destructor so that the dequeue task is cancelled properly, r=dvander
2013-09-12 14:24:17 -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
Shelly Lin
305dfa6604
Bug 911009 - Add error handling for state of ChannelError when opening a ProcessLink. r=cjones
2013-09-06 10:53:15 +08:00
Mark Hammond
39e605be49
Bug 914902 - remove printf as child process closes. r=cjones
2013-09-12 09:14:34 +10:00
Nicholas Nethercote
7983bb2a7f
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07: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
Ms2ger
1a19874da2
Bug 913953 - Part g: Remove unused GetProcessCount function; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
4511c5acc8
Bug 913953 - Part f: Remove unused process cleanup code; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
b7153a9d8a
Bug 913953 - Part e: Remove unused conversion code from CFStringRef and NSString; r=ehsan
2013-09-10 09:03:32 +02:00
Ms2ger
8362c90da1
Bug 913953 - Part d: Remove unused conversion code to CFStringRef and NSString; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
5d75570511
Bug 913953 - Part c: Remove unused FSRef code; r=ehsan
2013-09-10 09:03:31 +02:00