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

3437 Коммитов

Автор SHA1 Сообщение Дата
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 4a0bc291e4 reland the part of bug 801466 backed out in 02a65951d77d since it wasn't at fault 2012-12-10 03:19:02 -05:00
Trevor Saunders 17c2a8b448 partially backout c0715c079f1e bug 801466 part 4 to se if it fixes top crashes 2012-12-08 05:50:11 -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
Simon Montagu 67dce8245a Fix an error in the UTF-8 state machine table, and clean up the table generally. Bug 811363, r=jfkthame. 2012-11-16 11:33:15 -08: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
Jonathan Kew f19b7d1e06 bug 774560 pt 1 - add Unicode full-width character mapping data. r=smontagu 2012-11-09 09:43:48 +00:00
Nathan Froyd 00a99ee384 Bug 803668 - convert string bundle caches to use mozilla::LinkedList; r=smontagu 2012-11-01 10:03:41 -04:00
Ms2ger 3345abbb79 Bug 809756 - Backout bug 803665, bug 803668, bug 803666 and bug 803669 on a CLOSED TREE. 2012-11-08 09:20:25 +01:00
Nathan Froyd 86bc3a7d69 Bug 803668 - convert string bundle caches to use mozilla::LinkedList; r=smontagu 2012-11-01 10:03:41 -04:00
Nathan Froyd 24b0d73288 Backout 57d8f6cd245a (bug 803669), fb673c95d56b (bug 803665), 24d8e0cb73f2 (bug 803665), ac46bd0d9fba (bug 803669), c9c67b62799b (bug 803666), b3314c0ddaac (bug 803668) for debug build test failures 2012-10-31 13:23:17 -04:00
Kyle Huey 0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Nathan Froyd 0636a640a0 Bug 803668 - convert string bundle caches to use mozilla::LinkedList; r=smontagu 2012-10-19 12:24:38 -04:00
Vicamo Yang a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey 9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley 4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey 50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Jacek Szpot 761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Daniel Holbert 4156af1980 Bug 805456 - Remove useless check that an unsigned value is >= 0 to fix a build warning. r=masayuki 2012-10-25 17:43:25 -04: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
Jacek Szpot 44556605ef Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-23 13:29:06 +02:00
Ehsan Akhgari 2c1575558e Backout changeset 788a51ef6221 (bug 800106) because of Windows XP Kraken regression 2012-10-22 16:44:09 -04:00
Jacek Szpot 057be630c0 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-19 10:33:33 +02: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
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