Tom Schuster
|
c7cdf24223
|
Bug 961490 - More exact rooting in dom/indexedDB. r=terrence,khuey
|
2014-01-23 20:49:40 +01:00 |
Ehsan Akhgari
|
1b83407ce9
|
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
|
159ed3c77f
|
Bug 925916 - Handlify WrapNative, r=smaug
|
2013-10-11 22:02:39 -07:00 |
Jon Coppeard
|
fb6671743e
|
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
|
2824b29025
|
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 |
Jon Coppeard
|
5b896f6665
|
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
|
7ceff1cbc9
|
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
|
c8d1774909
|
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
|
2013-05-02 05:12:47 -04:00 |
Ed Morley
|
55c0577379
|
Backed out changeset 7c0ace2560c4 (bug 866450)
|
2013-05-02 11:57:01 +01:00 |
David Zbarsky
|
7594190029
|
Bug 866450 Part 6: Fix rooting hazards under content/ and dom/ r=bz
|
2013-05-02 05:12:47 -04:00 |
Makoto Kato
|
721aa48809
|
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
|
60f0e6df40
|
Bug 859020 - Remove the MSVC exemption for FAIL_ON_WARNINGS in dom. r=bz
|
2013-04-21 05:36:43 +09:00 |
Mats Palmgren
|
b7ae90666d
|
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
|
cbc812d8ca
|
Bug 793076 (part 1) - Remove unnecessary |cx| parameters. r=jwalden.
--HG--
extra : rebase_source : 0cfe86ca3b2de60b0097f6cd4686dfabe6748897
|
2012-09-20 21:41:49 -07:00 |
Ehsan Akhgari
|
e368dc9c85
|
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
|
94bf1722ed
|
Bug 743573 - Fix a number of build warnings in dom/; r=mounir
|
2012-08-07 09:06:29 +02:00 |
Aryeh Gregor
|
d0ad5a7d0c
|
Bug 777292 part 2 - Change all nsnull to nullptr
|
2012-07-30 17:20:58 +03:00 |
David Zbarsky
|
d2ee12f6f9
|
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
|
2012-07-01 16:45:59 -07:00 |
Ben Turner
|
3fdf917cd6
|
Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking.
|
2012-06-01 10:21:12 -07:00 |
Kyle Huey
|
6279cf8dc5
|
Bug 755508: Do not allow the use of NaN dates as keys. r=sicking
|
2012-05-25 11:52:19 -07:00 |
Gervase Markham
|
82ff7027aa
|
Bug 716478 - update licence to MPL 2.
|
2012-05-21 12:12:37 +01:00 |
Kyle Huey
|
25e5317a3b
|
Bug 726376: Prevent infinite recursion in indexedDB::cmp. r=sicking
|
2012-05-11 10:47:27 -07:00 |
Jeff Walden
|
e868abd4e1
|
Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits
|
2012-01-23 03:43:16 -08:00 |
David Mandelin
|
0822e24e67
|
Bug 733260 followup: use uint32_t for array and string lengths, r=luke
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
|
2012-03-06 15:52:55 -08:00 |
David Mandelin
|
fb07fe8847
|
Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
|
2012-03-05 18:43:45 -08:00 |
David Mandelin
|
ec012300ff
|
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
|
2012-02-24 14:19:52 -08:00 |
Marco Bonardo
|
f35da5b2e3
|
Backout 4fc2f49371a8 (bug 725550) for build failures
|
2012-02-25 00:16:47 +01:00 |
David Mandelin
|
80fdf887df
|
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
|
2012-02-24 14:19:52 -08:00 |
Ms2ger
|
61fac06b4d
|
Bug 677079 - Part c: Stop installing jsdate.h; r=Waldo
|
2012-01-15 09:13:07 +01:00 |
Jan Varga
|
bc370ce9d8
|
Bug 715074 - SIGBUS on unaligned access in Key::EncodeNumber. r=sicking
|
2012-01-06 10:56:52 +01:00 |
Ms2ger
|
e927de0840
|
Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley
|
2011-12-24 09:27:04 +01:00 |
Jonas Sicking
|
882414b8f2
|
Bug 694138: Support an array of strings as keyPath on objectStores and indexes. r=janv/bent
|
2011-12-20 02:59:07 -08:00 |
Jonas Sicking
|
09d6e71f40
|
Bug 692614: Support all spec'ed key-types, including Arrays. Patch by Jan Varga and me. r=janv/bent/me
|
2011-12-20 02:58:44 -08:00 |