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

1831 Коммитов

Автор SHA1 Сообщение Дата
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Gregory Szorc 89e86f9b21 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc de55b5242b Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Gregory Szorc c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Josh Aas 586b5e3acf Bug 843434: Fix assert in nsUnicharStreamLoader. r=emk 2013-03-11 21:02:53 -05:00
Gregory Szorc df855dd06e Bug 784841 - Part 18q: Convert /intl; r=ted f=Ms2ger 2013-02-25 12:47:21 -08:00
Mats Palmgren b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Masatoshi Kimura 8395e84bbf Bug 830112 - Remove prtypes.h from intl/ and some other cleanups. r=smontagu 2013-01-14 03:06:28 +09:00
Nicholas Nethercote 07f3675849 Bug 825818 - Fix six -Wlogical-op-parentheses warnings in nsUTF8ToUnicode.cpp. r=emk.
--HG--
extra : rebase_source : 6c4a9683a5cb2f7db30791dce21fbe6a118d14c1
2013-01-02 14:38:00 -08:00
Masatoshi Kimura 335edcbf26 Bug 805374 - Remove UTF-16 family from Character Encoding menu. r=smontagu 2012-12-16 19:54:58 -05:00
Ting-Yuan Huang 8b51d4f17e Bug 815473 - Replace runtime computed gUnicodeToGBKTable by constants. r=smontagu 2012-12-16 19:20:01 -05:00
Masatoshi Kimura ca51d6a175 Bug 638379 - Part 3: Remove workaround for unreliable inputErrorBehavior. r=hsivonen 2012-12-10 09:11:15 -05:00
Masatoshi Kimura eb93708d4a Bug 638379 - Part 1: Implement kOnError_Recover to the UTF-8 decoder. r=smontagu 2012-12-10 09:10:28 -05:00
Trevor Saunders 10534070ec bug 801466 - remove some usage of prmem in intl/ and network/ r=jduell 2012-12-04 18:04:39 -05:00
Ed Morley d8c96a3117 Backout 3d411a8554e0 (bug 801466) for build failures 2012-12-04 23:34:40 +00:00
Trevor Saunders b18a99578e [PATCH] bug 801466 - remove some usage of prmem in intl/ and
From 9dadb8c05ecddfe60c415c1ff62627e998148c77 Mon Sep 17 00:00:00 2001
 network/ r=jduell
---
 intl/strres/src/nsStringBundle.cpp         |    2 --
 intl/uconv/src/nsConverterInputStream.cpp  |    8 +++---
 intl/uconv/src/nsConverterInputStream.h    |    6 +++--
 netwerk/base/public/nsReadLine.h           |   38 +++-------------------------
 netwerk/base/src/nsFileStreams.cpp         |    9 +++----
 netwerk/base/src/nsFileStreams.h           |    3 ++-
 netwerk/base/src/nsSerializationHelper.cpp |   31 +++++------------------
 netwerk/base/src/nsSocketTransport2.cpp    |    1 -
 netwerk/cache/nsCacheMetaData.cpp          |    3 +--
 netwerk/cache/nsCacheMetaData.h            |    3 ++-
 netwerk/protocol/data/nsDataChannel.cpp    |   24 +++++++-----------
 11 files changed, 36 insertions(+), 92 deletions(-)
2012-12-04 18:04:39 -05:00
Masatoshi Kimura bc4214f5b8 Bug 782412 - Part 4: Implement inputErrorBehavior. r=smontagu 2012-11-26 20:38:20 -05:00
Masatoshi Kimura 3adf953533 Bug 782412 - Part 3: Improve the BOM handling. r=smontagu 2012-11-26 20:38:20 -05:00
Masatoshi Kimura 37649b3c1d Bug 782412 - Part 2: Return NS_OK_UDEC_MOREINPUT and NS_OK_UDEC_MOREOUTPUT as appropriate. r=smontagu 2012-11-26 20:38:20 -05:00
Masatoshi Kimura 0e92bf57ec Bug 782412 - Part 1: Rename UCS2BE to UTF16. r=smontagu
--HG--
rename : intl/uconv/ucvlatin/nsUCS2BEToUnicode.cpp => intl/uconv/ucvlatin/nsUTF16ToUnicode.cpp
rename : intl/uconv/ucvlatin/nsUCS2BEToUnicode.h => intl/uconv/ucvlatin/nsUTF16ToUnicode.h
rename : intl/uconv/ucvlatin/nsUnicodeToUCS2BE.cpp => intl/uconv/ucvlatin/nsUnicodeToUTF16.cpp
rename : intl/uconv/ucvlatin/nsUnicodeToUCS2BE.h => intl/uconv/ucvlatin/nsUnicodeToUTF16.h
2012-11-26 20:38:20 -05:00
Masatoshi Kimura cd71c36381 Bug 746900 - Implement "Best Practices for Using U+FFFD" from the Unicode standard. r=smontagu 2012-11-26 20:38:19 -05:00
Masatoshi Kimura a87ade4d88 Bug 562091 - Remove the EUC-KR conveter and rename x-windows-949 to EUC-KR. r=smontagu 2012-11-13 18:58:48 -05:00
Ehsan Akhgari 8e702f60c5 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari f3c0ac7a23 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Isaac Aggrey c984edf823 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Simon Montagu 3c2ba54c18 Fix off-by-one error in conversion pointers. Bug 801681, r=emk 2012-10-18 16:35:04 +02:00
Ehsan Akhgari 16f73f960a Merge mozilla-central into mozilla-inbound 2012-10-17 13:03:16 -04:00
Neil Rashbrook fbc5bc3c9d Bug 797385 Followup to blacklist the ibm864 converter in SeaMonkey Composer too r=smontagu
DONTBUILD because it only affects SeaMonkey
2012-10-17 09:47:46 +01:00
Aryeh Gregor 9582ec9bf0 Bug 802069 - Make "macintosh" the canonical name of its encoding, not "x-mac-roman"; r=smontagu
--HG--
rename : intl/uconv/tests/unit/test_decode_x_mac_roman.js => intl/uconv/tests/unit/test_decode_macintosh.js
rename : intl/uconv/tests/unit/test_encode_x_mac_roman.js => intl/uconv/tests/unit/test_encode_macintosh.js
2012-10-17 12:15:23 +02:00
Aryeh Gregor 2610ad061f Bug 802059 - Implement labels for existing encodings from the encoding spec; r=smontagu 2012-10-16 17:34:07 +02:00
Masatoshi Kimura 951e211345 Bug 799910 - Fix ASCII range of EUC-KR and Big5 converters. r=smontagu 2012-10-16 21:34:03 -04: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
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
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 4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03: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
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
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
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 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
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
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
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
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
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
Masatoshi Kimura 9dfa031845 Bug 734090 - Fix GB18030 4-bytes mappings. r=smontagu 2012-03-09 20:52:14 -05: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
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 788c35d6f7 Tests for bug 670556, r=emk 2012-01-22 12:04:08 +02:00
Simon Montagu afd7130aa1 Fix typos in conditions. Bug 670556, r=emk 2012-01-22 12:04:05 +02:00
Simon Montagu 5e4fc8db61 Use moz_malloc and _free instead of nsMemory. Bug 705407, r=bsmedberg 2012-01-18 20:23:25 +02:00
Makoto Kato a917609af0 Bug 718500 - View > Character Encoding > Auto-Detect menupopup is broken. r=smontagu 2012-01-18 14:43:31 +09:00
Ms2ger 176ab26790 Bug 714613 - Simplify nsShiftJISToUnicode::Convert; r=smontagu 2012-01-15 09:13:12 +01:00
Asaf Romano 36391ff6b0 Bug 713519 - getCharsetAlias should throw for unknown character sets. r=smontagu. 2012-01-12 18:24:16 +02:00
Ms2ger d0bb7ac21e Bug 623610 - Remove support for geostd8; r=smontagu 2012-01-02 19:05:20 +01:00
Masatoshi Kimura e7bb252386 Bug 712876 - Replace ISO-8859-9 (latin5, etc.) decoder with windows-1254 decoder; r=smontagu 2011-12-28 00:49:57 +01:00
Makoto Kato 6134979a79 Bug 712198 - Remove NS_WIN32, NS_UNIX and NS_OS2. r=khuey 2011-12-21 14:09:17 +09:00
John Schoenick c7eec081e4 Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
Ms2ger 66852ffea5 Backed out changeset ba447ace2594 (bug 687679) for bustage. 2011-12-16 21:17:16 +01:00
John Schoenick 3973db5adb Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
Kang-Hao (Kenny) Lu 73807809ae Bug 699673 - nsTextToSubURI::UnEscapeNonAsciiURI shouldn't do fallback unescaping if the fallback charset is not an ASCII superset, or the URI gets messed up in the UI. r=smontagu 2011-11-06 17:14:27 +02:00
Ed Morley 7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Makoto Kato 59a2547ce1 Bug 699009 - Remove MOZ_USE_NATIVE_UCONV. r=smontagu 2011-11-04 11:59:04 +09:00
Makoto Kato a243dc914c Bug 698331 - get rid of *WithConversion (intl part). r=smontagu 2011-11-01 16:16:48 +09:00
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
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
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
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
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
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
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 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
Masatoshi Kimura ec91578ded Bug 651113 - Remove windows-936 converter. r=smontagu
--HG--
extra : rebase_source : 4b0d09d815e2b7cfc008f8b5b987e597ceea9bbe
2011-04-27 10:37:00 +02: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
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
Mitchell Field 959b2c2a90 Merge mozilla-central to build-system. 2011-03-03 20:13:35 +11: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
L. David Baron 5958fb2e6b Fix converter stream part of bug 638236. r=bzbarsky a2.0=blocking
CLOSED TREE
2011-03-02 21:01:20 -08:00
Mitchell Field 646d79f2db Merge mozilla-central to build-system. 2011-02-23 00:01:54 +11:00
Mitchell Field 5c70fe9a8d Bug 627277 - Bustage fix. 2011-02-20 08:38:21 +11:00
Mitchell Field a6788f0842 Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Simon Montagu ec7b1f996e Set correct output params. Bug 634257, r=emk, a=bsmedberg 2011-02-20 11:04:28 +02:00
Jacek Caban 50eb05243b Bug 631252 - Use -mstackrealign on 32-bit mingw r=dbaron a=NPOTB 2011-02-04 13:40:02 +00:00
Jacek Caban f8d418ee26 Bug 627341 - Wrong stack alignment in Convert_ascii_run call on mingw build r=dbaron a=NPOTB 2011-01-22 12:57:02 +00:00
Justin Lebar 29ff79fc83 Bug 585538 - Use SIMD UTF8 to UTF16 code on Linux 32-bit. r=khuey, a2.0=bsmedberg
--HG--
extra : rebase_source : 21031b1e8366c00a9c4745e69f206d2358a294e2
2010-08-11 16:49:43 -07:00
timeless@mozdev.org badda3072f Bug 620269 unreachable code in nsPlatformCharset::GetDefaultCharsetForLocale if HAVE_LANGINFO_CODESET
r=smontagu a=bsmedberg
2011-01-05 14:17:09 -08:00
Simon Montagu 979cf82e5b Remove obsolete Unicode to Jamo encoder. Bug 615706, r=emk, a=blocker 2010-12-26 16:10:18 +02:00
Ginn Chen ef431eede6 Bug 597832 Compile nsUTF8ToUnicode.cpp with SSE2 options for Solaris Studio compiler r=ted.mielczarek a=NPOTB 2010-11-09 18:31:24 +08:00
Simon Montagu 6c81d3c450 Block some Mac charsets. Bug 601429, r=emk, sr=dveditz, a=blocker 2010-11-08 12:27:40 +02:00
Simon Montagu 7149e80392 Backout changeset 97aca07b7f32 due to test failures, a=backout 2010-11-07 14:26:52 +02:00
Simon Montagu ee51cc3fc5 Block some Mac charsets. Bug 601429, r=emk, sr=dveditz, a=blocker 2010-11-07 01:39:02 -08:00
Simon Montagu 3c47aaf992 Don't split a surrogate pair over two output buffers. Bug 600974, r=emk, a=blocking 2010-10-20 09:11:16 -07:00
Simon Montagu e83ac0de10 Tests for bug 600974 2010-10-20 09:11:15 -07:00
Simon Montagu a16956dc0f Don't split a surrogate pair over two output buffers. Bug 600974, r=emk, dbaron, a=blocking 2010-10-14 00:44:34 -07:00
Henri Sivonen 9490daf18d Bug 593046 - Do not read a pref in nsJapaneseToUnicode. r=smontagu, a=blocking2.0-final.
--HG--
extra : rebase_source : ac58c8390571cd0a0b62f85dc985c3d8902a8dac
2010-09-06 10:41:26 +03:00
Joel Maher adaba45072 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert 4fa6358e1b Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher fecae963b6 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Jonas Sicking 32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher a6d440687b Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Henri Sivonen f2738cb6f4 Bug 575175: Make the HTML5 parser deal with Unicode decoder signaling -1 consumed bytes. r=smontagu a=blocking 2010-07-26 12:11:09 -07:00
Daniel Holbert 4a824967d7 Bug 576556: Add GCC-suggested parens in uconv.c to fix build warning. r=smontagu 2010-07-05 13:48:59 -07:00
Ehren Metcalfe ab19d256ae Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Benjamin Smedberg 0f844b3cb5 Address review from bug 568691 comments 31 and 34 2010-06-23 13:43:02 -04:00
Benjamin Smedberg 0df0345c66 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Simon Montagu 4383d38163 Do Hankaku to Zenkaku conversion in the ISO-2022-JP encoder. Bug 563283, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2010-06-21 15:34:11 +03:00
Benjamin Smedberg a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
L. David Baron 4acfdbd9de Make nsUTF8ToUnicode use SSE.h (Bug 513422) r=vlad 2010-05-21 13:17:58 -07:00
Henri Sivonen 34bc425b36 Bug 563536, bug 204111 - Put data from uconv property files into code to avoid thread-unsafe property file loading. r=smontagu. 2010-05-10 17:09:13 +03:00
Mitchell Field 0fd15d94da Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Michael Kohler 6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Simon Montagu c4f18e8838 Fix some errors with handling invalid sequences in the EUC-JP decoder. Bug 563618, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2010-05-11 17:38:25 +03:00
Simon Montagu e65d157629 Tests for bug 563618 2010-05-11 17:38:25 +03:00
Simon Montagu 8ef9f65617 Fix an off-by-one error with undefined codepoints. Bug 564679, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2010-05-11 17:38:25 +03:00
Simon Montagu b010f632d9 Tests for bug 564679 2010-05-11 17:38:25 +03:00
Henri Sivonen 256e7d25ff Bug 551344 part 4 - Address more review comments from sicking in the C++ parts of the HTML5 parser. r=jonas.
--HG--
extra : rebase_source : b15efefa4ba578dead7645770f5ce3fa8becefda
2010-04-16 13:52:06 +03:00
timeless@mozdev.org 9b057df325 Bug 560135 - nsTextToSubURI::UnEscapeAndConvert overallocates pBuf, r=bz
--HG--
extra : rebase_source : c36c3b746a71264120dee154797d76d6aad628ec
2010-04-18 23:33:00 -07:00
Mike Hommey b4f5845246 Bug 544512 - Misaligned accesses in uconv causes Bus Error on sparc and word wrapping on arm. r=smontagu 2010-03-06 16:35:11 +01:00
Jonathan Kew 365fbafa0d Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Simon Montagu b62b09bd30 Update intl/uconv/directory.txt. Follow-up to bug 483116, NPOTB 2010-02-10 23:25:10 -08:00
Alexander L. Slovesnik 7a9729dc2d Bug 542823: Fix display of cp932 encoded messages r=smontagu 2010-01-30 07:52:32 -05:00
Simon Montagu 681d9954dd Remove intl/uconv/ucvmath. Bug 483116, r=Masatoshi Kimura <YV03354@nifty.ne.jp> 2009-12-21 00:47:08 -08:00
L. David Baron c2bec2be3a Remove the concept of stateless unicode decoders since they now all have state. (Bug 530328) r=smontagu 2009-11-23 22:43:48 -08:00
Henri Sivonen 213aca73bc Bug 482918 - Move HTML5 parsing off the main thread. r=bnewman.
--HG--
extra : rebase_source : 8d44fdc215e14ed8da34793c1f432bc2bc9f6e05
2009-09-25 20:11:02 +03:00
Daniel Holbert 43553fc3b5 Bug 529365, patch 2: Add braces (and adjust indentation) to fix build warning in nsBufferDecoderSupport::Convert. r=smontagu 2009-11-17 22:08:22 -08:00
Dão Gottwald 0d39e46fc6 Bug 527347 - nsIScriptableUnicodeConverter::convertToByteArray aLen out param should be optional. r=smontagu 2009-11-12 11:07:00 +01:00
Jae-Seong Lee-Russo b1b7fa69b4 Bug 521191 - xpcshell-tests: some unit tests fail with the '-S' option ('strict' & 'werror' on). r=smontagu,dtownsend,mano
--HG--
extra : rebase_source : c5e0853fc64557f699d78c67f2907f6b48958563
2009-11-06 08:34:57 +01:00
Makoto Kato 1c175e2654 Bug 522931 - textToSubURI.UnEscapeAndConvert(UTF-8, null) causes crash in NS_strdup [@strlen | NS_strdup(char const*) ]. r=smontagu 2009-10-30 18:17:19 +09:00
Mitchell Field 41c8798093 Bug 514665 - fix stupid module name differences on windows. r=ted 2009-09-25 18:41:16 +02:00
Simon Montagu fe4323c31b Share code in encoding conversion tests 2009-09-23 01:01:23 -07:00
Phil Ringnalda 6fce97e58d Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Taras Glek f3f33c847d Bug 514803 - Fix for new Date().toLocaleString() triggers "An error occured throwing an exception". Moved more charset files to jar r=bsmedberg
--HG--
extra : rebase_source : 8db26ce38ed4d654f8754f0501b54eb90ea76249
2009-09-14 10:48:26 -07:00
Jeff Muizelaar 0f6a48f4ef Backout ffcfaed61bed: Taras Glek – Bug 514803 - Fix for new Date().toLocaleString() triggers "An error occured throwing an exception". Moved more charset files to jar r=bsmedberg
This caused an unexplained Ts improvement and obj-c exceptions during Ts.
2009-09-14 16:54:21 -04:00
Taras Glek b0d11f408a Bug 514803 - Fix for new Date().toLocaleString() triggers "An error occured throwing an exception". Moved more charset files to jar r=bsmedberg
--HG--
extra : rebase_source : d501b6c2ec3ee7d6bd82949b30051e82c947b3fa
2009-09-14 10:48:26 -07:00
Makoto Kato 4d45703ece Bug 514624 - UTF8 to Unicode conversion of SSE2 optimization for x86_64 platform. r=vlad 2009-09-07 11:36:52 +09:00
Benjamin Smedberg 667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Neil Rashbrook ec29056dd5 Bug 506430 followup to fix VC7.1 bustage r=vlad 2009-09-03 20:09:44 +01:00
Vladimir Vukicevic 36a7dc58ce b=506430; Optimize UTF8 to UTF16 conversion; r+sr=jst 2009-09-01 22:52:02 -07:00
Vladimir Vukicevic 81e5c46fcb backing out 512643 and 506430 due to OSX mochitest failure 2009-09-02 00:28:38 -07:00
Vladimir Vukicevic ca3005092f b=506430; Optimize UTF8 to UTF16 conversion; r+sr=jst 2009-09-01 22:52:02 -07:00
Taras Glek 01e01a0d8f bug 508421: accidentally left a printf in
--HG--
extra : rebase_source : 8ab26dae91f7d989c07426e9b42583694281c821
2009-08-28 14:36:46 -07:00
Benjamin Smedberg 36bc86429d Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
tglek@mozilla.com 6da2f5fcc8 Bug 508421 - move res/ stuff into toolkit.jar (r=bsmedberg)
* * *
* * *
2009-08-27 08:35:48 -07:00
Phil Ringnalda 9c3888a484 Bug 342754 - pavlov defined NS_CHARSETALIAS_CID a second time, r=smontagu 2009-08-25 20:20:33 -07:00
Benjamin Smedberg ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Simon Montagu ae66684c66 Make all charset aliases lower-case, and add unit test for MacRoman. Bug 512060, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2009-08-23 06:22:30 -07:00
Hashem Masoud b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Serge Gautherie b97a0e78a3 Bug 444021 - Remove useless |#include "nsILocale[Service|].h"|; (Av1) Just remove them; r=smontagu 2009-08-06 20:00:41 +02:00
David Zbarsky e5c3359049 Bug 392526. Some callers of nsID::ToString use a mismatched allocator to free the string. r=bsmedberg 2009-07-29 13:54:44 -04:00
Simon Montagu b70873dede Unit test for ISO-2022-KR decoding 2009-06-16 01:14:21 -07:00