Commit Graph

1657 Commits

Author SHA1 Message Date
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
d1c56a1dcf Bug 831193 (part 4) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in SharedMemory.cpp. r=cjones.
--HG--
extra : rebase_source : 0781ae1c947ba8312bdc7b71d969c3a56b7a7ae4
2013-01-15 21:29:48 -08:00
Nicholas Nethercote
3f5d413d90 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Steven Michaud
b9200cab9d Bug 884471 - Backport upstream libevent patch to hopefully work around the OSX "code -20" mochitest failures. r=bsmedberg 2013-08-27 14:15:49 -04:00
Ed Morley
d4ffac9dcd Merge latest green b2g-inbound changeset and mozilla-central 2013-08-27 15:17:56 +01:00
Eric Chou
e65c1c0f30 Bug 902460 - Close socket before NotifyError(), r=qdot 2013-08-27 12:10:48 +08:00
Birunthan Mohanathas
8c39a09739 Bug 784739 - Switch from NULL to nullptr in ipc/glue/. r=ehsan 2013-08-23 15:51:58 -04:00
Birunthan Mohanathas
f1b1f329c2 Bug 784739 - Switch from NULL to nullptr in ipc/. r=ehsan 2013-08-23 15:51:44 -04:00
Nicholas Nethercote
9ce6c39a8f Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Nathan Froyd
725f72856d Bug 908208 - part 3 - move guts of FatalError out-of-line to ProtocolUtils.cpp; r=bent 2013-08-22 10:39:32 -04:00
Nathan Froyd
498be60f21 Bug 908208 - part 2 - declare FatalError as MOZ_NEVER_INLINE rather than virtual; r=bent 2013-08-22 10:06:50 -04:00
Nathan Froyd
30a248b8d3 Bug 908208 - part 1 - add support for MOZ_NEVER_INLINE to MethodDecl; r=bent 2013-08-22 10:06:21 -04:00
Ms2ger
8bfa279bb1 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
f79ae70d10 Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
Ms2ger
dba42e4001 Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Nicholas Nethercote
4caa0f8ea2 Bug 905017 (part 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : ecce9699ddb45535aa94d5e3add901f5a8620c46
2013-08-19 23:43:47 -07:00
Nicholas Nethercote
42ccf38dcd Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
David Zbarsky
214e27489e Bug 879475 - Rename the MsgStart messages to MsgStartChild for child protocols r=jlebar 2013-08-20 15:46:41 -04:00
David Zbarsky
9f1f08a32b Bug 885653 - Add support for IPDL bridges that connect two of the same protocol r=jlebar 2013-08-20 15:46:41 -04:00
Jeff Muizelaar
925e64dd68 Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
This helps us include less.

--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Ryan VanderMeulen
0e6eeaf7da Backed out changeset 09274cc38453 (bug 869167) for OSX crashes. 2013-08-16 16:56:06 -04:00
Andrey Zaytsev
4b8aacaa2d Bug 869167 - Firefox hangs on Mac when ASan-built plugin is used in non-ASan build. r=bsmedberg 2013-08-16 15:31:03 -04:00
Trevor Saunders
bddf017039 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Nicholas Nethercote
175a2d7732 Bug 904962 (part 5) - Don't #include jsprf.h in three places it isn't needed. r=luke.
--HG--
extra : rebase_source : 9fb24d11c47bab29be9bf3027e78a92819a3e3ae
2013-08-11 23:34:14 -07:00
Brian O'Keefe
3fd496e231 Bug 896177 - Remove more config.mk includes; r=gps 2013-07-17 16:07:14 -04:00
Brian O'Keefe
3a92f0ae7c Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger
a04009b5b7 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
6d567ab3cc Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
df8525f77d Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Nathan Froyd
4c88bf658c Bug 904619 - move dummy event to its sole use in ipc_sync_message.cc; r=bent 2013-08-13 10:56:44 -04:00
Carsten "Tomcat" Book
da3e6af5c1 merge mozilla-central to b2g-inbound 2013-08-13 13:57:37 +02:00
David Anderson
d5cac87cfe Prevent deadlocks when sending sync messages during urgent in-calls (bug 900062, r=cjones). 2013-08-12 16:21:54 -07:00
Kan-Ru Chen (陳侃如)
e2a7b7064f Bug 845169 - Update touch region from remote frame. r=roc 2013-08-13 15:56:57 +08:00
Mike Hommey
8ef12794b7 Bug 901414 - Fix ipc/chromium to build for GNU/kFreeBSD. r=bsmedberg 2013-08-10 15:54:00 +09:00
Mark Hammond
2e90091786 Bug 902790 - prevent browser crash if child process fails to start. r=jlebar 2013-08-09 16:23:24 +10:00
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
25d70fdd97 Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Ed Morley
8ed777a5a6 Merge mozilla-central and inbound 2013-08-07 16:19:03 -07:00
Terrence Cole
c507a824e5 Bug 902236 - Fix an exact rooting hazard in ~XPCShellEnvironment; r=jonco 2013-08-07 16:14:20 -07:00
Terrence Cole
556d73219c Bug 902231 - Fix two exact rooting hazards in XPCShellEnvironment; r=jonco 2013-08-07 16:13:34 -07:00
Ryan VanderMeulen
a58d328a77 Merge m-c to fx-team. 2013-08-07 14:46:19 -04:00
Jim Mathies
6aae75c673 Bug 888236 - Add metro specific window classes and messages to ipc defer message processing. r=bsmedberg 2013-08-07 09:55:12 -05:00
Ms2ger
6798eace13 No bug - Remove dead assignment from ipc/nfc/Makefile.in. 2013-08-02 09:09:22 +02:00
Ms2ger
047e8751d6 Bug 899261 - Use @DEPTH@ more; r=bsmedberg 2013-08-02 09:04:38 +02:00
Nicholas Nethercote
ba723f1034 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Gregory Szorc
f299c1f5e8 Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.

The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.

Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Ehsan Akhgari
5ee21d6d3f Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Nicolas Silva
5ec3fda767 Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00