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
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
Ehsan Akhgari
250df2ac8d
Bug 890405 - Remove nsIIDBVersionChangeEvent; r=janv
2013-07-11 13:36:42 -04:00
Ehsan Akhgari
f6d334b2c9
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
a462fa93db
bug 842384 - speculative fix: maybe browser_bug839193.js needs a window.focus() r=bent
2013-07-02 14:09:10 -07:00
Ehsan Akhgari
c1a956dbb8
Bug 890405 - Remove nsIIDBVersionChangeEvent; r=janv,Mossop
2013-07-11 11:33:37 -04:00
Tim Taubert
b919e9d555
Bug 891806 - part 4 - replace 'yield;' with 'yield undefined;' in dom/; r=smaug
2013-07-10 23:52:35 +02:00
Olli Pettay
6767d0a1a8
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
7c1e9e4d0f
Bug 885804: Renaming in content/dom r=jlebar
2013-07-08 11:48:39 -04:00
Ehsan Akhgari
3c0afe53b2
Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug
2013-07-05 13:57:28 -04:00
Ehsan Akhgari
362e8b3898
Backed out changeset 170e1863b9b6 (bug 890382) because of xpcshell test failures
2013-07-04 20:59:44 -04:00
Ehsan Akhgari
7fce3192db
Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug
2013-07-04 18:12:39 -04:00
Mike Shal
2f5d43999f
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
5ee433e133
Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv
2013-07-01 09:02:37 +02:00
Ben Turner
8cfacdc312
Bug 888105 - '.DS_Store files can screw up origin initialization.' r=janv.
2013-06-29 19:25:15 -07:00
Justin Lebar
09d2312322
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
cab87a0cce
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
642f605601
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
1b51593b1a
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
c43484e0e2
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
7bcacd601c
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
d98902ff9a
Bug 860731 - Part b: Use FileMode for LockedFile; r=janv
2013-06-12 09:00:06 +02:00
Trevor Saunders
f6274d24c5
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
feea85a7f1
Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger
2013-06-05 12:15:48 -04:00
Jan Varga
ca076736b5
Bug 878703 - Cleanup usage of IO thread only objects. r=bent
2013-06-05 10:11:23 +02:00
Bobby Holley
03e356bde0
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
af65490e9b
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
7e175536ac
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
654fe7f8ff
Bug 875405 - fixing unpushed cx usages. r=bholley
2013-05-30 16:54:46 +02:00
Boris Zbarsky
14e7edc59d
Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug
2013-05-29 16:16:04 -04:00
Julian Seward
38e97ed8fa
Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard.
2013-05-28 14:03:38 +02:00
Andrea Marchesini
95eb70f2b1
Bug 874252 - Leak with expando on a DOMError, r=khuey
2013-05-27 16:43:09 -04:00
Mike Shal
6f32ddf61c
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Bobby Holley
1b2f22fe61
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
ba05c93769
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Jan Varga
58c6cf3726
Bug 860183 - Sync IDB mochi-tests with IDB xpcshell-tests. r=bent
2013-05-22 11:34:22 +02:00
Masatoshi Kimura
febdba954d
Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug
2013-05-21 04:34:12 +09:00
Boris Zbarsky
810766595d
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Andrea Marchesini
0e20d68ea0
Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz
2013-05-18 13:52:06 -04:00
Boris Zbarsky
620839f027
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Joey Armstrong
0d49db0381
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Ed Morley
2710e5d6a9
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Ben Turner
442a070ba4
Bug 861903 - Enable test.
2013-05-12 21:10:58 -07:00
Mike Shal
d2b29f4e87
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
...
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ryan VanderMeulen
c3ad278e44
Merge m-c to inbound on a CLOSED TREE.
2013-05-11 09:49:12 -04:00
David Zbarsky
3a5f2fa41d
Bug 868312 - Some more rooting fixes for dom r=bz
2013-05-10 22:39:45 -04:00
Ryan VanderMeulen
01e0925b4d
Bug 861903 - Disable faulty test until it can be fixed with 100% less bustage.
2013-05-10 21:43:50 -04:00
Ben Turner
905f320b03
Bug 861903 - Disable faulty test until it can be fixed.
2013-05-10 17:48:54 -07:00
Ben Turner
63a007c5f1
Bug 861903 - Bustage fix.
2013-05-10 16:01:55 -07:00
Ben Turner
f2e7b95694
Bug 861903 - Bustage fix.
2013-05-10 15:30:49 -07:00
Ben Turner
2897195f07
Bug 861903 - Bustage fix.
2013-05-10 15:22:16 -07:00
Ben Turner
56808a549d
Bug 861903 - Hook IndexedDB up to low disk space notifications. r=janv.
2013-05-10 14:22:01 -07:00
Nathan Froyd
dbba9baf39
Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo
2013-05-01 16:55:13 -04:00
David Zbarsky
3c839fc3b2
Bug 868312: Root dom/workers r=bz
2013-05-09 03:27:40 -04:00
Sumedh Shekhar
e409da4cb3
Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan
2013-05-08 00:52:52 +09:00
Jan Varga
0764b3538b
Bug 855331. r=bent
2013-05-06 23:21:03 +02:00
Sankha Narayan Guria
6349c5c599
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
David Zbarsky
ef70ce04b7
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
David Zbarsky
38f5841d1a
Bug 866450 Part 7: Root some additional JS::Values found during review r=bz
2013-05-02 05:12:47 -04:00
David Zbarsky
9a3b3ff24d
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:47 -04:00
David Zbarsky
a79bf02c5d
Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
Ed Morley
581e7b778e
Backed out changeset b514d768d793 (bug 866450)
2013-05-02 11:57:14 +01:00
Ed Morley
e348bd3444
Backed out changeset 7c0ace2560c4 (bug 866450)
2013-05-02 11:57:01 +01:00
Ed Morley
37d84a3fe7
Backed out changeset e0b51717bb64 (bug 866450)
2013-05-02 11:56:57 +01:00
David Zbarsky
0e20dc3030
Bug 866450 Part 7: Root some additional JS::Values found during review r=bz
2013-05-02 05:12:47 -04:00
David Zbarsky
9316ac5bbc
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:47 -04:00
David Zbarsky
0566d3158e
Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
Andrew McCreight
4f1ab3b372
Bug 867204 - Don't use jsdbgapi.h in IDBFactory. r=bholley
2013-05-01 09:19:18 -07:00
Joey Armstrong
12356a4c50
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00
Bobby Holley
402c35b1ff
Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor
2013-04-29 11:16:18 -07:00
Boris Zbarsky
f75142b01d
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Ben Turner
3dc5a8b304
Bug 861287, fix clang bustage.
2013-04-25 11:26:58 -04:00
Ben Turner
4028ba0d10
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
2013-03-15 23:58:50 -07:00
Ben Turner
3bddc2523d
Backout bug 861287 for gcc build failures.
2013-04-25 08:30:28 -04:00
Ben Turner
76b1c708ac
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
2013-03-15 23:58:50 -07:00
Ben Turner
010dffeb93
Remove bad line endings from IDBFactory, no bug.
2013-04-25 07:06:54 -04:00
Cykesiopka
ad08e18549
Bug 645402 - Remove ToInteger() workarounds in mozilla-central. r=bz
2013-04-24 08:36:09 -04:00
Makoto Kato
803532ef87
Bug 857957 - Use Endian.h for byte swap. f=nfroyd, r=jfkthame, r/sr=bsmedberg
2013-04-24 16:40:33 +09:00
David Zbarsky
e7c500d80d
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Xin Zhang
5e389b35b8
Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
...
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -07:00
Masatoshi Kimura
3a3e6ebe70
Bug 859020 - Remove the MSVC exemption for FAIL_ON_WARNINGS in dom. r=bz
2013-04-21 05:36:43 +09:00
David Zbarsky
5826da3d17
Backout 2201d650ac90 for not building on Windows on a CLOSED TREE
2013-04-19 18:57:56 -04:00
David Zbarsky
1cc79b4d68
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-19 18:18:33 -04:00
David Zbarsky
a0911f7978
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger
2013-04-19 18:18:33 -04:00
David Zbarsky
335c6fc326
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger
2013-04-19 18:18:32 -04:00