Eric Rahm
b99305007f
Bug 1351910 - Build more files as unified in ipc/glue. r=billm
...
One file was excluded for using plarena which it did not. The other was
excluded for "clashes with strdup," it does not use strdup.
MozReview-Commit-ID: 5X5H9S4j903
2017-04-10 14:50:00 -07:00
Ryan VanderMeulen
3b1ac29a33
Backed out changeset 6933cdfb5186 (bug 1351910) for OSX bustage.
2017-04-05 21:26:47 -04:00
Eric Rahm
3b034fca72
Bug 1351910 - Build more files as unified in ipc/glue. r=billm
...
One file was excluded for using plarena which it did not. The other was
excluded for "clashes with strdup," it does not use strdup.
MozReview-Commit-ID: 5X5H9S4j903
2017-04-05 18:01:45 -07:00
Andrea Marchesini
f9cbf66dfd
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag
...
--HG--
rename : ipc/glue/SendStreamAlloc.h => ipc/glue/IPCStreamAlloc.h
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamChild.cpp
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamDestination.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamDestination.h
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamParent.cpp
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamSource.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamSource.h
rename : ipc/glue/PChildToParentStream.ipdl => ipc/glue/PParentToChildStream.ipdl
2017-03-14 12:29:43 +01:00
Andrea Marchesini
6ced9f8a25
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug
...
--HG--
rename : ipc/glue/PSendStream.ipdl => ipc/glue/PChildToParentStream.ipdl
2017-03-14 12:28:58 +01:00
Jan Beich
9bb83bbaeb
Bug 1342843 - Enable CrossProcessSemaphore on all BSDs. r=mattwoodrow
...
MozReview-Commit-ID: AawHoWsctp2
--HG--
extra : rebase_source : 73eeb995d6529b2c76f8ad35e8602537fbc6021e
2017-02-27 05:23:52 +00:00
Christoph Diehl
e7b945296c
Bug 1339306 - Faulty: Use --enable-fuzzing instead of --enable-ipc-fuzzing. r=billm
...
--HG--
extra : rebase_source : ea691b454f4b89ab3bda903b7c4636caf6e1a245
2017-02-14 03:12:10 +01:00
Matt Woodrow
c4faebc457
Bug 1325227 - Part 8: Add CrossProcessSemaphore. r=billm
2017-02-14 21:10:35 +13:00
David Anderson
45fe47d352
Add a PCrashReporter alternative that uses shmem instead of IPDL. (bug 1278717 part 1, r=billm)
2016-10-11 14:25:17 -07:00
Ehsan Akhgari
3cc4749e5d
Bug 1309028 - Remove PProcLoader; r=baku
...
The code using this protocol was removed in bug 1284674.
2016-10-11 09:37:46 -04:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
David Anderson
910f73265e
Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
...
--HG--
rename : dom/plugins/ipc/TaskFactory.h => ipc/glue/TaskFactory.h
extra : rebase_source : 96b02ead0afb82a27d668927dd53d722b77e488b
2016-06-10 15:43:35 -04:00
Phil Ringnalda
5e0adb7d56
Back out 5 changesets (bug 1271180) for static analysis bustage
...
CLOSED TREE
Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)
--HG--
rename : ipc/glue/TaskFactory.h => dom/plugins/ipc/TaskFactory.h
2016-06-11 00:46:09 -07:00
David Anderson
995cadf738
Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
...
--HG--
rename : dom/plugins/ipc/TaskFactory.h => ipc/glue/TaskFactory.h
extra : rebase_source : 485012c5a08eb0ce2a4225ddfe9cbfb454fc4302
2016-06-10 15:43:35 -04:00
Christoph Diehl
053c555889
Bug 777067 - "Fuzzing: IPC Protocol Definition Language (IPDL) Protocols". r=wmccloskey
...
--HG--
extra : rebase_source : f256b70d6f81f82339e52ab4f6bc2d9b4b751c08
2016-05-30 16:33:00 +02:00
Ben Kelly
4c8ab874ba
Bug 1093357 P2 Add an RAII type to safely handle serialized stream actors. r=jld
...
* * *
Bug 1093357 P2 interdiff 001 address review feedback
* * *
Bug 1093357 P2 interdiff 002 refactor to IPCStream type
2016-05-15 10:32:09 -07:00
Ben Kelly
749d2c1626
Bug 1093357 P1 Implement an actor for streaming pipes from child to parent. r=jld
...
* * *
Bug 1093357 P1 interdiff 001 address review feedback
2016-05-15 10:32:09 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Andrew McCreight
17fc7463dd
Bug 1268130, part 1 - Reimplement ByteLengthIsValid using CheckedInt. r=froydnj
...
The first check in ByteLengthIsValid() says "nsTArray only handles
sizes up to INT32_MAX", but the actual requirement is that the
capacity is no larger than UINT32_MAX. The check is overly restrictive
if sizeof(E) is 1 byte, and overly permissive if sizeof(E) is greater
than 2 bytes. I removed this check. Internal nsTArray invariants
should be enforced by nsTArray methods.
The second check is trying to check for overflow, but that should just
be done using CheckedInt.
2016-04-28 10:00:46 -07: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
5c454494ce
Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer
...
--HG--
rename : ipc/app/module.ver => ipc/app/plugin-container/module.ver
rename : ipc/contentproc/plugin-container.cpp => ipc/contentproc/firefox-webcontent.cpp
2016-04-01 02:12:59 -04:00
Gregory Szorc
6a9168778b
Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
...
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.
MozReview-Commit-ID: 2cwWrjMD6B9
--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Jan Beich
8d1716d194
Bug 1252246 - Try to use PTHREAD_PROCESS_SHARED for CrossProcessMutex on more Unices. r=glandium f=kats
2016-02-29 21:34:46 +00:00
Lee Salzman
05c95317a9
Bug 1245241
- part 4 - move SharedMemorySysV details into nsShmImage. r=nical
2016-02-18 10:56:15 -05:00
Randell Jesup
9c83bc8f96
Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
...
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports. Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
Ted Mielczarek
edc3c41143
bug 1204985 - make SharedMemoryBasic_mach build on iOS. r=billm
...
--HG--
rename : ipc/glue/SharedMemoryBasic_mach.cpp => ipc/glue/SharedMemoryBasic_mach.mm
extra : commitid : LQkdXR8Jccx
extra : rebase_source : b16238102bba8173126299f5d225f5ac24f047b8
2015-09-22 13:59:00 -04:00
Gian-Carlo Pascutto
19500b256d
Bug 1104616 - Proxy video capture access to the main process. r=jesup,glandium,mrbkap
2015-08-31 14:51:29 +02:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Aaron Klotz
1074da1019
Bug 1185639 - Allow deferred message processing to happen between consecutive IPC message dispatches. r=jimm
2015-07-21 01:21:51 -06:00
Ryan VanderMeulen
555a3164b2
Backed out changeset b2d0e28fe539 (bug 1185639) test_plugin_focus.html timeouts.
2015-07-27 16:06:03 -04:00
Aaron Klotz
5e0cb1c026
Bug 1185639: Allow deferred message processing to happen between consecutive IPC message dispatches; r=jimm
...
--HG--
extra : rebase_source : e6567ce8fa5c663970862a9b93c82464b2429250
2015-07-21 01:21:51 -06:00
Brad Lassey
afc6a1e13f
bug 1161166 - Use mach shared memory for shared memory on OSX r=billm
...
--HG--
rename : ipc/glue/SharedMemoryBasic_android.cpp => ipc/glue/SharedMemoryBasic_mach.cpp
rename : ipc/glue/SharedMemoryBasic_android.h => ipc/glue/SharedMemoryBasic_mach.h
2015-06-17 00:38:38 -04:00
Andrea Marchesini
dcdcd94a06
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
Wes Kocher
96780c652a
Backed out changeset 1be05715932f (bug 1161166)
2015-06-09 15:12:21 -07:00
Brad Lassey
d017cf5e0c
Bug 1161166 - Use mach shared memory for shared memory on OSX. r=billm
...
--HG--
rename : ipc/glue/SharedMemoryBasic_android.cpp => ipc/glue/SharedMemoryBasic_mach.cpp
rename : ipc/glue/SharedMemoryBasic_android.h => ipc/glue/SharedMemoryBasic_mach.h
2015-06-09 09:56:50 -04:00
Carsten "Tomcat" Book
e7e949f08a
Backed out changeset bc305c9b5d05 (bug 1155153) for b2g xpshell test failure on a CLOSED TREE
2015-06-05 13:07:51 +02:00
Andrea Marchesini
42cd5b397c
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
James Willcox
1ce3362cf0
Bug 1141693 - Build and use a PIE plugin-container on Android 5.0+. Based on a patch by Mike Hommey. r=me,glandium
2015-06-03 10:26:16 -05:00
James Willcox
571da64d75
Backout fb6329699801 for x86 breakage on a CLOSED TREE
2015-05-14 15:40:00 -05:00
James Willcox
0e358a231a
Bug 1141693 - Build and use a PIE plugin-container on Android 5.0+. Based on a patch by Mike Hommey. r=me,glandium
2015-05-14 14:52:10 -05:00
Christoph Kerschbaumer
7a668f84df
Bug 1133189 - Extend PrincipalInfo to handle expanded principals. r=bent, r=sicking
2015-04-06 18:44:04 -04:00
Ryan VanderMeulen
5e7ab18537
Backed out changeset 8bd316ad33c6 (bug 1133189) for suspicion of causing frequent OSX browser_frameworker_sandbox.js timeouts.
...
CLOSED TREE
2015-04-06 15:45:50 -04:00
Christoph Kerschbaumer
f90c7ffe44
Bug 1133189 - Extend PrincipalInfo to handle expanded principals (r=bent,sicking)
2015-02-26 12:14:27 -08:00
Bob Owen
e4f543bb58
Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce
2015-04-01 09:40:35 +01:00
Gregory Szorc
6d01f694ab
Bug 1132771 - Support and test for reading without a config object; r=glandium
...
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.
This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.
Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.
We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.
--HG--
extra : rebase_source : f701417f83dfa4e196e39182f8d0a6fea46c6fbb
extra : source : af07351bf2d6e85293ae3edf0fe4ae6cbc0ce246
2015-02-26 10:21:52 -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
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
Ben Turner
9a1f2f231f
Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey.
2014-10-15 21:56:52 -07: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