Victor Porof
928e1cef59
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Emilio Pozuelo Monfort
4595098119
Bug 624422 - Clean up MOZ_WIDGET_GTK usages. r=karlt
...
Based on a patch from Mike Hommey.
2014-05-28 04:23:00 -04:00
Randell Jesup
8d6c68d8b4
Bug 987979: Patch 3 - Fix various build issues in webrtc.org/Mozilla integration. r=rjesup
2014-05-29 17:05:14 -04:00
chiajung hung
aca898b7e3
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Ed Morley
654e84274f
Backed out changeset 1a6ada013610 (bug 959089)
2014-04-25 17:51:15 +01:00
chiajung hung
de90a4ed73
Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal
2014-04-25 02:28:00 -04:00
Shelly Lin
2f7ea42920
Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey.
2014-03-27 16:49:06 +08:00
Aaron Klotz
7bd0ac22b6
Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj
2014-04-08 22:57:52 -06:00
Viktor Stanchev
19b8e148ae
Bug 963158 - Profiler shouldn't sample sleeping threads multiple times. r=bgirard,roc,bent,froydnj
...
--HG--
extra : rebase_source : 75789c4359a2cb02b2588cfbc9b6b3cbd1e79c78
2014-03-28 16:08:22 -04:00
Josh Aas
606ae17482
Bug 987923: Add autorelease pool locally in GetTempDir on OS X, and also to non-main-thread event loop. r=smichaud,bent
2014-03-25 15:27:12 -05:00
Andrea Marchesini
623c6e2389
Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey
2014-03-25 18:37:13 +00:00
Jed Davis
b9140d7242
Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg
2014-03-21 08:50:07 -04:00
Chris Peterson
ca37bd0c60
Bug 984080 - Fix clang and gcc warnings in ipc/chromium/. r=bsmedberg
2014-03-17 22:28:03 -07:00
Jed Davis
a2f7fe6f8f
Bug 976398 - Check camera permissions directly instead of using Unix groups. r=mwu r=bent
...
Loosely based on the code used to check PRemoteOpenFile.
2014-03-12 15:48:15 -07:00
Ehsan Akhgari
893ab3c5bb
Bug 976363 follow-up: Remove the useless comment
2014-03-09 14:34:48 -04:00
Ehsan Akhgari
f62c5011a0
Bug 976363 - Assert that the work queue is empty when a MessageLoop goes away, and delete the tasks in the deferred queue; r=bsmedberg
2014-03-09 14:33:25 -04:00
Carsten "Tomcat" Book
ad6818e799
merge b2g-inbound to mozilla-central
2014-03-04 14:31:59 +01:00
Kyle Machulis
328c3823db
Bug 979088 - Add padding to pickling in ipc so valgrind doesn't complain; r=bent
2014-03-03 20:05:14 -08:00
Ehsan Akhgari
38e78d72b1
Bug 976258 - Undo the damage of including windows.h in IPCMessageUtils.h; r=bent
2014-03-03 21:35:51 -05:00
Ben Turner
45b45b6bf2
Bug 974054, Use monotonic timers on POSIX. Fix from chromium repository. r=bsmedberg.
2014-02-24 13:17:31 -08:00
Oleg Romashin
79dd3f3972
Bug 974335 - Refactor Qt Widget Backend implementation. Qt Only changes NPDB. r=romaxa
...
--HG--
rename : dom/system/unix/Makefile.in => dom/system/qt/Makefile.in
rename : dom/system/unix/QTMLocationProvider.cpp => dom/system/qt/QTMLocationProvider.cpp
rename : dom/system/unix/QTMLocationProvider.h => dom/system/qt/QTMLocationProvider.h
rename : dom/system/unix/nsHapticFeedback.cpp => dom/system/qt/QtHapticFeedback.cpp
rename : dom/system/unix/nsHapticFeedback.h => dom/system/qt/QtHapticFeedback.h
rename : dom/system/unix/moz.build => dom/system/qt/moz.build
2014-02-20 18:09:02 -08:00
Oleg Romashin
2aeb5c9d2f
Bug 974335 - Refactor Qt Widget Backend implementation. Build changes . r=glandium
2014-02-20 18:08:58 -08:00
Ehsan Akhgari
f8f9eb7353
Bug 973393 - Move the LOCAL_INCLUDES in ipc to moz.build; r=glandium
2014-02-18 02:12:54 -05:00
Marcin Juszkiewicz
11b62112f0
Bug 963023 - AArch64 support for libevent. r=froydnj
2014-02-12 10:07:48 -05:00
Benjamin Smedberg
754074e2f0
Bug 897870 - Add diagnostic OOM size to Pickle::Pickle crashes. r=dmajor
2014-02-11 13:40:42 -05:00
Jan Beich
bb20a68069
Bug 969932 - Remove unnecessary moz.build conditional for sendfile(2) on BSDs. r=glandium
2014-02-11 09:22:46 -05:00
Jed Davis
319cd8feae
Bug 945498 - Use breakpad to report seccomp violations as crashes. r=ted, r=kang
...
Upstream issue for breakpad patch: https://breakpad.appspot.com/1114003/
2014-02-05 13:29:51 -05:00
Marcin Juszkiewicz
904947a6c1
Bug 963030 - AArch64 support for IPC. r=bsmedberg
2014-01-29 17:07:36 -05:00
Josh Aas
284b35b4f3
Bug 961760: Remove a bunch of unused Chromium IPC code. r=bent
2014-01-20 16:14:04 -06:00
Ms2ger
7d5520e791
No bug - Remove unnecessary forward declaration from transport_dib.h.
2013-12-31 10:06:11 +01:00
Indrajeet Kumar
28a974851a
Bug 945562 - Camera also needs AID_SDCARD_R and AID_MEDIA_RW groups in jb. r=dhylands
2013-12-09 00:21:37 -08:00
Wes Kocher
4f19f90e44
Backed out changeset 55a2561bb201 (bug 950401) for introducing several OSX mochitest timeouts
2013-12-17 16:50:30 -08:00
Bill McCloskey
f6173ce74e
Bug 950401 - Add missing process logging on Mac/BSD (r=bsmedberg)
2013-12-17 13:26:17 -08:00
Ehsan Akhgari
2292de0034
Bug 951207 - Rename the chromium LOG macro to CHROMIUM_LOG; r=bent
2013-12-17 13:26:45 -05:00
Ben Turner
209d160d5f
Bug 939182 - Integrate the chromium MessageLoop into nsThread, r=bsmedberg.
...
--HG--
extra : transplant_source : %82%D3%C5%E1%A4%E5%00%1C%C3%82%97v%7F%BA%20Ja%AA%C7%E5
2013-10-23 05:01:24 -07:00
Jim Chen
9bac879d9e
Bug 940737 - Monitor Compositor thread hangs using BackgroundHangMonitor; r=bsmedberg r=BenWa
2013-12-04 21:24:28 -05:00
Mike Hommey
06d6d3c5cf
Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal
2013-12-03 06:34:21 +09:00
Mike Hommey
fdd3247a81
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62
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
b038245b8d
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Landry Breuil
17069e5bbf
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
d9919bd0a2
Bug 939538 - Build parts of the ipc code in unified mode; r=glandium
2013-11-19 07:38:59 -05:00
Mike Hommey
931cb49886
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
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
f81885e53b
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ý
b6e261314d
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
17bbc689ce
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
408e3a34af
Bug 932197 - Put QT generated files in GENERATED_SOURCES. r=gps
2013-11-01 10:30:45 +09:00
Mike Hommey
f255cb180f
Bug 870406 part n - Move more CSRCS to moz.build. r=mshal
2013-11-01 10:30:45 +09:00
Wes Kocher
7f7551664b
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
49ba5d7d0f
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
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
df8861ae74
Bug 930380 - Make sure *SOURCES only point to existing files. r=gps
2013-10-25 07:58:17 +09:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
5072f65f8c
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Ehsan Akhgari
a4c1dfde2f
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
6443188e39
Debugging patch for bug 924771, landed on a CLOSED TREE
2013-10-19 13:35:13 -04:00
Landry Breuil
d724c4a1c5
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
df62fb8b0f
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Ms2ger
17e959d672
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
9af725998a
Introduce new RPC messaging semantics (bug 910493 part 1, r=cjones).
2013-10-01 09:15:03 -07:00
Mark Hammond
91247a80e1
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
9579f654ae
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)
025fc12dba
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)
b4b97e6a1b
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
8cd94ee096
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
69db6d5c6f
Bug 919712 - Add labels in IPC message wait. r=benjamin
2013-09-24 11:40:01 -04:00
Nathan Froyd
02047ceace
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
9c9b491acd
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
e906ac3347
Bug 913953 - Part ab: Remove unused WriteInto function; r=ehsan
2013-09-10 09:03:37 +02:00
Ms2ger
dc24d8f2ff
Bug 913953 - Part aa: Remove unused GetNonClientMetrics function; r=ehsan
2013-09-10 09:03:37 +02:00
Ms2ger
e8d8c2aa6d
Bug 913953 - Part z: Remove unused GetServicePackLevel function; r=ehsan
2013-09-10 09:03:37 +02:00
Ms2ger
7fb65df9c9
Bug 913953 - Part y: Remove unused AddAccessToKernelObject function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
16f094bb2c
Bug 913953 - Part x: Remove unused GetUserSidString function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
690f84e910
Bug 913953 - Part w: Remove unused GetLogonSessionOnlyDACL function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
3999ae8ff5
Bug 913953 - Part v: Remove unused HWND subclassing functions; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
e9da5f76c4
Bug 913953 - Part u: Remove unused HWND user data functions; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
6c0f427056
Bug 913953 - Part t: Remove unused HWND creation/destruction functions; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
900116ed13
Bug 913953 - Part s: Remove unused UserAccountControlIsEnabled function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
b964864401
Bug 913953 - Part r: Remove unused GetClassName function; r=ehsan
2013-09-10 09:03:36 +02:00
Ms2ger
7548a1d1d8
Bug 913953 - Part q: Remove unused MatchPattern function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
0ac200bac6
Bug 913953 - Part p: Remove unused GetPagefileUsage function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
92929d4b97
Bug 913953 - Part o: Remove unused GetPeakPagefileUsage function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
b7ec9eec8a
Bug 913953 - Part n: Remove unused GetWorkingSetSize function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
7e687688ca
Bug 913953 - Part m: Remove unused GetPrivateBytes function; r=ehsan
2013-09-10 09:03:35 +02:00
Ms2ger
6671124154
Bug 913953 - Part l: Remove unused FreeMBytes struct; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
b603b8815d
Bug 913953 - Part k: Remove unused GetCommittedKBytes function; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
8bf3c09c84
Bug 913953 - Part j: Remove unused GetWorkingSetKBytes function; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
b5d8596fbf
Bug 913953 - Part i: Remove unused ReduceWorkingSet and UnReduceWorkingSet functions; r=ehsan
2013-09-10 09:03:34 +02:00
Ms2ger
91917950e4
Bug 913953 - Part h: Remove unused WaitForExitCode and GetAppOutput functions; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
e0827d9a59
Bug 913953 - Part g: Remove unused GetProcessCount function; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
2ada555d48
Bug 913953 - Part f: Remove unused process cleanup code; r=ehsan
2013-09-10 09:03:33 +02:00
Ms2ger
171ef55b44
Bug 913953 - Part e: Remove unused conversion code from CFStringRef and NSString; r=ehsan
2013-09-10 09:03:32 +02:00
Ms2ger
0efa453cb9
Bug 913953 - Part d: Remove unused conversion code to CFStringRef and NSString; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
078b7cbfe8
Bug 913953 - Part c: Remove unused FSRef code; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
0822e2b2c1
Bug 913953 - Part b: Remove unused override app bundle code; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
1ee2273887
Bug 913953 - Part a: Remove unused JavascriptDoubleQuote functions; r=ehsan
2013-09-10 09:03:31 +02:00
Ms2ger
0c117c4c91
Bug 909028 - Remove dead chromium code; r=ehsan, rs=bent
2013-09-06 08:42:41 +02:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Jeff Walden
c5dd957eae
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
7878ff7e42
Bug 909005: use getdents() on OpenBSD now that it is available r=glandium
2013-09-02 08:54:42 +02:00
Brian O'Keefe
0ee041b9fd
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Steven Michaud
c234b2299d
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
8085d723ed
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Trevor Saunders
86d20580f1
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
08e5de443f
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab
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
0fec49cf62
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
56bd92278e
Bug 901414 - Fix ipc/chromium to build for GNU/kFreeBSD. r=bsmedberg
2013-08-10 15:54:00 +09:00
Ehsan Akhgari
085494b95d
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
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Joshua Cranmer
bb26e8f816
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Justin Lebar
06bdc0dacd
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
f98dd45a72
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Trevor Saunders
238525e2d8
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
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ryan VanderMeulen
1ff7090de8
Merge birch to m-c.
2013-07-10 09:42:28 -04:00
Shelly Lin
fd75043d77
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
0cd787c290
Bug 889823 - ipc fail to compile using Visual Studio 2013 r=bsmedberg
2013-07-10 11:19:42 +09:00
Ed Morley
7c7bffe6a6
Bug 855686 - Attempt to log cmdline for launched process; r=ted
2013-07-08 18:54:02 +01:00
Joey Armstrong
df6123b0bc
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Ms2ger
7e40d44c1b
Bug 888573 - Remove bit_cast; r=Waldo
2013-07-10 11:54:35 +02:00
Joey Armstrong
b7ee853939
bug 870407: move CMMSRCS to mozbuild (file batch #3 ). r=mshal
2013-07-02 17:09:08 -04:00
Catalin Iacob
67956116e0
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
deda04d37b
Bug 883537 - Remove dead testing code from chromium; r=bsmedberg
2013-06-23 09:14:36 +02:00
Ms2ger
e7a4fa6b68
Bug 883504 - Remove references to EXCLUDE_SKIA_DEPENDENCIES; r=bsmedberg
2013-06-23 09:14:26 +02:00
Justin Lebar
27b6f81735
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
b850fce1a2
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
00a9e592e5
Bug 853208 - Fix build break on Gentoo
2013-06-15 20:44:37 -04:00
Nathan Froyd
d71f013917
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
c2b79add9d
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
a0c4494449
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
d6628d6d1a
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Martin Stransky
3399b67572
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
Mark Hammond
e0f274e62b
Bug 875210 - child processes on Windows inherit (only) stdout and stderr. r=aklotz
2013-05-30 23:21:36 +10:00
Kyle Huey
fb465d209c
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Jan Beich
a6c49e2595
Bug 877139 - Fix a few freebsd typos in bug 864774. r=glandium
2013-05-29 20:56:09 -04:00
Julian Seward
38e97ed8fa
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
6f32ddf61c
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
bdbd53065b
Bug 870176 - Import chromium bug 20249. r=dvander
2013-05-10 09:02:50 +12:00
Daniel Holbert
73c22ad7f0
Bug 865766 - Reorder MessageLoop init list to fix build warning. r=jlebar
2013-04-26 10:11:00 -04:00
Bill McCloskey
75a7f384d9
Bug 860885 - Turn off Chromium IPC [debug] spew (r=glandium)
2013-04-23 12:14:47 -07:00
Jan Beich
0a63e878f4
Bug 864013 - Add libevent config for BSDs. r=landry
2013-04-23 10:58:11 +02:00
Ehsan Akhgari
5ed27bd7f5
Bug 863559 - Do not leak the mach port in PlatformThread::CurrentId; r=jlebar
2013-04-19 14:37:41 -04:00
Ryan VanderMeulen
68f8a6547f
Merge m-c to inbound.
2013-04-18 14:01:31 -04:00
Justin Lebar
5cf8518c6b
Bug 857152 - Make IPC channels more robust against use after being closed. r=bent
2013-04-03 15:54:00 +02:00
James Willcox
68e1f2184d
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
f5f5be2b5b
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
589330ecab
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
3d897785d7
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
120e2a328a
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
bb950110e7
Bug 861637 - Add workaround for missing clone function. r=blassey
2013-04-16 15:47:41 +02:00
Bas Schouten
7d182a2102
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
8a408a9bc9
Backed out changesets ab64b048ad04 and 025d24d7fee8 (bug 734691) for leaks.
2013-04-08 22:16:21 -04:00
James Willcox
2975e5cff2
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
84c3632473
Bug 858204 - Enable libevent logging on debug builds. r=jlebar
2013-04-08 08:36:01 +02:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Ryan VanderMeulen
e3786d9c07
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
d2b6e6e01a
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
5663b98bc5
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
9e66302872
Bug 734691 - Add multi-thread support to profiler r=benwa
2013-03-29 15:34:49 -04:00
Josh Aas
f37323518d
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
9f67851177
Back out 89e99ecdf29f (bug 734691) for leaking
...
CLOSED TREE
2013-03-28 20:52:20 -07:00
James Willcox
a0cf106590
Bug 734691 - Add multi-thread support to profiler. r=benwa
2013-03-28 19:51:15 -04:00
Justin Lebar
9498c582d3
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
0ff6c4916f
Bug 849330 - Camera recording needs AID_SDCARD_RW capability. r=dhylands
2013-03-13 14:44:43 +08:00
Trevor Saunders
76ed99abef
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
36c2a816c1
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
9e7e6efc50
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
c93b7bd849
bug 853682 - rm some vestiges of the chromium build system r=bsmedberg
2013-03-19 18:12:06 -04:00
Trevor Saunders
f8e3dfe70b
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
e86dade785
bug 853682 - rm ipc/chromium/src/base/data/ r=bsmedberg
2013-03-19 17:48:39 -04:00
Jeff Walden
03f8461377
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
ca2a6014cb
Bug 824647 - delete histograms when StatisticsRecorder is deleted; r=jlebar
2013-03-07 11:07:12 -05:00
Phil Ringnalda
7b2757d780
Back out 7f12ca5e6d0a (bug 750303) on suspicion of breaking l10n builds
2013-03-10 20:03:28 -07:00
Joey Armstrong
8165e06d24
bug 750303: mkdir_deps - target specific enhancement
2013-03-04 14:34:02 -05:00
Gregory Szorc
27c42e83c6
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
3dd52b1229
Bug 784841 - Part 18r: Convert /ipc; r=ted f=Ms2ger
2013-02-25 12:47:22 -08:00
Nathan Froyd
75877ee97c
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
9b7de5abfc
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
5ec7302a31
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
acd3a2dba8
Bug 837561 ReadInt16 and WriteInt16 should be paired r=benjamin
2013-02-18 15:19:03 +08:00
Nathan Froyd
fc99d79f90
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
887555e996
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
f902f1c921
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
36ffa7ef80
Bug 834526, r=cjones.
2013-01-24 17:25:01 -08:00
Jan Beich
1448d0b859
Bug 832723 - Unbreak build on BSDs after bug 786631. r=cjones
2013-01-25 10:10:12 -05:00
Nicholas Nethercote
0293b60b78
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
61289b3aab
Bug 786631, part 1: Refactor privilege adjustment. r=dhylands
2013-01-17 12:06:36 -08:00
Chris Jones
7dba6ead7f
Back out bug 786631
2013-01-17 12:50:13 -08:00
Chris Jones
9a2fcc5586
Back out bug 786631
2013-01-17 12:49:42 -08:00
Chris Jones
4a4b706f9d
Bustage fix for bug 786631: Need a win no-op too. r=me
2013-01-17 12:46:05 -08:00
Chris Jones
527e7a3767
Bug 786631, part 1: Refactor privilege adjustment. r=dhylands
2013-01-17 12:06:36 -08:00
Charles Chan
d4616f491f
Bug 710989 - Fix possible memset underflow in Time::Explode(). r=cjones
2012-03-23 21:24:07 -07:00
Oleg Romashin
04f55a4a16
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
f14cef526c
Bug 828285: Run camera with lower privileges. r=dhylands a=overholt
2013-01-09 14:50:25 +01:00
Nathan Froyd
ed1429aa8e
Bug 826439 - use floats instead of doubles for exponential histogram statistic calculations; r=vdjeric
2013-01-03 16:21:44 -05:00
Ed Morley
b38062798d
Backout 6e391f971a13 (bug 826439) for xpcshell failures
2013-01-04 16:07:27 +00:00
Nathan Froyd
7ad242ea05
Bug 826439 - use floats instead of doubles for exponential histogram statistic calculations; r=vdjeric
2013-01-03 16:21:44 -05:00