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

3842 Коммитов

Автор SHA1 Сообщение Дата
Birunthan Mohanathas 44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Henri Sivonen 5e143ef9ca Bug 1202366 - Implement the encoder error mode "HTML" for nsFormSubmission without nsISaveAsCharset. r=NOT_emk.
--HG--
rename : intl/uconv/tests/test_big5_encoder.html => intl/uconv/tests/test_ncr_fallback.html
2015-10-22 11:12:42 +03:00
Jonathan Almeida [:jonalmeida] 42e1dd6a60 Bug 1175555 - Build flag to exclude hyphenation dictionaries from Android builds. r=nalexander
--HG--
extra : transplant_source : %D5%D7J9NH%9D%26%3E%96P%96%B2%BF%F9y%7B%2C%D0%CB
2015-09-23 22:28:59 -04:00
Nicholas Nethercote 5b34a25af2 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Aniket Vyas 9f9f485704 Bug 1197309 - remove PR_snprintf calls in intl/; r=froydnj 2015-10-15 21:43:53 -04:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Simon Montagu 5e7980e26f Bug 1201468: Map UErrorCode to nsresult, r=jfkthame 2015-10-06 02:59:00 -07:00
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