Commit Graph

432 Commits

Author SHA1 Message Date
Birunthan Mohanathas
9b6236a10a Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Birunthan Mohanathas
e52329c788 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Masatoshi Kimura
f524fa259a Bug 1176462 - Remove nsTableDecoderSupport. r=smontagu 2015-06-22 23:01:40 +09:00
Daniel Holbert
1eb8362158 Bug 1170794 followup: Add 'override' annotations to Convert() & Reset() methods in intl/uconv. rs=ehsan
Landing on CLOSED TREE with a=RyanVM

The fixed warnings are "-Winconsistent-missing-override", and they started being spammed here because the main patch on this bug added another method to these classes, which was (correctly) labeled as 'override'. This meant these preexisting un-annotated methods "inconsistently missing" the annotation. So, adding the annotation to fix the inconsistency & make clang happy.
2015-06-18 12:09:23 -07:00
Andrea Marchesini
481ece1c80 Bug 1170794 - patch 2 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz 2015-06-17 12:38:29 +01:00
Andrea Marchesini
5acececf92 Bug 1170794 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz 2015-06-17 12:21:39 +01:00
Simon Montagu
31ab5e98c8 Bug 1170932: Test handling of unmapped characters in unicode-to-codepage encoders 2015-06-02 23:53:25 +03:00
Simon Montagu
d81a1eb1da Bug 1170932: Improve error handling for the gbk encoder, r=emk 2015-06-03 00:18:38 +03:00
Simon Montagu
cca1d60319 Bug 1171006: Fix some errors introduced in uconv tests by bug 943268, r=emk 2015-06-07 02:09:23 -07:00
Masatoshi Kimura
911feff44c Bug 1169248 - Fix GBK/GB18030 encoders. r=smontagu 2015-06-03 07:55:24 +09:00
Birunthan Mohanathas
f9c058aaf6 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj 2015-05-18 13:50:34 -07:00
Henri Sivonen
3d93f28b06 Bug 1155539 - Remove obsolete encoding decoder telemetry probes. r=emk. 2015-04-29 18:20:39 +03:00
Andy Pusch
99dc6ddbed Bug 1003731 - Removal of transliteration. r=hsivonen
IGNORE IDL
2015-04-22 00:21:00 -04:00
Mike Hommey
b673a97a25 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
David Major
c92c020b89 Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
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