Commit Graph

3276 Commits

Author SHA1 Message Date
Simon Montagu
34621450c8 Resynchronize the Shift_JIS converter after unrecognized sequences. Bug 690225, r=emk 2011-10-19 07:58:41 +02:00
Simon Montagu
6f5c3864dc Backout cset 308f180eb3f4 2011-10-18 15:09:45 +02:00
Simon Montagu
81548b004b Resynchronize the Shift_JIS converter after unrecognized sequences. Bug 690225, r=emk 2011-10-18 14:15:21 +02: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
Jonathan Kew
b34452e7e3 bug 655337 - part 2 - don't unpack hyphenation patterns on android, look for them in omnijar. r=mfinkle,bsmedberg,smontagu 2011-10-06 16:06:36 +01:00
Jonathan Kew
ebe169a362 backout changeset e1eac54b1ed3 (bug 655337 pt 2) for causing a leak. 2011-10-06 17:29:39 +01:00
Jonathan Kew
3ebcb92471 bug 655337 - part 2 - don't unpack hyphenation patterns on android, look for them in omnijar. r=mfinkle,bsmedberg,smontagu 2011-10-06 16:06:36 +01:00
Jonathan Kew
d2b9d85eb7 bug 655337 - part 1 - use nsIURI rather than nsIFile to specify hyphenation resources. r=mfinkle,smontagu 2011-10-06 16:06:32 +01: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
Jonathan Kew
d536205b6e bug 685214 - use URI spec rather than file path to specify hyphenation dictionary, and read using nsIInputStream rather than stdio. r=bsmedberg 2011-09-14 20:20:26 +01:00
Geoff Brown
189738a917 Bug 684965 - update xpcshell manifests for Android; r=jmaher 2011-09-06 22:29:00 -07:00
Felix Fung
0bc71ca85d Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Matheus Kerschbaum
8695c3c1f0 Bug 680793 - Remove support for Irix. r=ted 2011-09-02 15:41:45 +01:00
Mike Hommey
73e9c2d6c7 Bug 676252 part 1 - Don't use $(OBJ_SUFFIX) before including config.mk. r=ted 2011-08-29 07:34:02 +02:00
Jonathan Kew
638574176a bug 672320 pt 17.1 - hyphenation patterns for Turkish. r=smontagu 2011-08-25 16:09:45 +01:00
Jonathan Kew
dcb1fcb5aa bug 672320 pt 16.1 - hyphenation patterns for Italian. r=smontagu 2011-08-25 16:08:51 +01:00
Jonathan Kew
18e20b3747 bug 672320 pt 15.1 - hyphenation patterns for Hungarian. r=smontagu 2011-08-25 16:07:57 +01:00
Geoff Brown
fcf5c93a68 Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Malini Das
c20b68638f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Alexander Slovesnik
838f33a613 Bug 673680 - Add support for koi8_r charset encoding. r=smontagu 2011-08-02 12:32:33 +02:00
Michael Wu
79d88fac19 Bug 675556 - Switch from PRPackedBool to PRUint8 in nsILineBreaker, r=roc 2011-08-01 18:20:52 -07:00
Michael Wu
46a170c5f0 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Jonathan Kew
41d4a89793 bug 672320 pt 14.1 - hyphenation patterns for Finnish. rs=smontagu 2011-07-26 11:54:36 +01:00
Jonathan Kew
bc33e785c0 bug 672320 pt 13.1 - hyphenation patterns for Lithuanian. rs=smontagu 2011-07-26 11:54:36 +01:00
Jonathan Kew
cde9b4c37b bug 672320 pt 12.1 - hyphenation patterns for Norwegian Bokmål & Nynorsk. rs=smontagu 2011-07-26 11:54:36 +01:00
Jonathan Kew
27bb3a6c10 bug 672320 pt 11.1 - hyphenation patterns for Russian. rs=smontagu 2011-07-26 11:54:32 +01:00
Jonathan Kew
95acb2940d bug 672320 pt 9.1 - add hyphenation patterns for French. rs=smontagu 2011-07-26 11:54:32 +01:00
Jonathan Kew
3000398750 bug 672320 - part 8.1 - hyphenation patterns for Serbian/Serbo-Croatian. rs=smontagu 2011-07-21 20:58:56 +01:00
Jonathan Kew
ee6179443e bug 672320 - part 7.1 - hyphenation patterns for Mongolian. rs=smontagu 2011-07-21 20:58:56 +01:00
Jonathan Kew
7a9fb271df bug 672320 - part 6.1 - hyphenation patterns for German. rs=smontagu 2011-07-21 20:58:56 +01:00
Jonathan Kew
1e31132070 bug 672320 pt 4 - add hyphenation patterns for af,bg,ca,cy,da,eo,es,et,gl,hr,hsb,ia,is,kmr,la,nl,pt,sl,uk locales. rs=smontagu 2011-07-20 11:15:38 +01:00
Jonathan Kew
d27895f158 bug 672320 pt 2 - add hyphenation patterns for Swedish. fb=gerv rs=smontagu 2011-07-20 11:15:24 +01:00
Jonathan Kew
3decd04fb5 bug 672320 pt 1 - include all available hyphenation patterns in the build. r=smontagu 2011-07-20 11:15:13 +01:00
Jonathan Kew
938babc448 bug 672472 - convert hyphenation-point offsets correctly from Unicode characters to UTF16 code units. r=smontagu 2011-07-20 11:15:06 +01: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
a243dc914c Bug 698331 - get rid of *WithConversion (intl part). r=smontagu 2011-11-01 16:16:48 +09: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
Ed Morley
8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Mounir Lamouri
8d38f1695a Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Matheus Kerschbaum
c0decf640b Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Makoto Kato
53cc49df1a Bug 660584 - nsILanguageAtomService.LookupLanguage should use nsACString instead of nsAString. r=smontagu 2011-05-31 14:09:05 +09:00
Dominic Fandrey
968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02: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
Makoto Kato
eeea05a3bc Bug 590389 - some methods into nsICharsetConverterManager should be noscript. r=smontagu 2011-05-27 14:42:13 +09:00
Daniel Holbert
df3468e187 Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz 2011-05-24 17:39:57 +02:00
Mounir Lamouri
c82951ef5c Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert
4254c8fed3 Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz 2011-05-24 03:36:31 -07:00
Matheus Kerschbaum
6eb93f7dd3 Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Joel Maher
193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Mounir Lamouri
66a99b9b91 Merging cedar with mozilla-central. 2011-05-11 15:00:12 +02:00
Makoto Kato
e3a7223fbf Bug 637555 - Remove nsIMacLocale. r=smontagu 2011-05-11 14:25:09 +09:00
Edmund Wong
9926796429 Bug 366774 - Removed unused preference bidi.characterset. r=smontagu 2011-05-10 20:24:43 +02:00
Ed Morley
74ba4e695f Bug 655475 - Remove WinCE code from I18N; r=smontagu 2011-05-08 19:46:10 +02:00
Jonathan Kew
f82c24614d bug 253317 - part 3.1 - build support to install hyphenation patterns. r=pike 2011-05-04 12:14:51 +01:00
Jonathan Kew
5da589467d merge backout 2011-05-04 15:31:57 +01:00
Jonathan Kew
38d1f83dd8 Backed out changeset a5877159c9a1 to investigate l10n-check orange 2011-05-04 15:31:37 +01:00
Jonathan Kew
fe6d65424b bug 253317 - part 3.1 - build support to install hyphenation patterns. r=pike 2011-05-04 12:14:51 +01:00
Jonathan Kew
020cec0671 bug 253317 - part 3 - import en-US hyphenation patterns (from http://sourceforge.net/projects/hunspell/files/Hyphen/2.7/hyphen-2.7.1.tar.gz/download) r=smontagu 2011-05-04 12:14:51 +01:00
Jonathan Kew
d6efcfa2e3 bug 253317 - part 2 - import hyphenation code (from http://sourceforge.net/projects/hunspell/files/Hyphen/2.7/hyphen-2.7.1.tar.gz/download) r=smontagu 2011-05-04 12:14:51 +01:00
Jonathan Kew
79231d281d bug 253317 - part 4 - implement nsHyphenationManager and nsHyphenator classes. r=smontagu sr=roc 2011-05-04 12:29:45 +01:00
Brandon Bohrer
83080096af Bug 635170 - DeCOM nsIWin32Locale. r=smontagu
--HG--
rename : intl/locale/public/nsIWin32Locale.h => intl/locale/public/nsWin32Locale.h
rename : intl/locale/src/windows/nsIWin32LocaleImpl.cpp => intl/locale/src/windows/nsWin32Locale.cpp
2011-05-02 17:49:11 +09:00
Chris Jones
31aa2c4e77 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Makoto Kato
5f5d1cd184 Bug 564774 - nsMacCharset.cpp looks obsolete. r=smontagu 2011-05-01 19:12:22 +09:00
Masatoshi Kimura
ec91578ded Bug 651113 - Remove windows-936 converter. r=smontagu
--HG--
extra : rebase_source : 4b0d09d815e2b7cfc008f8b5b987e597ceea9bbe
2011-04-27 10:37:00 +02:00
Philip Chee
3a6ad0089d Backed out changeset: 96bfa1480f5f 2011-04-25 02:23:02 +08:00
Edmund Wong
cbe1557532 Bug 366774 - Remove unused preference bidi.characterset. (p5) (v2) r=smontagu 2011-04-25 01:57:23 +08:00
Makoto Kato
8e89cb6ec8 Bug 638408 - Remove unused nsUConvDll.*. r=smontagu 2011-04-18 17:31:01 +09:00
Ehsan Akhgari
b548c65441 Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted 2011-04-15 18:26:50 -04:00
Masatoshi Kimura
db437bc09b Remove native uconv. Bug 644801, r=smontagu 2011-04-05 11:13:21 +03:00
Makoto Kato
1ab8cb2f8d Bug 637599 - Move nsIPlatformCharset from intl/uconv to intl/locale. r=smontagu
--HG--
rename : intl/uconv/public/nsICharsetAlias.h => intl/locale/public/nsICharsetAlias.h
rename : intl/uconv/public/nsIPlatformCharset.h => intl/locale/public/nsIPlatformCharset.h
rename : intl/uconv/src/charsetalias.properties => intl/locale/src/charsetalias.properties
rename : intl/uconv/src/maccharset.properties => intl/locale/src/mac/maccharset.properties
rename : intl/uconv/src/nsMacCharset.cpp => intl/locale/src/mac/nsMacCharset.cpp
rename : intl/uconv/src/nsCharsetAlias.h => intl/locale/src/nsCharsetAlias.h
rename : intl/uconv/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAliasImp.cpp
rename : intl/uconv/src/nsPlatformCharset.h => intl/locale/src/nsPlatformCharset.h
rename : intl/uconv/src/nsUConvPropertySearch.cpp => intl/locale/src/nsUConvPropertySearch.cpp
rename : intl/uconv/src/nsUConvPropertySearch.h => intl/locale/src/nsUConvPropertySearch.h
rename : intl/uconv/src/nsOS2Charset.cpp => intl/locale/src/os2/nsOS2Charset.cpp
rename : intl/uconv/src/os2charset.properties => intl/locale/src/os2/os2charset.properties
rename : intl/uconv/src/props2arrays.py => intl/locale/src/props2arrays.py
rename : intl/uconv/src/nsUNIXCharset.cpp => intl/locale/src/unix/nsUNIXCharset.cpp
rename : intl/uconv/src/unixcharset.properties => intl/locale/src/unix/unixcharset.properties
rename : intl/uconv/src/nsWinCharset.cpp => intl/locale/src/windows/nsWinCharset.cpp
rename : intl/uconv/src/wincharset.properties => intl/locale/src/windows/wincharset.properties
2011-04-04 16:05:07 -07:00
Simon Montagu
880ad3c1e3 Use case-sensitive comparison when we know we are comparing canonical encoding names. Bug 564757, r=emk 2011-04-03 10:17:27 +03:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
699024f868 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Ehsan Akhgari
23f78e2226 Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Ms2ger
b1a4d7c12e Bug 577945 - Map 0x7F..0x9F to U+007F..U+009F in ISO-8859 encodings; r=smontagu 2011-03-30 13:40:47 -04:00
Simon Montagu
0280761cff Change x-gbk to gbk in charset titles. Bug 369403, r=emk 2011-03-30 08:35:36 +02:00
Simon Montagu
4587536cef Remove UTF-32 encoder and decoder. Bug 604317, r=emk 2011-03-30 08:35:34 +02:00
Simon Montagu
72394837e1 Bug 414064 part 2. Add some tests. 2011-03-28 23:32:11 -04:00
Simon Montagu
93e981814b Bug 414064 part 1. Mark UTF-7 as being vulnerable to XSS attacks. r=VYV03354@nifty.ne.jp 2011-03-28 23:32:11 -04:00
Justin Lebar
d5dcbf68a6 Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
L. David Baron
db6289bc0a Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
timeless@mozdev.org
6c1368db77 Bug 577912 mark DEBUG only variables as ifdef DEBUG in intl
r=smontagu
2010-07-11 15:41:54 +03:00
timeless@mozdev.org
10ebb07512 Bug 588719 remove nsVIQRToUnicode, nsVNIToUnicode, nsUnicodeToVIQR, nsUnicodeToVNI, and nsUnicodeToISO2022KR
r=smontagu
2010-10-13 09:54:10 +03:00
Ehsan Akhgari
23834c2daf Merge mozilla-central into cedar 2011-03-26 12:21:39 -04:00
Ms2ger
e7c21851e1 Bug 622935 - Map 0x7F to U+007F rather than U+FFFD in mac and soviet encodings; r=smontagu 2011-03-26 12:04:18 -04:00
Masatoshi Kimura
d6412bb1fd Bug 600715 - Remove JIS X 0212 support from EUC-JP encoder. r=smontagu 2011-03-26 13:43:40 +01:00
Rafael Ávila de Espíndola
49c3de3c9c Bug 623116 - Add constructor for nsASCIICaseInsensitiveStringComparator (which inherits from nsStringComparator) to placate CLang; r=smontagu 2011-03-24 20:01:47 -04:00
Kyle Huey
a4544fbedb Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Jeremias Bosch
605c83f4a3 Bug 640504 - Qt-Fennec, Language Code is not read correctly from System. r=romaxa a=npodb
--HG--
extra : rebase_source : edf1a936353e919926050d2ffed5d3024ff3c143
2011-03-15 13:30:34 -07:00
L. David Baron
c35756d651 Don't return NS_ERROR_ILLEGAL_INPUT when given an empty source buffer. (Bug 638236) r=smontagu a2.0=blocking 2011-03-02 23:21:06 -08:00