Commit Graph

2428 Commits

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