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

3185 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book dfee85ecef Merge mozilla-central to mozilla-inbound 2016-04-05 16:54:06 +02:00
Gregor Wagner 12b792e209 Merge b2g-inbound -> mozilla-central. a=tomcat 2016-04-05 10:50:38 +02:00
George Wright 50500e36f3 Bug 1261416 - Rename firefox-plugin-container back to plugin-container to satisfy Flash's protected mode checks, and ensure that we launch the correct binary r=ted 2016-04-04 18:03:33 -04:00
Gregor Wagner 2c3b158272 Merge 2016-04-04 12:08:53 +02:00
James Cheng c43f377eb6 Bug 1249518 - Make DaemonSocketPDU able to send multiple file descriptors in single unit. r=tzimmermann 2016-03-30 14:58:13 +08:00
Nathan Froyd 697425fd51 Bug 1259428 - part 6 - remove unneeded MessageDecl methods; r=jld
msgCast and replyCast were only used for the dodgy casts we removed in
part 2; the msgCxxType was only called by msgCast.
2016-03-28 11:43:54 -04:00
Nathan Froyd ebe8d01895 Bug 1259428 - part 5 - convert Message subclasses to constructor functions; r=jld
All we use our Message subclasses for nowadays is the constructor, so we
might as well strip the class away and just have functions that perform
the construction for us.  This change eliminates unnecessary vtables as
well as making the included headers somewhat smaller, which is always
nice.
2016-03-28 11:42:47 -04:00
Nathan Froyd 4d7242a2c4 Bug 1259428 - part 4 - remove prtime.h from generated protocol headers; r=jld
This include was only needed for PR_Now(), which is no longer called by
the headers.
2016-03-25 18:27:11 -04:00
Nathan Froyd 9cbbaad4ad Bug 1259428 - part 3 - remove Log() methods from generated message subclasses; r=jld
These are no longer called by anything.  The generated Message
subclasses now have no behavior of their own, and can be removed in
subsequent patches.
2016-03-25 17:09:41 -04:00
Nathan Froyd 4a4de50da7 Bug 1259428 - part 2 - remove dodgy static_cast downcasts from logging statements; r=jld
Various bits of IPDL code would do something like:

  Message* m = ...;
  if (m.type() == particular message type) {
    static_cast<ParticularMessageType*>(m)->name();
  }

The static_cast is a remnant of having to do the downcast to access the
Log() method on the concrete subclass.  Since name() is defined on
Message, there's no need for these casts anymore, so let's remove them.
2016-03-25 17:07:26 -04:00
Nathan Froyd 63fe89bd2e Bug 1259428 - part 1 - don't call Log methods of generated method classes; r=jld
The first step to eliminating all the generated Message subclasses the
IPDL compiler spits out is to move the functionality of their Log
methods someplace else.  In addition to eliminating the need for the Log
methods, this change has the welcome effect of moving a bunch of code
that would be generated hundreds of times into a single place, which
should reduce code size a bit (debug builds only).  We don't actually
remove the generation of the Log methods; that change will be done for a
future patch.
2016-03-25 17:02:38 -04:00
Andrew McCreight 4bd42b6939 Bug 1261099 - Avoid two Message copies in MaybeUndeferIncall. r=billm 2016-04-04 10:13:43 -07:00
Thomas Zimmermann d0fbe5c8f1 Bug 1261307: Convert Unix socket IPC code to |UniquePtr|, r=nfroyd 2016-04-05 13:40:11 +02:00
Thomas Zimmermann bd8f7f577e Bug 1261307: Convert RIL sockets to |UniquePtr|, r=nfroyd 2016-04-05 13:40:11 +02:00
Thomas Zimmermann a1ade1d06b Bug 1261307: Convert |StreamSocketConsumer::ReceiveSocketData| to |UniquePtr|, r=nfroyd
|ReceiveSocketData| is a public interface of |StreamSocketConsumer| that
is overloaded by inherited classes. Therefore we convert it separately.
2016-04-05 13:40:11 +02:00
Gregor Wagner 8fc859766a Bug 1254471 - Fix MessageChannel.cpp error unused variable transaction. r=billm 2016-03-08 16:53:43 +01:00
Jonathan Watt 3d09b32ad7 Bug 1253094, part 3 - Stop using DebugOnly for class/struct members in ipc/. r=billm
MozReview-Commit-ID: L16CD7xtn3V
2016-02-26 15:52:07 +00:00
Bill McCloskey b70d78b809 Bug 1248750 - Eliminate intentional IPC crashes (r=dvander) 2016-03-06 14:38:07 -08:00
Bill McCloskey f8784ed28b Back out bug 1248750 on a CLOSED TREE 2016-03-04 16:04:41 -08:00
Kyle Huey 3b346fca73 Bug 1260806: Remove some more dead MessageLoop code. r=jld 2016-04-01 11:28:53 -07:00
Bill McCloskey b3613ec89e Bug 1260908 - Record IPC message sizes (r=dvander) 2016-04-01 11:22:27 -07:00
Wes Kocher 7db1b1b28a Backed out 2 changesets (bug 1260908) for build bustage
Backed out changeset 5582a25d289d (bug 1260908)
Backed out changeset 9612cef48d43 (bug 1260908)

MozReview-Commit-ID: BKeDiGZ8Z8B
2016-04-01 10:44:27 -07:00
Bill McCloskey 5672f5992c Bug 1260908 - Record IPC message sizes (r=dvander) 2016-04-01 09:59:19 -07:00
Kartikaya Gupta f6b5ae39ac Bug 1257862 - Allow running things from the delayed work queue during a nested event loop. r=khuey,dvander
MozReview-Commit-ID: BmLM6j9yFEK
2016-04-01 08:25:40 -04:00
Cervantes Yu f77c0e8c25 Bug 1258663 - Crash annotate system call failures in the IPC transport. r=gabor 2016-04-01 14:33:52 +08:00
George Wright 5c454494ce Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer
--HG--
rename : ipc/app/module.ver => ipc/app/plugin-container/module.ver
rename : ipc/contentproc/plugin-container.cpp => ipc/contentproc/firefox-webcontent.cpp
2016-04-01 02:12:59 -04:00
Bill McCloskey 61e7e588d1 Bug 1253123 - Remove message_router (r=jld) a=kwierso
MozReview-Commit-ID: KYiLsnFFJMA

--HG--
extra : source : f0dd577131c74afcd7118f64a138be78c39ec786
2016-02-15 10:12:39 -08:00
Bill McCloskey 698aacacb8 Bug 1253123 - Remove ipc_channel_proxy (r=jld) a=kwierso
MozReview-Commit-ID: CwO2Ufog5qX

--HG--
extra : source : d345149b216921e65dfe6c1ed86cc7c61941bb78
2016-02-15 10:13:46 -08:00
Bill McCloskey bdd97ae771 Bug 1253123 - Remove ipc_sync_message (r=jld) a=kwierso
MozReview-Commit-ID: 9xTyGYXyuTY

--HG--
extra : source : 6c8278e8047ee59720ecafffe1a3c568e10a22e7
2016-02-15 10:09:02 -08:00
Bill McCloskey f29390f263 Bug 1222101 - Reorder some thread code (r=jld) a=kwierso
MozReview-Commit-ID: Alg40mu9aU3
2016-03-30 12:20:20 -07:00
Wes Kocher e593da093a Backed out 3 changesets (bug 1253123) for build bustage CLOSED TREE
Backed out changeset f0dd577131c7 (bug 1253123)
Backed out changeset d345149b2169 (bug 1253123)
Backed out changeset 6c8278e8047e (bug 1253123)

MozReview-Commit-ID: HL9U2qqeDnY
2016-03-30 10:20:20 -07:00
Wes Kocher dd58e668a4 Backed out changeset 00f8c8fde8ca (bug 1222101) for build bustage CLOSED TREE
MozReview-Commit-ID: F6PINhcfsF4
2016-03-30 10:19:29 -07:00
Bill McCloskey 5b8924bd94 Bug 1222101 - Reorder some thread code (r=jld) 2016-03-30 09:58:41 -07:00
Bill McCloskey 5ef16752e3 Bug 1253123 - Remove message_router (r=jld) 2016-03-30 09:58:41 -07:00
Bill McCloskey 6dd58aa726 Bug 1253123 - Remove ipc_channel_proxy (r=jld) 2016-03-30 09:58:40 -07:00
Bill McCloskey 2bdeb1e82b Bug 1253123 - Remove ipc_sync_message (r=jld) 2016-03-30 09:58:40 -07:00
Bill McCloskey 816b25e191 Bug 1248750 - Eliminate intentional IPC crashes (r=dvander) 2016-03-04 14:51:08 -08:00
Bill McCloskey 70bb5a0c46 Bug 1240985 - IPC fuzzer (r=gabor) 2016-03-04 14:51:08 -08:00
Steve Singer c44a614250 Bug 1246501 - Add ppc specific atomic operations to ipc/chromium. r=Waldo 2016-02-13 23:23:50 -05:00
Mike Hommey d06322ac66 Bug 1257888 - Link chromium mutex-based atomics implementation to webrtc signaling tests. r=froydnj 2016-03-30 07:21:07 +09:00
Ting-Yu Chou 9c7a4ca7f0 Bug 1255968 - Part 1: Let the callback of PeekMessages() to return a boolean to be able to break out the loop. r=dvander
--HG--
extra : rebase_source : 98a2baf9c3926cdb0740979d4cb5c11d7cd6a312
2016-03-28 11:02:18 +08:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Kyle Huey 29596ecfff Bug 1258908: Rename TYPE_MOZILLA_UI to TYPE_MOZILLA_PARENT. r=jld 2016-03-28 10:28:14 -07:00
Kyle Huey 20daca1a98 Bug 1258905: Remove a bunch of dead IPC code. r=jld 2016-03-28 10:28:14 -07:00
Jan Beich f25aa29f5e Bug 1233275 - Copy environment for IPC using NSPR. r=jld
MozReview-Commit-ID: J2kBklLfnib

--HG--
extra : rebase_source : 0cb47586b07af53f9c4efe4df85c9ac5f7b76443
2016-03-24 17:52:40 +00:00
Jan Beich 8d1716d194 Bug 1252246 - Try to use PTHREAD_PROCESS_SHARED for CrossProcessMutex on more Unices. r=glandium f=kats 2016-02-29 21:34:46 +00:00
Boris Zbarsky 4cf7f16bdc Bug 1252212. Make the RIL WorkerRun implemetations not leave exceptions on the JSContext. r=khuey 2016-03-01 13:49:21 -05:00
Makoto Kato bbda6e0e32 Bug 1250403 - Part 2. Import crbug #354405 for aarch64. r=billm
MozReview-Commit-ID: A3sArb6IE6m

--HG--
extra : rebase_source : 6dd76bd3e9c4b9a0d3b87f4fd5ef6bec10aa8d70
2016-02-28 19:11:09 +09:00
Makoto Kato e16e8da9c0 Bug 1250403 - Part 1. Define ARCH_CPU_ARM64 instead of ARCH_CPU_AARCH64. r=billm
Chromium defines ARCH_CPU_ARM64 and ARCH_CPU_ARM_FAMILY for aarch64.  So we should use it instead.  Because webrtc and sandbox already define it

MozReview-Commit-ID: C7GYnpRryhA

--HG--
extra : rebase_source : d51ec0b0b9a4cd6eb85c453a54a556e0db6ee99f
2016-02-28 19:26:18 +09:00
Thomas Zimmermann 0fc8c3e5a1 Bug 1251541: Replace |nsAutoArrayPtr<>| with |UniquePtr<[]>| in Bluetooth interfaces, r=shuang
This patch replaces all instances of |nsAutoArrayPtr<>| in the Bluetooth
interfaces with |UniquePtr<[]>|.

In contrast to |nsAutoArrayPtr<>|, |UniquePtr<[]>| doesn't convert to the
underlying pointer type implicitly. This is a problem for the daemon-socket
runnable, which depend on this feature when calling their operations. To
solve this issue, the patch adds |ConvertArg| for each arguemnt, which does
the conversion explicitly.
2016-02-29 12:15:08 +01:00