Commit Graph

649 Commits

Author SHA1 Message Date
Mike Hommey
8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
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
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
Ms2ger
6eef18d6d4 Bug 909028 - Remove dead chromium code; r=ehsan, rs=bent 2013-09-06 08:42:41 +02:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09: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
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Steven Michaud
b954caad6c Bug 884471 - Backport upstream libevent patch to hopefully work around the OSX "code -20" mochitest failures. r=bsmedberg 2013-08-27 14:15:49 -04:00
Ms2ger
1c4d224f0e Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Trevor Saunders
acfc9e9cd6 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Brian O'Keefe
263f163332 Bug 896177 - Remove more config.mk includes; r=gps 2013-07-17 16:07:14 -04:00
Ms2ger
30f4e6e119 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
9d023a67df Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Nathan Froyd
f702f81916 Bug 904619 - move dummy event to its sole use in ipc_sync_message.cc; r=bent 2013-08-13 10:56:44 -04:00
Mike Hommey
e2ff646a3c Bug 901414 - Fix ipc/chromium to build for GNU/kFreeBSD. r=bsmedberg 2013-08-10 15:54:00 +09:00
Ehsan Akhgari
2824b29025 Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Joshua Cranmer
b82a7849fb Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Justin Lebar
eacb45e46d Bug 893242 - Part 1: Add Unsound_IsClosed() and Unsound_NumQueuedMessages() to AsyncChannel. r=bent 2013-07-17 14:31:10 -07:00
Brian O'Keefe
f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Trevor Saunders
f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Ryan VanderMeulen
d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ryan VanderMeulen
e396d026b5 Merge birch to m-c. 2013-07-10 09:42:28 -04:00
Shelly Lin
96a46d1102 Bug 811636 - Close the child FD in the parent asap in order to detect when the child closes its FD. r=dhylands 2013-07-09 10:37:33 +08:00
Xavier Fung
1db230cd9a Bug 889823 - ipc fail to compile using Visual Studio 2013 r=bsmedberg 2013-07-10 11:19:42 +09:00
Ed Morley
b4e5d925e1 Bug 855686 - Attempt to log cmdline for launched process; r=ted 2013-07-08 18:54:02 +01:00
Joey Armstrong
38ca368790 bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Ms2ger
dd8f07a495 Bug 888573 - Remove bit_cast; r=Waldo 2013-07-10 11:54:35 +02:00
Joey Armstrong
53426849e7 bug 870407: move CMMSRCS to mozbuild (file batch #3). r=mshal 2013-07-02 17:09:08 -04:00
Catalin Iacob
09cfbe927e Bug 798914 (part 2) - Use newly introduced mozilla::MallocSizeOf in chromium. r=njn.
--HG--
extra : rebase_source : 3488c0e9140919a78b9a8658f54a6dc162935653
2013-06-16 14:12:19 +02:00
Ms2ger
8d71159d4c Bug 883537 - Remove dead testing code from chromium; r=bsmedberg 2013-06-23 09:14:36 +02:00
Ms2ger
d8bad3012d Bug 883504 - Remove references to EXCLUDE_SKIA_DEPENDENCIES; r=bsmedberg 2013-06-23 09:14:26 +02:00
Justin Lebar
3837ac1912 Bug 885158 - If a message is sent on a closed IPC channel, delete it immediately. r=bent
Our old behavior was to enqueue it until the channel gets destructed.

--HG--
extra : rebase_source : 9766774838257d9e1a6adc15d3b4cf9e38fefcbe
2013-06-21 13:58:47 -07:00
David Anderson
7957b611c2 Bug 868919 - Confirm that the child process has received fd handles on OSX before releasing them. r=bent 2013-06-21 09:32:02 +12:00
Alex Xu
577bfccf43 Bug 853208 - Fix build break on Gentoo 2013-06-15 20:44:37 -04:00
Nathan Froyd
3d5d16ad9c Bug 871596 - part 3 - replace memcpys of POD datatypes in Pickle with something smarter; r=bent 2013-06-05 13:01:05 -04:00
Nathan Froyd
1a69354879 Bug 871596 - part 2 - add a new memberAlignmentType to replace the scattered uint32_t alignments; r=bent 2013-05-30 11:31:35 -04:00
Nathan Froyd
46164cd78e Bug 871596 - part 1 - rewrite Pickle's alignment mechanism to be more obviously optimizable; r=bent 2013-05-30 11:29:45 -04:00
Ehsan Akhgari
f6ad445a82 Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
Martin Stransky
d8da1b5a38 Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt 2013-06-12 08:04:28 -04:00
Mark Hammond
70cbb76fa4 Bug 875210 - child processes on Windows inherit (only) stdout and stderr. r=aklotz 2013-05-30 23:21:36 +10:00
Kyle Huey
0d78767303 Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Jan Beich
952029dd65 Bug 877139 - Fix a few freebsd typos in bug 864774. r=glandium 2013-05-29 20:56:09 -04:00
Julian Seward
eb8e819973 Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard. 2013-05-28 14:03:38 +02:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Matt Woodrow
3690846a48 Bug 870176 - Import chromium bug 20249. r=dvander 2013-05-10 09:02:50 +12:00
Daniel Holbert
ce245d2647 Bug 865766 - Reorder MessageLoop init list to fix build warning. r=jlebar 2013-04-26 10:11:00 -04:00
Bill McCloskey
5071cc169c Bug 860885 - Turn off Chromium IPC [debug] spew (r=glandium) 2013-04-23 12:14:47 -07:00
Jan Beich
fee087f8a9 Bug 864013 - Add libevent config for BSDs. r=landry 2013-04-23 10:58:11 +02:00
Ehsan Akhgari
dbe39a6f7f Bug 863559 - Do not leak the mach port in PlatformThread::CurrentId; r=jlebar 2013-04-19 14:37:41 -04:00
Ryan VanderMeulen
cd0138cd77 Merge m-c to inbound. 2013-04-18 14:01:31 -04:00
Justin Lebar
3aef51e08f Bug 857152 - Make IPC channels more robust against use after being closed. r=bent 2013-04-03 15:54:00 +02:00
James Willcox
034fae0ccc Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 04021da9d3d871f51f931b6e6f57a0bbbbaa6393
2013-03-29 15:34:49 -04:00
Ryan VanderMeulen
72635c5a76 Backed out 3 changesets (bug 734691, bug 862500) for leaks.
Backed out changeset 4444510d672f (bug 862500)
Backed out changeset 5c321bc4dc63 (bug 734691)
Backed out changeset e045934f78be (bug 734691)
2013-04-18 08:15:09 -04:00
James Willcox
4664b7f932 Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : b9ecaa62430dc4f04a2d00a742c4b2d30e479bb5
2013-03-29 15:34:49 -04:00
Ryan VanderMeulen
29b3a5a2ee Backed out 2 changesets (bug 734691) for leaks.
Backed out changeset ba88d9730af6 (bug 734691)
Backed out changeset 7d2fbf7b0372 (bug 734691)
2013-04-16 13:45:53 -04:00
James Willcox
f4e6aab526 Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 71db00ee222713fd60ba42be14226b52535a4f1e
2013-03-29 15:34:49 -04:00
Gian-Carlo Pascutto
9d6819b392 Bug 861637 - Add workaround for missing clone function. r=blassey 2013-04-16 15:47:41 +02:00
Bas Schouten
839048be74 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Ryan VanderMeulen
8b1a61762a Backed out changesets ab64b048ad04 and 025d24d7fee8 (bug 734691) for leaks. 2013-04-08 22:16:21 -04:00
James Willcox
f6c0d380d3 Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 8367dc61f9f9026d0110ffe43d5d4d0aa9129e24
2013-03-29 15:34:49 -04:00
Mike Hommey
0be8a6f255 Bug 858204 - Enable libevent logging on debug builds. r=jlebar 2013-04-08 08:36:01 +02:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ryan VanderMeulen
c22be74874 Backed out changeset 7112a6c1efee (bug 734691) for Win8 xpcshell hangs and possible leaks on a CLOSED TREE. 2013-03-29 18:18:38 -04:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
James Willcox
e5ba8fa627 Bug 734691 - Add multi-thread support to profiler r=benwa 2013-03-29 15:34:49 -04:00
Josh Aas
679f395227 Bug 842887 - Update Mozilla's copy of libevent from 1.4.7 to 2.0.21. r=bsmedberg 2013-03-29 09:34:53 -05:00
Phil Ringnalda
111695c5e0 Back out 89e99ecdf29f (bug 734691) for leaking
CLOSED TREE
2013-03-28 20:52:20 -07:00
James Willcox
f272cdf825 Bug 734691 - Add multi-thread support to profiler. r=benwa 2013-03-28 19:51:15 -04:00
Justin Lebar
0884324942 Bug 854880 - Make canceling a RunnableFunction actually cancel the task. r=bent
--HG--
extra : rebase_source : 1de3006089152141d838e6896acba21307b2620c
2013-03-28 14:25:58 -04:00
vliu
db18757691 Bug 849330 - Camera recording needs AID_SDCARD_RW capability. r=dhylands 2013-03-13 14:44:43 +08:00
Trevor Saunders
dd41b4580f bug 853682 - remove most of the chromium gfx stuff since it isn't used we need to keep a few headers because they're included, but we don't even need to define the functions they declare. r=bsmedberg 2013-03-19 18:34:23 -04:00
Trevor Saunders
7c08c309ff bug 853682 - remove a include of the chromium gfx rect because its the only thing causing us to need the chromium gfx rect stuff r=bsmedberg 2013-03-19 18:31:27 -04:00
Trevor Saunders
9f69527406 bug 853682 - rm some chromium keyboard stuff and a scoped_vector thing both of which we don't use r=bsmedberg 2013-03-19 18:17:24 -04:00
Trevor Saunders
267ba377a4 bug 853682 - rm some vestiges of the chromium build system r=bsmedberg 2013-03-19 18:12:06 -04:00
Trevor Saunders
1bee6a8a3c bug 853682 - rm ipc/chromium/src/base/crypto/ which wasn't being built r=bsmedberg 2013-03-19 17:57:22 -04:00
Trevor Saunders
c9251e6420 bug 853682 - rm ipc/chromium/src/base/data/ r=bsmedberg 2013-03-19 17:48:39 -04:00
Jeff Walden
182723518f Bug 851237 - Convert a static-assertion typedef to MOZ_STATIC_ASSERT. r=dholbert
--HG--
extra : rebase_source : cb98976842ed2324a6bc93238b28653baacdd083
2013-03-21 18:27:16 -07:00
Nathan Froyd
a60b979b8e Bug 824647 - delete histograms when StatisticsRecorder is deleted; r=jlebar 2013-03-07 11:07:12 -05:00
Phil Ringnalda
e096df5da5 Back out 7f12ca5e6d0a (bug 750303) on suspicion of breaking l10n builds 2013-03-10 20:03:28 -07:00
Joey Armstrong
8276d50444 bug 750303: mkdir_deps - target specific enhancement 2013-03-04 14:34:02 -05:00
Gregory Szorc
e1b210ddf6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
c7bf7887f9 Bug 784841 - Part 18r: Convert /ipc; r=ted f=Ms2ger 2013-02-25 12:47:22 -08:00
Nathan Froyd
20269a1222 Bug 844146 - add BooleanHistogram::Accumulate to properly canonicalize values for boolean histograms; r=taras 2013-02-22 13:52:40 -05:00
stuartmorgan@chromium.org
81948a9656 Bug 842550: Simplify ScheduleDelayedWork implementation on Mac. rs=cjones
Imported from:
> From: stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
> Date: Wed, 25 Apr 2012 15:28:55 +0000 (+0000)
> Subject: Simplify ScheduleDelayedWork implementation on Mac
> X-Git-Url: http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;h=18e6c782965d2784995b011977777b10687bb9c0
>
> Simplify ScheduleDelayedWork implementation on Mac
>
> Instead of round-tripping through Time::Exploded, which seems to be a legacy of the method having a different argument type, just calculate the new timer firing time directly from the difference in time ticks.
>
> BUG=None
> TEST=None
>
>
> Review URL: http://codereview.chromium.org/10227001
>
> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133916 0039d316-1c4b-4281-b951-d872f2087c98
2013-02-21 18:10:59 -08:00
jar@chromium.org, L. David Baron
8876f7e142 Bug 842550: Switch to using TimeTicks rather than Time in message loops. rs=cjones
The ipc/chromium/src/base/ changes here (except those mentioned below)
are the majority of the base/ changes (excluding those that patch code
that does not exist yet in our copy) in:
> From: jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
> Date: Sat, 6 Nov 2010 22:23:29 +0000 (+0000)
> Subject: Switch to using TimeTicks rather than Time in message loops
> X-Git-Url: http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;h=f592c218c18bd1f8308489aaef2e329244ced330
>
> Switch to using TimeTicks rather than Time in message loops
>
> Switch to using TimeTicks rather than Time so that we
> are not dependent on changes in the system clock.
>
> r=mbelshe,darin
> Review URL: http://codereview.chromium.org/3884001
>
> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65322 0039d316-1c4b-4281-b951-d872f2087c98

The ipc/glue changes, and the message_pump_android.* and
message_pump_qt.* changes in ipc/chromium/src/base/, change signatures
to match.
2013-02-21 18:10:59 -08:00
Ginn Chen
e0fe4d34b6 Bug 837561 ReadInt16 and WriteInt16 should be paired r=benjamin 2013-02-18 15:19:03 +08:00
Nathan Froyd
ca45b07a60 Bug 837271 - part 1 - add means to control computation of extended statistics to histogram code; r=vladan 2013-02-13 10:31:25 -05:00
Trevor Saunders
a46f6fab8d bug 834552 - remove a bunch of ipc/chromium/ that we don't even build r=bsmedberg 2013-01-22 11:55:07 -05:00
Jeff Walden
a404bec687 Bug 836438 - Refactor IPC::ParamTraits specializations so that we don't have to manually guard against the possibility of multiple parameter types being the same type. r=ehsan
--HG--
extra : rebase_source : 9a3b8c13f9999cbdae025e87688bd6e95fef75f5
2013-01-31 14:08:16 -08:00
Ben Turner
d48efc0c7a Bug 834526, r=cjones. 2013-01-24 17:25:01 -08:00
Jan Beich
8fb239fc05 Bug 832723 - Unbreak build on BSDs after bug 786631. r=cjones 2013-01-25 10:10:12 -05:00
Nicholas Nethercote
aac86acc69 Bug 394311 - Stop building with -pedantic. r=ted,dbaron.
--HG--
rename : content/svg/content/nsISVGPoint.cpp => content/svg/content/src/DOMSVGPoint.cpp
rename : docshell/test/browser/browser_bug234628-9.js => docshell/test/browser/browser_bug134911.js
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
extra : rebase_source : 012df725d55b031ccc03d9bfcf785056d95a2ebe
2013-01-20 14:12:42 -08:00
Chris Jones
e052c45293 Bug 786631, part 1: Refactor privilege adjustment. r=dhylands 2013-01-17 12:06:36 -08:00
Chris Jones
1d8beb4d30 Back out bug 786631 2013-01-17 12:50:13 -08:00
Chris Jones
75253fec80 Back out bug 786631 2013-01-17 12:49:42 -08:00
Chris Jones
61d931a487 Bustage fix for bug 786631: Need a win no-op too. r=me 2013-01-17 12:46:05 -08:00
Chris Jones
ee3cd37a6e Bug 786631, part 1: Refactor privilege adjustment. r=dhylands 2013-01-17 12:06:36 -08:00
Charles Chan
b210139731 Bug 710989 - Fix possible memset underflow in Time::Explode(). r=cjones 2012-03-23 21:24:07 -07:00
Oleg Romashin
35336671d7 Bug 826979 - jsfriendapi.h conflict with qobjectdefs.h slots defines. r=glandium
--HG--
extra : rebase_source : d30852a09858b4f6d62fee627c0dc08ef765dcd8
2013-01-11 15:06:36 -08:00
Chris Jones
c5838870ff Bug 828285: Run camera with lower privileges. r=dhylands a=overholt 2013-01-09 14:50:25 +01:00
Nathan Froyd
96c005f6f9 Bug 826439 - use floats instead of doubles for exponential histogram statistic calculations; r=vdjeric 2013-01-03 16:21:44 -05:00
Ed Morley
aa4c0c0f58 Backout 6e391f971a13 (bug 826439) for xpcshell failures 2013-01-04 16:07:27 +00:00
Nathan Froyd
87d872a38f Bug 826439 - use floats instead of doubles for exponential histogram statistic calculations; r=vdjeric 2013-01-03 16:21:44 -05:00
Nathan Froyd
8afc4b1941 Bug 819418 - part 1 - be more selective in exporting aggregate statistics; r=vdjeric 2012-12-07 14:02:39 -05:00
Landry Breuil
10b226aafe Bug 823240 - include sys/proc.h on OpenBSD to access P_TRACED flag, needed since r1.127 of sys/sysctl.h. r=cjones 2012-12-20 13:46:39 +01:00
Chris Jones
8c70858d92 Bug 822510: Add specific privilege levels for camera and video, and enable that for video. r=jlebar,kang 2012-12-19 23:41:08 -08:00
Chris Jones
69d2831163 Bug 820560: Run unprivileged processes with different uids when possible. r=kang a=blocking-basecamp 2012-12-17 15:39:34 -08:00
Nathan Froyd
d88529f8fd Bug 819418 - part 0 - Histogram::SampleSet:Add needs to transfer all values, not just sum_; r=vdjeric 2012-12-07 14:52:19 -05:00
Nathan Froyd
e07b75aded Bug 816166 - part 1 - record extra information on raw data collected in histograms; r=vdjeric 2012-11-30 15:49:49 -05:00
Nicholas Nethercote
1cfc9de8d0 Bug 811596 - Shrink the IPC message buffer after each message is processed. r=cjones. 2012-11-19 20:52:44 -08:00
Nathan Froyd
5b83b06e4c Bug 810332 - don't include <iostream> in ipc code where it's not necessary; r=cjones 2012-11-09 11:07:09 -05:00
Kartikaya Gupta
a0b20d27fa Bug 808875 - Fix unused variable warning in file_util_posix.cc. r=mwu 2012-11-14 09:36:12 -08:00
Nathan Froyd
08d30b4c4a Bug 811419 - fix accumulation of the zero bucket in flag histograms; r=taras 2012-11-13 14:55:02 -05:00
Ben Turner
27072c3f92 Bug 808743 - ' Better protection for PBrowser shutdown and database invalidation in multiprocess scenarios'. r=khuey+cjones.
--HG--
extra : transplant_source : %BD%E4%ADA%09%CE%D9%BE%1C%7C%7B%1A%FC%86%5C%13%24%29%B4%16
2012-11-09 19:29:07 -08:00
Nathan Froyd
8f18022d36 Backout fe44be80d09f (bug 810332) for Windows build bustage 2012-11-09 21:21:22 -05:00
Nathan Froyd
75a36e8700 Bug 810332 - don't include <iostream> in ipc code where it's not necessary; r=cjones 2012-11-09 11:07:09 -05:00
Steven Lee
037e8307cf Bug 805478 - Implement MessageLoopForIO::LineWatcher. r=dhylands 2012-11-08 14:35:02 -05:00
rmkn85
ea79da8beb Bug 804511 - Use WT_EXECUTEDEFAULT instead of WT_EXECUTEWAITINTHREAD to avoid deadlocks while debugging. r=bent 2012-10-24 08:19:00 -04:00
rmkn85
105b851f98 Bug 804592 - "CreatePipe from Chromium IPC requires Logon Session, fails otherwise" [r=jones.chris.g] 2012-10-24 08:11:00 -04: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
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
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
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
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
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
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
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
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
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
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
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
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
967d4da9ae Bug 636063, part 2: Backend 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
8b9d683757 Bug 636063, part 2: Backend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jan Beich
6af996efab Bug 782521 - Don't use const for pthread_setname_np's 3rd arg on NetBSD. r=cjones 2012-08-15 21:00:50 -04:00
Chris Jones
e1de846b70 Bug 778382: Don't put anonymous sockets in the PipeMap because they can collide. r=bent 2012-08-07 16:29:32 -07:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ben Turner
4893263a15 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Oleg Romashin
cb76490018 Bug 744121 - Fix bogus issue with QObject::startTimer: QTimer cannot have a negative interval. r=cjones 2012-07-28 17:55:16 -04:00
Guillaume Destuynder
68357eb8db Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones 2012-07-26 21:42:56 -07:00
Chris Jones
b3fce04949 Backed out changeset 201612a0b133 2012-07-26 21:55:41 -07:00
Guillaume Destuynder
53db4466be Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones 2012-07-26 21:42:56 -07:00
Ehsan Akhgari
5157db4f17 Bug 777734 - Initialize the type variable in ParamTraits<LogData>::Read; r=cjones
This is mostly to silence compiler warnings.  The uninitialized type itself
won't cause problems because failed Read() prevents dispatch.
2012-07-26 11:23:54 -04:00
Landry Breuil
87a30c06c6 Bug 775428: add a long long template for OpenBSD/64bits, fixes build breakage after 745148. r=cjones 2012-07-19 22:54:50 +02:00
Dave Hylands
364925d677 Bug 772734 - Fixes LaunchApp hang when launching. r=cjones
From 8010cffba6e3dec5f792e965aacb9621ef06e0d7 Mon Sep 17 00:00:00 2001
 plugin-container - v5
Added checks in case PR_DuplicateEnvironment or PR_Malloc fail
Added #ifdef so that only Android builds try to call PR_DuplicateEnvironment
Moved PR_DuplicateEnvironment function from mozglue into process_util_linux.cc
so that matched alloc/free calls happen under android.
---
 ipc/chromium/src/base/process_util_linux.cc |  146 +++++++++++++++++++++++++--
 1 file changed, 140 insertions(+), 6 deletions(-)
2012-07-13 08:41:30 -07:00
Ed Morley
e438c5835d Backout 41f4bdd4b6bd (bug 772734), af578c454d1e (bug 773414) for XUL Android bustage, on a CLOSED TREE 2012-07-18 09:51:44 +01:00
Dave Hylands
b19b3adfb8 Bug 772734 - Fixes LaunchApp hang when launching. r=cjones
From c6bdfcf39e3dfe28fe7376f8c0b1b9d07a1d969b Mon Sep 17 00:00:00 2001
 plugin-container - v4
Added checks in case PR_DuplicateEnvironment or PR_Malloc fail
Added #ifdef so that only Android builds try to call PR_DuplicateEnvironment
---
 ipc/chromium/src/base/process_util_linux.cc |  121 +++++++++++++++++++++++++--
 1 file changed, 115 insertions(+), 6 deletions(-)
2012-07-13 08:41:30 -07:00
Chris Jones
aff6dd1169 Bug 745148, part 2: GeckoChildProcessHost can't drop messages on the floor. Queue them and hand them off to the *Channel. r=bent 2012-07-14 14:21:32 -07:00
Brad Lassey
6b0fea71be bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones 2012-06-14 09:08:51 -07:00
Gervase Markham
1dae5db5a1 Bug 759095 - remove licensing-related query now issue has been resolved. 2012-06-11 16:38:26 +01:00
Ryan VanderMeulen
5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
David Zbarsky
ae195aefdc Bug 754874 - OMTC: Qt MessageLoop should use CurrentThread object for event dispatching. r=dougt 2012-06-09 15:18:05 -07:00
Anselmo Diaz
0edf60727a Bug 655413 - Don't bump timer frequency in the IPC code. r=cjones 2012-06-03 08:09:28 +02:00
Ms2ger
8a8a27c9aa Bug 558313 - Remove ipc/chromium/src/base/third_party/nspr for great justice; r=ted 2012-06-06 09:24:55 +02:00
Ms2ger
39ccf575a7 Bug 758861 - Don't redefine stdin types in basictypes.h; r=bsmedberg 2012-06-06 09:21:50 +02:00
Brad Lassey
8800027a2d backout bug 755070 2012-06-04 20:15:37 -04:00
Brad Lassey
366b9bb39f bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, screenshot only on idle r=kats 2012-06-04 11:56:30 -04:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Marco Perez
7765795e84 Bug 752067 - Build broken in ipc after prctl changes. r=cjones 2012-05-24 18:45:10 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nathan Froyd
ae7166da99 Bug 748914 - Part 1: implement Histogram::Clear; r=taras 2012-05-08 15:38:50 -04:00
Nicolas Silva
843317626a Bug 750498 - Support IPC Thread::SetName on Linux. r=cjones
--HG--
extra : rebase_source : b7eeef0e1cf7886685675eb25fcb7dbf00da2f0a
2012-05-01 15:34:41 -04:00
Joey Armstrong
6bf8cf559d Bug 739710 - Makefile.in edits to use mkdir_deps function: file batch #2. r=ted 2012-05-03 06:22:33 -04:00