Jacek Caban
|
7900ad927f
|
Bug 928351 - Fixed -Wshadow warning.
|
2014-03-10 14:32:24 +01:00 |
|
Ehsan Akhgari
|
e3c7b0ee5c
|
Bug 957358 - Restrict everything in Char16.h to C++; r=jcranmer
|
2014-01-12 14:55:02 -05:00 |
|
Ehsan Akhgari
|
e6d5ae1cb1
|
Bug 956507 - Remove the PRUnichar typedef from Char16.h; r=jcranmer
--HG--
extra : rebase_source : 372ddaf10a7c65fb6d0c0c44181c61fc93577a01
|
2014-01-07 22:16:17 -05:00 |
|
Ehsan Akhgari
|
ff919795e1
|
Backed out changeset 07a4682a75f2 (bug 956507) because it has bitrotten
Landed on a CLOSED TREE
|
2014-01-07 23:02:23 -05:00 |
|
Ehsan Akhgari
|
b992e6cd88
|
Bug 956507 - Remove the PRUnichar typedef from Char16.h; r=jcranmer
|
2014-01-07 22:16:17 -05:00 |
|
Jacek Caban
|
508bdb6c1f
|
Bug 928351 - Char16.h and xpcom/strings/public parts r=ehsan,Waldo
|
2013-11-27 14:40:54 +01:00 |
|
Ehsan Akhgari
|
cbdde780a5
|
Bug 928091 follow-up: Rewrite the comment in English
--HG--
extra : rebase_source : 9b8c45128f10aa00e0a8e1ab17156c2a42e812db
|
2013-10-18 20:34:49 -04:00 |
|
Ehsan Akhgari
|
3df4906bbd
|
Bug 928091 - Fix builds for VS2012 and VS2013 to deal with our char16_t machinery; pending r=Waldo
Landing on a CLOSED TREE because this is blocking multiple people. My apologies!
|
2013-10-18 18:49:22 -04:00 |
|
Ehsan Akhgari
|
9bf1bff8b4
|
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
|
2013-10-17 00:36:13 -04:00 |
|
Phil Ringnalda
|
214fbe3acd
|
Back out ee100983f921 (bug 895047) for build bustage
CLOSED TREE
|
2013-10-16 21:51:55 -07:00 |
|
Ehsan Akhgari
|
6f865c67f5
|
Bug 895047 - Make char16_t available everywhere and use that to define PRUnichar and jschar; r=jcranmer,jorendorff,glandium
|
2013-10-17 00:36:13 -04:00 |
|
Ehsan Akhgari
|
9bdfe8e5cc
|
Bug 923886 - Remove the Assertions.h #include from Char16.h; r=Waldo
|
2013-10-05 21:23:07 -04:00 |
|
Joshua Cranmer
|
2ecbbf20ab
|
Bug 904985, part 1: Add better support for char16_t in type traits, r=Waldo.
--HG--
extra : rebase_source : 45cb9155312ead0b8164e1e460c9fd2e39f0d6fc
|
2013-09-17 22:43:04 -05:00 |
|
Ehsan Akhgari
|
085494b95d
|
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 |
|
Ms2ger
|
f4ac238f7a
|
Bug 896341 - Update include guards and modelines in MFBT; r=Waldo
|
2013-07-24 09:41:39 +02:00 |
|
Chris Peterson
|
118bd35c02
|
Bug 826144 - Add MOZ_UTF16_HELPER() intermediary macro to handle UTF-16 stringification and concatenation correctly. r=waldo
--HG--
extra : rebase_source : 4c68df10e6e59af34db1e325232d4671492cc72f
|
2013-01-02 14:49:09 -08:00 |
|
Chris Peterson
|
01106299bb
|
Bug 796948 - Create Char16.h header file for char16_t type. r=waldo
|
2012-12-12 00:34:20 -08:00 |
|