Commit Graph

3832 Commits

Author SHA1 Message Date
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
sajitk
9aabf6aa5a Bug 1203477 - Moved Mozilla specific files to glue directory, and third party files to hyphen directory. Adjusted moz.build files. r=glandium
--HG--
rename : intl/hyphenation/hnjalloc.h => intl/hyphenation/glue/hnjalloc.h
rename : intl/hyphenation/hnjstdio.cpp => intl/hyphenation/glue/hnjstdio.cpp
rename : intl/hyphenation/moz.build => intl/hyphenation/glue/moz.build
rename : intl/hyphenation/nsHyphenationManager.cpp => intl/hyphenation/glue/nsHyphenationManager.cpp
rename : intl/hyphenation/nsHyphenationManager.h => intl/hyphenation/glue/nsHyphenationManager.h
rename : intl/hyphenation/nsHyphenator.cpp => intl/hyphenation/glue/nsHyphenator.cpp
rename : intl/hyphenation/nsHyphenator.h => intl/hyphenation/glue/nsHyphenator.h
rename : intl/hyphenation/COPYING => intl/hyphenation/hyphen/COPYING
rename : intl/hyphenation/COPYING.LGPL => intl/hyphenation/hyphen/COPYING.LGPL
rename : intl/hyphenation/COPYING.MPL => intl/hyphenation/hyphen/COPYING.MPL
rename : intl/hyphenation/README => intl/hyphenation/hyphen/README
rename : intl/hyphenation/README.compound => intl/hyphenation/hyphen/README.compound
rename : intl/hyphenation/README.hyphen => intl/hyphenation/hyphen/README.hyphen
rename : intl/hyphenation/README.nonstandard => intl/hyphenation/hyphen/README.nonstandard
rename : intl/hyphenation/hyphen.c => intl/hyphenation/hyphen/hyphen.c
rename : intl/hyphenation/hyphen.h => intl/hyphenation/hyphen/hyphen.h
rename : intl/hyphenation/moz.build => intl/hyphenation/hyphen/moz.build
2015-09-16 21:01:00 +02:00
Christoph Kerschbaumer
5b7c3ec0ea Bug 1205153 - Use channel->Open2() in intl/strres/nsStringBundleTextOverride.cpp (r=sicking) 2015-09-15 19:49:55 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Henri Sivonen
f66e97def8 Bug 912470 addendum - Pass override static analysis. r=emk. 2015-09-11 09:35:52 +03:00
Henri Sivonen
b00ce35888 Bug 912470 part 2 - Implement Encoding Standard-compliant big5 encoder. r=emk.
--HG--
rename : intl/uconv/ucvtw/nsBIG5DecoderData.h => intl/uconv/ucvtw/nsBIG5Data.cpp
rename : testing/web-platform/tests/encoding/gbk-encoder.html => testing/web-platform/tests/encoding/big5-encoder.html
2015-09-03 15:21:57 +03:00
Henri Sivonen
a5644ff815 Bug 912470 part 1 - Implement Encoding Standard-compliant big5 decoder. r=emk. 2015-06-16 15:26:10 +03:00
Phil Ringnalda
354efcb7fe Back out 2 changesets (bug 912470) for static analysis bustage
CLOSED TREE

Backed out changeset 8ecf2f65d4f0 (bug 912470)
Backed out changeset 19af08a9c288 (bug 912470)
2015-09-10 09:37:51 -07:00
Henri Sivonen
bb0b66e366 Bug 912470 part 2 - Implement Encoding Standard-compliant big5 encoder. r=emk.
--HG--
rename : intl/uconv/ucvtw/nsBIG5DecoderData.h => intl/uconv/ucvtw/nsBIG5Data.cpp
rename : testing/web-platform/tests/encoding/gbk-encoder.html => testing/web-platform/tests/encoding/big5-encoder.html
2015-09-03 15:21:57 +03:00
Henri Sivonen
93e9ac505d Bug 912470 part 1 - Implement Encoding Standard-compliant big5 decoder. r=emk. 2015-06-16 15:26:10 +03:00
Nicholas Nethercote
98d9b76132 Bug 1203412 - Fix a warning in intl/unicharutil/. r=emk.
This change is for the following warning-as-error that shows up on "B2G L
Emulator" builds: "error: call to 'sprintf' declared with attribute warning:
sprintf is often misused; please use snprintf".

The patch also removes two ALLOW_COMPILER_WARNINGS=True flags, which are no
longer necessary.

--HG--
extra : rebase_source : 7fcbb06ca94b93bab4b75f6701b7f8a4838f1767
2015-09-10 08:01:24 -07:00
Makoto Kato
0763e5826f Bug 1170072 - Part 2. Use ICU instead of GetCharProps1 and its supporting data if ICU is turned on. r=jfkthame 2015-09-07 11:56:13 +09:00
Makoto Kato
544d70a000 Bug 1170072 - Part 1. Make GetCharProps1 as static function. r=jfkthame 2015-09-07 11:54:46 +09:00
Jonathan Kew
e681e88f6d Bug 1201533 - Remove the GetEastAsianWidth API and its supporting character-property data. r=smontagu 2015-09-06 19:39:49 +01:00
Ted Clancy
52fd2b978f Bug 1198216 - Check for presence of ICU::Timezone::recreateDefault() before using. r=jwalden 2015-08-27 07:57:19 -07:00
Christoph Kerschbaumer
97fde78f8f Bug 1197925 - Use channel->Open2() in intl/hyphenation/hnjstdio.cpp (r=sicking) 2015-09-02 11:37:57 -07:00
Christoph Kerschbaumer
20fdbb959b Bug 1197923 - Use channel->Open2() in intl/strres/nsStringBundle.cpp (r=sicking) 2015-09-02 11:37:16 -07:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Ted Clancy
b01b7d489a Bug 1172609 - Part 9: Add threadsafe recreateDefault() method to ICU::Timezone. r=waldo 2015-08-05 19:07:34 -07:00
Ted Clancy
a332a1cb18 Bug 1172609 - Part 8: Fix the tz detection code. r=waldo 2015-08-05 19:05:04 -07:00
Birunthan Mohanathas
7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Makoto Kato
a0118a68d2 Bug 1175413 - Cleanup usages of MOZ_ICU_CFLAGS. r=mshal 2015-07-23 09:53:48 +09:00
Simon Montagu
04f33e7cf4 Bug 1183209 patch 3: update generated data files to Unicode 8, and adapt internal XIDMOD types to the new types in Unicode's xidmodifications.txt, r=jfkthame 2015-07-15 05:55:24 -07:00
Simon Montagu
824a27884c Bug 1183209 patch 2: update data generation tools to Unicode 8, r=jfkthame 2015-07-15 05:55:09 -07:00
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
Makoto Kato
97bd348e1c Bug 1179106 - Remove units data from ICU. r=Waldo 2015-07-08 18:49:58 +09:00
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Jeff Walden
9e451714f3 Bug 1075758 - Update String.prototype.normalize tests for normalization changes in ICU 55. r=arai
--HG--
extra : rebase_source : e853a46ec010b268419113577eb2814208e221eb
2015-06-16 23:53:04 -07:00
Jeff Walden
893125d2f1 Bug 1075758 - Use a larger buffer in pkgdata, corresponding to Mozilla's inordinately-long compiler command. r=m_kato
--HG--
extra : rebase_source : 8b394e0adb87164f1c45f9bf6cb7f7c911c3b32b
2015-06-14 22:47:37 -07:00
Jeff Walden
73ca79d7ee Bug 1075758 - Remove the applied-upstream patch to pass the right argument type to InterlockedCompareExchange in ICU. r=glandium
--HG--
extra : rebase_source : fa4cc22b6e07639d6986dba4a0f78af11b718d95
2015-06-12 14:25:23 -07:00
Jeff Walden
ed8d339c69 Bug 1075758 - Update the local patch to suppress various clang warnings in ICU. r=glandium
--HG--
extra : rebase_source : c7a757bf5ac07710e865cc71e3d714395ce0c14b
2015-06-12 14:25:23 -07:00
Jeff Walden
164296655c Bug 1075758 - Remove a patch properly qualifying a type in umutex.h (already landed upstream). r=glandium
--HG--
extra : rebase_source : 31f3e55260154ac7303965810f78f2a3e2d2dec1
2015-06-12 14:25:23 -07:00
Jeff Walden
17f4ad9eae Bug 1075758 - Remove omitCollationRules patch, already performed upstream. r=glandium
--HG--
extra : rebase_source : b4e3b93b34cd2eedb3a589a3fe3737d5ff7b3c6b
2015-06-12 14:25:23 -07:00
Jeff Walden
c768d07426 Bug 1075758 - Apply the local patch for bug 915735 (it works without needing any updating). r=glandium
--HG--
extra : rebase_source : 353a70986aafc7a91103f82a9c1ede26a392bd4c
2015-06-12 14:25:23 -07:00
Jeff Walden
a9e538a45c Bug 1075758 - Remove local patch to not override CC/CXX when building with *BSD -- patch landed upstream. r=glandium
--HG--
extra : rebase_source : b60f540d01c5e77b61bde1d19d057d64b0faa022
2015-06-12 14:25:23 -07:00
Jeff Walden
00a55420cd Bug 1075758 - Remove local patch to make ICU build with MSYS/MSVC -- upstream has since acquired such support. r=glandium
--HG--
extra : rebase_source : c199be7e50a9c766abed0407a5c4dc423ed2d1f9
2015-06-12 14:25:23 -07:00
Jeff Walden
05ded8e0e9 Bug 1075758 - Update intl/icu/SVN-INFO for the update to 55.1. r=glandium
--HG--
extra : rebase_source : c4fd3fa05c45f9f4d55d7333d37a8e92d62bb8fc
2015-06-12 14:25:23 -07:00
Jeff Walden
6fde7ae314 Bug 1075758 - Remove layout, samples, tests, and various unused data files from ICU. r=glandium
--HG--
extra : rebase_source : 7058586470d197fc7fbdbd06314b7ac7ef76fb79
2015-06-12 14:25:23 -07:00
Jeff Walden
e7aaf06e9c Bug 1075758 - Import a clean copy of ICU source, without doing any post-import fixups/local-patching at all on it. r=glandium
--HG--
extra : rebase_source : 77a3a9e0f0b983a94193eb2cc687f76551b11415
2015-06-12 14:25:17 -07:00
Jeff Walden
5ff37c47c1 Bug 1075758 - Adjust SVN URL in update-icu.sh to 55.1, add an early-exit so script is runnable without applying possibly-bad patches. r=glandium
--HG--
extra : rebase_source : 7ee2bc052bdacb301afa67162e46738642666c82
2015-06-12 14:24:59 -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
Kartikaya Gupta
9ccb6bc5e1 Bug 1169433 - Remove UnicharSelfTest and turn NormalizationTest into a gtest. r=glandium,smontagu 2015-06-04 13:44:55 -04: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
Mike Hommey
ea7750bcb1 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00