Jed Davis
b9140d7242
Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg
2014-03-21 08:50:07 -04:00
Blake Kaplan
8f047b1f82
Bug 984708 - Make sure we clear out the shutdown timer no matter what. r=bent
2014-03-19 10:36:28 -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
Neil Rashbrook
921625ab05
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
2939a367ba
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
f83724018d
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Jon Coppeard
524071f389
Bug 959787 - Handlify JS_ExecuteScript, JS_EvaluateScript and other JS APIs r=sfink r=bz
2014-03-17 16:17:58 +00:00
Kyle Huey
a5ae9a4da3
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
56d26ad256
Bug 967364: Use every already_AddRefed. r=bsmedberg
2014-03-15 12:00:16 -07:00
Kyle Huey
f7eafc09a9
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -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
Ben Tian
40af3a9adb
Bug 979668 - [Bluetooth] Sender name is not shown in transfer requests, f=tzimmermann, r=kyle
2014-03-10 10:11:27 +08: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
d0ff930d65
merge b2g-inbound to mozilla-central
2014-03-07 12:49:50 +01:00
Luke Wagner
d4eada70bf
Bug 980180 - remove principals as an argument to compilation, part 1 (r=terrence)
...
--HG--
extra : rebase_source : 8bf0ff6974870d6772021aafa88dd8fd5132fc70
2014-03-06 16:28:05 -06:00
Dave Hylands
6852bd0c86
Bug 977372 - Remove main thread assert so CloseFileRunnable can be used on non-main threads. r=bent
2014-03-05 20:18:06 -08:00
Thomas Zimmermann
a4d6c7be53
Bug 979858: Add include guards to headers in ipc/unixfd, r=kyle
2014-03-06 09:32:25 +01:00
Carsten "Tomcat" Book
a6cc370084
Backed out changeset 1314168b5271 (bug 977372)
2014-03-06 09:16:01 +01:00
Dave Hylands
fae9fc2a02
Bug 977372 - Remove main thread assert so CloseFileRunnable can be used on non-main threads. r=bent
2014-03-05 20:18:06 -08:00
Honza Bambas
b341b04a8d
Bug 977339 - Do GECKO_SEPARATE_NSPR_LOGS=1 by default, r=jduell
2014-03-05 14:01:09 +01:00
Benjamin Smedberg
3e3a0c94f5
Bug 778866 - Abort from the I/O thread on abnormal shutdown of a plugin-process, in case the main thread is wedged and the Firefox process has already been killed, r=cjones
2014-03-04 12:17:01 -05: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
Thomas Zimmermann
62b6239698
Bug 977672: Cleanup includes and defines in UnixSocket.cpp, r=kyle
...
The patch removes unnecessary includes and define statements from
UnixSocket.cpp.
2014-02-28 10:16:53 +01:00
Thomas Zimmermann
eee5faae9c
Bug 977672: Cleanup runnables and tasks in UnixSocket.cpp, r=kyle
...
This patch cleans up runnables and tasks in UnixSocket.cpp. Every
runnable's name now ends in Runnable. There are a base classes for
runnables and tasks that hold reference to UnixSocketImpl and from
which all runnables and tasks inherit.
2014-02-28 10:16:53 +01:00
Thomas Zimmermann
ee103c53d3
Bug 977672: Assert O_NONBLOCK for watched file descriptors, r=kyle
...
We cannot use blocking file-descriptor I/O on the I/O thread. This
patch adds an assertion to UnixFdWatcher the tests for the O_NONBLOCK
flag, when installing a file descriptor. In UnixFileWatcher, the
Open method tests for the O_NONBLOCK flag for the opened file.
File-descriptor flags for UnixSocketImpl et al are currently set by
UnixSocketImpl itself. Later patches should move this into the
methods of connector classes.
2014-02-28 10:16:52 +01:00
Carsten "Tomcat" Book
ac78ac1ab1
Merge mozilla-central to b2g-inbound
2014-02-27 15:59:39 +01:00
Douglas Crosher
fae5b3c063
Bug 976537 - Guard against crashing in NFC shutdown when sNfcConsumer is NULL. r=allstars.chh
2014-02-26 00:54:54 +11:00
Wes Kocher
a9f65835bc
Merge inbound to m-c
2014-02-26 18:20:47 -08:00
Benoit Jacob
7186566388
Bug 974353 - In OpenExisting, check that the IPC-passed Shmem size matches the size stored in the SharedMemory header. And don't leak the segment on error. - r=bent
2014-02-26 14:10:55 -05:00
Thomas Zimmermann
4d7702580c
Bug 974410: Cleanup UnixSocketImpl, r=kyle
...
This patch cleans up the implementation of UnixSocketImpl by
- inlining all calls to SetUpIO,
- removing the unsued constant SOCKET_RETRY_TIME_MS, and
- separating logging from Bluetooth.
2014-02-26 17:52:18 +01:00
Thomas Zimmermann
d3b12775b1
Bug 974410: Inherit UnixSocketImpl from UnixSocketWatcher, r=kyle
...
The base class UnixSocketWatcher handles the connection state of
the socket. UnixSocketImpl overrides UnixSocketWatcher's callback
methods for implementing it's functionality.
2014-02-26 17:52:09 +01:00
Thomas Zimmermann
0801b527de
Bug 974410: Inherit UnixSocketImpl from UnixFdWatcher, r=kyle
...
With this patch UnixSocketImpl inherits from UnixFdWatcher. The
new base class implements general file-descriptor handling and
I/O watchers.
2014-02-26 17:52:00 +01:00
Thomas Zimmermann
a3c1ed41a6
Bug 974410: Added watcher classes for Unix file descriptors, r=kyle
...
These new classes encasulate file-descriptor watchers, basic file
descriptors, and socket connections. Each class contains callback
methods for it's implemented functionality. Users should inherit
from the classes and overload the callback with their own code.
2014-02-26 17:51:52 +01:00
Benoit Jacob
5e775166bb
Bug 968244 - Make IPDL-generated code not crash on bad shmems - r=bent
2014-02-25 08:57:10 -05:00
Benoit Jacob
9b8ff6c048
Bug 974356 - 1/4 - Initialize mOtherProcess to an invalid handle value - r=bent
2014-02-25 08:12:49 -05:00
Benoit Jacob
01c63353d6
Bug 968823 - Make Shmem gracefully handle errors instead of just aborting - r=bent
2014-02-24 22:21:48 -05:00
Steve Workman
9f958b0b32
Bug 956218 - Make sure that all callbacks are called, r=bent.
2014-02-06 10:42:29 +01:00
Ben Turner
4124e64466
Bug 956218 - '(PBackground) Add a mechanism for communicating with
...
a non-main I/O thread via thread and process links'. r=mrbkap+khuey+bsmedberg.
2013-11-26 23:59:41 -08:00
Ehsan Akhgari
72e2b58d94
Bug 975736 - Port the remaining LDFLAGS variable in ipc/app/Makefile.in to moz.build; r=mshal
2014-02-26 21:42:21 -05:00
Ehsan Akhgari
2bb7d82af6
Bug 975733 - Move some LDFLAGS for building executables on Windows to moz.build; r=mshal
2014-02-26 21:38:29 -05:00
Ben Turner
cb67b8b085
Bug 976790 - Fix assertion failure, r=mrbkap.
2014-02-26 15:53:43 -08:00
Ryan VanderMeulen
97c5a6209a
Backed out changeset 3d4a094ac17e (bug 976790) for bustage on a CLOSED TREE.
2014-02-26 16:52:29 -05:00
Ryan VanderMeulen
d3dfcaea0e
Merge m-c to inbound.
2014-02-26 16:42:16 -05:00
L. David Baron
dfb9ad9186
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Ben Turner
f747ba0cb1
Bug 976790 - Fix assertion failure, r=mrbkap.
2014-02-26 13:31:32 -08:00
Benoit Jacob
8f6107127f
Bug 974353 - Add MOZ_COUNT_[CD]TOR to SharedMemory - r=bent
2014-02-26 16:23: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
Ehsan Akhgari
5d2d8c62a4
Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal
2014-02-24 08:30:25 -05:00
Ehsan Akhgari
83afc1afae
Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-21 09:11:33 -05:00
Ehsan Akhgari
067fa188b6
Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 21:33:49 -05: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
Thomas Zimmermann
754aad3a07
Bug 972253: Remove DBusThread.{cpp,h}, r=kyle
...
These files are obsolete and not used any longer.
2014-02-20 12:56:24 +01:00
Jan Beich
176005c25e
Bug 968432 - Implement mozilla::ipc::SetThisProcessName() on BSDs. r=dhylands
2014-02-18 15:41:23 -05:00
Ryan VanderMeulen
3a5165c020
Backed out changeset 0f7f99d0a2f5 (bug 968432) for bustage.
2014-02-18 09:26:09 -05:00
Jan Beich
640552f435
Bug 968432 - Implement mozilla::ipc::SetThisProcessName() on BSDs. r=dhylands
2014-02-18 08:59:33 -05: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
Vicamo Yang
af1963d849
Bug 960894 - 1/4: allow representing multiple clients in one RIL worker. r=bz
2014-02-17 19:35:01 +08:00
Ms2ger
aa9d7b52b4
Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal
2014-02-15 21:24:59 +01:00
Ryan VanderMeulen
f0fc43923a
Merge m-c to b2g-inbound
2014-02-14 15:32:34 -05:00
Brian R. Bondy
232d729fa2
Bug 972459 - Windows sandbox buildingbroke after porting some LOCAL_INCLUDES variables to moz.build. r=ehsan
2014-02-14 11:07:24 -05:00
Brian R. Bondy
49164e195d
Bug 969559 - Set delayed restricted integrity in child process to block off pipe and file access after LowerToken call. r=aklotz
2014-02-14 11:07:16 -05:00
Thomas Zimmermann
334f7dc78f
Bug 972265: Use connect delay in NFC IPC code, r=allstars.chh
...
When trying to re-connect a socket, the NFC IPC code now respects
the delay that is suggested by the UnixSocketConsumer.
2014-02-14 08:03:27 +01:00
Thomas Zimmermann
6133765188
Bug 972265: Use connect delay in RIL IPC code, r=vyang
...
When trying to re-connect a socket, the RIL IPC code now respects
the delay that is suggested by the UnixSocketConsumer.
2014-02-14 08:03:15 +01:00
Thomas Zimmermann
9f54d191f0
Bug 972265: Maintain connect delay in UnixSocketConsumer, r=kyle
...
UnixSocketConsumer now maintains a delay for re-establishing closed
connection. The initial delay is zero, so that the first connect call
is processed immediately. At the first failed attempt to connect, the
delay is set to ~1 second, and is increased by a factor of 2 on each
successive error until it reaches ~1 minute.
The UnixSocketConsumer code resets the delay to zero if it is lower
than the time that the connection was open. This heuristics protects
against cases where the peer establishes a connection, and closes it
shortly afterwards. Incompatible versions of rild show this behavior.
2014-02-14 08:03:05 +01:00
Jon Coppeard
0eac977006
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00: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
Jon Coppeard
2cf0941496
Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug
2014-02-11 10:59:16 +00:00
Jeff Walden
88e30ae99d
Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in ipc/. r=bent
...
--HG--
extra : rebase_source : 9cf056a966c804e3253814aa1fc2d8fa43a5f633
2014-02-06 22:17:07 -08:00
Ehsan Akhgari
e919c9ad6e
Bug 968631 - Port some LOCAL_INCLUDES variables to moz.build; r=mshal
2014-02-10 13:41:02 -05:00
Thomas Zimmermann
eb9026aa52
Bug 968868: Move DBusWatcher to RawDBusConnection, r=qdot
...
DBusWatcher is a helper for RawDBusConnection. This patch moves
both classes into the same file. Calling RawDBusConnection::Watch
installs a DBusWatcher for the connection.
2014-02-07 12:01:27 +01:00
Ryan VanderMeulen
c4a74612a7
Merge b2g-inbound to m-c.
2014-02-06 16:28:14 -05:00
Thomas Zimmermann
98a88f00f6
Bug 968275: Remove task classes from RawDBusConnection, r=qdot
...
This patch removes the internal tasks from the implementation of
RawDBusConnection. All calls to RawDBusConnection are invoked on
the I/O thread, so the sender tasks only impose an overhead.
2014-02-06 17:28:44 +01:00
Ben Turner
dceb952e3c
Backout bug 956218 for build error
2014-02-06 15:19:08 +01:00
Steve Workman
a24ba37aef
Bug 956218 - Make sure that all callbacks are called, r=bent.
2014-02-06 10:42:29 +01:00
Carsten "Tomcat" Book
117533e244
merge fx-team to mozilla-central
2014-02-06 12:51:21 +01:00
Nathan Froyd
a5e7f3c082
Bug 967297 - consider ipdl modules as inputs to the ipdl build process; r=glandium
2014-02-06 00:21:46 -05:00
Ryan VanderMeulen
3bf7101122
Merge m-c to fx-team.
2014-02-05 16:14:03 -05:00
Ted Clancy
421391f4c5
Bug 962344 - Log messages in IPDL should contain from/to information; Log message should go to logcat on Gonk devices. r=bent
2014-02-03 14:11:50 +01: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
Kyle Machulis
a1c05e69d8
Bug 843857 - Make sure all socket errors fire events back to, r=tdz
2013-12-09 16:46:20 -08:00
Ben Turner
9b5658e664
Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap.
2013-11-26 23:59:41 -08:00
Ehsan Akhgari
1b27485f94
Bug 967167 - Use fallible memory allocation when reading IPDL array types to make sure that we don't OOM for very large arrays; r=bent
2014-02-06 08:35:28 -05:00
Bill McCloskey
c101703afc
Bug 910962 - Make DeallocShmem not assert when child has crashed (r=bsmedberg)
2014-01-31 10:43:44 -08:00
Birunthan Mohanathas
89f96b243e
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Marcin Juszkiewicz
904947a6c1
Bug 963030 - AArch64 support for IPC. r=bsmedberg
2014-01-29 17:07:36 -05:00
Brian R. Bondy
4fbe9c94fa
Bug 961757 - Add the ability to include shim first for a buildable sandbox on Windows. r=glandium
...
--HG--
rename : security/sandbox/base/at_exit.cc => security/sandbox/chromium/base/at_exit.cc
rename : security/sandbox/base/at_exit.h => security/sandbox/chromium/base/at_exit.h
rename : security/sandbox/base/atomic_ref_count.h => security/sandbox/chromium/base/atomic_ref_count.h
rename : security/sandbox/base/atomic_sequence_num.h => security/sandbox/chromium/base/atomic_sequence_num.h
rename : security/sandbox/base/atomicops.h => security/sandbox/chromium/base/atomicops.h
rename : security/sandbox/base/atomicops_internals_tsan.h => security/sandbox/chromium/base/atomicops_internals_tsan.h
rename : security/sandbox/base/atomicops_internals_x86_gcc.h => security/sandbox/chromium/base/atomicops_internals_x86_gcc.h
rename : security/sandbox/base/atomicops_internals_x86_msvc.h => security/sandbox/chromium/base/atomicops_internals_x86_msvc.h
rename : security/sandbox/base/base_export.h => security/sandbox/chromium/base/base_export.h
rename : security/sandbox/base/base_paths.cc => security/sandbox/chromium/base/base_paths.cc
rename : security/sandbox/base/base_paths.h => security/sandbox/chromium/base/base_paths.h
rename : security/sandbox/base/base_paths_win.cc => security/sandbox/chromium/base/base_paths_win.cc
rename : security/sandbox/base/base_paths_win.h => security/sandbox/chromium/base/base_paths_win.h
rename : security/sandbox/base/base_switches.cc => security/sandbox/chromium/base/base_switches.cc
rename : security/sandbox/base/base_switches.h => security/sandbox/chromium/base/base_switches.h
rename : security/sandbox/base/basictypes.h => security/sandbox/chromium/base/basictypes.h
rename : security/sandbox/base/bind.h => security/sandbox/chromium/base/bind.h
rename : security/sandbox/base/bind_helpers.h => security/sandbox/chromium/base/bind_helpers.h
rename : security/sandbox/base/bind_internal.h => security/sandbox/chromium/base/bind_internal.h
rename : security/sandbox/base/bind_internal_win.h => security/sandbox/chromium/base/bind_internal_win.h
rename : security/sandbox/base/callback.h => security/sandbox/chromium/base/callback.h
rename : security/sandbox/base/callback_forward.h => security/sandbox/chromium/base/callback_forward.h
rename : security/sandbox/base/callback_internal.cc => security/sandbox/chromium/base/callback_internal.cc
rename : security/sandbox/base/callback_internal.h => security/sandbox/chromium/base/callback_internal.h
rename : security/sandbox/base/command_line.cc => security/sandbox/chromium/base/command_line.cc
rename : security/sandbox/base/command_line.h => security/sandbox/chromium/base/command_line.h
rename : security/sandbox/base/compiler_specific.h => security/sandbox/chromium/base/compiler_specific.h
rename : security/sandbox/base/containers/hash_tables.h => security/sandbox/chromium/base/containers/hash_tables.h
rename : security/sandbox/base/cpu.cc => security/sandbox/chromium/base/cpu.cc
rename : security/sandbox/base/cpu.h => security/sandbox/chromium/base/cpu.h
rename : security/sandbox/base/critical_closure.h => security/sandbox/chromium/base/critical_closure.h
rename : security/sandbox/base/debug/alias.cc => security/sandbox/chromium/base/debug/alias.cc
rename : security/sandbox/base/debug/alias.h => security/sandbox/chromium/base/debug/alias.h
rename : security/sandbox/base/debug/debugger.h => security/sandbox/chromium/base/debug/debugger.h
rename : security/sandbox/base/debug/leak_annotations.h => security/sandbox/chromium/base/debug/leak_annotations.h
rename : security/sandbox/base/debug/profiler.cc => security/sandbox/chromium/base/debug/profiler.cc
rename : security/sandbox/base/debug/profiler.h => security/sandbox/chromium/base/debug/profiler.h
rename : security/sandbox/base/environment.h => security/sandbox/chromium/base/environment.h
rename : security/sandbox/base/file_descriptor_posix.h => security/sandbox/chromium/base/file_descriptor_posix.h
rename : security/sandbox/base/file_util.cc => security/sandbox/chromium/base/file_util.cc
rename : security/sandbox/base/file_util.h => security/sandbox/chromium/base/file_util.h
rename : security/sandbox/base/file_util_win.cc => security/sandbox/chromium/base/file_util_win.cc
rename : security/sandbox/base/file_version_info.h => security/sandbox/chromium/base/file_version_info.h
rename : security/sandbox/base/file_version_info_win.h => security/sandbox/chromium/base/file_version_info_win.h
rename : security/sandbox/base/files/file_path.h => security/sandbox/chromium/base/files/file_path.h
rename : security/sandbox/base/float_util.h => security/sandbox/chromium/base/float_util.h
rename : security/sandbox/base/format_macros.h => security/sandbox/chromium/base/format_macros.h
rename : security/sandbox/base/guid.h => security/sandbox/chromium/base/guid.h
rename : security/sandbox/base/lazy_instance.cc => security/sandbox/chromium/base/lazy_instance.cc
rename : security/sandbox/base/lazy_instance.h => security/sandbox/chromium/base/lazy_instance.h
rename : security/sandbox/base/location.cc => security/sandbox/chromium/base/location.cc
rename : security/sandbox/base/location.h => security/sandbox/chromium/base/location.h
rename : security/sandbox/base/logging.cc => security/sandbox/chromium/base/logging.cc
rename : security/sandbox/base/logging.h => security/sandbox/chromium/base/logging.h
rename : security/sandbox/base/logging_win.cc => security/sandbox/chromium/base/logging_win.cc
rename : security/sandbox/base/logging_win.h => security/sandbox/chromium/base/logging_win.h
rename : security/sandbox/base/memory/aligned_memory.h => security/sandbox/chromium/base/memory/aligned_memory.h
rename : security/sandbox/base/memory/raw_scoped_refptr_mismatch_checker.h => security/sandbox/chromium/base/memory/raw_scoped_refptr_mismatch_checker.h
rename : security/sandbox/base/memory/ref_counted.cc => security/sandbox/chromium/base/memory/ref_counted.cc
rename : security/sandbox/base/memory/ref_counted.h => security/sandbox/chromium/base/memory/ref_counted.h
rename : security/sandbox/base/memory/scoped_ptr.h => security/sandbox/chromium/base/memory/scoped_ptr.h
rename : security/sandbox/base/memory/singleton.cc => security/sandbox/chromium/base/memory/singleton.cc
rename : security/sandbox/base/memory/singleton.h => security/sandbox/chromium/base/memory/singleton.h
rename : security/sandbox/base/memory/weak_ptr.h => security/sandbox/chromium/base/memory/weak_ptr.h
rename : security/sandbox/base/move.h => security/sandbox/chromium/base/move.h
rename : security/sandbox/base/observer_list.h => security/sandbox/chromium/base/observer_list.h
rename : security/sandbox/base/observer_list_threadsafe.h => security/sandbox/chromium/base/observer_list_threadsafe.h
rename : security/sandbox/base/os_compat_nacl.h => security/sandbox/chromium/base/os_compat_nacl.h
rename : security/sandbox/base/path_service.cc => security/sandbox/chromium/base/path_service.cc
rename : security/sandbox/base/path_service.h => security/sandbox/chromium/base/path_service.h
rename : security/sandbox/base/pending_task.h => security/sandbox/chromium/base/pending_task.h
rename : security/sandbox/base/platform_file.cc => security/sandbox/chromium/base/platform_file.cc
rename : security/sandbox/base/platform_file.h => security/sandbox/chromium/base/platform_file.h
rename : security/sandbox/base/port.h => security/sandbox/chromium/base/port.h
rename : security/sandbox/base/process/process_handle.h => security/sandbox/chromium/base/process/process_handle.h
rename : security/sandbox/base/profiler/alternate_timer.h => security/sandbox/chromium/base/profiler/alternate_timer.h
rename : security/sandbox/base/profiler/tracked_time.h => security/sandbox/chromium/base/profiler/tracked_time.h
rename : security/sandbox/base/rand_util.h => security/sandbox/chromium/base/rand_util.h
rename : security/sandbox/base/run_loop.h => security/sandbox/chromium/base/run_loop.h
rename : security/sandbox/base/scoped_clear_errno.h => security/sandbox/chromium/base/scoped_clear_errno.h
rename : security/sandbox/base/sequence_checker.h => security/sandbox/chromium/base/sequence_checker.h
rename : security/sandbox/base/sequence_checker_impl.h => security/sandbox/chromium/base/sequence_checker_impl.h
rename : security/sandbox/base/sequenced_task_runner.h => security/sandbox/chromium/base/sequenced_task_runner.h
rename : security/sandbox/base/sequenced_task_runner_helpers.h => security/sandbox/chromium/base/sequenced_task_runner_helpers.h
rename : security/sandbox/base/shim/base/gtest_prod_util.h => security/sandbox/chromium/base/shim/base/gtest_prod_util.h
rename : security/sandbox/base/shim/base/logging.cpp => security/sandbox/chromium/base/shim/base/logging.cpp
rename : security/sandbox/base/shim/base/strings/string_piece.h => security/sandbox/chromium/base/shim/base/strings/string_piece.h
rename : security/sandbox/base/shim/base/third_party/nspr/prtime.h => security/sandbox/chromium/base/shim/base/third_party/nspr/prtime.h
rename : security/sandbox/base/shim/base/third_party/nspr/prtypes.h => security/sandbox/chromium/base/shim/base/third_party/nspr/prtypes.h
rename : security/sandbox/base/shim/base/tracked_objects.h => security/sandbox/chromium/base/shim/base/tracked_objects.h
rename : security/sandbox/base/shim/sdkdecls.h => security/sandbox/chromium/base/shim/sdkdecls.h
rename : security/sandbox/base/single_thread_task_runner.h => security/sandbox/chromium/base/single_thread_task_runner.h
rename : security/sandbox/base/stl_util.h => security/sandbox/chromium/base/stl_util.h
rename : security/sandbox/base/strings/nullable_string16.cc => security/sandbox/chromium/base/strings/nullable_string16.cc
rename : security/sandbox/base/strings/nullable_string16.h => security/sandbox/chromium/base/strings/nullable_string16.h
rename : security/sandbox/base/strings/string16.h => security/sandbox/chromium/base/strings/string16.h
rename : security/sandbox/base/strings/string_number_conversions.cc => security/sandbox/chromium/base/strings/string_number_conversions.cc
rename : security/sandbox/base/strings/string_number_conversions.h => security/sandbox/chromium/base/strings/string_number_conversions.h
rename : security/sandbox/base/strings/string_piece.cc => security/sandbox/chromium/base/strings/string_piece.cc
rename : security/sandbox/base/strings/string_piece.h => security/sandbox/chromium/base/strings/string_piece.h
rename : security/sandbox/base/strings/string_util.h => security/sandbox/chromium/base/strings/string_util.h
rename : security/sandbox/base/strings/string_util_constants.cc => security/sandbox/chromium/base/strings/string_util_constants.cc
rename : security/sandbox/base/strings/string_util_stripped.cc => security/sandbox/chromium/base/strings/string_util_stripped.cc
rename : security/sandbox/base/strings/string_util_win.h => security/sandbox/chromium/base/strings/string_util_win.h
rename : security/sandbox/base/strings/stringprintf.cc => security/sandbox/chromium/base/strings/stringprintf.cc
rename : security/sandbox/base/strings/stringprintf.h => security/sandbox/chromium/base/strings/stringprintf.h
rename : security/sandbox/base/strings/utf_string_conversion_utils.cc => security/sandbox/chromium/base/strings/utf_string_conversion_utils.cc
rename : security/sandbox/base/strings/utf_string_conversion_utils.h => security/sandbox/chromium/base/strings/utf_string_conversion_utils.h
rename : security/sandbox/base/strings/utf_string_conversions.cc => security/sandbox/chromium/base/strings/utf_string_conversions.cc
rename : security/sandbox/base/strings/utf_string_conversions.h => security/sandbox/chromium/base/strings/utf_string_conversions.h
rename : security/sandbox/base/synchronization/lock.cc => security/sandbox/chromium/base/synchronization/lock.cc
rename : security/sandbox/base/synchronization/lock.h => security/sandbox/chromium/base/synchronization/lock.h
rename : security/sandbox/base/synchronization/lock_impl.h => security/sandbox/chromium/base/synchronization/lock_impl.h
rename : security/sandbox/base/synchronization/lock_impl_win.cc => security/sandbox/chromium/base/synchronization/lock_impl_win.cc
rename : security/sandbox/base/sys_info.h => security/sandbox/chromium/base/sys_info.h
rename : security/sandbox/base/task_runner.h => security/sandbox/chromium/base/task_runner.h
rename : security/sandbox/base/template_util.h => security/sandbox/chromium/base/template_util.h
rename : security/sandbox/base/third_party/dmg_fp/LICENSE => security/sandbox/chromium/base/third_party/dmg_fp/LICENSE
rename : security/sandbox/base/third_party/dmg_fp/dmg_fp.h => security/sandbox/chromium/base/third_party/dmg_fp/dmg_fp.h
rename : security/sandbox/base/third_party/dmg_fp/dtoa.cc => security/sandbox/chromium/base/third_party/dmg_fp/dtoa.cc
rename : security/sandbox/base/third_party/dmg_fp/g_fmt.cc => security/sandbox/chromium/base/third_party/dmg_fp/g_fmt.cc
rename : security/sandbox/base/third_party/dynamic_annotations/LICENSE => security/sandbox/chromium/base/third_party/dynamic_annotations/LICENSE
rename : security/sandbox/base/third_party/dynamic_annotations/dynamic_annotations.h => security/sandbox/chromium/base/third_party/dynamic_annotations/dynamic_annotations.h
rename : security/sandbox/base/third_party/icu/LICENSE => security/sandbox/chromium/base/third_party/icu/LICENSE
rename : security/sandbox/base/third_party/icu/icu_utf.cc => security/sandbox/chromium/base/third_party/icu/icu_utf.cc
rename : security/sandbox/base/third_party/icu/icu_utf.h => security/sandbox/chromium/base/third_party/icu/icu_utf.h
rename : security/sandbox/base/thread_task_runner_handle.h => security/sandbox/chromium/base/thread_task_runner_handle.h
rename : security/sandbox/base/threading/platform_thread.h => security/sandbox/chromium/base/threading/platform_thread.h
rename : security/sandbox/base/threading/platform_thread_win.cc => security/sandbox/chromium/base/threading/platform_thread_win.cc
rename : security/sandbox/base/threading/sequenced_worker_pool.h => security/sandbox/chromium/base/threading/sequenced_worker_pool.h
rename : security/sandbox/base/threading/thread_checker_impl.h => security/sandbox/chromium/base/threading/thread_checker_impl.h
rename : security/sandbox/base/threading/thread_collision_warner.cc => security/sandbox/chromium/base/threading/thread_collision_warner.cc
rename : security/sandbox/base/threading/thread_collision_warner.h => security/sandbox/chromium/base/threading/thread_collision_warner.h
rename : security/sandbox/base/threading/thread_id_name_manager.cc => security/sandbox/chromium/base/threading/thread_id_name_manager.cc
rename : security/sandbox/base/threading/thread_id_name_manager.h => security/sandbox/chromium/base/threading/thread_id_name_manager.h
rename : security/sandbox/base/threading/thread_local.h => security/sandbox/chromium/base/threading/thread_local.h
rename : security/sandbox/base/threading/thread_local_storage.h => security/sandbox/chromium/base/threading/thread_local_storage.h
rename : security/sandbox/base/threading/thread_local_win.cc => security/sandbox/chromium/base/threading/thread_local_win.cc
rename : security/sandbox/base/threading/thread_restrictions.cc => security/sandbox/chromium/base/threading/thread_restrictions.cc
rename : security/sandbox/base/threading/thread_restrictions.h => security/sandbox/chromium/base/threading/thread_restrictions.h
rename : security/sandbox/base/time/time.cc => security/sandbox/chromium/base/time/time.cc
rename : security/sandbox/base/time/time.h => security/sandbox/chromium/base/time/time.h
rename : security/sandbox/base/time/time_win.cc => security/sandbox/chromium/base/time/time_win.cc
rename : security/sandbox/base/tracking_info.h => security/sandbox/chromium/base/tracking_info.h
rename : security/sandbox/base/tuple.h => security/sandbox/chromium/base/tuple.h
rename : security/sandbox/base/values.h => security/sandbox/chromium/base/values.h
rename : security/sandbox/base/version.h => security/sandbox/chromium/base/version.h
rename : security/sandbox/base/win/event_trace_provider.cc => security/sandbox/chromium/base/win/event_trace_provider.cc
rename : security/sandbox/base/win/event_trace_provider.h => security/sandbox/chromium/base/win/event_trace_provider.h
rename : security/sandbox/base/win/pe_image.cc => security/sandbox/chromium/base/win/pe_image.cc
rename : security/sandbox/base/win/pe_image.h => security/sandbox/chromium/base/win/pe_image.h
rename : security/sandbox/base/win/registry.cc => security/sandbox/chromium/base/win/registry.cc
rename : security/sandbox/base/win/registry.h => security/sandbox/chromium/base/win/registry.h
rename : security/sandbox/base/win/scoped_handle.cc => security/sandbox/chromium/base/win/scoped_handle.cc
rename : security/sandbox/base/win/scoped_handle.h => security/sandbox/chromium/base/win/scoped_handle.h
rename : security/sandbox/base/win/scoped_process_information.cc => security/sandbox/chromium/base/win/scoped_process_information.cc
rename : security/sandbox/base/win/scoped_process_information.h => security/sandbox/chromium/base/win/scoped_process_information.h
rename : security/sandbox/base/win/startup_information.cc => security/sandbox/chromium/base/win/startup_information.cc
rename : security/sandbox/base/win/startup_information.h => security/sandbox/chromium/base/win/startup_information.h
rename : security/sandbox/base/win/windows_version.cc => security/sandbox/chromium/base/win/windows_version.cc
rename : security/sandbox/base/win/windows_version.h => security/sandbox/chromium/base/win/windows_version.h
2014-01-28 15:19:22 -05:00
Markus Stange
232581cb06
Bug 846566 - Enable HiDPI for fullscreen plugins by adding an NSPrincipalClass entry to the plugin bundle's Info.plist. r=smichaud
2014-01-28 00:04:42 +01:00
Terrence Cole
f62e0d6505
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco
2014-01-17 10:10:17 -08:00
Ryan VanderMeulen
79055e66f0
Backed out changeset f3c055585a4f (bug 843857) for B2G mochitest bustage.
2014-01-24 17:19:52 -05:00
Kyle Machulis
e349088adf
Bug 843857: Fix connection error handling in UnixSocket; r=tzimmermann
2014-01-24 12:06:40 -08:00
Josh Aas
284b35b4f3
Bug 961760: Remove a bunch of unused Chromium IPC code. r=bent
2014-01-20 16:14:04 -06:00
Jim Chen
d5b9a4492a
Bug 959237 - Add AndroidBridge::HasEnv checks; r=blassey
...
For certain tests, the AndroidBridge is not initialized, but some GeckoAppShell functions are still called indirectly. For now, this patch adds checks to skip these calls if there's no AndroidBridge. However, in the future, most of the affected code should be refactored to not require these checks.
2014-01-17 23:32:24 -06:00
Thomas Zimmermann
856a7041d6
Bug 956841: Respect DBusWatch flags in I/O-thread watchers, r=qdot
...
Currently DBusWatcher registers read and write watchers on
the I/O thread unconditionally. Thus for read-only DBusWatch
structures, the write watcher on the I/O thread generates a
significant amount of CPU overhead by constantly reporting
success via calls to OnFileCanWriteWithoutBlocking.
This patch changes DBusWatcher to respect the status flags
of supplied DBusWatch structures. It will only poll for
read or write status if the DBus watch has the corresponding
flag set.
DBus keeps track of these flags and calls the toggle callback
when it needs to wait on a certain DBusWatch.
2014-01-15 09:32:11 +01:00
Nathan Froyd
9a90c787de
Bug 952941 - delete no-longer-used includedActorUsings field; r=ehsan
2013-09-27 17:15:02 -04:00
Josh Aas
426e0ce897
Bug 957883: Handle channel errors during process launch such that we don't sit on a dead channel for the full time-out (e.g. 45 secs for NPAPI), and allow us to detect when an error happens during child process init. Also, now that it's possible, actually check for an error during NPAPI child process init. r=bsmedberg
2014-01-11 21:51:00 -06:00
Ben Turner
287e506f21
Bug 957828 - Move stack machinery to cpp file, r=bsmedberg.
2014-01-10 12:58:31 -08:00
Ben Turner
bc956dac3c
Bug 957828 - Don't make stack copies of all IPC messages, r=bsmedberg.
2014-01-10 12:58:20 -08:00
Ryan VanderMeulen
eb299cfa6a
Merge m-c to inbound.
2014-01-10 14:49:37 -05:00
Ryan VanderMeulen
3b526ca45c
Merge inbound to m-c.
2014-01-10 14:46:40 -05:00
Thomas Zimmermann
0f20e3f7df
Bug 958444: Fix address setup in RIL connector, r=vicamo
...
The use of htons on the network address truncates its value. Using
htonl instead fixes this problem. The change also makes Ril.cpp
build without warnings.
2014-01-10 12:40:57 +01:00
Thomas Zimmermann
5e403292c5
Bug 958444: Fix address setup in NFC connector, r=allstars.chh
...
The use of htons on the network address truncates its value. Using
htonl instead fixes this problem. The change also makes Nfc.cpp
build without warnings.
2014-01-10 12:40:51 +01:00
Benoit Jacob
22d9325784
Bug 958375 - 3/9 - Add a variant of EnumSerializer that works on MFBT typed enums - r=nfroyd
2014-01-10 14:06:12 -05:00
Alexandre Lissy
171aca6425
Bug 942118 - Ensure that we call MessageChannel::ReportConnectionError() with no lock. r=bent
...
Making a call to mListener with a mMonitor lock is bad. Most of the code
path for ReportConnectionError() are doing this because they are just
after the Connected() method which needs the lock. We ensure to unlock
mMonitor in the scope of the ReportConnectionError() call.
2013-11-22 17:29:25 +01:00
Neil Rashbrook
811e1e96dd
Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley
2014-01-08 20:51:38 +00:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Cervantes Yu
54dbb84554
Bug 938470 - Part 2: IPC actor should clone actors created on the parent side for the Nuwa process. r=bent
2013-12-05 20:10:04 +08:00
Nicholas Nethercote
ed423fbdef
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Bobby Holley
7bc456f9b0
Bug 951847 - Push a cx in TestShellParent. r=gabor
2014-01-01 19:23:55 -08:00
Ms2ger
7d5520e791
No bug - Remove unnecessary forward declaration from transport_dib.h.
2013-12-31 10:06:11 +01:00
Ms2ger
6c7c16c6b2
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
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
Randall Barker
cf6d1fb6aa
Bug 895358 - Part 1, Adding POSIX cross process mutex to support progressive tile rendering in B2G; r=khuey
2013-12-19 12:19:25 -08:00
Phil Ringnalda
6cc1278352
Back out 024623d015e9:fa1dd7e7aa22 (bug 895358) for Windows build bustage
...
CLOSED TREE
2013-12-17 23:36:05 -08:00
Randall Barker
b4a3fdd32a
Bug 895358 - Part 1, Adding POSIX cross process mutex to support progressive tile rendering in B2G; r=khuey
2013-12-17 13:40:02 -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
Bill McCloskey
c5e4f93598
Bug 947632 - Assert that we don't sendSyncMessage while processing a CPOW request (r=dvander)
2013-12-14 15:50:22 -08:00
Thomas Zimmermann
f14c38867f
Bug 932728: Run DBus on the I/O thread, r=qdot
...
This patch converts DBusWatcher to run on the I/O thread. When a
caller starts DBus, StartDBus creates a new connection and adds
it to the I/O thread's poll loop. DBusWatchers are created and
removed automatically by the DBus libary.
The I/O thread provides all features of the DBus thread. So most
of the existing code has been removed or rewritten. The former
includes the control socket and the DBus thread, the latter is in
the DBusWatcher code.
2013-10-29 16:03:40 +01:00
Thomas Zimmermann
65622282db
Bug 932728: Use private DBus connection, r=qdot
...
Using a private DBus connection gives each of its users, such as
Bluetooth, its own connection to the DBus server. This simplifies
the use of DBusWatch structures and ensures that all resources of
a connection are free'd when the connection gets closed.
2013-10-29 16:03:40 +01:00
Thomas Zimmermann
8149608bb0
Bug 932728: Open only one connection to DBus, r=echou,qdot
...
Bluetooth maintains two connections to the DBus server and the DBus
system itself maintains a third one. This implies some overhead and
makes the code more difficult to understand.
This patch changes the Bluetooth code to use the connection that is
established by the DBus system.
2013-12-12 12:56:00 +01:00
Thomas Zimmermann
994b42124a
Bug 932728: Don't inherit DBusWatcher from RawDBusConnection, r=qdot
...
DBusWatcher is not a DBus connection, so it shouldn't inherit from
it. This patch converts the inheritance into a class member.
2013-10-29 16:03:39 +01:00
Ryan VanderMeulen
ba670be0c6
Merge b2g-inbound to m-c.
2013-12-11 13:24:26 -05:00
Mike Hommey
86adfade5d
Bug 944935 - Cleanup some useless AC_CHECK_FUNCS tests in configure.in. r=gps
...
- HAVE_RANDOM is not checked at all.
- HAVE_STRERROR is not checked in code built using the defines from the main
configure.
- HAVE_LCHOWN is only checked in nsinstall.c, which means the test is also wrong
since it's checking for the target instead of the host. Also, lchown is only
used of the -o and -g options of nsinstall, which, as far as I know, we don't
use (and if we were, that would fail with nsinstall.py, which explicitly rejects
them).
- HAVE_FCHMOD is only checked in nsinstall.c, so same as above about the
correctness of the check. If it's not available, nsinstall.c falls back to
chmod, which is fine enough for our use.
- HAVE_SNPRINTF is not checked.
- HAVE_MEMMOVE is checked in parser/expat/lib/xmlparse.c, but it's also
unconditionally defined in expat_config.h which is included from that file.
- HAVE_SETBUF is checked in a couple files, but setbuf is C89 and C99, I think
it's safe to assume all compilers we support are C89 and C99. Interestingly,
windows does have it, but since we skip this check on windows, we don't use it.
- HAVE_ISATTY, same as HAVE_SETBUF, except it's POSIX instead of C89/C99.
- HAVE_FLOCKFILE is not checked at all.
- HAVE_STRTOK_R is not checked.
- HAVE_FT_SELECT_SIZE is not checked.
- HAVE_DLADDR is not checked under js/src.
- HAVE_GETPAGESIZE is not checked under js/src (it is in libffi, but ffi uses
its own configure)
- HAVE_LSTAT64, HAVE_STAT64, HAVE_STATVFS, HAVE_STATVFS64, HAVE_TRUNCATE64 are
not checked under js/src.
- HAVE_SBRK is not checked under js/src. Moreover,
js/src/assembler/wtf/Platform.h defines it depending on the platform.
- HAVE_SNPRINTF is not checked under js/src.
- HAVE_HYPOT is not checked under js/src.
- HAVE__UNWIND_BACKTRACE is not checked under js/src.
2013-12-11 10:57:53 +09:00
Ben Turner
1169624ea0
Bug 939182 - Prevent mock timers from interfering with the message pump machinery, r=bsmedberg.
...
--HG--
extra : transplant_source : %2AEm%1D%2C%0Abd%83%B6%BEO%96%D4%BB%13%29%82%9D4
2013-12-09 11:57:29 -08: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
Ben Turner
fe699b2572
Bug 939182 - Clean up message loop code, r=bsmedberg.
...
--HG--
extra : transplant_source : -v1T%0A%B7%FC%B3q%CE//%D7%EB%3C%2C1%B4%F8%F1
2013-10-23 01:28:24 -07:00
Ben Turner
f2562296b8
Bug 947575 - Fix IPDL unit tests on windows, r=bsmedberg.
...
--HG--
extra : transplant_source : %04B6%5C%3A%ED3E%06o%90%1Bx%60%96b.%0F%27P
2013-11-21 16:51:26 -08:00
Ryan VanderMeulen
6428c27a28
Merge b2g-inbound to m-c.
2013-12-09 17:26:11 -05:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Thomas Zimmermann
32122bd9ab
Bug 936402: Duplicate connection status in UnixSocketImpl, r=bent
...
UnixSocketImpl, which mostly runs on the I/O thread, doesn't control
its reference to UnixSocketConsumer. If the connection status is
stored in UnixSocketConsumer, the I/O thread can't read it safely.
This patch duplicates the connection status in UnixSocketImpl, where
reading from the I/O thread is safe. Methods of UnixSocketImpl don't
need to access mConsumer any longer to obtain the connection status.
2013-12-09 14:21:18 +01:00
David Anderson
f93649bf3c
Remove bogus assert in RPC calls (bug 937216, r=cjones).
2013-12-05 15:06:29 -08:00
Jim Chen
9bac879d9e
Bug 940737 - Monitor Compositor thread hangs using BackgroundHangMonitor; r=bsmedberg r=BenWa
2013-12-04 21:24:28 -05:00
Jacek Caban
c6f4ebd28d
Bug 945245 - Fixed misc char16_t/wchar_t mismatches. r=ehsan
...
--HG--
extra : rebase_source : fcab74b295b513f4185cf9c12f31ebaddb7c8e0e
2013-12-03 16:09:50 +01: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
Nicholas Nethercote
c82c609ac3
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11: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
Ehsan Akhgari
6220f98ec6
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Mike Hommey
d83ce2a599
Bug 942031 - Don't link against the js engine when there's no need to. r=mshal
2013-11-24 08:18:50 +09:00
Ehsan Akhgari
9e0c024a40
Bug 941417 - Build ipc/glue in unified mode; r=bent
2013-11-22 13:53:02 -05:00
Ryan VanderMeulen
3348c203b7
Merge m-c to fx-team.
2013-11-21 15:55:03 -05:00
Yoshi Huang
aceab0c8cc
Bug 939052 - B2G NFC: NFC socket callback prints too much log. r=vicamo
2013-11-21 12:23:36 +08:00
Chris Kitching
43102ed4c2
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08: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
Nathan Froyd
90298e4466
Bug 939109 - remove stray debugging statement; r=ehsan
2013-11-15 10:15:53 -05: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
Eddy Bruel
cf91a893bd
Bug 938907 - Get rid of the compile and go flag on ContextOptions; r=bholley
2013-11-19 12:41:42 +01: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
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +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
Tom Schuster
f052cdba92
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2
Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage.
2013-11-17 16:39:25 +01:00
Tom Schuster
a12aa024e6
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Peiyong Lin
99442b17e3
Bug 933821 - Replace IPC_ASSERT(MSG_ROUTING_NONE != msg->routing_id(), "need a route") with PrintMessageRouteError. r=bent
2013-11-14 15:24:18 -05:00
Chuck Lee
d30cd673b8
Bug 930398 - Use ScopedCERTCertificate instead. r=keeler
2013-11-12 10:07:21 +08:00
Ryan VanderMeulen
f0cb7c0d6e
Merge m-c to b2g-inbound.
2013-11-05 15:37:26 -05:00
Kyle Huey
dfac756f2a
Bug 932154: Define postRILMessage with the right argument count. r=vicamo
2013-11-05 22:16:39 +08:00
Garner Lee
b248cf115d
Bug 933635 - Part 3: NFC IPC Sources. r=yoshi
2013-11-01 17:45:46 +08:00
Garner Lee
274eb2a280
Bug 933635 - Part 1: NFC IPC Makefiles. r=khuey
2013-11-01 14:52:59 +08: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
Nathan Froyd
15ba3d1b1f
Bug 918651 - part 10 - remove the |USING CxxType| rule from the IPDL grammar; r=ehsan
2013-10-18 15:04:07 -04:00
Nathan Froyd
ccdd4fb35d
Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
...
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Nathan Froyd
8e3d023792
Bug 918651 - part 7 - place includes intelligently in generated IPDL files; r=bent
...
This is where the magic starts to happen. We move includes from the base
protocol header (${NAME}.h) to the parent and child headers (${NAME}Parent.h
and ${NAME}Child.h) to follow good include hygiene.
For the base protocol header, we examine the set of types used by struct and
union definitions to determine which headers we need to include.
For parent and child headers, we forward declare what we can and include
appropriate headers otherwise. For forward-declared types, we include the
appropriate headers in the parent and child source files.
2013-10-01 12:55:42 -04:00
Nathan Froyd
2112ca2985
Bug 918651 - part 6 - add unqualifiedTypedefs parameter to _ComputeTypeDeps; r=ehsan
...
When computing what set of includes a header file needs, we need to know
about all types that protocol-defined types use, not just qualified
ones: both global-scope names and same-namespace-as-protocol names are
valid to use without any sort of qualification. This flag would normally
not be used in generating actual C++ code and therefore defaults to False.
2013-10-18 12:08:10 -04:00
Nathan Froyd
e2ede970d2
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
Nathan Froyd
d556a7d083
Bug 918651 - part 4 - add keyword arguments to _makeForwardDeclForQClass; r=ehsan
...
We're going to need these later when we hand-roll our own forward declarations
for classes and structs.
2013-10-01 12:02:57 -04:00
Nathan Froyd
e286ae8b77
Bug 918651 - part 3 - add optional |from header| qualification to using statements in ipdl; r=bent
2013-09-23 21:20:18 -04:00
Nathan Froyd
d7d30f0b4a
Bug 918651 - part 2 - don't munge the translation unit's headers; r=ehsan
...
Keep the builtin headers separate from the translation unit's headers.
We do this so when we start twiddling with the translation unit's headers,
we don't have to handle cases where those headers are actually builtin
headers.
2013-10-01 11:42:50 -04:00
Nathan Froyd
973f5e7322
Bug 918651 - part 1 - remove unnecessary using statements from IPDL files; r=ehsan
2013-10-18 14:48:13 -04:00
Tom Schuster
4b85960fb6
Bug 933946 - Remove the rest of the old number conversion functions from SpiderMonkey. r=terrence
2013-11-02 13:48:09 +01:00
Brian R. Bondy
cb6b35acd7
Bug 928042 - Add an environment variable to disable content processes sandboxing even when MOZ_CONTENT_SANDBOX is defined. r=aklotz
2013-11-01 19:09:45 -07:00
Tom Schuster
e4eba3d13f
Bug 933810 - Really remove JS_ValueToECMAUint32. r=terrence f=mccr8
2013-11-01 20:44:05 +01:00
Brian R. Bondy
af6005bb38
Bug 925571 - Initial Windows content process sandbox broker code. r=aklotz
2013-10-30 16:58:52 -07:00
Brian R. Bondy
5a6d2d56fc
Bug 925571 - Initial Windows sandbox target process (plugin-container) code. r=aklotz
2013-10-30 16:58:49 -07:00
Brian R. Bondy
cc0884e81f
Bug 925571 - Build config for plugin_container windows sandboxing. r=bsmedberg
2013-10-30 16:58:45 -07:00
Phil Ringnalda
3ae30903ae
Back out 05be2f73979e (bug 902755) on suspicion of causing Mac debug mochitest-2 assertions
...
CLOSED TREE
2013-10-31 23:39:28 -07:00
Drew Willcoxon
07ca2eb78d
Bug 902755 - Fix deadlock in mozilla::ipc::GeckoChildProcessHost::LaunchAndWaitForProcessHandle exposed by turning on new tab page thumbnails. r=bent
2013-10-30 17:39:01 -07: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
45f0482824
Bug 864774 part 3 - Move some more CPPSRCS to moz.build. r=mshal
2013-10-30 07:51:03 +09: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
Bhargav Gurappadi
f60ed17bad
Bug 931306 - DBusThread fails to compile on latest compilers. r=tzimmermann, r=qDot
2013-10-25 19:37:57 -07:00
Ed Morley
4326269d4b
Merge mozilla-central and b2g-inbound
2013-10-29 16:34:46 +00:00
Thomas Zimmermann
46da2f00b6
Bug 930952: Dispatch DBus messages after reading socket, r=qdot
...
DBusWatcher::Poll currently breaks after reading DBus data from the
socket. Thus, it never processes the data and dispatches the DBus
messages. This patch fixes the code to dispatch DBus messages after
reading the DBus socket.
2013-10-29 17:19:02 +01:00
Thomas Zimmermann
814877463a
Bug 931038: Remove blocking DBus interface, r=qdot
...
All blocking calls to DBus have been replaced by non-blocking
code. This patch removes the corresponding DBus interfaces.
2013-10-29 11:08:16 +01:00
Vicamo Yang
17e058673d
Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey
2013-10-29 16:12:45 +08:00
Chuck Lee
a49c332667
Bug 928223 - 0002. Change keystore socket permission after created. r=qDot
2013-10-25 10:00:24 +08:00
Chuck Lee
b001ef58c6
Bug 928223 - 0001. Add function to perform setup for listen socket. r=qDot echou vicamo yoshi
2013-10-25 10:00:22 +08:00
Ed Morley
815b5c0198
Merge mozilla-central and b2g-inbound
2013-10-25 12:12:23 +01:00