Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
fe57e31ffe
Bug 1212027 - part 7 - modify IPDL codegen to store sub-protocols in a hashtable rather than an array; r=jld,nical,cpearce,billm
2015-10-07 14:30:33 -04:00
Jan Varga
e34c9c269d
Bug 1203803 - Fix "Intermittent Assertion failure: IsOnBackgroundThread()" a=sheriffduty
2015-10-10 02:57:00 +02:00
Carsten "Tomcat" Book
15df2c2f4b
Backed out changeset 2387ada86428 (bug 1203803) for landing with negative review and causing assertions
2015-10-14 14:29:37 +02:00
Jan Varga
77ae4508cb
Bug 1203803: Force cleanup for specific states only; r=khuey a=CLOSED TREE
2015-10-13 10:19:43 -07:00
Nick Fitzgerald
f3032c8c01
Bug 1201620 - Make SavedFrame stacks structured cloneable; r=sfink
2015-10-12 13:29:48 -07:00
Jan Varga
d7ad4e8aba
Followup build fix for bug 1185223; r=buildbustage
2015-10-10 10:16:31 +02:00
Jan Varga
90b70db80f
Bug 1185223 - crash at [@ mozilla::dom::quota::QuotaObject::Release() ]; r=khuey
2015-10-10 09:28:09 +02:00
Andrea Marchesini
13352c21d4
Bug 1212009 - ReadFullySerializableObjects() doesn't use the aIndex param and it can be removed, r=smaug
2015-10-07 20:32:14 +01:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Andrew McCreight
5171450b27
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-05 09:38:14 -07:00
Wes Kocher
f0d829220d
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
35cd15b8de
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 15:09:02 -07:00
Andrew McCreight
7a2c6267d4
Backed out changeset 6fa9cdf4002b for breaking the build.
2015-10-02 10:49:28 -07:00
Andrew McCreight
404740a102
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 10:42:08 -07:00
Tooru Fujisawa
59f52342c7
Bug 1207494 - Part 9: Remove use of expression closure from dom/indexedDB/. r=khuey
...
--HG--
extra : commitid : 9tEgENbueXg
extra : rebase_source : b23c853af0346325812e8a0a4ac42bb7c3ffae27
2015-09-23 18:39:14 +09:00
Jason Orendorff
deb2270515
Bug 1054756, part 5 - Remove Class::convert.
...
--HG--
extra : commitid : 6KCxWrCseSZ
extra : rebase_source : 63f3cd6ec1ade43c732ffd9b661fe6f2dca9eb4b
2015-03-20 16:28:59 -05:00
Andrea Marchesini
7373ebaca0
Bug 1209919 - Improving naming and comments in StructuredCloneHelper, r=smaug
...
--HG--
rename : dom/base/StructuredCloneHelper.cpp => dom/base/StructuredCloneHolder.cpp
rename : dom/base/StructuredCloneHelper.h => dom/base/StructuredCloneHolder.h
2015-09-30 13:22:08 +01:00
Wes Kocher
b19d88b060
Backed out 7 changesets (bug 1206168, bug 1177318, bug 1054756) for hazard build failures CLOSED TREE
...
Backed out changeset e892727a373a (bug 1206168)
Backed out changeset 6c93d1044b7e (bug 1054756)
Backed out changeset 105433ce195b (bug 1054756)
Backed out changeset 13128a88f2b9 (bug 1054756)
Backed out changeset c250abf4fd17 (bug 1054756)
Backed out changeset fc9fef646a97 (bug 1054756)
Backed out changeset c8897f109a08 (bug 1177318)
2015-09-23 12:31:19 -07:00
Jason Orendorff
54e92d9beb
Bug 1054756, part 5 - Remove Class::convert.
...
--HG--
extra : commitid : KrjkP1flM3c
extra : rebase_source : 8c367e3158528e92ac8ebc51521d32472f1e5bb1
2015-03-20 16:28:59 -05:00
Jeff Walden
4046fe1490
Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
...
--HG--
extra : rebase_source : 6ddc3727c411fdfced6338e5e383a10572575f0f
2015-08-28 21:55:40 -07:00
Ted Mielczarek
56db76a2f3
bug 1206312 - add IndexedDatabaseManager include to IDBKeyRange. r=bz
...
--HG--
extra : commitid : 8lD7bllThUV
extra : rebase_source : f3811569a5812ec737c41d8d38bb49bf21f69984
2015-09-18 20:29:45 -04:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Michael Layzell
d71e4e3134
Bug 1202014 - Don't use-after-move in ActorsChild.cpp, r=khuey
2015-09-14 16:04:10 -04:00
Andrea Marchesini
26d2b33735
Bug 1203916 - Get rid of NS_DOMReadStructuredClone and NS_DOMWriteStructuredClone, r=smaug
2015-09-15 01:05:44 +08:00
Phil Ringnalda
cb9f3c6c86
Merge m-c to b-i
2015-09-12 16:04:10 -07:00
Michael Layzell
1eaae658aa
Bug 1156802 - Part 2: Remove all explicit move constructors, r=ehsan
2015-09-12 12:34:45 -04:00
Reuben Morais
33dc3930e7
Bug 1204183 - Test the object_data upgrade from bug 1202788. r=janv
2015-09-12 12:51:21 -03:00
Reuben Morais
e3e708534a
Bug 1202788 - Upgrade object_data table to new format (follow-up to bug 871846). r=janv
2015-09-11 12:12:52 -03:00
Jan Varga
7d81dbbfad
Bug 1068975 - Remove FileInfo from File; r=baku
2015-09-09 13:15:14 +02:00
Jan Varga
2a061d3c3b
Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); r=baku
...
--HG--
rename : dom/filehandle/FileHandle.cpp => dom/filehandle/FileHandleBase.cpp
rename : dom/filehandle/FileHandle.h => dom/filehandle/FileHandleBase.h
rename : dom/filehandle/FileRequest.h => dom/filehandle/FileRequestBase.h
rename : dom/filehandle/MutableFile.cpp => dom/filehandle/MutableFileBase.cpp
rename : dom/filehandle/MutableFile.h => dom/filehandle/MutableFileBase.h
2015-09-09 13:15:05 +02:00
Kyle Huey
e53cd4fe95
Bug 1200004 - Fix IDB permission handling around navigated windows. r=baku
2015-09-08 10:11:36 +02:00
Shihua Zheng
8b824c5ed4
Bug 871846 - Tests for locale aware indexes. r=janv
2014-07-20 14:29:54 -07:00
Reuben Morais
5e1f2a6b18
Bug 871846 - Implement IDBLocaleAwareKeyRange. r=janv r=sicking
2015-09-04 16:12:52 -03:00
Reuben Morais
9a1f803114
Bug 871846 - Handle locale aware indexes. r=janv
2015-09-04 16:12:44 -03:00
Reuben Morais
0e18f3afbd
Bug 871846 - Database changes for locale aware indexes. r=janv
2015-09-04 16:12:37 -03:00
Reuben Morais
e493377d61
Bug 871846 - API changes for locale aware indexes. r=janv r=sicking
2015-09-04 16:12:29 -03:00
Reuben Morais
dd7ac5dc3c
Bug 871846 - ICU usage and infrastructure bits. r=janv
2014-08-04 13:59:57 -07:00
Nicholas Nethercote
95676dc27c
Bug 1200484 (part 10) - Use JS column numbers in indexedDB. r=khuey.
...
--HG--
extra : rebase_source : a7549e74d28e92911e014e152a245828f01291ad
2015-09-01 18:01:02 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Michael Layzell
cd6e65d4d5
Bug 1147821 - Update IndexedDB to use common StorageAllowedForWindow logic, r=khuey
2015-08-28 10:10:30 -04:00
Yoshi Huang
e6070e9062
Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley
2015-08-18 15:01:42 +08:00
Yoshi Huang
4347bb2318
Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley
2015-08-17 17:03:19 +08:00
Kyle Huey
917ae4a9ce
Bug 1196840: Make IDBTransaction::ObjectStoreNames const. r=baku
2015-08-25 13:30:18 -07:00
Bobby Holley
edfe287f26
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Yoshi Huang
de47f4b89f
Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley
2015-08-24 01:18:00 -04:00
Yoshi Huang
12efacfa8c
Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley
2015-08-24 01:31:00 -04:00
Birunthan Mohanathas
258615a1ba
Bug 1168606 - Part 5: Send two records with every ObjectStoreCursorResponse. r=khuey
2015-08-19 14:59:29 -07:00