Commit Graph

2480 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
a0acb2cde4 Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE 2015-02-11 13:29:16 +01:00
Andrea Marchesini
937507217d Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm 2015-02-11 10:10:23 +01:00
Nicholas Nethercote
6ee3666899 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
8b344901ef Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
dff0b85534 Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm 2015-02-06 23:31:33 +00:00
Andrew McCreight
4bec04b0f6 Back out Bug 1127201 (part 1) for various problems. 2015-02-06 15:05:08 -08:00
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Bob Owen
721c4e20e1 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
3629781b69 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
34fafe0cbf 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
959d1a2d3f Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent) 2015-02-03 09:09:27 -08:00
Xidorn Quan
f306461cb9 Bug 569334 part 1 - Support getting font info in content query. r=masayuki,jfkthame,smaug 2015-01-31 18:17:12 +11:00
JerryShih
b5693d01d9 Bug 1125030 - Handle VsyncChild shutdown in ActorDestroy(). r=bent 2015-01-29 22:19:00 +01:00
Bob Owen
8299a8da28 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
e8f9f88f99 Bug 1109884 - Stop using intr messages in PContent (r=bent) 2015-01-28 11:53:46 -08:00
Masatoshi Kimura
0676786e20 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
ca6988b0d9 Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
Jon Coppeard
5edd0e2f4a Bug 1107639 - Replace nsAutoJSValHolder with use of PersistentRooted r=bent 2015-01-23 10:23:57 +00:00
Bob Owen
0ab45dda9a Bug 1123245 Part 3: Add prefs for the Windows NPAPI process sandbox. r=bsmedberg 2015-01-23 08:32:21 +00:00
Bob Owen
674aea744b 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
62de1a9d78 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
5b8eed9b6e 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
750675f76e 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
49efc42e97 Merge mozilla-central to b2g-inbound 2015-01-21 15:15:33 +01:00
Thomas Zimmermann
d01239cb0e 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
33568373fe 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
98ffcab0aa Bug 1123651: Fix coding style in Nfc.cpp, r=allstars.chh 2015-01-21 10:59:21 +01:00
Carsten "Tomcat" Book
4eedb12bdb merge b2g-inbound to mozilla-central a=merge 2015-01-20 12:12:12 +01:00
Thomas Zimmermann
41ab4b780b 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
7a10047f6e 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
67f2d1947d 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
0fd003253b 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
ffdef53711 Bug 1123115 - Clarify the ownership of some member variables in task.h; r=bent 2015-01-20 19:15:19 -05:00
Bill McCloskey
9a95f59442 Bug 1122956 - Convert IPDL tests to take move references (r=bent) 2015-01-20 15:42:54 -08:00
Bill McCloskey
93b0905531 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent) 2015-01-16 18:34:47 -08:00
Bill McCloskey
7b3fe0714a Backout bug 1118618 on a CLOSED TREE 2015-01-16 14:46:05 -08:00
Kyle Huey
591c252165 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Bill McCloskey
faf7b1fd21 Bug 1118618 - IPDL notifications when sending sync messages (r=bent) 2015-01-16 10:10:19 -08:00
Andrea Marchesini
d7220fb10d Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-15 16:58:40 +00:00
JerryShih
23047bb1cd Bug 1121331 - Part1: PVsync protocol for vsync event passing. r=bent 2015-01-14 00:37:00 +01:00
Ryan VanderMeulen
050f1df69c 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
79782d59ce 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
24347df7ee Backed out changeset f7d82a8a8e94 (bug 1118618) for Bustage on a CLOSED TREE 2015-01-13 08:44:29 +01:00
Bill McCloskey
f98d3e4739 Bug 1118618 - IPDL notifications when sending sync messages (r=bent) 2015-01-12 23:06:48 -08:00
Ehsan Akhgari
c83a3c2ef3 Bug 1119068 - Clean up some code used for older unsupported MSVC versions; r=bsmedberg 2015-01-12 23:26:31 -05:00
Wes Kocher
67eca437d9 Backout 671a52fff391 2015-01-12 14:46:32 -08:00
Ehsan Akhgari
8f96fe4f87 Bug 1119068 - Clean up some code used for older unsupported MSVC versions; r=bsmedberg 2015-01-12 16:35:07 -05:00
Masatoshi Kimura
f70d08c5aa Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Jim Chen
c02561a822 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari
b6e35bb4b4 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
62f1864ebc Bug 1073003 - Fix warnings causing errors in emulator build. r=nfroyd 2015-01-08 13:52:19 -08:00
Thomas Zimmermann
a0341c8642 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
f49db634da 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
f4f4a107c4 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
033d1d7603 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
cd5a201be8 Merge m-c to fx-team a=merge 2015-01-05 17:29:14 -08:00
Ben Turner
cfd50500bd 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
7e599127d6 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
55462afe5c Bug 1117265 - Mark virtual overridden functions as MOZ_OVERRIDE in IPC code; r=baku 2015-01-03 12:25:13 -05:00
Aaron Klotz
71dad89fd7 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
45ab93fa46 Bug 998863: Asynchronous Plugin Initialization, Part 8: Plugin process launch changes; r=josh 2014-12-29 16:13:28 -07:00
Aaron Klotz
b4379e0f3f Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander 2014-12-29 16:12:47 -07:00
Phil Ringnalda
fff1f4378e 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
1dd7e5ba49 Bug 998863: Asynchronous Plugin Initialization, Part 8: Plugin process launch changes; r=josh 2014-12-24 17:56:53 -07:00
Aaron Klotz
eb59cb8a19 Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander 2014-12-24 17:56:06 -07:00
Chris Peterson
55097a118c Bug 1114724 - Define PRIuSIZE format specifiers for size_t. r=Waldo 2014-12-21 23:30:06 -08:00
Ehsan Akhgari
ca18c36a95 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
f5ae783c3b Bug 1114989 - Mark Shmem::mSegment as non-owning
--HG--
extra : rebase_source : c37e0768470315fd3dadeeeb3343b64f93a83b40
2014-12-23 21:01:50 -05:00
Nathan Froyd
78d03cb84e 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
8d3ecdcc8a 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
4c5355a652 Backed out changeset 5910d49fed08 (bug 1114989) 2014-12-23 16:11:48 -08:00
Ehsan Akhgari
dc2645f3b0 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
fc948ff9c3 Bug 1114989 - Convert Shmem::mSegment to nsRefPtr; r=jrmuizel
--HG--
extra : rebase_source : 9045464e9bdf365993999a5db83e68b21f4f44d6
2014-12-23 17:27:11 -05:00
Jed Davis
0cea9f7046 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
b53197de5d Bug 1113463 - Remove a lot of unused/unneeded ParamTraits instances. rs=bent 2014-12-18 19:49:00 +01:00
Bill McCloskey
0ae0ad22ad Bug 1109883 - Use urgent messages for protocol bridging (r=bent) 2014-12-18 17:35:48 -08:00
Bill McCloskey
c55c90fdd7 Bug 1109883 - Allow urgent prio messages to be sent to child (r=dvander) 2014-12-18 17:35:48 -08:00
Bill McCloskey
25a2d73d0f Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander) 2014-12-18 17:35:44 -08:00
Bill McCloskey
2bb9dd3512 Bug 1110938 - Use message sequence number for transaction ID in MessageChannel (r=dvander) 2014-12-18 17:34:25 -08:00
Aaron Klotz
31ab41feec 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
422e060b44 Backed out changeset f0d4cb5f206c (bug 1112827) for Mulet permacrashing. 2014-12-18 15:26:05 -05:00
Aaron Klotz
5fbe924d85 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
5976259500 Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Jed Davis
50eacdecf2 Bug 1111810 - Remove Chromium IPC logging on CLOSED TREE. r=bent 2014-12-15 20:49:00 +01:00
Tom Schuster
f64a27048c Bug 1094176 - Remove lookup API from browser. r=bholley 2014-12-17 00:28:39 +01:00
Shih-Chiang Chien
ce13597615 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
650abc3cfd 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
b273018bde 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
81a74c44a2 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
8296035077 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
df0906463c Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Botond Ballo
b08ca88b2a 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
f0a12faf26 Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey. 2014-10-15 21:56:52 -07:00
Bobby Holley
6e61fa1c76 Bug 1103324 - Instantiate an AutoNoJSAPI when dispatching IPC messages. r=billm 2014-12-06 09:51:14 -08:00
Jan Varga
0dc2747b42 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
a91057d292 Bug 1101756 - Add a null check to PrincipalToPrincipalInfo, r=khuey. 2014-12-04 10:12:47 -08:00
Thomas Zimmermann
579a827e20 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
1c12d1d38d 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
6124722821 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
5cee256658 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