Commit Graph

781 Commits

Author SHA1 Message Date
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
Gordon P. Hemsley
f391946e84 Bug 792575 - Change Hawaiian [haw] langGroup to 'x-western'. r=jfkthame 2012-09-20 18:10:09 -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
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
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
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
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
Ehsan Akhgari
73ec324196 Bug 772519 - Remove the unused variable res in nsPlatformCharset::Init; r=smontagu 2012-07-10 16:27:27 -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
Michel Nedelec
2a8421a32a Bug 747911 - Add plural rule for Breton (br). r=Pike,smontagu 2012-06-09 14:22:41 -04: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
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mike Hommey
0ae0853a60 Bug 743241 - Remove OSARCH and OSTYPE defines from config.mk. r=ted 2012-04-25 09:01:10 +02:00
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
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
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
Ms2ger
d0bb7ac21e Bug 623610 - Remove support for geostd8; r=smontagu 2012-01-02 19:05:20 +01:00
Makoto Kato
a243dc914c Bug 698331 - get rid of *WithConversion (intl part). r=smontagu 2011-11-01 16:16:48 +09:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Alexander Slovesnik
838f33a613 Bug 673680 - Add support for koi8_r charset encoding. r=smontagu 2011-08-02 12:32:33 +02:00
Matheus Kerschbaum
b0c1f89ef4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Simon Montagu
b377ede4ff Return success code not failure code when GetDefaultCharsetForLocale returns a fallback charset. Bug 653750, r=emk 2011-07-11 18:53:55 +03:00
Masayuki Nakano
cf8b125125 Bug 668933 intl should use mozilla::Preferences r=smontagu 2011-07-06 11:34:00 +09:00
Masayuki Nakano
ce657e7baa backout 92c8a0108b24 due to wrong summary 2011-07-06 11:33:17 +09:00
Masayuki Nakano
dae54cac4f Bug xxx intl should use mozilla::Preferences r=smontagu 2011-07-06 11:25:11 +09:00
Simon Montagu
8a2e796345 Unify intl/locale xpcshell tests in one directory. Bug 668515, r=ted
--HG--
rename : intl/locale/tests_multilocale/unit/test_bug22310.js => intl/locale/tests/unit/test_bug22310.js
rename : intl/locale/src/unix/tests/unit/test_bug374040.js => intl/locale/tests/unit/test_bug374040.js
2011-07-03 09:38:24 +03:00
Makoto Kato
1499241aa5 Bug 655655 - decom nsIPosixLocale. r=smontagu
--HG--
rename : intl/locale/public/nsIPosixLocale.h => intl/locale/public/nsPosixLocale.h
2011-06-22 16:34:27 +09:00
Makoto Kato
53cc49df1a Bug 660584 - nsILanguageAtomService.LookupLanguage should use nsACString instead of nsAString. r=smontagu 2011-05-31 14:09:05 +09:00
Simon Montagu
c59a93e2d4 Fix the range check for CP949 in uscan.c, Bug 658952. Correct a typo in the alias cseuckr, Bug 462687 r=emk 2011-05-30 08:38:26 +03:00
Makoto Kato
e393155781 Bug 654063 - nsIPlatformCharset for Android should return UTF-8 simply. r=smontagu 2011-05-27 14:43:53 +09:00