Граф коммитов

2004 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 01f93d64ea Merge mozilla-central to b2g-inbound 2014-02-27 15:59:39 +01:00
Douglas Crosher 71972c4eb2 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 ec6dbd07f6 Merge inbound to m-c 2014-02-26 18:20:47 -08:00
Benoit Jacob c8a84fe3fa 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 c654d7918c 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 b7ca389378 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 86166bbfe7 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 3d2258b3e6 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 c2a3a79571 Bug 968244 - Make IPDL-generated code not crash on bad shmems - r=bent 2014-02-25 08:57:10 -05:00
Benoit Jacob 4a8e65915b Bug 974356 - 1/4 - Initialize mOtherProcess to an invalid handle value - r=bent 2014-02-25 08:12:49 -05:00
Benoit Jacob 0a4df845e2 Bug 968823 - Make Shmem gracefully handle errors instead of just aborting - r=bent 2014-02-24 22:21:48 -05:00
Steve Workman 4685ba00ff Bug 956218 - Make sure that all callbacks are called, r=bent. 2014-02-06 10:42:29 +01:00
Ben Turner a80f9315df 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 4ad540c61a 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 a1909fa87d 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 4b648c346c Bug 976790 - Fix assertion failure, r=mrbkap. 2014-02-26 15:53:43 -08:00
Ryan VanderMeulen 4608e9dce3 Backed out changeset 3d4a094ac17e (bug 976790) for bustage on a CLOSED TREE. 2014-02-26 16:52:29 -05:00
Ryan VanderMeulen dd1b2d8290 Merge m-c to inbound. 2014-02-26 16:42:16 -05:00
L. David Baron 03ba2e465b 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 b84d2fe6c6 Bug 976790 - Fix assertion failure, r=mrbkap. 2014-02-26 13:31:32 -08:00
Benoit Jacob 3742f9bace Bug 974353 - Add MOZ_COUNT_[CD]TOR to SharedMemory - r=bent 2014-02-26 16:23:51 -05:00
Ben Turner 12ad2f2255 Bug 974054, Use monotonic timers on POSIX. Fix from chromium repository. r=bsmedberg. 2014-02-24 13:17:31 -08:00
Ehsan Akhgari 39fc9361f6 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Ehsan Akhgari 7e41f47adf 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 5704b555e2 Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Oleg Romashin 5b8bccef6f 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 03b2b6e348 Bug 974335 - Refactor Qt Widget Backend implementation. Build changes . r=glandium 2014-02-20 18:08:58 -08:00
Thomas Zimmermann e6f5ee30d3 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 ba2bc542ac Bug 968432 - Implement mozilla::ipc::SetThisProcessName() on BSDs. r=dhylands 2014-02-18 15:41:23 -05:00
Ryan VanderMeulen 4dac5a6127 Backed out changeset 0f7f99d0a2f5 (bug 968432) for bustage. 2014-02-18 09:26:09 -05:00
Jan Beich 6021697264 Bug 968432 - Implement mozilla::ipc::SetThisProcessName() on BSDs. r=dhylands 2014-02-18 08:59:33 -05:00
Ehsan Akhgari 9e38fc2acd Bug 973393 - Move the LOCAL_INCLUDES in ipc to moz.build; r=glandium 2014-02-18 02:12:54 -05:00
Vicamo Yang c00f7d08ad Bug 960894 - 1/4: allow representing multiple clients in one RIL worker. r=bz 2014-02-17 19:35:01 +08:00
Ms2ger 33da18c67e Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal 2014-02-15 21:24:59 +01:00
Ryan VanderMeulen e5c64f7c66 Merge m-c to b2g-inbound 2014-02-14 15:32:34 -05:00
Brian R. Bondy 0b358d8f1f 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 88633c121b 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 21d22e285e 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 7faa5dbbe7 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 df970eb457 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 735137fc57 Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz 2014-02-13 15:33:04 +00:00
Marcin Juszkiewicz 14f501d0f1 Bug 963023 - AArch64 support for libevent. r=froydnj 2014-02-12 10:07:48 -05:00
Benjamin Smedberg 7abfd31325 Bug 897870 - Add diagnostic OOM size to Pickle::Pickle crashes. r=dmajor 2014-02-11 13:40:42 -05:00
Jan Beich f5bacac179 Bug 969932 - Remove unnecessary moz.build conditional for sendfile(2) on BSDs. r=glandium 2014-02-11 09:22:46 -05:00
Jon Coppeard c3759c40ff 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 620dd9c314 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 2369fdc788 Bug 968631 - Port some LOCAL_INCLUDES variables to moz.build; r=mshal 2014-02-10 13:41:02 -05:00
Thomas Zimmermann 178605de45 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 612a51c419 Merge b2g-inbound to m-c. 2014-02-06 16:28:14 -05:00
Thomas Zimmermann 47824a59eb 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