Commit Graph

3400 Commits

Author SHA1 Message Date
Masatoshi Kimura
951e211345 Bug 799910 - Fix ASCII range of EUC-KR and Big5 converters. r=smontagu 2012-10-16 21:34:03 -04:00
Ehsan Akhgari
ee902c51f9 Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP 2012-10-15 14:19:55 -04:00
Jacek Szpot
06b915eb2e Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02:00
Trevor Saunders
000b6e89a1 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Masatoshi Kimura
69a07017d6 Bug 797385 - Part 3: Remove ibm864i converter. r=smontagu 2012-10-10 06:32:37 -04:00
Masatoshi Kimura
f76b5ca746 Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu 2012-10-10 06:32:37 -04:00
Masatoshi Kimura
59629fa35f Bug 797385 - Part 1: Rename isXSSVlunerable flag to isInternal and add the flag to ibm864. r=smontagu 2012-10-10 06:32:36 -04:00
Jonathan Kew
7c0fdbb417 bug 795025 part 2 - update transliteration properties for Unicode 6.2. r=smontagu 2012-10-09 10:25:08 +01:00
Jonathan Kew
6d1b694a13 bug 795025 part 1 - update Unicode character property data to Unicode 6.2. r=smontagu 2012-10-09 10:24:53 +01:00
Jonathan Kew
df2e4abe32 bug 795025 part 0 - update the genUnicodePropertyData tool for rearranged harfbuzz headers. r=smontagu 2012-10-09 10:24:33 +01:00
Gordon P. Hemsley
f391946e84 Bug 792575 - Change Hawaiian [haw] langGroup to 'x-western'. r=jfkthame 2012-09-20 18:10:09 -04:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Ryan VanderMeulen
62ced97631 Bug 791384 - Update Hyphen to version 2.8.6. r=jfkthame 2012-09-27 23:06:01 -04:00
Koosha Khajeh Moogahi
dcf81f4fb0 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Gordon P. Hemsley
2e6a4102b9 Bug 791027 - Change Upper Sorbian [hsb] langGroup to x-central-euro. r=smontagu 2012-09-13 14:07:44 -04:00
Gordon P. Hemsley
0e41d7982d Bug 586085 - Add support for Kashubian [csb], Hawaiian [haw], and Hiligaynon [hil]. r=smontagu 2012-09-13 13:44:02 -04:00
Gordon P. Hemsley
6d2faee614 Bug 535422 - Add support for Lower Sorbian [dsb]. r=smontagu 2012-09-13 13:22:30 -04:00
Gordon P. Hemsley
1754aab4c1 Bug 788178 - Remove extraneous trailing whitespace from language.properties and langGroups.properties. r=smontagu 2012-09-13 13:11:57 -04:00
Andrew Quartey
6195e92355 Bug 790354 - Remove unused variable 'ch' in nsBasicUTF7Decoder::ConvertNoBuff r=smontagu 2012-09-12 12:43:18 -04:00
Andrew Quartey
1a6d9aa263 Bug 786687 - Add null check for passed parameter to NS_strlen r=dougt 2012-09-04 11:12:33 -04:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Jan Beich
7b926cd5ad Bug 784776 - Provide a pointer as an argument to time(). r=smontagu 2012-08-26 08:57:40 -04:00
Makoto Kato
5adcbb8fb9 Bug 783206 - replace NULL with nullptr in intl except to OS API usages. r=smontagu 2012-08-24 16:49:00 +09:00
Ehsan Akhgari
845651448b Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
f22f8b7a49 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
87cadc49af Bug 782916 - Do not compare nsresult to noErr; r=smontagu 2012-08-16 14:58:12 +03:00
Ed Morley
26dd8a729c Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures 2012-08-17 12:25:12 +01:00
Aryeh Gregor
9adf2f74fb Bug 782916 - Do not compare nsresult to noErr; r=smontagu 2012-08-16 14:58:12 +03:00
Aryeh Gregor
cafad5fcb5 Bug 782252 - Cast some nsresult to PRUint32; r=ehsan 2012-08-09 11:36:40 +03:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Ms2ger
75ab7efb95 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
bc48b79dc9 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more intl parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 92f6b1dd5d0e67e05a7338991e648a09149275ec
2012-07-26 15:17:40 -04:00
Julian Reschke
cd2692eeff Bug 776399 - Fix IDL compat problem introduced by changes for bug 663057. r=bz 2012-07-24 21:37:32 -04:00
Ehsan Akhgari
73ec324196 Bug 772519 - Remove the unused variable res in nsPlatformCharset::Init; r=smontagu 2012-07-10 16:27:27 -04:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Jonathan Watt
970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Jonathan Kew
ced6b24af7 bug 763982 - update and optimize Arabic char processing in TransformText. r=smontagu 2012-06-20 20:58:19 +01:00
Jonathan Kew
69145c8e73 bug 763703 - optimize Unicode property lookup and gfxScriptItemizer::Next. r=smontagu 2012-06-20 20:58:18 +01:00
Masayuki Nakano
6651c36d9d Bug 765166 lines should be able to be broken before/after Ideographic space next to breakable white space r=roc 2012-06-16 23:48:57 +09:00
Masatoshi Kimura
84b5bd6f23 Bug 763617 - Don't propagate an error code from GetCharsetAlias. r=smontagu 2012-06-14 18:45:46 -04:00
Ehsan Akhgari
8f6a1d197c Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (intl/ parts); r=smontagu 2012-06-05 22:14:46 -04:00
Ehsan Akhgari
df3797a6e7 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
Michel Nedelec
2a8421a32a Bug 747911 - Add plural rule for Breton (br). r=Pike,smontagu 2012-06-09 14:22:41 -04:00
Shriram Kunchanapalli
5b9a95ea6a Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Makoto Kato
4047fae07a Bug 754176 - Make TestLineBreak unit test. r=smontagu 2012-05-28 23:46:22 +09:00
Makoto Kato
6a80d4cc65 Bug 759001 - B2G/gonk should use nsAndroidCharset instead of nsUNIXCharset. r=mwu 2012-05-28 11:32:34 +09:00
Makoto Kato
b57ae8645e Bug 752406 - Remove locale.OSTYPE in unixcharset.properties. r=smontagu 2012-05-25 18:36:19 +09:00
Masatoshi Kimura
9cee24d959 Bug 710693 - Move internal encoding check into nsCharsetAlias. r=smontagu 2012-05-24 18:45:10 -04:00
Irving Reid
be410b2b2d Bug 757946: don't write to underlying output stream if flush() has 0 bytes remaining. r=smontagu 2012-05-24 10:46:48 -07:00
Jim Mathies
025f49633e Bug 732124 - Fix for crt link errors with VC11 - build glue using both the static and the dynamic runtime lib, and link accordingly for various components. r=ted 2012-05-21 16:31:03 -05:00
julian.reschke@gmx.de
dc686f0a90 Bug 663057 - support RFC2231/5987 encoding for title parameter in HTTP link header fields. r=hsivonen 2012-05-21 06:31:00 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu
1c6e5c4f2a Tests for bug 715319 2012-05-20 02:09:14 -07:00
Simon Montagu
470430e7c7 Tests for bug 718573 2012-02-07 13:09:15 +02:00
Makoto Kato
388efdff7d Bug 249159 - Part 1 Add word-break interface to nsILineBreaker. r=smontagu 2012-05-07 12:18:23 -07:00
Mike Hommey
0ae0853a60 Bug 743241 - Remove OSARCH and OSTYPE defines from config.mk. r=ted 2012-04-25 09:01:10 +02:00
Patrick Wong
4ccd1d2fbb Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Jonathan Kew
7cba3e9c76 bug 744357 - implement mappings from Unicode's SpecialCasing.txt for text-transform. r=smontagu 2012-04-24 18:53:39 +01:00
Simon Montagu
9235b950bd bug 738101 - Use the new mozilla::unicode::GetIdentifierModification instead of the old ccmap in IsDefaultIgnorable. This is the last client for precompiled ccmaps, so remove the infrastructure for them at the same time. r=jfkthame 2012-04-18 21:54:54 -07:00
Simon Montagu
aa166b4d78 bug 738101 - Use the new mozilla::unicode::GetBidiCat instead of the old GetBidiCat. r=jfkthame 2012-04-18 21:54:54 -07:00
Jonathan Kew
c73b93163a bug 738101 - add support for more Unicode properties. r=smontagu 2012-04-23 07:20:11 -07:00
Jonathan Kew
a62d4c83ae bug 747834 - fix genUnicodePropertyData tool following harfbuzz header changes. r=smontagu 2012-04-24 18:52:09 +01:00
Jonathan Kew
14d5a8ace4 bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle 2012-04-21 22:24:39 +01:00
Jonathan Kew
b16d28f2aa bug 736227 - fix surrogate handling in case-insensitive string compare. r=smontagu 2012-04-05 13:39:13 +01:00
Ryan VanderMeulen
503ea93a8c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Simon Montagu
fe6303d492 Set all languages to true in language.properties. Bug 730625, r=jfkthame 2012-03-27 09:32:32 -07:00
Makoto Kato
bdc3f9b1df Bug 738581 - fix various warning on mozilla/intl. r=smontagu 2012-03-26 11:27:52 +09:00
Simon Montagu
a5d846e265 Various fixes to multi-byte Unicode decoders. Bug 715319, r=emk 2012-03-16 13:41:41 -07:00
Jonathan Kew
1bd194a3d5 bug 210501 - implement case-folding support (ToUpper/Lower/Titlecase) for non-BMP characters (Unicode plane 1 and above). r=smontagu
--HG--
rename : intl/unicharutil/src/nsUnicodeProperties.cpp => intl/unicharutil/util/nsUnicodeProperties.cpp
rename : intl/unicharutil/public/nsUnicodeProperties.h => intl/unicharutil/util/nsUnicodeProperties.h
rename : intl/unicharutil/src/nsUnicodePropertyData.cpp => intl/unicharutil/util/nsUnicodePropertyData.cpp
rename : intl/unicharutil/public/nsUnicodeScriptCodes.h => intl/unicharutil/util/nsUnicodeScriptCodes.h
2012-03-14 06:45:00 +00:00
Justin Lebar
1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Masatoshi Kimura
9dfa031845 Bug 734090 - Fix GB18030 4-bytes mappings. r=smontagu 2012-03-09 20:52:14 -05:00
Ed Morley
3c657080b5 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Makoto Kato
b6e9c4d7bb Bug 590390 - deCOM nsICharsetAlias. r=smontagu
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Justin Lebar
7e343a6c1d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
e2b30b7a56 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
9cf4ac042d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Jonathan Kew
0e562c610f bug 732330 - add assertion in ClusterIterator::Next to check for sane/safe result. r=jdaggett 2012-03-04 08:58:54 +00:00
Jonathan Kew
b3a668d40e bug 732443 - handle surrogate pairs correctly in ClusterIterator. r=emk 2012-03-03 09:16:45 +00:00
Justin Lebar
69fb6f1047 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Jonathan Kew
adfa2f07b4 bug 721821 - make nsBidiPresUtils::WriteReverse aware of clusters, so that diacritics in RTL text display correctly in SVG text. r=smontagu 2012-02-28 21:24:04 +00:00
Jonathan Kew
4a150c91d1 bug 729866 - remove unused and unimplemented nsIUGenDetailCategory interface. r=smontagu 2012-02-24 10:15:46 +00:00
Jonathan Kew
27d7fed0f6 bug 724826 pt 3 - replace users of nsIUGenCategory service within libxul with direct access to mozilla::unicode::GetGenCategory. r=smontagu 2012-02-24 10:15:46 +00:00
Jonathan Kew
1c8e673ef0 bug 724826 pt 2 - replace the use of cattable.h with nsUnicodePropertyData for more accurate (and faster) category lookup. r=smontagu 2012-02-24 10:15:46 +00:00
Jonathan Kew
c7fa86d451 bug 724826 pt 1 - move various Unicode property tables from gfx to intl. r=smontagu
--HG--
rename : gfx/thebes/gfxUnicodeProperties.h => intl/unicharutil/public/nsUnicodeProperties.h
rename : gfx/thebes/gfxUnicodeScriptCodes.h => intl/unicharutil/public/nsUnicodeScriptCodes.h
rename : gfx/thebes/gfxUnicodeProperties.cpp => intl/unicharutil/src/nsUnicodeProperties.cpp
rename : gfx/thebes/gfxUnicodePropertyData.cpp => intl/unicharutil/src/nsUnicodePropertyData.cpp
rename : gfx/thebes/genUnicodeScriptData.pl => intl/unicharutil/tools/genUnicodePropertyData.pl
2012-02-24 10:15:46 +00:00
Jonathan Kew
2b957702c7 bug 728866 - pt 1 - expose low-level APIs for canonical composition and decomposition of a single Unicode character. r=smontagu
--HG--
rename : intl/unicharutil/src/nsUnicodeNormalizer.h => intl/unicharutil/public/nsUnicodeNormalizer.h
2012-02-20 20:39:59 +00:00
Simon Montagu
cdae24e9d0 Remove nsObserverBase. Bug 726950, r=emk 2012-02-14 17:51:52 +02:00
David Zbarsky
35c6311848 Remove nsDebugDetector. Bug 683429, r=smontagu 2012-02-14 12:04:51 +02:00
Simon Montagu
35e3bc75b1 Improve the tests for end of output block. Bug 718573, r=emk 2012-02-09 17:50:48 +02:00
Simon Montagu
1b2faca595 Update data files to Unicode 6.1. Bug 723509, r=jfkthame 2012-02-06 15:54:52 +02:00
Panagiotis Koutsourakis
9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Simon Montagu
2bcb32ce3f Remove unused files from intl/chardet. Bug 713866, r=emk 2012-01-26 17:28:03 +02:00
Simon Montagu
01326f327c Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck 2012-01-24 11:52:05 +02:00
Simon Montagu
6055067770 Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Simon Montagu
788c35d6f7 Tests for bug 670556, r=emk 2012-01-22 12:04:08 +02:00