Chris Peterson
f7ceeaf5cf
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
2018-06-17 22:43:11 -07:00
Jonathan Kew
1c0f8b2768
Bug 1402858 - Remove ENABLE_INTL_API conditional and non-Intl legacy codepaths from IndexedDB. r=janv
2017-09-25 17:32:23 +01:00
Bevis Tseng
76669f198d
Bug 1371484 - Fix Key::EncodeAsString(). r=baku
...
MozReview-Commit-ID: F29YzvgresY
2017-06-19 19:03:06 +08:00
Wes Kocher
185b2481ba
Backed out changeset 810a05989801 (bug 1371484) for build failures in Key.cpp a=backout
...
MozReview-Commit-ID: 4Jwrp5PK6MA
2017-07-25 18:34:40 -07:00
Bevis Tseng
b18c251f50
Bug 1371484 - Fix Key::EncodeAsString(). r=baku
...
MozReview-Commit-ID: F29YzvgresY
2017-06-19 19:03:06 +08:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Nathan Froyd
85a4b469d3
Bug 1312104 - part 2 - use FloatingPoint<>::kSignBit in lieu of hand-rolled constant; r=janv
...
This way is a little bit more readable.
2016-10-24 13:22:54 -04:00
Nathan Froyd
646a9538bb
Bug 1312104 - part 1 - use BitwiseCast for punning between uint64_t/double in indexedDB; r=janv
...
We have code elsewhere for this sort of stuff; let's use it here.
2016-10-24 13:22:54 -04:00
Bevis Tseng
1e646e8131
Bug 1271500 - Binary Key Support. r=janv
2016-08-12 15:03:59 +08:00
Tom Schuster
88135ce2c1
Bug 1114580 - Change ESClassValue to an enum class. r=jorendorff
2016-06-30 00:04:56 +02:00
Chris Peterson
41c3720394
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
2016-05-22 13:31:11 -07:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Jeff Walden
9399e8c7de
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
2015-08-28 21:55:40 -07:00
Reuben Morais
a719705e90
Bug 871846 - API changes for locale aware indexes. r=janv r=sicking
2015-09-04 16:12:29 -03:00
Reuben Morais
d389c5fe32
Bug 871846 - ICU usage and infrastructure bits. r=janv
2014-08-04 13:59:57 -07:00
Jeff Walden
fc993827aa
Bug 1158399 - Expose the [[DateValue]] field in Date objects only through a ClippedTime class that enforces prior TimeClip-ing on the given value. r=evilpie, r=bz, r=dhylands, r=mt, r=froydnj, r=khuey, r=baku, r=smaug
2015-05-01 19:12:52 -07:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Ben Turner
e79f720174
Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv.
2015-02-16 09:48:14 -08:00
Wes Kocher
2c5b4eb758
Backed out changeset 14b9b4827805 (bug 1131776)
2015-03-30 19:45:55 -07:00
Ben Turner
f8f7efc823
Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv.
2015-02-16 09:48:14 -08:00
Phil Ringnalda
78273cdb09
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
a395934a12
Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv.
2015-02-16 09:48:14 -08:00
Jon Coppeard
03b0663f5d
Bug 963921 - Clients of the JS API should use JS_DefineElement where appropriate r=smaug
2015-03-02 13:31:15 +00:00
Bobby Holley
a0646223e4
Bug 857138 - Add some cx parameters. r=bz
2014-10-23 19:53:31 +02:00
Ben Turner
e30152a851
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Ben Turner
4937da099f
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Ben Turner
aede706b17
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-13 12:12:19 -04:00
Jan de Mooij
1d6a780efe
Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz
2014-07-05 17:30:54 +02:00
Jon Coppeard
0df72e25fb
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Ted Clancy
4e30323e98
Bug 958359 - IndexedDB should log a message to the console when it returns NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR. r=bent
2014-01-27 19:37:05 -05:00
Jon Coppeard
db296e2bf4
Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz
2014-01-25 09:31:17 +00:00
Tom Schuster
c84088cffe
Bug 961490 - More exact rooting in dom/indexedDB. r=terrence,khuey
2014-01-23 20:49:40 +01:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Steve Fink
0efbcf5685
Bug 925916 - Handlify WrapNative, r=smaug
2013-10-11 22:02:39 -07:00
Jon Coppeard
3d1569a54e
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Ehsan Akhgari
1ab9c7bcb4
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])
2013-07-18 13:59:53 -04:00
Jon Coppeard
5ebd30bc01
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
Nathan Froyd
d80f045a6c
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
a1a46c18a3
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:47 -04:00
Ed Morley
60a28cdef5
Backed out changeset 7c0ace2560c4 (bug 866450)
2013-05-02 11:57:01 +01:00
David Zbarsky
427748f498
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:47 -04:00
Makoto Kato
a9c263a10d
Bug 857957 - Use Endian.h for byte swap. f=nfroyd, r=jfkthame, r/sr=bsmedberg
2013-04-24 16:40:33 +09:00
Masatoshi Kimura
f9b5a6b8a5
Bug 859020 - Remove the MSVC exemption for FAIL_ON_WARNINGS in dom. r=bz
2013-04-21 05:36:43 +09:00
Mats Palmgren
7532b4e736
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Nicholas Nethercote
23ab1e42a2
Bug 793076 (part 1) - Remove unnecessary |cx| parameters. r=jwalden.
2012-09-20 21:41:49 -07:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
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 "*.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ms2ger
26fa23777d
Bug 743573 - Fix a number of build warnings in dom/; r=mounir
2012-08-07 09:06:29 +02:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00