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