Thomas Zimmermann
0215081264
Bug 1123651: Improve correctness of |NfcConsumer| and its helpers, r=allstars.chh
...
This patch changes several small details to make |NfcConsumer| more
correct. This includes
- MOZ_FINAL for classes,
- MOZ_OVERRIDE for virtual methods,
- static global variables, and
- nsAutoPtr around explicitly deleted data.
2015-01-21 10:59:21 +01:00
Thomas Zimmermann
cf4bf59525
Bug 1123651: Fix coding style in Nfc.cpp, r=allstars.chh
2015-01-21 10:59:21 +01:00
Carsten "Tomcat" Book
935a218dcb
merge b2g-inbound to mozilla-central a=merge
2015-01-20 12:12:12 +01:00
Thomas Zimmermann
6be32cd438
Bug 1119746: Support |ListenSocket| in |BluetoothDaemonConnection|, r=qdot
...
This patch adds support for |ListenSocket| to |BluetoothDaemonConnection|.
The class can now handle file descriptors that have been accepted by
|ListenSocket|.
2015-01-20 10:17:25 +08:00
Thomas Zimmermann
90406a14e0
Bug 1119746: Signal active listening in |ListenSocket|, r=qdot
...
The listen socket will now send-out CONNECT_SUCCESS after it started
listening. Callers might rely on this event. Before, CONNECT_SUCCESS
in |ListenSocket| was not used by callers.
2015-01-20 10:17:19 +08:00
Martin Liska
d19ceae968
bug 1121410 - use one lto partition to link plugin-container when it contains the chromium sandbox code r=glandium
2015-01-20 05:51:44 -05:00
Brian Smith
29f7110291
Bug 1119072, Part 3(a): Silence warning about deprecated use of hash_set and hash_map in ipc/chromium, r=bsmedberg
...
--HG--
extra : rebase_source : b875833b9bd9cab86071a8c1423cdf2b9f86254b
2015-01-12 19:58:16 -08:00
Ehsan Akhgari
b75717cca5
Bug 1123115 - Clarify the ownership of some member variables in task.h; r=bent
2015-01-20 19:15:19 -05:00
Bill McCloskey
376b92ae54
Bug 1122956 - Convert IPDL tests to take move references (r=bent)
2015-01-20 15:42:54 -08:00
Bill McCloskey
f6534c08fb
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent)
2015-01-16 18:34:47 -08:00
Bill McCloskey
cb8c3ea750
Backout bug 1118618 on a CLOSED TREE
2015-01-16 14:46:05 -08:00
Kyle Huey
7c82e6dd0a
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Bill McCloskey
4a1c462570
Bug 1118618 - IPDL notifications when sending sync messages (r=bent)
2015-01-16 10:10:19 -08:00
Andrea Marchesini
f36b9e5ced
Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent
2015-01-15 16:58:40 +00:00
JerryShih
09a6608110
Bug 1121331 - Part1: PVsync protocol for vsync event passing. r=bent
2015-01-14 00:37:00 +01:00
Ryan VanderMeulen
3a9ff448dc
Backed out 11 changesets (bug 966439, bug 1121472) for causing widespread test failures and because inbound isn't Try and shouldn't be treated as such.
...
Backed out changeset e6cd15d43b5a (bug 1121472)
Backed out changeset 4f9788639f3f (bug 966439)
Backed out changeset ac9a967e5a10 (bug 966439)
Backed out changeset 14d322737871 (bug 966439)
Backed out changeset 8f941e519580 (bug 966439)
Backed out changeset b82d1010c6b4 (bug 966439)
Backed out changeset 2c29a52a03bd (bug 966439)
Backed out changeset e4b0802a3f06 (bug 966439)
Backed out changeset bdc9a0310034 (bug 966439)
Backed out changeset 6b3ae19628e6 (bug 966439)
Backed out changeset 3d23e775033a (bug 966439)
CLOSED TREE
2015-01-14 11:46:14 -05:00
Andrea Marchesini
65afdf13d8
Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent
2015-01-14 11:50:31 +00:00
Carsten "Tomcat" Book
1160541f6f
Backed out changeset f7d82a8a8e94 (bug 1118618) for Bustage on a CLOSED TREE
2015-01-13 08:44:29 +01:00
Bill McCloskey
eec94c71f5
Bug 1118618 - IPDL notifications when sending sync messages (r=bent)
2015-01-12 23:06:48 -08:00
Ehsan Akhgari
d56a32bce4
Bug 1119068 - Clean up some code used for older unsupported MSVC versions; r=bsmedberg
2015-01-12 23:26:31 -05:00
Wes Kocher
a49543905d
Backout 671a52fff391
2015-01-12 14:46:32 -08:00
Ehsan Akhgari
4acc68bd1e
Bug 1119068 - Clean up some code used for older unsupported MSVC versions; r=bsmedberg
2015-01-12 16:35:07 -05:00
Masatoshi Kimura
bf312ad056
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Dave Hylands
08557c5100
Bug 1073003 - Fix warnings causing errors in emulator build. r=nfroyd
2015-01-08 13:52:19 -08:00
Thomas Zimmermann
d8e4c0ca1c
Bug 1110669
: Inherit |RilConsumer| from |StreamSocket|, r=qdot
...
|StreamSocket| and |ListenSocket| are replacements for |UnixSocketConsumer|
that split connection listening and data transfer into separate classes.
|RilConsumer| only requires data transfer, and with this patch it inherits
from |StreamSocket| instead of |UnixSocketConsumer|.
2015-01-07 11:19:59 +01:00
Thomas Zimmermann
855a029b57
Bug 1110669
: Improve correctness of |RilConsumer| and its helpers, r=htsai
...
This patch applies some correctness fixes to ipc/Ril.{cpp,h}.
2015-01-07 11:19:59 +01:00
Thomas Zimmermann
ed7ecceec4
Bug 1110669
: Fix coding style of |RilConsumer| and it's helpers, r=htsai
...
This patch fixes the coding style in ipc/Ril.{cpp,h}. No functional
changes are made.
2015-01-07 11:19:59 +01:00
Brad Lassey
b536664cf4
bug 1097998 - Warn when using CPOWs when content process isn't in a safe state r=billm, bholley
2015-01-02 13:50:21 -05:00
Wes Kocher
690f2a5038
Merge m-c to fx-team a=merge
2015-01-05 17:29:14 -08:00
Ben Turner
f62303f39a
Bug 1116640, fix TestUrgentHangs on windows, r=billm. Not tested on current infra so DONTBUILD
2015-01-05 10:53:36 -08:00
Gavin Sharp
85abd2f149
Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
...
--HG--
extra : rebase_source : 5b7214167249b3c276a9e240d867ce34193a5953
2015-01-02 17:00:20 -08:00
Ehsan Akhgari
d345515746
Bug 1117265 - Mark virtual overridden functions as MOZ_OVERRIDE in IPC code; r=baku
2015-01-03 12:25:13 -05:00
Aaron Klotz
37a6150ab4
Bug 1116827: Add check for null mMonitor in MessageChannel::CanSend(); r=dvander
...
--HG--
extra : rebase_source : c4e4b864fa511d60c2b0dc22e498d2f666c8148f
2014-12-31 13:15:38 -07:00
Aaron Klotz
d9fc63ab86
Bug 998863: Asynchronous Plugin Initialization, Part 8: Plugin process launch changes; r=josh
2014-12-29 16:13:28 -07:00
Aaron Klotz
0876759d20
Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander
2014-12-29 16:12:47 -07:00
Phil Ringnalda
0c888c27eb
Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
...
CLOSED TREE
Backed out changeset 076d1d47d601 (bug 1070755)
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz
46b61c4117
Bug 998863: Asynchronous Plugin Initialization, Part 8: Plugin process launch changes; r=josh
2014-12-24 17:56:53 -07:00
Aaron Klotz
fc2f0c6a2e
Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander
2014-12-24 17:56:06 -07:00
Chris Peterson
27902ec6b5
Bug 1114724 - Define PRIuSIZE format specifiers for size_t. r=Waldo
2014-12-21 23:30:06 -08:00
Ehsan Akhgari
9297631e0b
Bug 1114880 follow-up: Rename MOZ_{STRONG,WEAK}_REF to MOZ_{OWNING,NON_OWNING}_REF
...
--HG--
extra : rebase_source : 51fff0785d112b5b87be3c6ff723c8986b37effe
2014-12-23 21:17:50 -05:00
Ehsan Akhgari
883381c0be
Bug 1114989 - Mark Shmem::mSegment as non-owning
...
--HG--
extra : rebase_source : c37e0768470315fd3dadeeeb3343b64f93a83b40
2014-12-23 21:01:50 -05:00
Nathan Froyd
de2ba33faa
Bug 1114596 - don't define GENERATED_INCLUDES in ipc/ipdl/moz.build; r=gps
...
The common include file /ipc/chromium/chromium-config.mozbuild already
defines this variable for us, and there's no point in telling the
compiler to look twice in the same directory for includes.
2014-12-22 09:59:34 -05:00
Wes Kocher
f5c5fde40d
Backed out changeset 45798e9a16c2 (bug 1114989) for mochitest-e10s-3 failures on a CLOSED TREE
2014-12-23 16:12:24 -08:00
Wes Kocher
de5ffe05db
Backed out changeset 5910d49fed08 (bug 1114989)
2014-12-23 16:11:48 -08:00
Ehsan Akhgari
76b581d963
Bug 1114989 follow-up: fix the build bustage; landed on a CLOSED TREE
...
--HG--
extra : rebase_source : 47cc94e393c8d90584f1f2fc49d9732860a3278a
2014-12-23 18:18:22 -05:00
Ehsan Akhgari
37d4f87ed3
Bug 1114989 - Convert Shmem::mSegment to nsRefPtr; r=jrmuizel
...
--HG--
extra : rebase_source : 9045464e9bdf365993999a5db83e68b21f4f44d6
2014-12-23 17:27:11 -05:00
Jed Davis
89ed7edf30
Bug 1114753 - Remove yet more dead-for-Gecko code from ipc_message_utils.h. rs=bent
2014-12-22 13:47:00 +01:00
Jed Davis
0eebb24cd1
Bug 1113463 - Remove a lot of unused/unneeded ParamTraits instances. rs=bent
2014-12-18 19:49:00 +01:00
Bill McCloskey
51b3cbac31
Bug 1109883
- Use urgent messages for protocol bridging (r=bent)
2014-12-18 17:35:48 -08:00
Bill McCloskey
2d185c3202
Bug 1109883
- Allow urgent prio messages to be sent to child (r=dvander)
2014-12-18 17:35:48 -08:00
Bill McCloskey
73c276ef13
Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander)
2014-12-18 17:35:44 -08:00
Bill McCloskey
ac2be68f94
Bug 1110938 - Use message sequence number for transaction ID in MessageChannel (r=dvander)
2014-12-18 17:34:25 -08:00
Aaron Klotz
20dba0f8d2
Bug 1112827: Add IPDL's implicit typedefs to the set of explicit typedefs, preventing duplicates in generated code; r=bent
2014-12-18 14:38:18 -07:00
Ryan VanderMeulen
8a94c3960b
Backed out changeset f0d4cb5f206c (bug 1112827) for Mulet permacrashing.
2014-12-18 15:26:05 -05:00
Aaron Klotz
a425715aeb
Bug 1112827: Add IPDL's implicit typedefs to the set of explicit typedefs, preventing duplicates in generated code; r=bent
2014-12-18 12:20:32 -07:00
Ben Turner
2be368dceb
Bug 701634 - Support IndexedDB in Workers, r=khuey+baku.
2014-12-16 22:26:15 -08:00
Jed Davis
901e4c3d28
Bug 1111810 - Remove Chromium IPC logging on CLOSED TREE. r=bent
2014-12-15 20:49:00 +01:00
Tom Schuster
8960d9ef9f
Bug 1094176 - Remove lookup API from browser. r=bholley
2014-12-17 00:28:39 +01:00
Shih-Chiang Chien
7bdce1f5fc
Bug 1102439 - Clean up child-side PBackground before thread shutdown. r=khuey
...
--HG--
extra : transplant_source : %29r%7D%0CP%9F%D6%20%8B%A9%EA%EE%7D%AC%BB%80%1AB%D86
2014-11-20 14:16:36 -08:00
Ehsan Akhgari
4261267599
Bug 1111239 - Remove a compiler check for an unsupported compiler from atomicops_internals_x86_msvc.h; r=josh
2014-12-14 14:58:41 -05:00
Botond Ballo
449bab4daf
Bug 1073081 - Fix warnings about macro redefinitions by renaming macros. r=ehsan
...
--HG--
extra : source : 18294144de5ff84e3a88945f7222e6eb8bbfcb34
2014-12-10 18:20:10 -05:00
Botond Ballo
8f00119c18
Bug 1073081 - Fix warnings about macro redefinitions by #undef'ing macros. r=ehsan
...
--HG--
extra : source : 13df0150da382d9d64f7739a29673509b493ba64
2014-12-10 18:26:55 -05:00
Botond Ballo
870235958c
Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
...
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
79d427447d
Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
...
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Botond Ballo
40dadf0d08
Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
...
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Ben Turner
9a1f2f231f
Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey.
2014-10-15 21:56:52 -07:00
Bobby Holley
455f15535d
Bug 1103324 - Instantiate an AutoNoJSAPI when dispatching IPC messages. r=billm
2014-12-06 09:51:14 -08:00
Jan Varga
7a79af88ee
Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); Part 1 - Remove unused stuff; r=bent
2014-12-06 07:31:53 -08:00
Ben Turner
abc1289811
Bug 1101756 - Add a null check to PrincipalToPrincipalInfo, r=khuey.
2014-12-04 10:12:47 -08:00
Thomas Zimmermann
8f484a8350
Bug 1094177: Convert |KeyStore| to use |{Listen|Stream}Socket|, r=chucklee
...
With the use of separate listen and stream sockets in |KeyStore|, the
listen socket remains open while |KeyStore| serves a connected client
on the stream socket. When the client disconnected, |KeyStore| continues
to listen for the next connection request.
The old dependency on |UnixSocketConsumer| has been removed.
2014-12-03 07:26:29 -08:00
Thomas Zimmermann
c6b0da8b2e
Bug 1094177: Fix VIM modelines in implementation of key store, r=chucklee
...
This patch modifies the VIM modelines in |KeyStore.{cpp,h}| to match
Mozilla's coding style.
2014-12-03 07:26:29 -08:00
Thomas Zimmermann
8cd71c82de
Bug 1093025: Add |StreamSocket|, r=kyle
...
|StreamSocket| implements a |ConnectionOrientedSocket| for stream
sockets. It utilizes |ListenSocket| to wait for incoming connection
requests.
2014-12-02 15:00:36 -08:00
Thomas Zimmermann
40f82acae9
Bug 1093025: Add |ListenSocket|, r=kyle
...
The new class |ListenSocket| listens on Unix sockets for incoming
connections. Accepted connections are handed over to a compatible
connection-oriented socket.
2014-12-02 15:00:36 -08:00
Thomas Zimmermann
98d1ef97d2
Bug 1093025: Move |UnixSocketConnector| to separate file, r=kyle
...
|UnixSocketConnector| will be shared by |UnixSocketConsumer| and
the upcoming listen and stream sockets.
2014-12-02 15:00:36 -08:00
Thomas Zimmermann
602c829f2e
Bug 1093025: Initialize listen socket only once in |UnixSocketWatcher::Listen|, r=kyle
...
Sockets in listen mode may only be created and bound once. This patch fixes
|unixSocketWatcher::Listen| to respect these contraints. Listening more than
once will reuse the settings from the first listen operation.
2014-12-02 15:00:35 -08:00
Bob Owen
b539721eb8
Bug 928044 Part 2: Enable the content sandbox by default on Windows with an open policy. r=tabraldes,glandium,jimm
...
--HG--
rename : security/sandbox/win/src/warnonlysandbox/wosCallbacks.h => security/sandbox/win/src/logging/loggingCallbacks.h
rename : security/sandbox/win/src/warnonlysandbox/wosTypes.h => security/sandbox/win/src/logging/loggingTypes.h
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.cpp => security/sandbox/win/src/logging/sandboxLogging.cpp
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.h => security/sandbox/win/src/logging/sandboxLogging.h
2014-11-29 17:12:18 +00:00
Trevor Saunders
1a013270b5
bug 1105074 - make more stuff final r=froydnj
2014-11-25 13:56:07 -05:00
Carsten "Tomcat" Book
0e7807d54c
Merge mozilla-central to mozilla-inbound
2014-11-25 14:21:44 +01:00
Carsten "Tomcat" Book
418515b044
merge b2g-inbound to mozilla-central a=merge
2014-11-25 12:55:29 +01:00
Gina Yeh
829a3d23d5
Bug 1104414, Patch 1: Fix build error: 'UNKNOWN' is not a member of 'mozilla::tasktracer::SourceEventType', r=sinker.
2014-11-25 19:51:17 +08:00
Kai-Zhen Li
7f5c395cb8
Bug 1102324 - Update date ipc/keystore/KeyStore.cpp for api level 21. r=chulee
2014-11-21 01:12:06 +08:00
Gina Yeh
51ce3cd47f
Bug 1091479, Patch2: Rename enum members, r=sinker.
2014-11-24 09:47:39 +08:00
Jed Davis
e78aaded67
Bug 1101170 - Move GMP's LinuxSandboxStarter into plugin-container. r=cpearce r=glandium
2014-11-24 15:22:14 -08:00
Jed Davis
1b16fc180f
Bug 1101170 - Move Linux sandbox code into plugin-container on desktop. r=kang r=glandium
...
Specifically:
* SandboxCrash() uses internal Gecko interfaces, so stays in libxul.
* SandboxInfo moves to libxul from libmozsandbox, which no longer exists.
* Where libxul calls Set*Sandbox(), it uses weak symbols.
* Everything remains as it was on mobile.
2014-11-24 15:22:13 -08:00
Ben Turner
44622b4efd
Bug 1102052 - Crash for PBackground protocol errors, r=mrbkap.
2014-11-20 11:48:18 -08:00
Tatiana Meshkova
3234ab1f7d
Bug 1023156 - Cannot build Qt with errors in gfxQtPlatforms (with Qt 5.3)
2014-11-19 22:02:51 -08:00
Shelly Lin
41e8eeb120
Bug 1098681 - Call GetCurTraceInfo at where this message is enqueued. r=sinker.
2014-11-18 11:20:36 +08:00
Jan Beich
7c94bec4c4
Bug 1098607 - Unbreak build BSDs and Solaris after bug 1072093. r=kats
2014-11-16 18:38:31 +01:00
Carsten "Tomcat" Book
ee6cac2957
Backed out changeset 80f873bf8adc (bug 1036682) for test bustage
2014-11-14 12:32:47 +01:00
Nicolas Silva
8ff90737a5
Bug 1036682 - Check that the ipdl connection is not lost before sending messages. r=bjacob
2014-11-14 11:25:16 +01:00
Chris Pearce
eb5bfa0cf3
Bug 1088488 - On Windows only, use librlz and SHA256 code to generate a device-bound node id inside plugin-container, pass to GMP. r=henri,r=jesup
2014-11-14 21:39:18 +13:00
Chris Pearce
e5b1f63959
Bug 1088488 - Copy freebl's SHA256 code into plugin container, stripping out non-256 SHA code. r=hsivonen
...
--HG--
rename : security/nss/lib/freebl/sha512.c => ipc/app/sha256.c
rename : security/nss/lib/freebl/blapi.h => ipc/app/sha256.h
2014-11-14 21:26:24 +13:00
Chris Pearce
c61a8acaa6
Bug 1088488 - make librlz a library, link into plugin-container. r=glandium
2014-11-14 21:26:24 +13:00
Chris Pearce
f3af16c459
Bug 1088488 - Add GMPLoader interface to encapsulate loading GMPs, pass that to XRE_InitChildProcess. r=jesup,r=bsmedberg,r=glandium
2014-11-14 21:26:24 +13:00
Nathan Froyd
8e91a30e2c
Bug 1097762 - part 1 - correctly re-initialize flag histograms after clearing them; r=gfritzsche
2014-11-12 12:03:47 -05:00
Nathan Froyd
3f89e62115
Bug 1096487 - part 2 - make ipdl message constructors take their routing id; r=bent
...
Similarly to part, there's no need to say we don't know the routing id
when constructing a message, and then turn around and set the routing id
immediately afterwards. Just let the constructor do its work.
2014-11-10 13:05:59 -05:00
Nathan Froyd
357e2a0e8c
Bug 1096487 - part 1 - make ipdl message constructors set their priority directly; r=bent
...
The default constructor for ipdl-generated messages looks like:
MOZ_IMPLICIT Msg_AsyncMessage() :
IPC::Message(MSG_ROUTING_NONE, ID, IPC::Message::PRIORITY_NORMAL, COMPRESSION_NONE, "PContent::Msg_AsyncMessage")
{
}
IPC::Message::PRIORITY_NORMAL is 1, so any set_priority(1) calls are
just redudant.
Additionally, the priorities for messages are known at code generation
time, so we are always able to provide the right constants to the
message constructor, rather than using set_priority calls later.
2014-11-10 12:32:15 -05:00
Nathan Froyd
d676b698ca
Bug 1096501 - include nsRefPtr.h instead of nsAutoPtr.h in ipdl generated files; r=bent
2014-11-10 14:18:09 -05:00
David Parks
4741aa886c
Bug 1076820 - Redraw on resize performance for content is pretty bad with e10s r=billm
...
Modern OSs adjust process scheduling based on CPU-boundedness and Interface-boundedness. A process performing a lot of UI tasks requires lower-latency than a CPU-bound process. For this reason, at least on Windows (but probably also Linux and Mac), in e10s, resize events are sent at a much higher rate than non-e10s, where the main process has to do the work to respond to them. This was supposed to be handled by the 'compress' option in IPDL but its duplicate-event test was very imprecise - it only tested the *oldest* message in the queue. This patch searches the messagequeue/deque to remove *any* duplicate. deque::erase is linear but this is a very uncommon case - currently only two compressed IPDL messages exist in the entire code base. Also, these queues are small.
2014-11-07 14:21:08 -08:00
Kartikaya Gupta
d93b09b989
Bug 1072093 - Build the CrossProcessMutex_posix on OS X, but disable it prior to Lion. r=smichaud
2014-11-07 14:17:14 -05:00
Ryan VanderMeulen
5257e798e9
Merge b2g-inbound to m-c. a=merge
2014-11-05 14:49:12 -05:00
Thomas Zimmermann
5cec118021
Bug 1091577: Added |BluetoothDaemonPDU::GetHeader|, r=shawnjohnjr
...
The |GetHeader| method of |BluetoothDaemonPDU| returns the PDU's
header. This is helpful for debugging logs.
2014-11-05 15:43:06 +01:00
Nathan Froyd
07db796930
Bug 1093809 - make Pickle reading functions MOZ_WARN_UNUSED_RESULT; r=bent
2014-11-04 11:33:06 -05:00
Nathan Froyd
4f2fbddd3b
Bug 1088043 - read and write nsTArrays more intelligently in IPC serialization; r=bent
2014-11-04 08:57:25 -05:00
Ryan VanderMeulen
0884e151e6
Merge m-c to inbound. a=merge
...
CLOSED TREE
2014-11-03 17:11:06 -05:00
Ryan VanderMeulen
dd41450212
Merge b2g-inbound to m-c. a=merge
2014-11-03 16:34:56 -05:00
Carsten "Tomcat" Book
a28c9a2d83
Merge mozilla-central to b2g-inbound
2014-11-03 14:22:46 +01:00
Thomas Zimmermann
b377283d63
Bug 1073548: Add |mozilla::ipc::BluetoothDaemonConnection|, r=shawnjohnjr
...
This patch adds |BluetoothDaemonConnection|, which transfers PDUs from and
to the Bluetooth daemon. The class is build around the existing socket I/O
infrastructure.
2014-11-03 13:03:49 +01:00
Nathan Froyd
b4ca2351fe
Bug 1092010 - part 2 - use move semantics in MessageChannel.cpp; r=dvander
2014-10-31 11:21:01 -04:00
Nathan Froyd
619b06efe6
Bug 1092010 - part 1 - add move semantics to Pickle and IPC::Message; r=dvander
2014-10-31 11:20:43 -04:00
Ryan VanderMeulen
199b533463
Backed out changesets a7d4914ea11a and f3d36cf13ac1 (bug 1092010) for non-unified bustage.
2014-11-01 00:10:08 -04:00
Nathan Froyd
da125a46bd
Bug 1092010 - part 2 - use move semantics in MessageChannel.cpp; r=dvander
2014-10-31 11:21:01 -04:00
Nathan Froyd
124b59503e
Bug 1092010 - part 1 - add move semantics to Pickle and IPC::Message; r=dvander
2014-10-31 11:20:43 -04:00
Nathan Froyd
8340380af1
Bug 1092010 - part 3 - don't use IPC::Message::operator=(IPC::Message const&) in MessageChannel.cpp; r=dvander
2014-11-01 07:00:54 -04:00
Ting-Yu Chou
591080107c
Bug 1050122 - Part 2 - Disable preallocate when proc loader is not initialized. r=khuey
2014-11-01 13:28:33 +08:00
Ting-Yu Chou
b3971b5f46
Bug 1050122 - Part 1 - Enable Nuwa on debug builds, and kill it if the preference is false. r=khuey
2014-10-31 15:07:43 +08:00
Ryan VanderMeulen
1938b69d8b
Backed out changesets bc3b048b416d and 773b27cd166b (bug 1050122) for regression B2G debug test runtimes dramatically.
2014-11-03 12:46:43 -05:00
Jacek Caban
1fb284960f
Bug 1092130 - Fixed build errors found by mingw after bug 1076698 landed (-Werror=missing-braces errors). r=cpearce
2014-11-03 10:28:52 +01:00
Akshendra Pratap Singh
938aa11999
Bug 1074211: Output a warning message when a IPDL constructor returns a null value; r=bent
2014-10-15 15:30:00 -07:00
Bill McCloskey
2035b00c59
Bug 1062713 - Handle normal priority messages while sending sync messages more efficiently (r=dvander)
2014-10-30 13:06:24 -07:00
Mike Hommey
47c853314f
Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
...
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.
Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.
Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Boris Zbarsky
3ab8b7383a
Bug 1088002 part 3. Stop requiring JSPROP_PROPOP_ACCESSORS just to use stub accessors. r=waldo
2014-10-29 15:06:32 -04:00
Boris Zbarsky
6ee4ab8789
Bug 1088002 part 2. Change JS_DefineElement, JS_DefineProperty, JS_DefineUCProperty, JS_DefinePropertyById, and JS_DefineProperties to default to using JSNative accessors, not JSPropertyOp accessors. r=waldo
2014-10-29 15:06:31 -04:00
Bill McCloskey
43b7a1a0c8
Bug 641685 - Make sure generated code for IPDL bridged includes all necessary forward decls (r=bsmedberg)
2014-10-29 08:04:51 -07:00
Andrew McCreight
78d06724f8
Bug 1089833 - Delete reply in MessageChannel::DispatchSyncMessage and DispatchInterruptMessage if channel isn't connected. r=billm
2014-10-28 13:53:15 -07:00
Ben Turner
58f3e4e056
Bug 1087464, Use the correct ContentParent when Nuwa forks PBackground actors. r=khuey.
2014-10-23 20:13:25 -04:00
Nicholas Nethercote
f50b6cd934
Bug 1087834 - Reduce heap churn involving |input_overflow_buf_|. r=billm.
...
--HG--
extra : rebase_source : f842309c5d75479fefc266d405c0b8aceb7c247f
2014-10-23 01:34:07 -07:00
Carsten "Tomcat" Book
a2700c231c
Merge mozilla-central to b2g-inbound
2014-10-21 16:02:54 +02:00
Thomas Zimmermann
7c3cf9bdb8
Bug 1083092: Add |mozilla::ipc::UnixSocketIOBuffer|, r=shawnjohnjr
...
The class |UnixSocketIOBuffer| maintains memory buffers for socket I/O
operations. The actual I/O is still implemented by subclasses, such as
|UnixSocketRawData|.
2014-10-21 10:52:12 +02:00
Thomas Zimmermann
51eba88842
Bug 1083092: Data parameter for |mozilla::ipc::SocketIOSendTask| template, r=shawnjohnjr
...
The data class in |SocketIOSendTask| is now a template parameter, instead
of being hard-coded to |UnixSocketRawData|. The patch also adds soem minor
cleanups to the file.
2014-10-21 10:52:12 +02:00
Thomas Zimmermann
973c70e366
Bug 1083092: Introduce |mozilla::ipc::SocketBase|, r=shawnjohnjr
...
The new class |SocketBase| contains the notification mechanism of
|SocketConsumerBase|. The latter still contains I/O methods.
2014-10-21 10:52:11 +02:00
Chris Peterson
d775ad4acf
Bug 1081010 - Part 1: Fix -Wswitch warning in ipc/chromium. r=tabraldes
2014-10-09 23:46:16 -07:00
Ben Turner
d103771dfd
Bug 1076975 - Avoid serializing blobs when passed between threads in the same process, r=khuey.
2014-10-20 17:49:00 -07:00
Bob Owen
b5478fbccd
Bug 1037445: When pre-Vista, for testing purposes allow std handles to be inherited by child process when an env var is set. r=jmaher,dvander
2014-10-15 08:26:39 +01:00
Tom Schuster
bf9324688d
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Stephen Pohl
0b58cd9573
Bug 1077282: Cleanup uses of GreD vs GreBinD, introcuded by v2 signature changes on OSX. Based on initial patch by rstrong. r=bsmedberg
2014-10-10 15:06:57 -04:00
Stephen Pohl
5704902134
Bug 1077099: Set mGREBinDir in nsXREDirProvider::Initialize to avoid returning NULL in nsXREDirProvider::GetGREBinDir. r=bsmedberg
2014-10-10 15:06:50 -04:00
Steve Fink
b640335cbc
Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey
2014-10-07 10:44:07 -07:00
Andrea Marchesini
8f8ec51372
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
7491bee8c3
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-08 17:15:22 +01:00
Bill McCloskey
2ab547d3ab
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book
4985d0ee76
Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE
2014-10-08 08:03:57 +02:00
Bill McCloskey
281cb8db91
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Andrew Halberstadt
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Ben Turner
21acdc6b04
Bug 1075302 - Allow Necko to do main thread I/O on remote blobs, r=khuey.
2014-10-07 12:26:59 -07:00
Ryan VanderMeulen
cd3e8a6f73
Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
...
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)
CLOSED TREE
--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
c8190ba625
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini
d272279126
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-07 15:20:52 +01:00
zhoubcfan@163.com
567fb422f4
Bug 1076926 - Add windows 10 support to exe manifest. r=jimm
2014-10-04 14:43:01 +09:00
Stephen Pohl
61f65fb287
Bug 1075691
: The GreD for XPCOM-using subprocesses on OSX needs to change due to the v2 signature changes. r=bsmedberg
2014-10-02 13:19:34 -04:00
Cervantes Yu
d306472784
Bug 1048011: fix a race condition that leaks PProcLoaderParent. r=khuey
...
--HG--
extra : rebase_source : 18146b718be5d884915216ec453a153e30923f6c
2014-08-11 15:50:20 +08:00
Bill McCloskey
bc57adfb17
Bug 1071409 - Eliminate potential CPOW hang (r=dvander)
2014-10-01 09:58:54 -07:00
Patrick Wang (Chih-Kai Wang)
a6fea7c09c
Bug 1032125: Part 1: Prevent from sending message to Nuwa after Nuwa frozen. r=khuey
2014-09-30 22:12:11 +08:00
Carsten "Tomcat" Book
b37ac43e39
merge fx-team to mozilla-central a=merge
2014-09-30 15:10:47 +02:00
Ryan VanderMeulen
c8d14e42a2
Merge m-c to fx-team. a=merge
2014-09-29 16:09:22 -04:00
Georg Fritzsche
ef6689ab60
Bug 1069873 - Add counter histogram type. r=froydnj
2014-09-26 17:45:33 +02:00
Stephen Pohl
6ff74d5eef
Mac v2 signing - Bug 1059504 - Avoid plugin-container from crashing due to the new v2 bundle structure on OSX. r=bsmedberg
2014-09-29 11:51:17 -07:00
Stephen Pohl
7959bd3a2b
Mac v2 signing - Bug 1050944 - Get Firefox to launch and run on OSX with the new .app bundle structure, made necessary by Apple's v2 signatures. r=smichaud, r=ted, sr=bsmedberg
2014-09-29 11:51:04 -07:00
Ben Turner
d081140cb0
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Cervantes Yu
f306f96f76
Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey
...
--HG--
extra : rebase_source : 5e2dedb855dd5e0e6637d6f42c80c69df8081971
2014-09-30 00:00:00 +08:00
Aaron Klotz
2b75c7f33e
Bug 1072752: Make Chromium UI message loops for Windows call into WinUtils::WaitForMessage; r=jimm
2014-09-25 12:39:15 -06:00
Carsten "Tomcat" Book
293a55afc8
Backed out changeset 1e25cd3e8219 (bug 1051633) for B2G ICS Emulator Opt m4 test failures
2014-09-24 11:28:37 +02:00
Cervantes Yu
5d34df52be
Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey
...
--HG--
extra : rebase_source : 2c9baf6ac87744d7049c90284990c0aa48e0f058
2014-08-15 17:19:05 +08:00
Josh Aas
0372b4fdd7
Bug 1071808: Remove Chromium lazy_instance from IPC code. r=nfroyd
2014-09-23 22:31:35 -05:00
Edwin Flores
25ceb315bd
Bug 1039886 - Make ProcessKill signal SIGKILL only if the child still exists r=bsmedberg
2014-09-24 10:04:48 +12:00
Carsten "Tomcat" Book
2ae977b21b
merge mozilla-inbound to mozilla-central a=merge
2014-09-22 12:58:26 +02:00
Carsten "Tomcat" Book
54645ad792
Backed out changeset 0b73bd6d5d9c (bug 1032125) for causing regressions
2014-09-22 12:45:48 +02:00
Josh Aas
ea42260ec4
Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd
2014-09-19 13:17:17 -05:00
Patrick Wang (Chih-Kai Wang)
c8e896b33c
Bug 1032125: Part 1: Prevent from sending message to Nuwa after Nuwa frozen. r=khuey
2014-09-19 17:11:15 +08:00
Shian-Yow Wu
b9c01983f4
Bug 1054598 - Don't assert when invalid file descriptor received. r=jduell
2014-09-19 15:29:36 +08:00
Wes Kocher
fc53ede9d6
Backed out changeset d77733726cae (bug 1063318) for b2g mochitest leaks
2014-09-18 16:30:33 -07:00
Josh Aas
d9721c0792
Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd
2014-09-18 15:52:59 -05:00
Carsten "Tomcat" Book
8c30ba3274
Backed out changeset 78b119af926a (bug 1032125) for bustage on B2g non-unified builds on a CLOSED TREE
2014-09-18 15:14:19 +02:00
Patrick Wang (Chih-Kai Wang)
c5cc9fe0f1
Bug 1032125: Part 1: Prevent from sending message to Nuwa after Nuwa frozen. r=khuey
2014-09-18 10:29:13 +08:00
Ben Turner
46d101f40c
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Bobby Holley
e3eca2660e
Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
...
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Jim Chen
d25dd57719
Bug 1067513 - Import updated base::LazyInstance from upstream; r=bsmedberg
...
This patch imports the following files from upstream, and adapts them to the
in-tree fork at ipc/chromium,
* src/base/lazy_instance.cc
* src/base/lazy_instance.h
The updated code fixes several issues with LazyInstance [1-4]. LazyInstance
usages are also updated to reflect changes in the class interface.
[1] https://code.google.com/p/chromium/issues/detail?id=28749
[2] https://code.google.com/p/chromium/issues/detail?id=64930
[3] https://code.google.com/p/chromium/issues/detail?id=65298
[4] https://code.google.com/p/chromium/issues/detail?id=82122
2014-09-17 12:59:21 -04:00
Ben Turner
1a91d40956
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
...
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Jim Mathies
9d266c73b6
Bug 1060738 - Implement MessagePumpForNonMainUIThreads for Windows, a xpcom compatible subclass of chromium's MessagePumpForUI. r=tabraldes
2014-09-12 09:49:38 -05:00
Carsten "Tomcat" Book
38de5c92c8
merge mozilla-inbound to mozilla-central a=merge
2014-09-10 14:59:20 +02:00
Carsten "Tomcat" Book
bd710ad752
Backed out changeset 0a76964b8d8d (bug 1048011) for causing regression
2014-09-10 14:52:47 +02:00
Ryan VanderMeulen
6ee49243a4
Merge inbound to m-c. a=merge
2014-09-08 19:10:31 -04:00
Thomas Zimmermann
731698678c
Bug 1059813: Protect access to fields of |UnixSocketRawData|, r=qdot
...
This patch adds protection for fields of |UnixSocketRawData| by
making them private.
2014-09-08 11:44:02 +02:00
Thomas Zimmermann
edfa9474e7
Bug 1059813: Use getter/setter methods of |UnixSocketRawData| in RIL helpers, r=vyang
2014-09-08 11:44:01 +02:00
Thomas Zimmermann
c04407701e
Bug 1059813: Use getter/setter methods of |UnixSocketRawData| in |KeyStore|, r=chulee,qdot
2014-09-08 11:44:01 +02:00
Thomas Zimmermann
d9c20bfa74
Bug 1059813: Wrap socket I/O operations in |UnixSocketRawData|, r=qdot
...
This patch moves the I/O operations for sending and receiving data
in |SocketIOBase| into |UnixSocketRawData|. This change allows to
add a clean interface to |UnixSocketRawData| and later replace the
class by other implementations.
2014-09-08 11:44:00 +02:00
Ryan VanderMeulen
d132cca22b
Merge b2g-inbound to m-c. a=merge
2014-09-05 12:04:44 -04:00
Ryan VanderMeulen
6ca1d53198
Merge fx-team to m-c. a=merge
2014-09-05 11:54:57 -04:00
Jacek Caban
06efc6492d
Bug 1063511 - Fix mingw builds after bug 1027906. r=tabraldes
2014-09-08 10:35:24 +02:00
Thomas Zimmermann
261a3f87cf
Bug 1062754: Support peer shutdown and EOF in |SocketIOBase|, r=qdot, btian
...
Calling read on a socket that has been closed for reading by the
peer, read returns 0. The socket is still readable however, so
polling and reading will return constant results of 0 received
bytes.
With this patch, if a socket's peer shuts down reading or if
we reached the EOF, we stop watching the file descriptor for
readability. |SocketIOBase| will detect this case exactly once
and initiate the socket's shutdown.
2014-09-05 10:16:24 +02:00
Nick Alexander
04b45e0f6c
Bug 1040945 - Part 1: Install Android native libraries directly into lib/ANDROID_CPU_ARCH. r=glandium
...
This is a little tricky only because MOZ_CHILD_PROCESS_NAME is
"lib/libplugin-container.so" on Android, which meant special handling
at multiple places in the tree. This patch reduces the number of such
places.
2014-09-04 20:11:09 -07:00
Josh Aas
65e14944dd
Bug 1062719 - remove Chromium debug flags, task queue from IPC code. rs=bent
2014-09-04 00:24:27 -05:00
Josh Aas
6ebfe77400
Bug 1062715 - remove Chromium event recorder, memory debug, simple thread, drag and drop code. rs=bent
2014-09-03 23:56:40 -05:00
Josh Aas
fd257bbd4c
Bug 1062064 - remove Chromium debug utils from IPC code. rs=bent
2014-09-03 22:52:59 -05:00
Mike Hommey
ed70c5f377
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Josh Aas
dfc298875b
Bug 1062076 - remove Chromium system monitor from IPC code. rs=bent
2014-09-02 23:30:40 -05:00
Josh Aas
a5dc80b1cd
Bug 1061994 - remove Chromium worker pools from IPC code. rs=bent
2014-09-02 21:03:04 -05:00
Josh Aas
c3b9368b99
Bug 1061992 - remove Chromium hmac code from IPC code. rs=bent
2014-09-02 19:33:04 -05:00
Josh Aas
8035f72dbe
Bug 1061889 - remove Chromium statistics code. rs=bent
2014-09-02 18:04:59 -05:00
Ehsan Akhgari
b1b56df2fe
Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg
2014-09-02 18:24:49 -04:00
Josh Aas
d3655aff84
Bustage fix for bug 1059479, CLOSED TREE
2014-09-02 15:48:07 -05:00
Josh Aas
df78cc41bb
Bustage fix for bug 1059479, CLOSED TREE
2014-09-02 15:25:29 -05:00
Josh Aas
85d03dd759
Bug 1059479 - remove Chromium path service and trace events code. r=bent
2014-09-02 14:23:58 -05:00
Kyle Huey
a98032818a
Back out bug 1050122 for causing silent timeouts on emulator mochitests. a=me
2014-09-02 12:05:36 -07:00
Cervantes Yu
81af9774de
Bug 1048011 - Fix a race condition that causes PProcLoaderParent leak. r=khuey
...
--HG--
extra : rebase_source : d0230771da1992fab13681c9b5baa585d334d0cc
2014-08-11 15:50:20 +08:00
Jacek Caban
cd7ba96e9d
Bug 1055655 - Fix warnings turned to errors by bug 1018288 found by mingw build. r=ted,jmathies
...
--HG--
extra : rebase_source : 2e1d8d0ae697515994b718634f8f8ae9b26b8d80
2014-09-02 11:07:25 +02:00
Ting-Yu Chou
db092f3c12
Bug 1050122 - Enable Nuwa on debug builds, and kill it if the preference is false. r=khuey
2014-09-01 10:43:39 +08:00
Ehsan Akhgari
8f9a796b91
Follow-up to bug 1060997 to fix the build bustage
2014-08-31 21:14:53 -04:00
Ehsan Akhgari
8e138d4419
Bug 1060997 - Fix more bad implicit constructors in IPC; r=smaug
2014-08-31 21:12:55 -04:00
Tim Abraldes
ba6539ecd7
bug 1027906. Set delayed token level for GMP plugin processes to USER_RESTRICTED. Whitelist certain files and registry keys that are required for EME plugins to successfully load. r=bobowen. r=jesup. r=bent.
2014-08-29 17:34:26 -07:00
Bob Owen
f19448274c
Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg
...
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Botond Ballo
e7dbf26fb2
Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
...
--HG--
extra : rebase_source : 667fc18943d84f1ae28579fc23f846f9350e6fe2
2014-08-26 17:14:51 -04:00
Nicholas Nethercote
f57e56e187
Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg.
...
--HG--
extra : rebase_source : 250ec1323d4097101a8e0331a2bf7fab59f72b1d
2014-08-27 15:47:27 -07:00
David Major
36c74581b8
Bug 1023941 - Part 5: Loader hook to redirect the missing import. r=bsmedberg
...
--HG--
extra : rebase_source : 7cf2e857f51dcfcc95bb806d49ef13b794f5ba5b
2014-08-28 14:53:38 +12:00
David Major
db45c0b01a
Bug 1023941 - Part 2: Static-link the CRT into plugin-container.exe. r=glandium,f=tabraldes
...
--HG--
rename : security/sandbox/moz.build => security/sandbox/objs.mozbuild
extra : rebase_source : e0b1515a4729ecfe82a67b6439d9a38453f7556a
2014-08-28 14:50:10 +12:00
Jacek Caban
319bc9cc73
Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium
2014-08-27 16:32:55 +02:00
Bobby Holley
7c712dca7b
Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz
2014-09-09 16:02:10 -07:00
Ryan VanderMeulen
a19bf3acbf
Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
...
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
e9b504cd9e
Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
2014-08-25 18:28:25 -04:00
Josh Aas
8185a36bb0
Bug 1011225: Improve e10s process naming on OS X. Patch started by Benoit Girard, completed by Josh Aas. r=njn,benwa
2014-08-26 12:03:09 -05:00
Carsten "Tomcat" Book
d578571a85
Backed out changeset 5adabc2818b2 (bug 1018966) for b2g bustage
2014-09-04 15:14:41 +02:00
Bob Owen
0fdb849687
Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg r=tabraldes
...
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Kyle Huey
d8140a30b5
Bug 1057402: Fix for non-unified builds. r=me
2014-08-22 10:02:47 -07:00
Kyle Huey
2bd759b486
Bug 1057402: Always log the message type when we hit an IPC protocol error. r=bent
2014-08-22 09:23:01 -07:00
Ben Kelly
9b26ef9797
Bug 1049801 P2 Cancel the DispatchOnChannelConnected runnable when destructing the MessageChannel. r=bent
2014-08-21 14:13:23 -04:00
Ehsan Akhgari
60ccfd2346
Bug 1053603
- Fix some more bad implicit constructors in the IPC code; r=bent
2014-08-07 21:18:59 -04:00
Ben Kelly
266c4cd30b
Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent
2014-08-20 19:42:00 -04:00
Ryan VanderMeulen
baca1ac7b9
Merge m-c to inbound. a=merge
...
CLOSED TREE
2014-08-20 16:23:04 -04:00
Andrew Osmond
d69cd6a1ab
Bug 1055316 - Fix unix socket connect backoff scheme such that it will actually backoff. r=tzimmermann
2014-08-18 15:53:00 -04:00
Sotaro Ikeda
93c1acb209
Bug 1042387 - Add file descriptors count check r=jrmuizel
2014-08-18 10:55:23 -07:00
Ehsan Akhgari
40d9e7c418
Backed out changeset 0409c8faca80 because of build bustage on a CLOSED TREE
2014-08-18 13:44:59 -04:00
Ehsan Akhgari
0ab9b21d10
Add SetProp to the list of windows.h #defined functions that we need to #undef, no bug
2014-08-18 13:19:16 -04:00
Bill McCloskey
4cedc603cb
Bug 1050604 - Get IPDL tests passing again (r=bent)
2014-08-20 12:49:11 -07:00
Bill McCloskey
be42be0ea4
Bug 1051128 - Allow filtering the IPC log by toplevel protocol name (r=bent)
2014-08-20 12:49:11 -07:00
Jim Mathies
5a0921a9b9
Bug 874437 - Only enable ipc sync wait deferred Windows message handling for plugin protocols, everything else should use standard blocking waits. r=bsmedberg
2014-08-15 12:12:37 -05:00
Bobby Holley
e70ddb7476
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Andrew McCreight
4790cd3937
Bug 1024795, part 4 - Use a default value for initializing unions, except for nsTArray. r=bent
...
This restores the initialization behavior prior to bug 819791, except for the one case that bug requires.
2014-08-13 11:36:15 -07:00
Andrew McCreight
7805ea0edf
Bug 1024795, part 3 - Generate nsTArray instead of InfallibleTArray in lower.py. r=bent
2014-08-13 11:36:15 -07:00
Andrew McCreight
8c72cba1bb
Bug 1024795, part 2 - static_cast isn't needed for nullptr in IPDL codegen. r=bent
...
Since bug 1038523, lower.py generates nullptr for NULL, so this cast isn't needed.
2014-08-13 11:36:14 -07:00
Andrew McCreight
b341e821c2
Bug 1024795, part 1 - Remove trailing whitespace from lower.py. r=bent
2014-08-13 11:36:14 -07:00
Jim Mathies
dc108c90b9
Bug 1052395 - Improve ipc debug output for unhandled nonqueued Windows messages. r=bent
2014-08-12 14:06:00 -05:00
Jim Mathies
6792642961
Bug 1047842 - Pass WM_GETTEXTLENGTH messages in ipc wait for notify calls to DefWindowProc. r=bent
2014-08-13 04:39:47 -05:00
Daniel Holbert
8c367c2bf1
Bug 1052758: Remove unused variable 'kWorkScheduled' from message_pump_glib.cc. r=ehsan
2014-08-12 21:46:27 -07:00
Ryan VanderMeulen
7f18942028
Merge inbound to m-c. a=merge
2014-08-11 16:10:07 -04:00
Ben Turner
45efa47d8a
Bug 1051521, Fix assertion when OnCloseChannel loses the race with OnChannelError, r=bsmedberg.
2014-08-11 10:09:30 -07:00
Thomas Zimmermann
b7e4884672
Bug 1048093: Delete sent socket-data objects instead of raw data, r=kyle
...
After successfully sending data, |SocketIOBase::SendPendingData|
deletes the raw data instead of the actual socket-data object. The
behavior is undefined and leads to a segmentation fault.
This patch fixes the bug by deleting the correct object.
2014-08-11 09:36:15 +02:00