Kyle Huey
bf31d78a83
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07: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
Ms2ger
dd3ed79f0d
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
2fab82586f
Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal
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
Ms2ger
ec08decbf0
Bug 906343 - Remove the last reference to XPCSHELL_TESTS in a Makefile; r=gps
2013-08-22 08:55:53 +02:00
Ehsan Akhgari
2a87c95927
Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst
2013-08-21 15:28:26 -04:00
Thomas Zimmermann
8e0163128a
Bug 904637: Only disconnect IndexDBParents once, r=bent
...
IndexDBParent::Disconnect can only be called once. During
shutdown of an app, it can happen that Disconnect of an
instance has been run before. In this case, we run from
the Disconnect method immediately.
2013-08-20 10:27:30 +02: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
Gregory Szorc
918eef7c37
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
a7872e972f
Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE.
2013-08-14 15:12:20 -04:00
Brian O'Keefe
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Gregory Szorc
260d3a8e7c
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ms2ger
8790603e09
No bug - Remove an obsolete reference to quickstubs in dom/indexedDB/Makefile.in
2013-08-14 08:53:53 +02:00
Ms2ger
3791cfd9e8
Bug 900677 - Remove IDBEventTargetSH; r=bz
2013-08-14 08:53:46 +02:00
Trevor Saunders
a8a12176ad
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04: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
David Zbarsky
65f4c1ef28
Bug 889734 - Clean up indexedDB ipdl files r=bent
...
--HG--
rename : dom/indexedDB/ipc/PIndexedDBIndex.ipdl => dom/indexedDB/ipc/IndexedDBParams.ipdlh
2013-08-06 08:44:01 -04: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
Jon Coppeard
da8c061053
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Jon Coppeard
0f31f8c399
Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz
2013-08-05 14:01:53 +01:00
Jon Coppeard
ef396b7874
Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz
2013-08-02 13:15:39 +01:00
Ms2ger
aaa8d8915a
Merge m-c to inbound.
2013-08-02 11:40:30 +02:00
Ms2ger
ed2a9cfb16
Backout changeset 531f544bc9ce for breaking B2G tests.
2013-08-02 11:38:49 +02:00
Ms2ger
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
468d7dab87
Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey
2013-08-02 09:09:15 +02:00
Ms2ger
d5d5885d4c
Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
2013-08-02 09:04:01 +02:00
Bobby Holley
595cbc9fd5
Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke
2013-08-01 18:38:47 -07:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Andrea Marchesini
4cf68c1978
Bug 887524 - Move IDBRequest to WebIDL, r=janv
2013-08-01 00:28:15 +02:00
Andrea Marchesini
ebeb72d6f9
Bug 891944 - Move IDBCursor to WebIDL, r=janv
2013-08-01 00:28:13 +02:00
Andrea Marchesini
20617169ee
Bug 888596 - Move IDBDatabase to WebIDL, r=janv
2013-07-31 17:48:46 +02:00
Andrea Marchesini
9dbd04ea78
Bug 892065 - Move IDBIndex to WebIDL, r=janv
2013-07-31 17:48:40 +02:00
Andrea Marchesini
ef616d1baf
Bug 888597 - Move IDBObjectStore to WebIDL, r=janv
2013-07-31 17:48:36 +02: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
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
Bobby Holley
08f9b6fd28
Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke
2013-07-29 16:45:26 -07:00
Andrea Marchesini
a1a1e17579
Bug 888598 - Move IDBTransaction to WebIDL, r=janv
2013-07-29 19:12:21 +02: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
Ms2ger
87cac1ab60
Bug 896275 - Use MOZ_THIS_IN_INITIALIZER_LIST in dom/; r=mounir
2013-07-24 09:41:03 +02:00
Boris Zbarsky
76a7d33bf7
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04: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
f44c71b4ef
Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
...
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Ryan VanderMeulen
4033000ea2
Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE.
2013-07-22 18:18:17 -04:00
Boris Zbarsky
a0654061a1
Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv
2013-07-22 08:15:43 -04:00
Bobby Holley
42bde9bf07
Bug 887334 - Enter a compartment in indexedDB's ThreadLocalJSRuntime. r=bent
2013-07-17 11:53:54 -07:00