Commit Graph

2532 Commits

Author SHA1 Message Date
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