Boris Zbarsky
|
25cf962b2d
|
Bug 882541 part 2. Fix a bug that crept in with overloading a string and a nullable number and then passing in null, due to the number conversion being conditional on the input type in that case. r=khuey
Also removes a footgun conversion operator on Nullable that was causing it to silently convert to int32_t.
|
2013-10-11 12:28:23 -04:00 |
|
Ed Morley
|
c7cd6440df
|
Backed out changeset d8636e485e85 (bug 882541)
|
2013-10-14 17:30:49 +01:00 |
|
Boris Zbarsky
|
72d31f23db
|
Bug 882541 part 2. Fix a bug that crept in with overloading a string and a nullable number and then passing in null, due to the number conversion being conditional on the input type in that case. r=khuey
Also removes a footgun conversion operator on Nullable that was causing it to silently convert to int32_t.
|
2013-10-11 12:28:23 -04:00 |
|
Andrea Marchesini
|
ee2f16a839
|
Bug 916094 - Assertions removed from IDBFactory::Create() when it's used in JS from chrome in IPC. r=bent
|
2013-09-19 14:45:25 +02:00 |
|
Jan Varga
|
c5d294a60c
|
Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
|
2013-09-11 06:18:36 +02:00 |
|
Robert O'Callahan
|
33cdb42706
|
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
|
2013-09-02 20:41:57 +12:00 |
|
Trevor Saunders
|
bddf017039
|
bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan
|
2013-08-12 05:51:49 -04: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 |
|
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 |
|
Ben Turner
|
7597d6da65
|
Bug 888105 - '.DS_Store files can screw up origin initialization.' r=janv.
|
2013-06-29 19:25:15 -07:00 |
|
Jan Varga
|
8e2e62ac1d
|
Bug 878703 - Cleanup usage of IO thread only objects. r=bent
|
2013-06-05 10:11:23 +02:00 |
|
Ben Turner
|
0514a30d13
|
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
|
2013-03-15 23:58:50 -07:00 |
|
Ben Turner
|
d2d94d205c
|
Backout bug 861287 for gcc build failures.
|
2013-04-25 08:30:28 -04:00 |
|
Ben Turner
|
19f1c29c69
|
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
|
2013-03-15 23:58:50 -07:00 |
|
Ben Turner
|
771512dc5a
|
Bug 856032 - 'Quota management enabled even for origins with unlimited permission granted'. r=janv.
|
2013-03-31 17:10:27 -07:00 |
|
Ryan VanderMeulen
|
43dcf89e96
|
Backed out changeset 3a242f8d8298 (bug 856032) for mochitest-2 failures.
|
2013-03-30 16:15:06 -04:00 |
|
Ben Turner
|
8ae3c0bbf4
|
Bug 856032 - 'Quota management enabled even for origins with unlimited permission granted'. r=janv.
|
2013-03-30 11:30:16 -07:00 |
|
Jan Varga
|
8ed93ed02a
|
Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent
|
2013-03-26 12:13:17 +01:00 |
|
Jan Varga
|
79c731a093
|
Bug 820715 - Move quota related pieces from IndexedDatabaseManager to QuotaManager. r=bent
--HG--
rename : dom/indexedDB/CheckQuotaHelper.cpp => dom/quota/CheckQuotaHelper.cpp
rename : dom/indexedDB/CheckQuotaHelper.h => dom/quota/CheckQuotaHelper.h
|
2012-12-19 18:45:57 +01:00 |
|
Jan Varga
|
812af47d24
|
Bug 787804 - Rewrite quota handling (eliminate test_quota.c). r=bent,asuth,vladan
|
2012-12-17 20:25:10 +01:00 |
|