Граф коммитов

1848 Коммитов

Автор SHA1 Сообщение Дата
Birunthan Mohanathas a8939590de 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 9d935bbe8f Bug 1176462 - Remove nsTableDecoderSupport. r=smontagu 2015-06-22 23:01:40 +09:00
Daniel Holbert b89e046ffc 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 bd5b37dfbf 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 45578e03fa Bug 1170794 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz 2015-06-17 12:21:39 +01:00
Simon Montagu 4372177a26 Bug 1170932: Test handling of unmapped characters in unicode-to-codepage encoders 2015-06-02 23:53:25 +03:00
Simon Montagu 363a0d1e26 Bug 1170932: Improve error handling for the gbk encoder, r=emk 2015-06-03 00:18:38 +03:00
Simon Montagu 4703fc01c5 Bug 1171006: Fix some errors introduced in uconv tests by bug 943268, r=emk 2015-06-07 02:09:23 -07:00
Masatoshi Kimura f0a5679f8a Bug 1169248 - Fix GBK/GB18030 encoders. r=smontagu
--HG--
rename : intl/uconv/tests/unit/test_encode_gbk.js => intl/uconv/tests/unit/test_encode_gb18030.js
rename : intl/uconv/ucvcn/gbkuniq2b.uf => intl/uconv/ucvcn/gbkuniq.uf
2015-06-03 07:55:24 +09:00
Birunthan Mohanathas 1f8d7454e3 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj 2015-05-18 13:50:34 -07:00
Henri Sivonen 29b4070568 Bug 1155539 - Remove obsolete encoding decoder telemetry probes. r=emk. 2015-04-29 18:20:39 +03:00
Andy Pusch e193f90a5f Bug 1003731 - Removal of transliteration. r=hsivonen
IGNORE IDL

--HG--
extra : rebase_source : 823a82df0b5590799b7e3e010c9f0aff8141f091
extra : histedit_source : 7a16332b7c8955a4b097467829b4300a128c59f8
2015-04-22 00:21:00 -04:00
Mike Hommey 924c9eb636 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 ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Mike Hommey b077d9624d 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 c39e359c7d 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 883849ee32 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 242708cf72 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 d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote d34f0301b8 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 a35dbaeebf 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 7e5c201140 Bug 1118418 - Mark virtual overridden functions as MOZ_OVERRIDE in intl; r=smontagu 2015-01-06 23:33:50 -05:00
Christoph Kerschbaumer 9081805245 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 fc7e1b9a5e Bug 1101625 - mingw fixup. 2014-12-20 22:05:49 +01:00
Mats Palmgren b4b9b9906a 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 93a86d1a91 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 da6a98dfa9 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 42a64f6c96 Bug 415491, part 3 - Use NS_EscapeURL of _retval as the result. r=bzbarsky 2014-11-08 02:42:04 +00:00
Mats Palmgren decd558ea2 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 d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Henri Sivonen e42f0e109b Bug 1072187 - Remove HZ-GB-2312. r=emk. 2014-09-26 15:12:02 +03:00
Henri Sivonen 67a076444a 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 962aed5f40 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 d6b3b7959d Backed out changeset ce22b4d51b72 (bug 945215) for assertions in EncodingUtils.cpp; CLOSED TREE 2014-09-26 16:11:29 +01:00
Ed Morley 4a493a3d61 Backed out changeset 6e5adc14dc82 (bug 964225) 2014-09-26 16:10:57 +01:00
Carsten "Tomcat" Book 30edf44348 Backed out changeset d0be07d7cf1b (bug 1072187) for test bustage on a CLOSED TREE 2014-09-26 15:48:14 +02:00
Henri Sivonen eac446fa48 Bug 1072187 - Remove HZ-GB-2312. r=emk. 2014-09-26 15:12:02 +03:00
Henri Sivonen c02f4630b6 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 c57d908ac2 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 42d80f53d3 Backed out changeset 75c44bd10b14 (bug 945215) for web-platform-2 test failures 2014-09-24 12:43:01 +02:00
Henri Sivonen 43cea4cd41 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 626457013f 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 072cc3fe96 Bug 1069954 - Remove us-ascii as a Gecko-canonical encoding name. r=emk. 2014-09-22 16:15:34 +03:00
Henri Sivonen 091a24d06f 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 ba499d8a7f Bug 1068566 - Remove ISO-IR-111. r=emk. 2014-09-18 14:58:11 +03:00
Henri Sivonen 0b12c3178f 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 dec848829a Bug 1067911 - Remove ARMSCII8. r=emk. 2014-09-17 10:11:56 +03:00
Henri Sivonen df270c8f00 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 049250e724 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 0060683747 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