Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Andrea Marchesini
13070077c7
Bug 1221418 - A better cleanup method for AsmJSCache::ChildRunnable, r=janv
2016-01-08 12:55:40 +00:00
Jan Varga
e524e8e0e4
Bug 961049 - Part 5: QuotaManager on PBackground asmjscache changes; r=luke
2015-11-22 10:44:06 +01:00
Lars T Hansen
558b6ebd6a
Bug 1218643 - correct a DOM test. r=smaug
...
--HG--
extra : rebase_source : 7511ce5c6b13fa5c869ec13d59a20915d8a88ffa
2015-11-04 12:23:17 +01:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
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
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
Jan Varga
3ca2c55387
Bug 1173756 - Part 3: Merge File and ChildRunnable; r=luke
2015-08-29 07:45:24 +02:00
Jan Varga
414775f261
Bug 1173756 - Part 2: Merge MainProcessRunnable and ParentProcessRunnable; r=luke
2015-08-29 07:45:12 +02:00
Jan Varga
2c0217f2ab
Bug 1173756 - Part 1: Update asmjscache to use PBackground; r=luke
2015-08-29 07:45:04 +02:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Jan Varga
283acfefd3
Bug 1170021 - Part 2: Move DirectoryLock out of QuotaManager class; r=bent
2015-06-30 14:59:53 +02:00
Jan Varga
baba1643c1
Bug 1130775 - Convert synchronized ops and storage registration into unified directory locks; r=bent
...
--HG--
rename : dom/quota/OriginOrPatternString.h => dom/quota/OriginScope.h
2015-06-30 14:59:27 +02:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Ben Turner
805bc94273
Bug 858680 - Part 2: Add idle notifications to QuotaClient, r=janv.
...
--HG--
extra : rebase_source : d4ec5e860b885ab01e4e1c19e6aed057b78e5aaa
2015-04-30 13:46:51 -07:00
Wes Kocher
a6c4705f9a
Backed out changeset 0aaa67fc61e8 (bug 858680)
2015-05-21 16:44:42 -07:00
Ben Turner
b553d50f23
Bug 858680 - Part 2: Add idle notifications to QuotaClient, r=janv.
...
--HG--
extra : rebase_source : 6797f2d4fdaabef4e5d3b83fbacc09984f447866
2015-04-30 13:46:51 -07:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Luke Wagner
e2ba59ce7e
Bug 1156600 - asmjscache: fix assert when reading metadata file for cache write fails (r=janv)
2015-04-20 23:18:59 -05:00
Luke Wagner
379f05b01b
Bug 1155726 - OdinMonkey: add new cache failure code for when storage initialization fails (r=janv)
...
--HG--
extra : rebase_source : f724ccb0ce960bd22dce05eed659cb3e4c96bd23
2015-04-17 13:17:30 -05:00
Jan Varga
4f7bbfd7c8
Bug 1125102 - Make QuotaManager and FileService to be independent of each other; r=bent
2015-04-14 10:57:41 +02:00
Ben Turner
630eacc28d
Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv.
2015-02-16 09:48:14 -08:00
Wes Kocher
23dabfd770
Backed out changeset 14b9b4827805 (bug 1131776)
2015-03-30 19:45:55 -07:00
Ben Turner
ad62e4a206
Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv.
2015-02-16 09:48:14 -08:00
Phil Ringnalda
74fbc95715
Backed out 5 changesets (bug 866846, bug 1131776, bug 1131766, bug 1144806, bug 1112702) on suspicion of causing Windows debug devtools-4 storage crashes
...
CLOSED TREE
Backed out changeset 142d9ae5826c (bug 1131776)
Backed out changeset 0b4de21b759f (bug 1112702)
Backed out changeset 1b4ead852ae0 (bug 1131766)
Backed out changeset cbd862dd036f (bug 866846)
Backed out changeset 178412a2fe8b (bug 1144806)
2015-03-29 12:55:11 -07:00
Ben Turner
98536af974
Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv.
...
--HG--
extra : rebase_source : 9cba58701e0f6bf4c3d6deb784b5c8340fd895ac
2015-02-16 09:48:14 -08:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jan Varga
f514a5ed5b
Bug 1123637 - Remove all code relevant to quota prompts; r=bent,ehsan
2015-01-22 09:40:42 +01:00
Ehsan Akhgari
860da94550
Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel
2015-01-06 16:30:03 -05:00
Jan Varga
7a79af88ee
Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); Part 1 - Remove unused stuff; r=bent
2014-12-06 07:31:53 -08:00
Jan Varga
3528192339
Bug 1083927 - IndexedDB: Subdomain Quota Management; r=bent,ehsan
...
--HG--
rename : dom/indexedDB/test/unit/bug1056939.zip => dom/indexedDB/test/unit/bug1056939_profile.zip
2014-11-28 09:44:12 +01:00
Luke Wagner
176eac56f4
Bug 1087178 - OdinMonkey: explain why 'not stored in cache' (r=bbouvier,janv)
...
--HG--
extra : rebase_source : d37893913a09d5a5b339e4ae4ee42f873d449d1e
2014-10-22 17:28:07 -05:00
Jan Varga
b89edf2131
Bug 1089764 - Treat persistent storage as temporary storage; r=bent
2014-11-04 21:44:56 +01:00
Jan Varga
a3073b1b35
Backed out changeset 45dad11b6580 (bug 1089764) for causing bug 1093067 and bug 1093223.
2014-11-03 21:00:52 +01:00
Jan Varga
49c83c236c
Bug 1089764 - Treat persistent storage as temporary storage; r=bent
2014-11-01 02:21:25 +01:00
Chris Peterson
d126c3c24f
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Ehsan Akhgari
c8380d74dd
Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug
2014-07-28 13:17:51 -04:00
Ms2ger
d8c0b17d7d
Bug 1043963
- Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
...
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Mike Hommey
bc5d6801bb
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Benoit Girard
1465e09a99
Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel
2014-07-15 11:37:45 -04:00
Luke Wagner
07142666f2
Bug 1030446 - dom/asmjscache/tests should pass if isAsmJSCompilationEnabled is false (r=me)
...
--HG--
extra : rebase_source : c9f2ef6114cf1d29a4081cb9e3aa72b7e9a800b1
2014-07-03 12:39:53 -05:00
Benoit Jacob
ec742680c8
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Chris Peterson
aca9b90afe
Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug
2014-04-20 00:36:40 -07:00
Jan Varga
0ccb9873c3
Bug 1002014 - Error case leak in AsmJSCache.cpp AllocEntryParent(); r=luke
2014-05-07 16:32:02 +02:00
Luke Wagner
48f8d792b5
Bug 1005955 - asmjscache: remove unused 'global' argument (r=janv)
2014-05-06 12:58:00 -05:00
Nathan Froyd
84041459a1
Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan
2014-04-29 13:27:26 -04:00
Benoit Jacob
e8b418c5f5
Bug 987305 - Refactor EnumSerializer - r=nfroyd
2014-04-14 10:17:40 -04:00
Ehsan Akhgari
186680d83a
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Luke Wagner
b7edb7cae1
Bug 963588 - asmjscache: place cache entries apps that request AOT compilation in persistent storage (r=janv)
...
--HG--
extra : rebase_source : 95bc3d02cb1a7f2728d2615e8b992e0a2b2397f1
2014-03-05 14:47:10 -06:00
Luke Wagner
863f076e76
Bug 972652 - asmjscache: evict cache entries for the origin if the group or global limit is hit (r=janv)
...
--HG--
extra : rebase_source : bc816062e833b977921e20103c5c8409ba9ffd4b
2014-02-13 18:25:39 -06:00
Luke Wagner
2108045c2d
Bug 961318 - Tweak off-main-thread parsing heuristic to avoid delaying execution when an atoms-zone GC is in progress (r=billm)
...
--HG--
extra : rebase_source : aa831d41e1b04062e208d5c36697da1f5e1c7d07
2014-01-20 18:00:18 -06:00
Luke Wagner
7406e6981e
Bug 957921 - Fix Recv__delete__ when asm.js cache file not yet opened in parent process runnable (r=janv)
...
--HG--
extra : rebase_source : f69a7f31d366c5c16b0f2a6c6dfc6c5467317107
2014-01-09 10:40:23 -06:00
Luke Wagner
e99d6d95da
Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
...
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
Ehsan Akhgari
4f689105a1
Fix the type passed to OpenNSPRFileDesc, no bug
...
--HG--
extra : rebase_source : 68a47b23259d5eaf9171cb9b70adde7720a00727
2014-01-06 10:05:11 -05:00
Ehsan Akhgari
26f41e4ccd
Bug 579517 follow-up: Remove NSPR types that crept in
2014-01-03 19:23:37 -05:00
Luke Wagner
855ca467e3
Bug 941830 - Extend asm.js compiled code caching to Workers (r=bent)
...
--HG--
extra : rebase_source : 4fed947b2fa76e26054d8293cec31433ceb61c8d
2013-12-03 13:31:30 -06:00
Luke Wagner
3d01d25dc6
Bug 929236 - Don't waste time caching small asm.js modules (r=sstangl)
...
--HG--
extra : rebase_source : 03c1f15c9ad89e0cae2e53a633ab743656380bf5
2013-11-18 16:02:05 -06:00
Luke Wagner
5ed834b091
Bug 929236 - Cache asm.js compiled code in Gecko (r=janv)
...
--HG--
extra : rebase_source : 1c97962da0044858c583fc45e69dd22e519b8066
2013-11-18 15:49:53 -06:00