Bobby Holley
f7c06c0933
Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke
2013-08-01 18:38:47 -07:00
Mike Hommey
d01b5df996
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
413ce8df28
Bug 887524 - Move IDBRequest to WebIDL, r=janv
2013-08-01 00:28:15 +02:00
Andrea Marchesini
affecad19a
Bug 891944 - Move IDBCursor to WebIDL, r=janv
2013-08-01 00:28:13 +02:00
Andrea Marchesini
507b5977c9
Bug 888596 - Move IDBDatabase to WebIDL, r=janv
2013-07-31 17:48:46 +02:00
Andrea Marchesini
a55b90d029
Bug 892065 - Move IDBIndex to WebIDL, r=janv
2013-07-31 17:48:40 +02:00
Andrea Marchesini
f88a92b855
Bug 888597 - Move IDBObjectStore to WebIDL, r=janv
2013-07-31 17:48:36 +02: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
Bobby Holley
c00f6379ec
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
9dbd7cffb9
Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke
2013-07-29 16:45:26 -07:00
Andrea Marchesini
59c5192f42
Bug 888598 - Move IDBTransaction to WebIDL, r=janv
2013-07-29 19:12:21 +02:00
Jon Coppeard
8278efd42a
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
8c89deb65b
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fc9b509d4f
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
a22dbc380e
Bug 896275 - Use MOZ_THIS_IN_INITIALIZER_LIST in dom/; r=mounir
2013-07-24 09:41:03 +02:00
Boris Zbarsky
c3d0e79b5c
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
7b9a04da79
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
fb0ab49c35
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
cc66360dac
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
12fbb7f6ba
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
3de3782239
Bug 887334 - Enter a compartment in indexedDB's ThreadLocalJSRuntime. r=bent
2013-07-17 11:53:54 -07:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Trevor Saunders
82e5558b37
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
Ehsan Akhgari
a9825b7eb9
Bug 890405 - Remove nsIIDBVersionChangeEvent; r=janv
2013-07-11 13:36:42 -04:00
Ehsan Akhgari
1d6edb2f3d
Backed out changeset 121171dddc5b (bug 890405) for Jetpack test failures
...
Landed on a CLOSED TREE
2013-07-11 13:33:19 -04:00
David Keeler
80dcdfdff7
bug 842384 - speculative fix: maybe browser_bug839193.js needs a window.focus() r=bent
2013-07-02 14:09:10 -07:00
Ehsan Akhgari
9c76102dab
Bug 890405 - Remove nsIIDBVersionChangeEvent; r=janv,Mossop
2013-07-11 11:33:37 -04:00
Tim Taubert
e84c9d2533
Bug 891806 - part 4 - replace 'yield;' with 'yield undefined;' in dom/; r=smaug
2013-07-10 23:52:35 +02:00
Olli Pettay
2bf2214fbe
bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
...
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
David Zbarsky
b2b3004e5d
Bug 885804: Renaming in content/dom r=jlebar
2013-07-08 11:48:39 -04:00
Ehsan Akhgari
fc8792b565
Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug
2013-07-05 13:57:28 -04:00
Ehsan Akhgari
957dde44bf
Backed out changeset 170e1863b9b6 (bug 890382) because of xpcshell test failures
2013-07-04 20:59:44 -04:00
Ehsan Akhgari
dcbd7c592e
Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug
2013-07-04 18:12:39 -04:00
Mike Shal
edeb7caf7a
Bug 868536 - Move ipdl.mk files to moz.build; r=gps
...
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Ms2ger
ae221922f0
Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv
2013-07-01 09:02:37 +02:00
Ben Turner
7597d6da65
Bug 888105 - '.DS_Store files can screw up origin initialization.' r=janv.
2013-06-29 19:25:15 -07:00
Justin Lebar
6c46d0633d
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Jon Coppeard
a89a393bba
Bug 884384 - Use JS::MutableHandle<JS::Value> instead of jsval* for out parameters r=smaug
2013-06-21 14:12:46 +01:00
Bobby Holley
a46a847021
Bug 884362 - Make IDBRequest::CaptureCaller use the cx stack and decxify a bunch of IDB. r=bent
2013-06-20 11:05:33 -07:00
Jon Coppeard
586c7b4514
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Jon Coppeard
59d5490ab4
Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Ms2ger
d3104d4964
Bug 860731 - Part b: Use FileMode for LockedFile; r=janv
2013-06-12 09:00:06 +02:00
Trevor Saunders
b2546f7648
bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug
2013-05-30 18:34:53 -04:00
Arnaud Sourioux
4f029c7b82
Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger
2013-06-05 12:15:48 -04:00
Jan Varga
8e2e62ac1d
Bug 878703 - Cleanup usage of IO thread only objects. r=bent
2013-06-05 10:11:23 +02:00
Bobby Holley
2efb065754
Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
...
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Ben Turner
eec02b64f8
Bug 877952 - 'IndexedDB upgrade should proceed even when file manager directories are not present'. r=janv.
2013-06-03 08:16:06 -07:00
Eddy Bruel
32f5108b00
Bug 877995 - IndexedDB should set a stack quotum when creating a JS runtime; r=khuey
2013-05-31 13:29:54 -07:00
Gabor Krizsanits
94a2af0a2c
Bug 875405 - fixing unpushed cx usages. r=bholley
2013-05-30 16:54:46 +02:00