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

3245 Коммитов

Автор SHA1 Сообщение Дата
Thomas Zimmermann 6f916378f6 Bug 1266954: Remove temporary |ScopedClose| from PDU receive code, r=jacheng
|ScopedClose| doesn't support temporary objects. This patch removes it.
2016-04-28 10:57:19 +02:00
Kyle Huey 7579799b01 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
Andrea Marchesini a9b65ecfb0 Bug 1261094 - Improve how MessageChannel::mInterruptStack is used in IPC code, r=jld 2016-04-28 07:21:49 +08:00
Yoshi Huang 7ae2e09f40 Bug 1263496 - Part 2: fix for NS_NULLPRINCIPAL_CONTRACTID. r=bholley
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=NS_NULLPRINCIPAL_CONTRACTID&redirect=true
2016-04-27 18:38:03 +08:00
Gregor Wagner acecad8f82 Bug 1267577 - Move nsRunnable to mozilla::Runnable. r=gsvelto 2016-04-27 12:05:40 +02:00
Bill McCloskey a179f9fce9 Bug 1264820 - Measure IPC reply size in telemetry (r=mccr8) 2016-04-26 13:50:56 -07:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Bas Schouten a7d662a2b1 Bug 1262898: Keep the GeckoChildProcessHost alive for the lifetime of the CompositorBridge and ImageBridge parent actors. r=jimm r=nical
MozReview-Commit-ID: 1rsWqRpbhgN
2016-04-25 03:54:07 +00:00
Jacek Caban 2ef6ade2c4 Bug 1258317 - cross compilation fixup. 2016-04-23 13:04:59 +02:00
Andrew McCreight f2d40800c8 Bug 1266578 - OOM crash if malloc fails in ProcessIncomingMessages(). r=billm
This allocation is for no more than 32kb, so make it infallible rather than try to recover.
2016-04-21 15:23:25 -07:00
Gabor Krizsanits ed1fa0cf48 Bug 1263953 - Reduce the growth rate of Pickle. r=wmccloskey 2016-04-21 15:09:35 +02:00
Cervantes Yu a7ec2e32a7 Bug 1258317 - Part 1: Annotate the crash report with process information on failure to transfer an IPC transport to another process. r=krizsa
MozReview-Commit-ID: LE2FnrQgzze

--HG--
extra : rebase_source : ff891052985ae8411725f7df7c21eaacae84732f
2016-04-19 19:08:55 +08:00
Daniel Holbert 2b3d8925f1 Backed out changeset ae89c24b7692 (bug 1264820) for -Werror build bustage
MozReview-Commit-ID: ECNuGMefyqC
2016-04-20 15:41:32 -07:00
Bill McCloskey b7e2b4e82e Bug 1264820 - Measure IPC reply size in telemetry (r=mccr8) 2016-04-20 14:55:35 -07:00
Thomas Zimmermann bfa5556aa6 Bug 1264887: Make DBus helpers available on desktop builds, r=shuang 2016-04-19 16:26:01 +02:00
Carsten "Tomcat" Book d42e16c441 Backed out changeset fdac1cd6e6e0 (bug 1264887) for static build bustage
--HG--
extra : rebase_source : cae1e97ee51fbfccb5de1eaed82302539ae3e9ac
2016-04-19 12:07:33 +02:00
Thomas Zimmermann 6bbc2790c5 Bug 1264887: Make DBus helpers available on desktop builds, r=shuang 2016-04-19 11:09:01 +02:00
Charles Collicutt e8aa4cfeed Bug 1263429 - Don't build libevent with sysctl on Linux. r=billm 2016-04-10 02:19:00 +02:00
Andrew McCreight fac746e08b Bug 1265036 - Use NS_ABORT_OOM() if try_realloc() fails. r=billm
This will give the crash a proper OOM annotation.
2016-04-16 10:47:46 -07:00
Bill McCloskey 19ff386143 Bug 1263292 - Handle calling realloc(0) (r=jld) 2016-04-14 17:54:03 -07:00
Bill McCloskey 85b6e29755 Bug 1264398 - Avoid extra assign() on windows in IPC code (r=jld) 2016-04-14 17:54:03 -07:00
Andrew McCreight 60582081ac Bug 1264662 - Record IPC message capacity instead of size. r=billm
Capacity includes internal fragmentation, while size does not.

This requires making capacity() public, but that seems benign.
2016-04-14 17:46:52 -07:00
Nathan Froyd 840ebe5f59 Bug 1264661 - remove EMIT_LOGGING_CODE constant from IPDL compiler; r=jld
It's not needed anymore (hasn't been for a while, apparently).
2016-04-14 14:58:17 -04:00
Ting-Yu Chou 964d4d12f1 Bug 1260736 - Let the client to filter out its interested messages to lower the number of times entering the monitor in PeekMessages(). r=dvander 2016-04-13 09:51:34 +08:00
Tanvi Vyas 2ca721ef81 Bug 1105556 - Allow loadInfo->loadingNode and loadInfo->loadingPrincipal to be null for TYPE_DOCUMENT loads. r=sicking, ckerschb 2016-04-13 16:30:16 -07:00
Peter Chang b9897cc163 Bug 1263499 - unify the QuickExit function, r=bsmedberg
MozReview-Commit-ID: DGJbyXULHPe

--HG--
extra : rebase_source : 26ad1fdc609060a578a27f3d44168160ec026c09
2016-04-11 16:12:33 +08:00
Kyle Huey 2709afd167 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Huey 1cc02aa8c6 Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj 2016-04-11 11:40:06 -07:00
Thomas Zimmermann 8f74b7274d Bug 1246931: Add DBus I/O helpers, r=shuang
The I/O helpers for DBus are based on |RawDBusConnection|'s |Send*| and
|Watch| methods. Moving them out of this class will make them available
to other modules.
2016-04-12 16:14:39 +02:00
Thomas Zimmermann a782f3ba54 Bug 1246931: Add support for |RefPtr<DBusPendingCall>|, r=shuang
|RefPtr<DBusPendingCall>| manages instances of |DBusPendingCall| and frees
each instance when its last reference gets released.
2016-04-12 16:14:39 +02:00
Thomas Zimmermann 8de02e105a Bug 1246931: Add support for |RefPtr<DBusMessage>|, r=shuang
|RefPtr<DBusMessage>| manages instances of |DBusMessage| and frees each
instance when its last reference gets released.
2016-04-12 16:14:39 +02:00
Thomas Zimmermann 23e3fe81ec Bug 1246931: Add support for |RefPtr<DBusConnection>| and convert callers, r=shuang
|RefPtr<DBusConnection>| manages instances of |DBusConnection| and frees
each instance when its last reference gets released.
2016-04-12 16:14:39 +02:00
Thomas Zimmermann 4ec30bc8a8 Bug 1246931: Use |DBusConnection| in |DBusWatcher|, r=shuang
This patch replaces all references to |RawDBusConnection| in |DBusWatcher|
with |DBusConnection|.
2016-04-12 16:14:39 +02:00
Thomas Zimmermann c78e56f403 Bug 1246931: Move |DBusWatcher| into its own files, r=shuang
|DBusWatcher| should be usable from outside of |RawDBusConnection|, so we
move it into its own files.
2016-04-12 16:14:39 +02:00
Thomas Zimmermann a35d2c01a5 Bug 1246931: Include dbus.h in DBus IPC headers, r=shuang
The header files for DBus IPC forward declare several DBus types in
a way that interferes with the actual declarations. It's better to
include the DBus headers directly
2016-04-12 16:14:39 +02:00
Chris Pearce 114ad957d2 Bug 1245789 - Load Widevine CDM with sandbox level USER_RESTRICTED instead of USER_LOCKDOWN. r=bobowen
Otherwise Widevine CDM won't load on Windows. Other GMPs are still loaded at USER_LOCKDOWN.

MozReview-Commit-ID: aCTG1tQuwt
2016-04-12 16:12:20 +12:00
Wes Kocher 7d2cebe912 Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)

MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey d200ed89d0 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Huey f13a6fc866 Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Huey 84b3f40dbd Bug 1263314: Remove NonThreadSafe. r=jld 2016-04-11 11:40:06 -07:00
Charles Collicutt c6f9ac9288 Bug 1261567 - Include compat dir in libevent include path. r=billm 2016-04-11 07:43:48 -07:00
Andrea Marchesini b0d38d029e Bug 1258221 - patch 3 - Rename FileSystemTaskBase to FileSystemTaskChildBase, r=smaug 2016-04-09 19:17:28 +01:00
Andrea Marchesini 9345155089 Bug 1258221 - patch 2 - Port FileSystem API and DeviceStorage API to PBackground, r=smaug 2016-04-09 19:17:02 +01:00
George Wright e75c590407 Revert "Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer" because of widespread breakage due to whitelisted executable names in third parties
This reverts commit a94b5f861bd0d25043a3bb7a0c3128acf8c0b93a.


--HG--
rename : ipc/contentproc/firefox-webcontent.cpp => ipc/contentproc/plugin-container.cpp
2016-04-08 13:34:40 -04:00
George Wright 2f920d9592 Revert "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" because of widespread breakage due to whitelisted executable names in third parties
This reverts commit 2d44e8ffaf63a32292f8e5b8fdd1485d0a462afc.
2016-04-08 13:33:27 -04:00
Thomas Zimmermann 4bc7ae6624 Bug 1261340: Don't refer to |ScopedFreePtrTraits| in |RawDBusConnection|, r=shuang
The class template |ScopedFreePtrTrais| has been removed. This patch
updates |RawDBusConnection| to not refer to it any longer. Instead, the
provided helper method |empty| is implemented directly.
2016-04-08 10:07:28 +02:00
Bill McCloskey d148e665af Bug 1235633 - IPC OOM mitigation by eliminating buffer copying (r=jld) 2016-04-07 17:15:26 -07:00
Nils Ohlmeier [:drno] 4d0aaaafea Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
MozReview-Commit-ID: 8PpL6Z0za71

--HG--
rename : media/mtransport/stun_udp_socket_filter.cpp => media/mtransport/stun_socket_filter.cpp
rename : media/mtransport/stun_udp_socket_filter.h => media/mtransport/stun_socket_filter.h
rename : netwerk/base/nsIUDPSocketFilter.idl => netwerk/base/nsISocketFilter.idl
extra : rebase_source : 2acf092e587a19a2019f463fa0a015373d3881d3
2016-02-11 01:18:46 -08:00
William Chen 303bd1fd42 Bug 1259590 - Remove B2G ACL code. r=khuey 2016-04-07 09:50:01 -07:00
Nathan Froyd 8d0d4b9bbd Bug 1262463 - part 3 - out-of-line NS_RUNTIMEABORT calls in IPDL-generated code; r=jld
We do this for the same reasons outlined in part 1: calls to
NS_RUNTIMEABORT are rather large and we generate a lot of them (~1000
left after part 1).  This patch reduces .text size by ~20K on x86-64
Linux.
2016-04-06 10:53:06 -04:00