Commit Graph

1761 Commits

Author SHA1 Message Date
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
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
Ms2ger
e9be1996d4 Bug 913953 - Part b: Remove unused override app bundle code; r=ehsan 2013-09-10 09:03:31 +02:00
Ms2ger
da04b6c100 Bug 913953 - Part a: Remove unused JavascriptDoubleQuote functions; r=ehsan 2013-09-10 09:03:31 +02:00
Ed Morley
1717198314 Merge mozilla-central and b2g-inbound 2013-09-06 12:32:33 +01:00
Thomas Zimmermann
e641d4540e Bug 912996: Remove memcpy when reading from Unix socket, r=qdot
We used to allocate memory on the stack when reading from a file
descriptor and copied the result into an instance of UnixSocketRawData.

This patch

 - cleans up the interface of UnixSocketRawData,
 - removes the large stack allocation (64KiB), and
 - removes the unnecessary memcpy.

Other memcpys for sending data have been moved into the constructor
of UnixSocketRawData.

--HG--
extra : rebase_source : 46ed1c73481732c3f3350bf0bedb56d376c24e98
2013-09-06 10:18:35 +02:00
Thomas Zimmermann
6ab06611af Bug 912996: Fix whitespaces, r=qdot
--HG--
extra : rebase_source : 1494c72c57e9e47dd7e082ef39bc264d348b6224
2013-09-06 10:17:55 +02:00
Ms2ger
6eef18d6d4 Bug 909028 - Remove dead chromium code; r=ehsan, rs=bent 2013-09-06 08:42:41 +02:00
Phil Ringnalda
26ceee4fb5 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
1f32372424 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Wes Kocher
545fbb7bd2 Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Thomas Zimmermann
dc68c08511 Bug 853550: Cleanup DBus thread handling, r=qdot
For replacing the Bluetooth command thread with a LazyIdleThread,
we need to make sure that the DBus service thread is shutdown from
within the main thread.

This patch changes the DBus stop code to cleanup the DBusThread
structure from the service thread to prevent race conditions during
shutdown. The DBus service thread itself gets shutdown from the main
thread to fulfill the requirements of LazyIdleThread. The patch also
makes sure that it's not possible to accidently dispatch a runnable
while the DBus thread terminates.
2013-08-30 20:18:40 +02:00
Jeff Walden
de9ce95170 Bug 730805 - Provide mozilla/IntegerPrintfMacros.h to implement the PRI* macros portion of the <inttypes.h> interface. r=espindola
--HG--
extra : rebase_source : be80333003c6fec659e736a77463568c836d8348
2011-12-15 00:27:42 -05:00
Landry Breuil
9737f5cf31 Bug 909005: use getdents() on OpenBSD now that it is available r=glandium 2013-09-02 08:54:42 +02:00