Commit Graph

417 Commits

Author SHA1 Message Date
Mike Hommey
ccd2a9b975 Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Mike Hommey
4da5ed0b71 Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Ehsan Akhgari
33bb32f549 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
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
3629781b69 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Mike Hommey
824818ee98 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Ehsan Akhgari
bd3104fce5 Bug 1118418 - Mark virtual overridden functions as MOZ_OVERRIDE in intl; r=smontagu 2015-01-06 23:33:50 -05:00
Christoph Kerschbaumer
8f448964de Bug 1087733: Make JS callers of ios.newChannel call ios.newChannel2 in intl/ (r=smontagu) 2014-10-24 14:55:14 -07:00
Jacek Caban
5cf5096c26 Bug 1101625 - mingw fixup. 2014-12-20 22:05:49 +01:00
Mats Palmgren
662ecd2296 Bug 1101625 part 2 - Remove the aIRI param since it's always true. And some minor code cleanup. r=smontagu 2014-12-01 15:55:15 +00:00
Mats Palmgren
33e5d69d37 Bug 1101625 part 1 - Don't escape all non-ASCII characters when unsafe characters are found, just escape the unsafe characters. r=smontagu 2014-12-01 15:55:15 +00:00
Mats Palmgren
814bf7a9fb Bug 415491, part 4 - Make UnEscapeURIForUI always escape the result if it contains blacklisted characters. r=bzbarsky 2014-11-08 02:42:05 +00:00
Mats Palmgren
030c05be51 Bug 415491, part 3 - Use NS_EscapeURL of _retval as the result. r=bzbarsky 2014-11-08 02:42:04 +00:00
Mats Palmgren
13820c950e Bug 415491, part 1 - Make UnEscapeURIForUI escape the URI if it contains any 'network.IDN.blacklist_chars' characters (except space). r=bzbarsky 2014-11-08 02:42:04 +00:00
Andrew Halberstadt
2da4ee197d Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Henri Sivonen
ed991e6875 Bug 1072187 - Remove HZ-GB-2312. r=emk. 2014-09-26 15:12:02 +03:00
Henri Sivonen
a13d72512b Bug 964225 - Remove the GBK decoder class and remove GB2312 as a Gecko-canonical encoding. r=emk. 2014-09-26 15:12:02 +03:00
Henri Sivonen
056cd17cdd Bug 945215 - Map HZ-GB-2312 to the replacement encoding. r=emk.
--HG--
rename : dom/encoding/test/reftest/bug863728-1-ref.html => dom/encoding/test/reftest/bug945215-1-ref.html
rename : dom/encoding/test/reftest/bug863728-1.html => dom/encoding/test/reftest/bug945215-1.html
rename : dom/encoding/test/reftest/bug863728-2-ref.html => dom/encoding/test/reftest/bug945215-2-ref.html
rename : dom/encoding/test/reftest/bug863728-2.html => dom/encoding/test/reftest/bug945215-2.html
2014-09-24 12:23:28 +03:00
Ed Morley
f356916d9d Backed out changeset ce22b4d51b72 (bug 945215) for assertions in EncodingUtils.cpp; CLOSED TREE 2014-09-26 16:11:29 +01:00
Ed Morley
2a3fe45e62 Backed out changeset 6e5adc14dc82 (bug 964225) 2014-09-26 16:10:57 +01:00
Carsten "Tomcat" Book
b9e605f086 Backed out changeset d0be07d7cf1b (bug 1072187) for test bustage on a CLOSED TREE 2014-09-26 15:48:14 +02:00
Henri Sivonen
0c8133c979 Bug 1072187 - Remove HZ-GB-2312. r=emk. 2014-09-26 15:12:02 +03:00
Henri Sivonen
fda2c93f3a Bug 964225 - Remove the GBK decoder class and remove GB2312 as a Gecko-canonical encoding. r=emk. 2014-09-26 15:12:02 +03:00
Henri Sivonen
0e50d55abc Bug 945215 - Map HZ-GB-2312 to the replacement encoding. r=emk.
--HG--
rename : dom/encoding/test/reftest/bug863728-1-ref.html => dom/encoding/test/reftest/bug945215-1-ref.html
rename : dom/encoding/test/reftest/bug863728-1.html => dom/encoding/test/reftest/bug945215-1.html
rename : dom/encoding/test/reftest/bug863728-2-ref.html => dom/encoding/test/reftest/bug945215-2-ref.html
rename : dom/encoding/test/reftest/bug863728-2.html => dom/encoding/test/reftest/bug945215-2.html
2014-09-24 12:23:28 +03:00
Carsten "Tomcat" Book
580bc7a9ab Backed out changeset 75c44bd10b14 (bug 945215) for web-platform-2 test failures 2014-09-24 12:43:01 +02:00
Henri Sivonen
9876f786a2 Bug 945215 - Map HZ-GB-2312 to the replacement encoding. r=emk.
--HG--
rename : dom/encoding/test/reftest/bug863728-1-ref.html => dom/encoding/test/reftest/bug945215-1-ref.html
rename : dom/encoding/test/reftest/bug863728-1.html => dom/encoding/test/reftest/bug945215-1.html
rename : dom/encoding/test/reftest/bug863728-2-ref.html => dom/encoding/test/reftest/bug945215-2-ref.html
rename : dom/encoding/test/reftest/bug863728-2.html => dom/encoding/test/reftest/bug945215-2.html
2014-09-24 12:23:28 +03:00
Henri Sivonen
d40c89f77e Bug 1070992 - Remove classes for ISO-8859-1 decoder as well as ISO-8859-9, ISO-8859-11 and TIS-620, which are mapped to the corresponding windows-125* encodings in the Encoding Standard. r=emk. 2014-09-23 11:09:54 +03:00
Henri Sivonen
80c69719d3 Bug 1069954 - Remove us-ascii as a Gecko-canonical encoding name. r=emk. 2014-09-22 16:15:34 +03:00
Henri Sivonen
d730627bfb Bug 1068568 - Remove classes for the -I and -E variants of ISO-8859-6 and -E variant of ISO-8859-8. r=emk. 2014-09-18 14:58:11 +03:00
Henri Sivonen
ae77416acd Bug 1068566 - Remove ISO-IR-111. r=emk. 2014-09-18 14:58:11 +03:00
Henri Sivonen
b41edb37b2 Bug 1068514 - Remove abandoned gfx-only Japanese and Traditional Chinese encodings and the remains of IBM943 (OS/2 Shift_JIS variant). r=emk. 2014-09-18 14:58:11 +03:00
Henri Sivonen
3aa7ac9b4f Bug 1067911 - Remove ARMSCII8. r=emk. 2014-09-17 10:11:56 +03:00
Henri Sivonen
1b35a852d9 Bug 997133 - Remove encoders for Mac encodings that are not in the Encoding Standard. r=emk. 2014-09-17 10:11:56 +03:00
Henri Sivonen
56e68b0e38 Bug 997124 - Remove DOS encodings that are not in Encoding Standard from Gecko. r=emk. 2014-09-16 10:40:01 +03:00
Mike Hommey
6258dd8523 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
fc99c53ae5 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Simon Montagu
a6d74d5db4 Bug 1058021 patch 4: regenerated encoding mapfiles. r=jfkthame 2014-09-02 17:05:58 +03:00
Simon Montagu
4a74fb87f1 Bug 1058021 patch 3: change the mapfile generator to pass thru undefined codepoints from 0x80-0x9F and update the comments. r=jfkthame 2014-09-02 17:05:58 +03:00
Simon Montagu
0817f5efc9 Bug 1058021 patch 2: add more helpful output for encoding test failures. r=jfkthame 2014-09-02 17:05:58 +03:00
Simon Montagu
dc91a09eec Bug 1058021 patch 1: bring encoding/decoding tests in line with w3c tests and the Encoding Standard. r=annevk 2014-09-02 17:05:58 +03:00
Ehsan Akhgari
7dcacfce9d Bug 1053605 - Fix the bad implicit constructors in intl/; r=smontagu 2014-08-18 09:53:43 -04:00
Ehsan Akhgari
797789fd19 Bug 1053611 - Remove some unnecessary moz.build files under intl/uconv; r=gps 2014-08-14 17:38:16 -04:00
Andrew McCreight
2e8d11738d Bug 1034916 - Remove dangerous public destructor of nsUTF8ConverterService. r=ehsan 2014-07-31 10:06:00 -07:00
Ryan VanderMeulen
82f235007f Backed out changeset a1fb4230b8b8 (bug 1034916) for non-unified bustage.
CLOSED TREE
2014-07-30 16:56:53 -04:00
Andrew McCreight
398f5da742 Bug 1034916 - Remove dangerous public destructor of nsUTF8ConverterService. r=ehsan 2014-07-30 13:00:28 -07:00
Mike Hommey
1e79fe55c2 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Birunthan Mohanathas
faa4e6fd17 Bug 1038537 - Part 8: Flatten intl/uconv/{idl,public}/ directories. r=smontagu
--HG--
rename : intl/uconv/public/nsEncoderDecoderUtils.h => intl/uconv/nsEncoderDecoderUtils.h
rename : intl/uconv/idl/nsICurrentCharsetListener.idl => intl/uconv/nsICurrentCharsetListener.idl
rename : intl/uconv/idl/nsIScriptableUConv.idl => intl/uconv/nsIScriptableUConv.idl
rename : intl/uconv/idl/nsITextToSubURI.idl => intl/uconv/nsITextToSubURI.idl
rename : intl/uconv/idl/nsIUTF8ConverterService.idl => intl/uconv/nsIUTF8ConverterService.idl
rename : intl/uconv/public/nsIUnicodeDecoder.h => intl/uconv/nsIUnicodeDecoder.h
rename : intl/uconv/public/nsIUnicodeEncoder.h => intl/uconv/nsIUnicodeEncoder.h
rename : intl/uconv/public/nsUCSupport.h => intl/uconv/nsUCSupport.h
rename : intl/uconv/public/nsUConvCID.h => intl/uconv/nsUConvCID.h
rename : intl/uconv/public/uconvutil.h => intl/uconv/uconvutil.h
2014-07-24 10:56:39 -07:00
Birunthan Mohanathas
c5d7b3eeac Bug 1038537 - Part 7: Flatten intl/uconv/src/ directory. r=smontagu
--HG--
rename : intl/uconv/src/8859-1.uf => intl/uconv/8859-1.uf
rename : intl/uconv/src/8859-1.ut => intl/uconv/8859-1.ut
rename : intl/uconv/src/cp1252.uf => intl/uconv/cp1252.uf
rename : intl/uconv/src/cp1252.ut => intl/uconv/cp1252.ut
rename : intl/uconv/src/macroman.uf => intl/uconv/macroman.uf
rename : intl/uconv/src/macroman.ut => intl/uconv/macroman.ut
rename : intl/uconv/src/nsCP1252ToUnicode.cpp => intl/uconv/nsCP1252ToUnicode.cpp
rename : intl/uconv/src/nsCP1252ToUnicode.h => intl/uconv/nsCP1252ToUnicode.h
rename : intl/uconv/src/nsConverterInputStream.cpp => intl/uconv/nsConverterInputStream.cpp
rename : intl/uconv/src/nsConverterInputStream.h => intl/uconv/nsConverterInputStream.h
rename : intl/uconv/src/nsConverterOutputStream.cpp => intl/uconv/nsConverterOutputStream.cpp
rename : intl/uconv/src/nsConverterOutputStream.h => intl/uconv/nsConverterOutputStream.h
rename : intl/uconv/src/nsISO88591ToUnicode.cpp => intl/uconv/nsISO88591ToUnicode.cpp
rename : intl/uconv/src/nsISO88591ToUnicode.h => intl/uconv/nsISO88591ToUnicode.h
rename : intl/uconv/src/nsMacRomanToUnicode.cpp => intl/uconv/nsMacRomanToUnicode.cpp
rename : intl/uconv/src/nsMacRomanToUnicode.h => intl/uconv/nsMacRomanToUnicode.h
rename : intl/uconv/src/nsReplacementToUnicode.cpp => intl/uconv/nsReplacementToUnicode.cpp
rename : intl/uconv/src/nsReplacementToUnicode.h => intl/uconv/nsReplacementToUnicode.h
rename : intl/uconv/src/nsScriptableUConv.cpp => intl/uconv/nsScriptableUConv.cpp
rename : intl/uconv/src/nsScriptableUConv.h => intl/uconv/nsScriptableUConv.h
rename : intl/uconv/src/nsTextToSubURI.cpp => intl/uconv/nsTextToSubURI.cpp
rename : intl/uconv/src/nsTextToSubURI.h => intl/uconv/nsTextToSubURI.h
rename : intl/uconv/src/nsUConvModule.cpp => intl/uconv/nsUConvModule.cpp
rename : intl/uconv/src/nsUTF8ConverterService.cpp => intl/uconv/nsUTF8ConverterService.cpp
rename : intl/uconv/src/nsUTF8ConverterService.h => intl/uconv/nsUTF8ConverterService.h
rename : intl/uconv/src/nsUTF8ToUnicode.cpp => intl/uconv/nsUTF8ToUnicode.cpp
rename : intl/uconv/src/nsUTF8ToUnicode.h => intl/uconv/nsUTF8ToUnicode.h
rename : intl/uconv/src/nsUTF8ToUnicodeSSE2.cpp => intl/uconv/nsUTF8ToUnicodeSSE2.cpp
rename : intl/uconv/src/nsUnicodeToCP1252.cpp => intl/uconv/nsUnicodeToCP1252.cpp
rename : intl/uconv/src/nsUnicodeToCP1252.h => intl/uconv/nsUnicodeToCP1252.h
rename : intl/uconv/src/nsUnicodeToISO88591.cpp => intl/uconv/nsUnicodeToISO88591.cpp
rename : intl/uconv/src/nsUnicodeToISO88591.h => intl/uconv/nsUnicodeToISO88591.h
rename : intl/uconv/src/nsUnicodeToMacRoman.cpp => intl/uconv/nsUnicodeToMacRoman.cpp
rename : intl/uconv/src/nsUnicodeToMacRoman.h => intl/uconv/nsUnicodeToMacRoman.h
rename : intl/uconv/src/nsUnicodeToUTF8.cpp => intl/uconv/nsUnicodeToUTF8.cpp
rename : intl/uconv/src/nsUnicodeToUTF8.h => intl/uconv/nsUnicodeToUTF8.h
2014-07-24 10:56:39 -07:00
Benoit Jacob
ae1c2f2b45 Bug 1028588 - Fix dangerous public destructors in intl/ - r=ehsan 2014-06-23 18:40:02 -04:00