Bill McCloskey
79abd6e01a
Bug 1128457 - Change handling of urgent messages during timeout (r=dvander)
2015-04-13 18:11:49 -07:00
Jed Davis
9596875de6
Bug 1142693 - Recognize EMSGSIZE as non-fatal on OS X for IPC sendmsg(). r=bent
...
Loosely based on Chromium git commit 86c3d9ef4fdf, but redone to insert a
sched_yield(), because treating EMSGSIZE as if it were EAGAIN/EWOULDBLOCK
is (as the Chromium developers note) likely to act as a busy-wait for the
receiver to make progress.
2015-04-10 22:47:05 -07:00
Jed Davis
32cb9ee32d
Bug 1151607 - Step 1: Add Linux sandboxing hook for when child processes are still single-threaded. r=kang r=bent
...
This means that B2G plugin-container must (dynamically) link against
libmozsandbox in order to call into it before initializing Binder.
(Desktop Linux plugin-container already contains the sandbox code.)
2015-04-10 18:05:19 -07:00
Ben Turner
51ec0b56dc
Bug 1135344 - Don't let IPDL use names that are reserved for compilers, r=froydnj.
2015-04-09 11:35:18 -07:00
Andrea Marchesini
74817d0620
Bug 1151480 - Correct check of the BroadcastChannel origin in b2g, r=ehsan
2015-04-08 09:27:31 +01:00
Andrea Marchesini
cb54385682
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Bill McCloskey
a6a01e04db
Bug 1121676 - Use static mutex to protect top-level protocols (r=bent)
2015-04-07 13:53:50 -07:00
Bill McCloskey
6611263e69
Bug 1146471 - Release thread asserts for IPC (r=dvander)
2015-04-07 13:46:25 -07:00
L. David Baron
eef8e4b904
Back out changeset ad743e667004 (bug 950401) for Mac OS X 10.6 browser-chrome orange, mostly but not entirely on mochitest-e10s, on a CLOSED TREE.
2015-04-06 16:07:13 -07: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
Bill McCloskey
cff3ed70bc
bug 950401 - Log child process spawning on Mac/BSD. r=bsmedberg
...
--HG--
extra : rebase_source : 6d6842d9fead85a12b17715fb447ab53a815e5b2
extra : amend_source : 644921e61135d7c7a9e4b0858ead5b7c8f691f79
2015-03-25 07:10:36 -04:00
Steven Michaud
33228918ed
Bug 1110911 - Move Mac sandboxing code into plugin-container. r=cpearce,areinald,jld
2015-04-03 11:51:41 -05:00
Nathan Froyd
7561c4089c
Bug 1150266 - fix IPDL thinko for never-inline method declarations; r=bent
2015-04-01 20:40:16 -04:00
Bob Owen
283c8df550
Bug 1149971 Part 2: Cet rid of kCurrentProcessId as it makes lots of static initializers. r=dvander
2015-04-01 13:59:20 +01:00
Bob Owen
967713e4e9
Bug 1149971 Part 1: Follow-up to bug 1119878 to fix broken IPDL tests. r=dvander
2015-04-01 16:44:48 +01:00
Bill McCloskey
e55b3abff3
Bug 1128457 - Make sure received messages are dispatched during timeouts (r=dvander)
2015-04-01 17:37:14 -07:00
Andrea Marchesini
068dd5f8a6
Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan
2015-04-01 12:41:29 +01: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
Bob Owen
eef3ca5f6e
Bug 1119878 Part 1: Change SandboxTarget to hold sandbox target services to provide functions. r=aklotz, r=glandium, r=cpearce
2015-04-01 09:40:35 +01:00
Wes Kocher
4f66d44d5b
Backed out changeset 6b886fbb3e48 (bug 1148032) for mochitest-chrome orange on b2g emulators
2015-03-31 15:48:25 -07:00
Andrea Marchesini
621d7068b8
Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan
2015-03-31 22:11:47 +01:00
Wes Kocher
1a65d1c1e9
Backed out changeset 976f64497fbc (bug 1148032) for static analysis bustage
2015-03-31 14:07:07 -07:00
Andrea Marchesini
5a32df3d98
Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan
2015-03-31 21:36:36 +01:00
Aaron Klotz
6753fce339
Bug 1133351: Part 2 - Use SetWinEventHook to detect OLE Window; r=bent
...
--HG--
extra : rebase_source : c41eca50ae290d9cb11ee88e088f24c164094961
2015-03-30 10:42:39 -07:00
Aaron Klotz
3a239b4632
Bug 1133351: Part 1 - Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
...
--HG--
extra : rebase_source : ebb6b9c25565bd2721ee6537b2161511666e92ac
2015-03-25 20:54:23 -07:00
Mike Hommey
c39e359c7d
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Jan-Ivar Bruaroey
924f8ae71f
Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup
2015-03-29 13:43:43 -04:00
Jan-Ivar Bruaroey
c6676519f2
Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, florian, billm, jesup
2015-03-03 09:51:05 -05:00
Randell Jesup
2b3486247c
Backed out 6 changesets (bug 1046245) on a CLOSED TREE
2015-03-29 01:42:32 -04:00
Jan-Ivar Bruaroey
6379bfb0be
Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup
2015-03-28 19:02:46 -04:00
Jan-Ivar Bruaroey
cdd0b089a5
Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, r=florian, r=billm, r=jesup
2015-03-03 09:51:05 -05:00
Phil Ringnalda
24b4f38005
Back out 6 changesets (bug 1046245) for thinking that MSVC would have anything to do with a __PRETTY_FUNCTION__
...
CLOSED TREE
Backed out changeset 9e3ecca831d8 (bug 1046245)
Backed out changeset 87dc145f4da8 (bug 1046245)
Backed out changeset 01606cf19a77 (bug 1046245)
Backed out changeset 2ed2b15fe940 (bug 1046245)
Backed out changeset 2b99b193828a (bug 1046245)
Backed out changeset d1ac67faccbb (bug 1046245)
2015-03-28 19:57:17 -07:00
Jan-Ivar Bruaroey
f3376e46f8
Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup
2015-03-28 19:02:46 -04:00
Jan-Ivar Bruaroey
222e93c87c
Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, r=florian, r=billm, r=jesup
2015-03-03 09:51:05 -05:00
Ryan VanderMeulen
003e8f5278
Backed out 6 changesets (bug 1046245) for bustage on a CLOSED TREE.
...
Backed out changeset 222c2f9e3bc9 (bug 1046245)
Backed out changeset 4251eef464a2 (bug 1046245)
Backed out changeset 592f4cc23197 (bug 1046245)
Backed out changeset 5bfb9a1c0550 (bug 1046245)
Backed out changeset e966a5df87b6 (bug 1046245)
Backed out changeset 609f3ca64004 (bug 1046245)
2015-03-28 16:24:25 -04:00
Jan-Ivar Bruaroey
f350dbadee
Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup
2015-03-28 11:45:42 -04:00
Jan-Ivar Bruaroey
59e13faed0
Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, r=florian, r=billm, r=jesup
2015-03-03 09:51:05 -05:00
Aaron Klotz
c7b7ac7920
Bug 1133351: Backed out 0cc8abe4e2bb for assertion failures; r=bustage
2015-03-28 06:08:26 -07:00
Aaron Klotz
e55e727569
Bug 1133351: Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
...
--HG--
extra : rebase_source : a14f07bce5c6c022f8141969bebce461cdaf006b
extra : amend_source : 19b9f98458218b896d4acbb36912935afcc34551
2015-03-25 20:54:23 -07:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
4d078b8a35
Bug 1146888 - Build more files in ipc/chromium in unified mode; r=bent
2015-03-24 18:50:06 -04:00
Ehsan Akhgari
bf2df719b1
Bug 1145631 - Part 4: Replace MOZ_FINAL with final in the IPDL codegen; r=froydnj
2015-03-21 12:28:36 -04:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Bill McCloskey
e26a687773
Bug 1121676 - Use a lock to protect the list of top-level actors (r=bent)
2015-03-20 12:02:41 -07:00
Jed Davis
2ef14062cd
Bug 1111065 - Backport some upstream IPC serialization fixes. r=bent a=me
2015-03-19 16:07:40 -07:00
Jed Davis
fedf6a1c91
Bug 1111079 - Backport some IPC message/channel fixes. r=bent a=me
2015-03-19 16:07:37 -07:00
Boris Zbarsky
58ae84cfe1
Bug 1143793 part 6. Drop the obj argument of JS::Compile. r=luke
...
This is technically a behavior change for the shell's disfile() function, but
I really doubt anyone is doing disfile.call(someObj).
2015-03-19 10:13:34 -04:00
Boris Zbarsky
5af7e8cdc5
Bug 1143793 part 2. Remove the obj argument of JS_CompileUCScript. r=luke
2015-03-19 10:13:34 -04:00
Boris Zbarsky
5529d8327d
Bug 1143793 part 1. Remove the obj argument of JS_CompileScript. r=luke
2015-03-19 10:13:33 -04:00
Bill McCloskey
ba40fd679d
Bug 1142109 - Process incoming urgent messages before sending (r=dvander)
2015-03-17 13:43:34 -07:00
Bill McCloskey
1004991381
Bug 1142109 - Fix IPDL tests (r=dvander)
2015-03-17 13:43:28 -07:00
Boris Zbarsky
d1e4959752
Bug 1097987 part 6. Require callers of JS_ExecuteScript to either use the global as the scope or pass in an explicit scopechain. r=waldo
2015-03-14 01:36:16 -04:00
Boris Zbarsky
0dbd99c459
Bug 1097987 part 3. Change XPCShellEnvironment to only use JS_ExecuteScript in global scopes. r=bholley
2015-03-14 01:36:16 -04:00
Ryan VanderMeulen
68389cfd48
Merge m-c to inbound. a=merge
2015-03-13 12:18:07 -04:00
Bill McCloskey
a852f4d3bc
Bug 1090921 - Logging to see which tasks remain alive too long (r=dvander)
2015-03-13 08:20:34 -07:00
Thomas Zimmermann
de7c9b005f
Bug 1109592 - Cleanup unused variables and fields from NFC's IPC code. r=allstars.chh
2015-03-06 05:54:00 -05:00
Thomas Zimmermann
1ce878358e
Bug 1109592 - Listen for connections from NFC daemon. r=allstars.chh
...
This patch inverses the connection setup procedure between Gecko
and nfcd. Gecko now installs a listen socket and starts nfcd from
the init scripts. Nfcd establishes the connection by connecting
to Gecko's socket.
As a side effect of this patch, nfcd only runs while NFC is switched
on. This saves ~1.6 MiB os memory with contemporary NFC drivers on
flame-kk.
2015-03-11 03:38:00 -04:00
Thomas Zimmermann
60bb14fba6
Bug 1109592 - Add |NfcListenSocket|. r=allstars.chh
...
The class |NfcListenSocket| is a socket that listens for connections
from nfcd.
2015-03-11 03:34:00 -04:00
Thomas Zimmermann
b71aaf67e2
Bug 1109592 - Move |NfcConnector| to a more public place. r=allstars.chh
...
|NfcConnector| is required to listen for connections from within
|NfcService|. This patch makes it available.
2015-03-11 03:33:00 -04:00
Thomas Zimmermann
7c78ff1393
Bug 1109592 - Forward socket state from |NfcSocketListener|. r=allstars.chh
...
This patch allows to handle changes to the socket state at a higher
level than |NfcSocketListener|.
2015-03-09 03:27:00 -04:00
Chuck Lee
6e758e07f2
Bug 1140261
- Fix compiler error comparison of unsigned expression >= 0 is always true. r=hchang
2015-03-09 16:09:10 +08:00
Bob Owen
b08af57c17
Bug 1137166: Change the Content moreStrict sandbox pref to an integer to indicate the level of sandboxing. r=tabraldes
2015-03-10 08:03:12 +00:00
Aaron Klotz
d186a94983
Bug 1128768: Part 1 - Modify IPC to allow retrieval of topmost routing id on the stack; r=dvander
...
--HG--
extra : rebase_source : d6d92ae478e3f43468b035cfa759e89d7ac0eaab
2015-02-18 23:05:54 -07:00
Mike Hommey
364038011c
Bug 868814 - Fold mozalloc library into mozglue. r=njn
...
--HG--
rename : memory/mozalloc/moz.build => memory/mozalloc/staticruntime/moz.build
2015-03-10 10:01:52 +09:00
Blake Kaplan
546dbbeb29
Bug 1131406 - Fix IPC serialization for nsHostObjectURI. r=billm
2015-03-06 22:33:00 +01:00
Blake Kaplan
b9a37d66b1
Bug 1131406 - Fix IPC serialization for nsSimpleNestedURI. r=billm
2015-03-06 22:33:00 +01:00
Blake Kaplan
fdaa97571f
Bug 1131406 - Don't lose information about JS URIs when serializing them. r=billm
2015-03-06 22:33:00 +01:00
Wes Kocher
0de76a4c17
Merge b2g-inbound to m-c a=merge CLOSED TREE
2015-03-03 17:02:21 -08:00
Chuck Lee
6cb15b84a0
Bug 1012549 - 0004. Support read private key in keystore. r=dkeeler r=qdot
2015-02-28 21:54:24 +08:00
Mike Conley
ce76729963
Bug 1066812 - Set AbortOnError in the ContentProcess on initialization. r=billm.
...
This will cause the content process to take itself down in the event that it
loses communication with the parent process. This case is particularly
important for the case where the parent process crashes while the content
process is blocked or busy on the main thread, as the content process will
no longer continue to exist as a zombie process, but will shut down after
a short delay.
--HG--
extra : rebase_source : c34e11451f58252ad44b1e6e46b01a0b4253fec4
2015-02-13 14:10:56 -05:00
Carsten "Tomcat" Book
6f58c47a0d
Merge mozilla-central to mozilla-inbound
2015-03-03 14:10:55 +01:00
Wes Kocher
b9799a40ef
Merge m-c to fx-team a=merge CLOSED TREE
2015-03-02 13:07:53 -08: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
Thomas Zimmermann
94a9c39fe7
Bug 1136729: Make destructor of |SocketBase| protected, r=qdot
...
The destructor methods of ref-counted classes are supposed to
be non-public to prevent accidential deletion. This patch fixes
|SocketBase|'s destructor.
2015-03-02 10:23:52 +01:00
Blake Kaplan
c6890412ec
Bug 1087646 - Properly serialize nullprincipal URIs across IPC. r=bzbarsky
2015-02-24 12:54:40 -08:00
Botond Ballo
19a974637b
Bug 1135591 - Fix build breakage from bug 1132153 in code conditional on '--enable-ipdl-tests'. r=dholbert
2015-02-23 11:42:16 -05:00
Trevor Saunders
ed728808f8
bug 1133075 - fixup includes CLOSED TREE
2015-02-18 17:31:55 -05:00
Botond Ballo
847508c681
Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert
2015-02-11 15:01:26 -05:00
Trevor Saunders
99d941db3c
bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel
2015-02-18 17:03:30 -05:00
Peter Van der Beken
5914b2bdde
Bug 1133748 - Fix ipdl code for bridged protocols that are also opened. r=billm.
...
--HG--
extra : rebase_source : 308d8e3ac3caea541b649329d5a35ecd31725de9
2015-02-09 21:54:12 +01:00
Ben Kelly
f9064fc636
Bug 940273 - Part 4 - Initial implementation of Service Worker Cache. r=ehsan,baku,janv
2015-03-02 14:20:00 +01:00
David Parks
6d03295e45
Bug 1130051 - Restore old semantics of IPDL 'compress' attribute. r=billm
...
In bug 1076820, the semantics of the IPDL 'compress' attribute were
changed to remove *all* duplicate messages of a type from the IPDL
message queue. This restores the original behavior, where duplicates
were only removed if they were adjacent in the message queue.
2015-02-12 12:32:03 -08:00
Blake Kaplan
532caaa0a1
Bug 1117337 - Properly serialize moz-icon URIs. r=bent
2015-02-12 15:41:21 -08:00
Blake Kaplan
f6b6ab342a
Bug 1117337 - Get rid of this generic path in favor of explicit (de)serialization of URIs. r=bent
2015-02-12 15:41:21 -08:00
James Cowgill
2bf614caed
Bug 1130438 - ipc/chromium: copy mips64 atomic patches from upstream chromium. r=froydnj
...
Upstream commits:
fc47526241
5614f28582
8bd6f985f2
2015-02-06 08:37:00 -05:00
Wes Kocher
b3fc1b8237
Backed out 2 changesets (bug 1117337) for b2g build bustage on a CLOSED TREE
...
Backed out changeset 016b3f06add1 (bug 1117337)
Backed out changeset aa4817b6ad61 (bug 1117337)
2015-02-11 15:53:49 -08:00
Blake Kaplan
6b4a75ff82
Bug 1117337 - Properly serialize moz-icon URIs. r=bent
2015-02-11 15:11:33 -08:00
Blake Kaplan
0479c46af5
Bug 1117337 - Get rid of this generic path in favor of explicit (de)serialization of URIs. r=bent
2015-02-11 15:11:25 -08:00
Bob Owen
78f86d5dec
Bug 1132021 - Add a new sandbox level for Windows NPAPI to use USER_LIMITED access token level. r=bsmedberg, r=bbondy
2015-02-11 16:25:43 +00:00
Andrea Marchesini
78ecfc7b0d
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm
2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
43c27b90f0
Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE
2015-02-11 13:29:16 +01:00
Andrea Marchesini
8fb2e275d3
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm
2015-02-11 10:10:23 +01:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Phil Ringnalda
03a26ce028
Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
...
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
ee4cdf6a25
Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm
2015-02-06 23:31:33 +00:00
Andrew McCreight
2b846790d1
Back out Bug 1127201 (part 1) for various problems.
2015-02-06 15:05:08 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Bob Owen
1a4af9dc4c
Bug 1127230: Change the NPAPI sandbox prefs to integers to indicate the level of sandboxing. r=bsmedberg
2015-01-30 17:48:15 +00:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Nicholas Nethercote
5def42d488
Bug 1127201 (part 1) - Let MOZ_ASSERT take a string variable as the second arg. r=Waldo.
...
ASSERT_UNLESS_FUZZING() (which is defined multiple times!) caused problems due
when __VA_ARGS__ was empty which is most of the time. So I just disallowed the
optional string, which was only used in a small fraction of the occurrences.
I don't particularly like this patch. I'm not convinced its any better than
just removing the nsPrintfCString()s like I did earlier, but I've done it to at
least show what's involved.
--HG--
extra : rebase_source : 10b5bcf8509eaf2fca300b0b8ab1fa130e9f8b8c
2015-02-04 19:42:29 -08:00
Bill McCloskey
c04f106018
Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent)
2015-02-03 09:09:27 -08:00
Xidorn Quan
6a7ee49055
Bug 569334 part 1 - Support getting font info in content query. r=masayuki,jfkthame,smaug
2015-01-31 18:17:12 +11:00
JerryShih
551c73a023
Bug 1125030 - Handle VsyncChild shutdown in ActorDestroy(). r=bent
2015-01-29 22:19:00 +01:00
Bob Owen
183a6391ad
Bug 1126402: Add a pref to enable a more strict version of the Windows NPAPI process sandbox. r=bsmedberg, r=bbondy
2015-01-29 08:13:07 +00:00
Bill McCloskey
ab0788b330
Bug 1109884 - Stop using intr messages in PContent (r=bent)
2015-01-28 11:53:46 -08:00
Masatoshi Kimura
6cc5dabbee
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Masatoshi Kimura
86502e6537
Bug 1111290 - Part 2: Non-mechanical changes. r=waldo
2015-01-26 07:22:08 +09:00
Jon Coppeard
12ae93f10e
Bug 1107639 - Replace nsAutoJSValHolder with use of PersistentRooted r=bent
2015-01-23 10:23:57 +00:00
Bob Owen
5e05a962e1
Bug 1123245 Part 3: Add prefs for the Windows NPAPI process sandbox. r=bsmedberg
2015-01-23 08:32:21 +00:00
Bob Owen
f6a727b6c9
Bug 1123245 Part 1: Enable an open sandbox on Windows NPAPI processes. r=josh, r=tabraldes
2015-01-23 08:32:20 +00:00
Bob Owen
a7e3f06626
Bug 1102211: Move security/sandbox/build/ into security/sandbox/chromium/ r=ted
...
--HG--
rename : security/sandbox/build/build_config.h => security/sandbox/chromium/build/build_config.h
rename : security/sandbox/chromium-commit-status.txt => security/sandbox/moz-chromium-commit-status.txt
2015-01-22 08:37:30 +00:00
Carsten "Tomcat" Book
0db90d7550
Backed out changeset 4ccaf5ae9ced (bug 1102211) for bustage on a CLOSED TREE
...
--HG--
rename : security/sandbox/chromium/build/build_config.h => security/sandbox/build/build_config.h
rename : security/sandbox/moz-chromium-commit-status.txt => security/sandbox/chromium-commit-status.txt
2015-01-22 10:25:39 +01:00
Bob Owen
2b11d85b9b
Bug 1102211: Move security/sandbox/build/ into security/sandbox/chromium/ r=ted
...
--HG--
rename : security/sandbox/build/build_config.h => security/sandbox/chromium/build/build_config.h
rename : security/sandbox/chromium-commit-status.txt => security/sandbox/moz-chromium-commit-status.txt
2015-01-22 08:37:30 +00:00
Carsten "Tomcat" Book
dbc1d335ad
Merge mozilla-central to b2g-inbound
2015-01-21 15:15:33 +01:00
Thomas Zimmermann
5cbe35fbd5
Bug 1123651: Inherit |NfcConsumer| from |StreamSocket|, r=allstars.chh
...
With this patch, |NfcConsumer| inherits from |StreamSocket| instead
of |UnixSocketConsumer|. Some methods have been renamed. |NfcConsumer|
now contains the method |GetIO|, which is required by |StreamSocket|
for integration with |ListenSocket|.
2015-01-21 10:59:21 +01:00
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