Nathan Froyd
b4ca2351fe
Bug 1092010 - part 2 - use move semantics in MessageChannel.cpp; r=dvander
2014-10-31 11:21:01 -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
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
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
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
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
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
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
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
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
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
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
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
bd710ad752
Backed out changeset 0a76964b8d8d (bug 1048011) for causing regression
2014-09-10 14:52:47 +02:00
Jacek Caban
06efc6492d
Bug 1063511 - Fix mingw builds after bug 1027906. r=tabraldes
2014-09-08 10:35:24 +02: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
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
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
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
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
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
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
Jacek Caban
319bc9cc73
Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium
2014-08-27 16:32:55 +02: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
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
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
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
Ben Turner
45efa47d8a
Bug 1051521, Fix assertion when OnCloseChannel loses the race with OnChannelError, r=bsmedberg.
2014-08-11 10:09:30 -07:00
Ben Turner
43649dec8a
Bug 1044322 - Reset the channel listener on the correct thread. r=bsmedberg
...
CLOSED TREE
2014-08-08 18:19:33 -07:00
Ryan VanderMeulen
f7fcc23040
Backed out changeset 8f9508342de9 (bug 1044322) for mochitest leaks.
2014-08-08 22:18:41 -04:00
Ben Turner
3bd6fe6f31
Bug 1044322 - Reset the channel listener on the correct thread, r=bsmedberg.
2014-08-08 18:19:33 -07:00
Birunthan Mohanathas
3e8abfd2e8
Bug 1049997
- Separate statements declaring multiple pointers into separate statements. r=froydnj
2014-08-08 07:04:45 -07:00
Jim Mathies
12e0bdab98
Bug 1044245: don't track Windows IPC stack frames on non-gui threads r=bsmedberg
2014-08-07 22:21:05 -04:00
Bill McCloskey
62917d6717
Bug 1042587 - Block scripts when using CPOWs (r=bent)
2014-08-05 21:44:42 -07:00
Bill McCloskey
024b67429e
Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke)
2014-08-05 21:43:36 -07:00
Ehsan Akhgari
0403683a4f
Bug 1047782 - Fix some bad impliciit constructors in netwerk/; r=mcmanus
2014-08-05 09:20:50 -04:00
Ehsan Akhgari
beaa1d2306
Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug
2014-08-05 09:19:51 -04:00
Thinker K.F. Li
e9dc84b5a1
Bug 977026 - Part 2: B2G loader. r=khuey, r=cyu
...
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-30 03:24:00 -04:00
Bill McCloskey
8bcf32b6ed
Back out bug 950745 for crashes
2014-07-30 16:19:46 -07:00
Benoit Jacob
c50ccf8dba
Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj
2014-07-30 15:52:05 -04:00
Mike Hommey
9424087517
Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE.
2014-07-29 14:50:41 +09:00
Wes Kocher
1ce0c3e306
Merge m-c to inbound on a CLOSED TREE
2014-07-28 18:51:24 -07:00
Carsten "Tomcat" Book
aeabc85ae7
Merge mozilla-central to b2g-inbound
2014-07-28 16:06:50 +02:00
Thinker K.F. Li
5a9232dbfc
Bug 977026 - part 2: B2G loader. r=khuey,cyu
...
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-25 20:52:00 +02:00
Andrew McCreight
c95e487200
Bug 1038966, part 3 - Shmem should use refcounted pointer classes when creating SharedMemory. r=bent
2014-07-25 16:41:25 -07:00
Ehsan Akhgari
c8380d74dd
Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug
2014-07-28 13:17:51 -04:00
Andrew McCreight
2ab43e1c66
Bug 1028148, part 2 - SharedMemory does not need COUNT_CTOR/DTOR any more. r=bent
2014-07-28 09:56:55 -07:00
Andrew McCreight
1bb04a4616
Bug 1028148, part 1 - Make SharedMemory's dtor private. r=bent
2014-07-28 09:56:54 -07:00
Georg Fritzsche
1630e406c3
Bug 1041525 - Remove workaround for GMP SyncRunnable deadlock in Crashreporter::OOPInit() r=jesup
2014-07-24 18:16:08 +02:00
Randell Jesup
9fe91aeaea
Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche
2014-07-21 10:24:29 -04:00
Randell Jesup
bcf9fd60a8
Backed out changeset 40954106dc7a (bug 1041525) (incorrect patch landed)
2014-07-21 10:24:25 -04:00
Randell Jesup
b51510d73a
Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche
2014-07-21 09:59:13 -04:00
Bill McCloskey
c87bbeeeda
Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke)
2014-07-17 21:09:45 -07:00
Benjamin Smedberg
80cf96cd26
Bug 1033522 - Only initialize the Windows Group ID for plugin processes: other process types don't need it. Refactor the saved GRE dir to use a path rather than a non-threadsafe nsIFile object, r=jimm
...
--HG--
extra : rebase_source : d15c56da6cc5679516b259a6fc7efb31b070f715
2014-07-17 11:15:09 -04:00
Tim Abraldes
1aaa7148c1
bug 985252. Build sandbox code regardless of whether --enable-content-sandbox/MOZ_CONTENT_SANDBOX is provided. Enable sandboxing of GMP plugins. Enable SandboxBroker
to set different security policies for different process types. r=bbondy, r=cpearce, r=bent
2014-07-16 16:01:34 -07:00
Andrew McCreight
842b52fe6f
Bug 1038855, part 3 - Use an nsRefPtr for CrossProcessMutex::mSharedBuffer. r=bjacob
2014-07-16 12:39:03 -07:00
Andrew McCreight
de19994a7f
Bug 1038853 - Use nullptr instead of 0 in Shmem.h and Shmem.cpp. r=bent
2014-07-15 16:51:44 -07:00
Benoit Girard
1465e09a99
Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel
2014-07-15 11:37:45 -04:00
Ben Kelly
9538652bf1
Bug 1013571 Reland support for PBackground on workers. r=bent
2014-07-09 17:39:18 -04:00
Wes Kocher
25c80c8653
Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783
2014-07-08 14:43:46 -07:00
Ben Kelly
273b405632
Bug 1013571 Reland support for PBackground on workers. r=bent
2014-07-08 14:57:16 -04:00
Ben Turner
6764e04571
Bug 1024098, Add some helpers for principal verification with PBackground. r=mrbkap.
2014-07-07 11:13:04 -07:00
Benoit Jacob
fed8dee123
Bug 1028383 - Make ITopLevelProtocol assert to enforce its assumptions that things happen on the main thread - r=bent
2014-07-04 14:04:13 -04:00
Benoit Jacob
15eb88c866
back out bug 774388 and bug 1028383 for intermittent e10s mochitest-2 crashes
2014-07-04 21:24:32 -04:00
Benoit Jacob
cf08ba484c
Bug 1028383 - Make ITopLevelProtocol assert to enforce its assumptions that things happen on the main thread - r=bent
2014-07-04 14:04:13 -04:00
Ben Kelly
442902ef98
Backout 303027a0da95 (bug 1013571) due to persistent oranges (bug 1032011, bug 1032605, bug 1032783
)
2014-07-04 00:31:59 -04:00
Ryan VanderMeulen
6d9424856d
Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
...
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Benoit Jacob
2e685fd274
Bug 1028383 - Make ITopLevelProtocol assert to enforce its assumptions that things happen on the main thread - r=bent
2014-07-03 14:53:35 -04:00
Jed Davis
518a1f1719
Bug 956961 - FileDescriptorToFILE should always use its input. r=bent
...
--HG--
extra : rebase_source : 5b5f0b5367c95ba1eb74ec158a93520675ed63ee
2014-07-02 11:22:40 -07:00
Wes Kocher
03cdc19fec
Backed out 3 changesets (bug 956961) for non-unified build bustage
...
Backed out changeset f1be89cb58b9 (bug 956961)
Backed out changeset 272b01e4f856 (bug 956961)
Backed out changeset 56907af18c66 (bug 956961)
2014-07-02 15:03:29 -07:00
Jed Davis
e10417743e
Bug 956961 - FileDescriptorToFILE should always use its input. r=bent
...
--HG--
extra : amend_source : 60d5d0ca9a9dd57c66e7a250f6f8604820357131
2014-07-02 11:22:40 -07:00
Ben Kelly
af266f98f6
Bug 1013571 Support PBackground on workers. r=bent
2014-06-27 13:36:25 -07:00
Benoit Jacob
8f78452009
Bug 1028588 - Fix dangerous public destructors in ipc/ - r=bent
2014-06-23 18:40:03 -04:00
Kartikaya Gupta
785582fc9d
Bug 1024728 - Gracefully handle a CrossProcessMutex being initialized with a stale handle. r=khuey
2014-06-20 17:06:36 -04:00
Benoit Jacob
c494ef04f8
Bug 1027251 - Fix or whitelist dangerous public destructors in ipc/ - r=bent
2014-06-18 22:29:00 -04:00
Nicholas Nethercote
aaf6fb2124
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Ehsan Akhgari
28c14d47a0
Fix the places where we forward declare already_AddRefed as a struct, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity
2014-06-17 10:57:23 -04:00
Chris Lord
5c57498fbc
Bug 1012639 - Fix OtherProcess sometimes being the current process handle. r=bent
2014-06-11 14:51:12 +01:00
Mike Hommey
5870ddf891
Bug 1022259 - Only load Gtk+2 stub for plugin processes in Gtk+3 builds. r=bent,r=karlt
2014-06-10 16:00:42 +09:00
Ryan VanderMeulen
7d94b98700
Merge m-c to fx-team.
2014-05-30 16:30:24 -04:00
Jim Mathies
cdd47fdee8
Bug 1014673 - Allow WM_GETOBJECT calls to succeed when mozilla window procedures are neutered by ipc WaitForNotify calls. r=bent
2014-05-30 14:30:54 -05:00
Emilio Pozuelo Monfort
1da5892669
Bug 624422 - Let plugin-container load libmozgtk2. r=glandium
2014-05-01 13:37:48 +02:00
Birunthan Mohanathas
d9e420fc7c
Bug 869836 - Part 12: Use Assign('c')
instead of AssignLiteral("c")
. r=ehsan
...
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Ehsan Akhgari
6011b07362
Bug 1015430 - Fix more XPCOM constructors to clarify whether they should be explicit; r=froydnj
2014-05-25 21:16:01 -04:00
Kyle Huey
8c5cca136c
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00
Boris Zbarsky
8479e9cec6
Bug 869836 followup to fix build bustage
2014-05-22 00:48:11 -04:00
Birunthan Mohanathas
aea8617b92
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
0e6f3a6562
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Josh Aas
b0e94d5a46
Bustage fix for Gecko Media Plugins landing, bug 957928.
2014-05-17 23:25:36 -05:00
Bas Schouten
0fb4d010fd
Bug 1009590: Deal with non-ui-thread IPDL usage on Windows. r=bent
2014-05-18 05:16:51 +02:00
Josh Aas
7ec76f43f8
Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent
2014-05-17 22:05:46 -05:00
Phil Ringnalda
127b904678
Back out a4b51aff4b3c (bug 957928) for build bustage
...
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
992d7074a3
Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent
2014-05-17 18:53:03 -05:00
Benoit Girard
e263b0e91e
backout 9ebe70d8a9b2 (Bug 1011225) for mochitest failures on a CLOSED TREE
2014-05-16 00:52:55 -04:00
Benoit Girard
c71d9a9403
Bug 1011225 - [e10s] Name mac content process. r=mstange
...
--HG--
extra : rebase_source : 0b1e31e9fed6ec6227c101c3ccd6b5401822778c
2014-05-15 16:52:30 -04:00
Jed Davis
e4ced412bb
Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
...
This has a few semi-interdependent pieces:
* Factoring out the file opening/closing/renaming from the GC/CC logging.
* Using IPC to have the child log to files that the parent opened.
* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
of child process logging (which was impossible before this, and which is
needed to have a meaningful test case).
* Changing about:memory to dump logs for child processes, matching the
behavior of the "Measure" button, because it can tell the user where
they are now.
* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
interface, not by clicking buttons and scraping the about:memory page,
but done as a chrome mochitest to start remote browsers); based on
test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
Chris Peterson
dbf88e5f6b
Bug 1007741 - Fix -Wunused-function warning in ipc/glue/ and mark ipc/ subdirectories as FAIL_ON_WARNINGS. r=bsmedberg
2014-05-07 23:55:30 -07:00
David Major
2f04916760
Bug 1000364: Drop nonqueued messages for QuickTime's QTNSHIDDEN class. r=jimm
...
--HG--
extra : rebase_source : 9f319b57601d36a108d4f22f3b2221d62ac25523
2014-05-08 12:20:05 +12:00
Ting-Yu Chou
bec3061850
Bug 999351 - Fix an IPC leak by clearing MessageChannel resource before destruction. r=bent
...
Once we have a channel error (like, child process dies) we don't immediately do
anything with additional messages that were pending from that child. They stay
queued and eventually get freed when the channel is destroyed. This patch clears
the resource earlier whenever there is an error, or the channel is closed.
2014-04-24 15:26:50 +08:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Benoit Jacob
79693d7a24
Bug 987305 - Add BitFlagsEnumSerializer - r=nfroyd
2014-04-25 22:34:04 -04:00
Cervantes Yu
878e346c04
Bug 977359 Part 2: Test case for the deadlock in the Nuwa process. r=gal
2014-04-15 21:26:30 +08:00
Benoit Jacob
e8b418c5f5
Bug 987305 - Refactor EnumSerializer - r=nfroyd
2014-04-14 10:17:40 -04:00
Phil Ringnalda
0cfd4fe15e
Merge b-i to a CLOSED TREE m-c
2014-04-06 10:05:10 -07:00
Ben Turner
b6f0894382
Bug 988878, r=bsmedberg.
2014-04-04 19:45:20 -07:00
Dave Hylands
b3befb9df9
Bug 988410 - Move directory service calls onto MainThread. r=bent
2014-04-04 12:16:16 -07:00
snigdha
9cc482da68
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
Ben Turner
9394b6fd31
Bug 977819 - 'Allow PBackgroundChild implementors to hook into the threadlocal space'. r=mrbkap.
2014-03-31 19:55:36 -07:00
Ben Turner
f90d07c4fd
Bug 977762 - 'Provide a mechanism to get the PContentParent associated with a PBackgroundParent'. r=mrbkap.
2014-02-27 11:59:12 -08:00
Josh Aas
5e8b893a0b
Bug 987923: Add autorelease pool locally in GetTempDir on OS X, and also to non-main-thread event loop. r=smichaud,bent
2014-03-25 15:27:12 -05:00
Andrea Marchesini
ebeddf1969
Bug 910010 - Implementation of PFileDescriptorSet - part 2, r=bent
2014-03-25 18:37:28 +00:00
Andrea Marchesini
fdcbca4082
Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey
2014-03-25 18:37:13 +00:00
Jed Davis
ae7a935120
Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg
2014-03-21 08:50:07 -04:00
Blake Kaplan
b356dfdf64
Bug 984708 - Make sure we clear out the shutdown timer no matter what. r=bent
2014-03-19 10:36:28 -04:00
Neil Rashbrook
604d9a5302
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c879b47079
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
3e8915c4b8
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Kyle Huey
b564544cf7
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
1f3d658bb3
Bug 967364: Use every already_AddRefed. r=bsmedberg
2014-03-15 12:00:16 -07:00
Kyle Huey
fe6c4e28d6
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Dave Hylands
354d15dbb9
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
Carsten "Tomcat" Book
34af5d34ec
Backed out changeset 1314168b5271 (bug 977372)
2014-03-06 09:16:01 +01:00
Dave Hylands
df5638354e
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
bbe169ea7d
Bug 977339 - Do GECKO_SEPARATE_NSPR_LOGS=1 by default, r=jduell
2014-03-05 14:01:09 +01:00
Benjamin Smedberg
070bb00497
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
Ehsan Akhgari
3b5e7a8157
Bug 976258 - Undo the damage of including windows.h in IPCMessageUtils.h; r=bent
2014-03-03 21:35:51 -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
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
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
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
5704b555e2
Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 21:33:49 -05: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
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
Ben Turner
3bcfec25c8
Backout bug 956218 for build error
2014-02-06 15:19:08 +01:00
Steve Workman
f998a7abde
Bug 956218 - Make sure that all callbacks are called, r=bent.
2014-02-06 10:42:29 +01:00
Ben Turner
d251cb806b
Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap.
2013-11-26 23:59:41 -08:00
Ben Turner
10cf13f470
Backout bug 956218 for link error.
2014-02-06 11:50:43 +01:00
Ben Turner
5430ba65bc
Bug 956218 - '(PBackground) Fix silly cast issue.'
2014-02-06 11:22:37 +01:00
Steve Workman
9711a2333c
Bug 956218 - Make sure that all callbacks are called, r=bent.
2014-02-06 10:42:29 +01:00
Ben Turner
4944532d70
Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap.
2013-11-26 23:59:41 -08:00
Ted Clancy
c895425120
Bug 962344 - Log messages in IPDL should contain from/to information; Log message should go to logcat on Gonk devices. r=bent
2014-02-03 14:11:50 +01:00
Bill McCloskey
40ff701ba0
Bug 910962 - Make DeallocShmem not assert when child has crashed (r=bsmedberg)
2014-01-31 10:43:44 -08:00
Jim Chen
9a3802b401
Bug 959237 - Add AndroidBridge::HasEnv checks; r=blassey
...
For certain tests, the AndroidBridge is not initialized, but some GeckoAppShell functions are still called indirectly. For now, this patch adds checks to skip these calls if there's no AndroidBridge. However, in the future, most of the affected code should be refactored to not require these checks.
2014-01-17 23:32:24 -06:00
Josh Aas
5df343e52c
Bug 957883: Handle channel errors during process launch such that we don't sit on a dead channel for the full time-out (e.g. 45 secs for NPAPI), and allow us to detect when an error happens during child process init. Also, now that it's possible, actually check for an error during NPAPI child process init. r=bsmedberg
2014-01-11 21:51:00 -06:00
Ben Turner
6b45b1636a
Bug 957828 - Move stack machinery to cpp file, r=bsmedberg.
2014-01-10 12:58:31 -08:00
Ben Turner
ac3d30c941
Bug 957828 - Don't make stack copies of all IPC messages, r=bsmedberg.
2014-01-10 12:58:20 -08:00
Benoit Jacob
d0616b0136
Bug 958375 - 3/9 - Add a variant of EnumSerializer that works on MFBT typed enums - r=nfroyd
2014-01-10 14:06:12 -05:00
Alexandre Lissy
bd6a1c3c96
Bug 942118 - Ensure that we call MessageChannel::ReportConnectionError() with no lock. r=bent
...
Making a call to mListener with a mMonitor lock is bad. Most of the code
path for ReportConnectionError() are doing this because they are just
after the Connected() method which needs the lock. We ensure to unlock
mMonitor in the scope of the ReportConnectionError() call.
2013-11-22 17:29:25 +01:00
Neil Rashbrook
465a600b29
Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley
2014-01-08 20:51:38 +00:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
91175eb896
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Ms2ger
561cae4a0e
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00