Nicholas Nethercote
b6d6b342af
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
c234b2299d
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
e120974334
Merge latest green b2g-inbound changeset and mozilla-central
2013-08-27 15:17:56 +01:00
Eric Chou
ebf94c4699
Bug 902460 - Close socket before NotifyError(), r=qdot
2013-08-27 12:10:48 +08:00
Birunthan Mohanathas
ac65651663
Bug 784739 - Switch from NULL to nullptr in ipc/glue/. r=ehsan
2013-08-23 15:51:58 -04:00
Birunthan Mohanathas
ee5104f639
Bug 784739 - Switch from NULL to nullptr in ipc/. r=ehsan
2013-08-23 15:51:44 -04:00
Nicholas Nethercote
9ec228491f
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
b2bbf2c192
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
c20b3ef050
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
6f0d0a5670
Bug 908208 - part 1 - add support for MOZ_NEVER_INLINE to MethodDecl; r=bent
2013-08-22 10:06:21 -04:00
Ms2ger
4af9d89266
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
707d12dbb2
Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage.
2013-08-22 10:16:30 +02:00
Ms2ger
8085d723ed
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Nicholas Nethercote
6b42324e2b
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
b89a8ac1c0
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
be2cac7179
Bug 879475 - Rename the MsgStart messages to MsgStartChild for child protocols r=jlebar
2013-08-20 15:46:41 -04:00
David Zbarsky
217e9a234e
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
be2cbcb453
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
e20f416523
Backed out changeset 09274cc38453 (bug 869167) for OSX crashes.
2013-08-16 16:56:06 -04:00
Andrey Zaytsev
c043feb0c8
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
86d20580f1
bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan
2013-08-12 05:51:49 -04:00
Nicholas Nethercote
ca5aa1532d
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
08e5de443f
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Brian O'Keefe
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Nathan Froyd
0fec49cf62
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
4c7eb2b6bd
merge mozilla-central to b2g-inbound
2013-08-13 13:57:37 +02:00
David Anderson
24e8161757
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 (陳侃如)
f186023681
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Mike Hommey
56bd92278e
Bug 901414 - Fix ipc/chromium to build for GNU/kFreeBSD. r=bsmedberg
2013-08-10 15:54:00 +09:00
Mark Hammond
5b21027144
Bug 902790 - prevent browser crash if child process fails to start. r=jlebar
2013-08-09 16:23:24 +10:00
Nicholas Nethercote
849635b8f1
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
aa5919539d
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
a428bbb020
Merge mozilla-central and inbound
2013-08-07 16:19:03 -07:00
Terrence Cole
921c20d89f
Bug 902236 - Fix an exact rooting hazard in ~XPCShellEnvironment; r=jonco
2013-08-07 16:14:20 -07:00
Terrence Cole
2eab5ecf67
Bug 902231 - Fix two exact rooting hazards in XPCShellEnvironment; r=jonco
2013-08-07 16:13:34 -07:00
Ryan VanderMeulen
0d3342271d
Merge m-c to fx-team.
2013-08-07 14:46:19 -04:00
Jim Mathies
e4722165ec
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
5b476b519a
No bug - Remove dead assignment from ipc/nfc/Makefile.in.
2013-08-02 09:09:22 +02:00
Ms2ger
e14e7f77ea
Bug 899261 - Use @DEPTH@ more; r=bsmedberg
2013-08-02 09:04:38 +02:00
Nicholas Nethercote
c1d8302699
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
e24712af1c
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
085494b95d
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
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Nicolas Silva
2b6a0c31a2
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
Bobby Holley
99246966e4
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Nathan Froyd
da7b215aa4
Bug 897539 - uninline ProtocolErrorBreakpoint to avoid code and string bloat; r=bent
2013-07-24 12:38:24 -04:00
Jon Coppeard
fd4d274d46
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
ac22f0d0ad
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Joshua Cranmer
bb26e8f816
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
af06f04b5f
Bug 884061 - Part 3m: Use NS_DECL_THREADSAFE_ISUPPORTS in ipc/, r=bent
...
--HG--
extra : rebase_source : 77f707d086624cc908a4e39935aa2a03f16543fb
2013-07-18 21:23:32 -05:00
Ed Morley
614b893c6b
Merge latest green inbound changeset and mozilla-central
2013-07-23 13:56:12 +01:00
Thomas Zimmermann
7a59930c64
Bug 891866: Use AtomicRefCounted for RawDBusConnection, r=Ms2ger
...
RawDBusConnection incorrectly uses detail::RefCounted, which it
shouldn't. This patch converts it to use AtomicRefCounted instead.
--HG--
extra : rebase_source : 229bbbae3b43a47b362ab73dba5d1134a5ae1dac
2013-07-23 11:00:20 +02:00
Ryan VanderMeulen
45ce8dcfd9
Merge m-c to inbound on a CLOSED TREE.
2013-07-22 15:23:47 -04:00
Thomas Zimmermann
a0003d5854
Bug 891866: Support nsRefPtr<RawDBusConnection>, r=qdot
...
Instances of RawDBusConnection can now be contained in nsRefPtr. This
allows to share the DBus connection among multiple threads.
--HG--
extra : rebase_source : fb24472b3b55e77abc7354f17ef679661f62b7fb
2013-07-22 13:30:22 +02:00
Chris Lord
8c0e0a398a
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01:00
Nathan Froyd
c10e7235b0
Bug 629668 - make ipdl.py check timestamps to determine whether parsing/codegen is necessary; r=bent
2013-07-22 14:28:53 -04:00
Ryan VanderMeulen
ba97a4cddb
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Justin Lebar
06bdc0dacd
Bug 893242 - Part 1: Add Unsound_IsClosed() and Unsound_NumQueuedMessages() to AsyncChannel. r=bent
2013-07-17 14:31:10 -07:00
Bobby Holley
3a9e019b53
Bug 889714 - Remove ContextCallback junk. r=mrbkap
...
There's no reason we should be doing this.
2013-07-16 20:38:46 -07:00
Bobby Holley
30df80f1ac
Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap
2013-07-16 20:38:46 -07:00
Bobby Holley
c2a9310a01
Bug 889714 - Use SystemErrorReporter instead of ScriptErrorReporter. r=mrbkap
...
SystemErrorReporter is the new unified error reporter for everything non-dom.
In particular, it's used by the SafeJSContext, which we'll be switching to
here shortly.
2013-07-16 20:38:46 -07:00
Bobby Holley
00505034e8
Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap
2013-07-16 20:38:46 -07:00
Bobby Holley
fad1a73a03
Bug 889714 - Stash the XPCShellEnvironment instance on the global, rather than the cx. r=mrbkap
...
We need to stash it somewhere, because the shell-provided JSNatives need to
access it. This solution only works for script running in the scope of the
global we create. Butthat's fine here, because we only use it for load() and
quit(), which only exist in the scope of that global.
2013-07-16 20:38:45 -07:00
Bobby Holley
fdd9f43154
Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap
2013-07-16 20:38:45 -07:00
Bobby Holley
876b1ecb3d
Bug 889714 - Remove unused ExitCode machinery. r=mrbkap
...
This stuff is cribbed from xpcshell, where it makes sense. But it doens't really
make sense in the IPC context, and doesn't appear to be used either.
2013-07-16 20:38:45 -07:00
Bobby Holley
cdd599dd47
Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap
...
lol @ 'ShouldCompoleOnly'.
2013-07-16 20:38:45 -07:00
Ryan VanderMeulen
5333a265b8
Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
...
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley
af54d60d2b
Bug 889714 - Remove ContextCallback junk. r=mrbkap
...
There's no reason we should be doing this.
2013-07-16 18:04:51 -07:00
Bobby Holley
25bf29dee3
Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap
2013-07-16 18:04:50 -07:00
Bobby Holley
c3aea97596
Bug 889714 - Use SystemErrorReporter instead of ScriptErrorReporter. r=mrbkap
...
SystemErrorReporter is the new unified error reporter for everything non-dom.
In particular, it's used by the SafeJSContext, which we'll be switching to
here shortly.
2013-07-16 18:04:50 -07:00
Bobby Holley
f4a8c21d81
Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap
2013-07-16 18:04:50 -07:00
Bobby Holley
2464bc220f
Bug 889714 - Stash the XPCShellEnvironment instance on the global, rather than the cx. r=mrbkap
...
We need to stash it somewhere, because the shell-provided JSNatives need to
access it. This solution only works for script running in the scope of the
global we create. Butthat's fine here, because we only use it for load() and
quit(), which only exist in the scope of that global.
2013-07-16 18:04:50 -07:00
Bobby Holley
76fc311011
Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap
2013-07-16 18:04:49 -07:00
Bobby Holley
599d035969
Bug 889714 - Remove unused ExitCode machinery. r=mrbkap
...
This stuff is cribbed from xpcshell, where it makes sense. But it doens't really
make sense in the IPC context, and doesn't appear to be used either.
2013-07-16 18:04:49 -07:00
Bobby Holley
fcd4ff0908
Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap
...
lol @ 'ShouldCompoleOnly'.
2013-07-16 18:04:49 -07:00
Mike Shal
fb38e981d0
Bug 889787 - Define XP_LINUX globally; r=ted
2013-07-16 17:10:10 -04:00
Bobby Holley
5420505253
Bug 887334 - Miscellaneous JSAutoCompartments. r=luke
2013-07-17 11:53:53 -07:00
David Anderson
86124d9cd4
Don't deadlock on a child process for a CPOW (bug 905896, r=cjones).
2013-08-26 21:56:57 -07:00
Brian O'Keefe
f98dd45a72
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Trevor Saunders
238525e2d8
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Masatoshi Kimura
9b846c9c52
Bug 888870 - Add Windows 8.1 support to WinUtils::GetWindowsVersion. r=jimm
2013-07-12 06:26:55 +09:00
Ed Morley
1b88f184f9
Merge mozilla-central and birch
2013-07-11 10:59:04 +01:00
Thomas Zimmermann
59582db300
Bug 891276: Removed unused function dbus_returns_uint32, r=echou
...
AddServiceRecords was the only user of this function. This patch
cleans it up.
2013-07-11 09:58:53 +02:00
Ryan VanderMeulen
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ryan VanderMeulen
1ff7090de8
Merge birch to m-c.
2013-07-10 09:42:28 -04:00
Shelly Lin
fd75043d77
Bug 811636 - Close the child FD in the parent asap in order to detect when the child closes its FD. r=dhylands
2013-07-09 10:37:33 +08:00
Thomas Zimmermann
531f010a48
Bug 884840: Reimplement GetServiceChannel without Bluetooth command thread, r=echou
...
The method BluetoothDBusService::GetServiceChannel currently blocks the
Bluetooth command thread while waiting for a DBus message, before it
dispatches a runnable to the main thread.
With this patch, the DBus message is processed asyncronously, and the
runnable gets dispatched from the DBus reply handler.
--HG--
extra : rebase_source : 24519b7dd8d59fcbbf78436092610c8db195f6a2
2013-07-09 09:56:14 +02:00
Thomas Zimmermann
048c6336eb
Bug 884840: Added DBusReplyHandler, r=qdot
...
Handler functions for DBus replies sometimes need several data fields
or need to keep state over replies for multiple messages. The DBus API
itself only allows for a single pointer to user data.
The class DBusReplyHandler is a base class for implementing DBus reply-
message handlers. Users of DBus can inherit from this class to implement
message-specific handlers.
--HG--
extra : rebase_source : 91c5f6e8d365922fd3b52fbaf502052f86274f16
2013-07-09 09:55:08 +02:00
Ryan VanderMeulen
1d7eff0f7a
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
Brian R. Bondy
41e6b6fb38
Bug 890362 - Delayed tasks posted to the mozilla UI message loop stop working after sleep/wake. r=bsmedberg
2013-07-10 12:39:09 -04:00
Trevor Saunders
d82043f811
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Xavier Fung
0cd787c290
Bug 889823 - ipc fail to compile using Visual Studio 2013 r=bsmedberg
2013-07-10 11:19:42 +09:00
Ed Morley
7c7bffe6a6
Bug 855686 - Attempt to log cmdline for launched process; r=ted
2013-07-08 18:54:02 +01:00
Joey Armstrong
df6123b0bc
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
David Zbarsky
934d9f65bf
Bug 885804: IPDL unit test changes r=benjamin
2013-07-08 11:48:40 -04:00