Commit Graph

330 Commits

Author SHA1 Message Date
Masatoshi Kimura
d45514c18d Bug 851982 - Make ISO-2022-JP decoder reliable. r=smontagu 2013-06-21 00:54:40 +09:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Joey Armstrong
410e37a8c5 bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1) r=mshal 2013-06-13 12:02:02 -04:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Joey Armstrong
b5eb4cb307 bug 870406: move to moz.build (config batch #1) r=mshal 2013-05-24 17:21:14 -07:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Aryeh Gregor
b7c3e8030b Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Joel Williamson
9f33b2db9a Bug 858897 - Fix warnings in umaptable.c. r=smontagu 2013-04-22 08:39:19 -04:00
Masatoshi Kimura
4b44247f84 Bug 859172 - Call SetInputErrorBehavior from convertURItoUnicode. r=smontagu 2013-04-19 22:15:41 +09:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Trevor Saunders
b0ffacd110 bug 856349 - remove useless SHORT_LIBNAME assignments r=glandium 2013-03-30 15:42:45 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 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
f290401a73 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Gregory Szorc
94ec89296d 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
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
3d694a85c0 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
629b5d86c6 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
878eef650d Bug 843434: Fix assert in nsUnicharStreamLoader. r=emk 2013-03-11 21:02:53 -05:00
Gregory Szorc
336f0ba1c2 Bug 784841 - Part 18q: Convert /intl; r=ted f=Ms2ger 2013-02-25 12:47:21 -08:00
Mats Palmgren
d5826be6d7 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
59fe5876e3 Bug 830112 - Remove prtypes.h from intl/ and some other cleanups. r=smontagu 2013-01-14 03:06:28 +09:00
Nicholas Nethercote
5a0ddb8c19 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
994d26bca0 Bug 805374 - Remove UTF-16 family from Character Encoding menu. r=smontagu 2012-12-16 19:54:58 -05:00
Ting-Yuan Huang
8d45620706 Bug 815473 - Replace runtime computed gUnicodeToGBKTable by constants. r=smontagu 2012-12-16 19:20:01 -05:00
Masatoshi Kimura
02dba66140 Bug 638379 - Part 3: Remove workaround for unreliable inputErrorBehavior. r=hsivonen 2012-12-10 09:11:15 -05:00
Masatoshi Kimura
1ba5ed9970 Bug 638379 - Part 1: Implement kOnError_Recover to the UTF-8 decoder. r=smontagu 2012-12-10 09:10:28 -05:00
Trevor Saunders
771e73c6c6 bug 801466 - remove some usage of prmem in intl/ and network/ r=jduell 2012-12-04 18:04:39 -05:00
Ed Morley
d94774623e Backout 3d411a8554e0 (bug 801466) for build failures 2012-12-04 23:34:40 +00:00
Trevor Saunders
b09a79d578 [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
9d1bdee1a4 Bug 782412 - Part 4: Implement inputErrorBehavior. r=smontagu 2012-11-26 20:38:20 -05:00
Masatoshi Kimura
163d9a13d5 Bug 782412 - Part 3: Improve the BOM handling. r=smontagu 2012-11-26 20:38:20 -05:00
Masatoshi Kimura
c88f1db6a1 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
5477b5fa0b 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
d20f26527a 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
3305583642 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
78b2656cbc 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
03be701616 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
9e41ce2fa0 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
6f417f5fea Fix off-by-one error in conversion pointers. Bug 801681, r=emk 2012-10-18 16:35:04 +02:00
Ehsan Akhgari
f5557dac78 Merge mozilla-central into mozilla-inbound 2012-10-17 13:03:16 -04:00
Neil Rashbrook
77b4e5ec47 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
88f480b3d0 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
7a4793033c Bug 802059 - Implement labels for existing encodings from the encoding spec; r=smontagu 2012-10-16 17:34:07 +02:00
Masatoshi Kimura
c579dc0d63 Bug 799910 - Fix ASCII range of EUC-KR and Big5 converters. r=smontagu 2012-10-16 21:34:03 -04:00
Trevor Saunders
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Masatoshi Kimura
720481993b Bug 797385 - Part 3: Remove ibm864i converter. r=smontagu 2012-10-10 06:32:37 -04:00
Masatoshi Kimura
50c0d83bb3 Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu 2012-10-10 06:32:37 -04:00
Masatoshi Kimura
7a569b823e 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
1530e94234 Bug 790354 - Remove unused variable 'ch' in nsBasicUTF7Decoder::ConvertNoBuff r=smontagu 2012-09-12 12:43:18 -04:00
Andrew Quartey
91a22ba542 Bug 786687 - Add null check for passed parameter to NS_strlen r=dougt 2012-09-04 11:12:33 -04:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Makoto Kato
7273786190 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
2962d2eed1 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
217645f36e 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
8c296bbcd4 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
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Julian Reschke
59947ada43 Bug 776399 - Fix IDL compat problem introduced by changes for bug 663057. r=bz 2012-07-24 21:37:32 -04:00
Nathan Froyd
5b30baa4c3 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
9ac7bb2267 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Masatoshi Kimura
95eb0a2342 Bug 763617 - Don't propagate an error code from GetCharsetAlias. r=smontagu 2012-06-14 18:45:46 -04:00
Ehsan Akhgari
b5161f97b8 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
3216ac51ce Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham
638c878b13 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
b990b2de76 Bug 710693 - Move internal encoding check into nsCharsetAlias. r=smontagu 2012-05-24 18:45:10 -04:00
Irving Reid
e183918848 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
a492595d68 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
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu
dd04c3afc8 Tests for bug 715319 2012-05-20 02:09:14 -07:00
Simon Montagu
3ea06a878d Tests for bug 718573 2012-02-07 13:09:15 +02:00
Ryan VanderMeulen
8a1ce69485 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
a0a99e8f8a Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Makoto Kato
ec2d5f5eb0 Bug 738581 - fix various warning on mozilla/intl. r=smontagu 2012-03-26 11:27:52 +09:00
Simon Montagu
d315d1b6da Various fixes to multi-byte Unicode decoders. Bug 715319, r=emk 2012-03-16 13:41:41 -07:00
Masatoshi Kimura
a95d3ce733 Bug 734090 - Fix GB18030 4-bytes mappings. r=smontagu 2012-03-09 20:52:14 -05:00
Makoto Kato
8e7fa7d23a 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
3ab321ae6d Improve the tests for end of output block. Bug 718573, r=emk 2012-02-09 17:50:48 +02:00
Simon Montagu
861301dbd6 Tests for bug 670556, r=emk 2012-01-22 12:04:08 +02:00
Simon Montagu
90d7a2d1ac Fix typos in conditions. Bug 670556, r=emk 2012-01-22 12:04:05 +02:00
Simon Montagu
0371753e38 Use moz_malloc and _free instead of nsMemory. Bug 705407, r=bsmedberg 2012-01-18 20:23:25 +02:00
Makoto Kato
4a57071627 Bug 718500 - View > Character Encoding > Auto-Detect menupopup is broken. r=smontagu 2012-01-18 14:43:31 +09:00
Ms2ger
5fede6562b Bug 714613 - Simplify nsShiftJISToUnicode::Convert; r=smontagu 2012-01-15 09:13:12 +01:00
Asaf Romano
616bd2f715 Bug 713519 - getCharsetAlias should throw for unknown character sets. r=smontagu. 2012-01-12 18:24:16 +02:00
Ms2ger
281c274704 Bug 623610 - Remove support for geostd8; r=smontagu 2012-01-02 19:05:20 +01:00
Masatoshi Kimura
b0982d242b 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
33673fb525 Bug 712198 - Remove NS_WIN32, NS_UNIX and NS_OS2. r=khuey 2011-12-21 14:09:17 +09:00
John Schoenick
34b5116fdd Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
Ms2ger
b6f42e130c Backed out changeset ba447ace2594 (bug 687679) for bustage. 2011-12-16 21:17:16 +01:00
John Schoenick
d2b02fa02e 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
d7d91b8704 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
7bc582f20f 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
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Makoto Kato
155725b729 Bug 699009 - Remove MOZ_USE_NATIVE_UCONV. r=smontagu 2011-11-04 11:59:04 +09:00
Makoto Kato
4d66248646 Bug 698331 - get rid of *WithConversion (intl part). r=smontagu 2011-11-01 16:16:48 +09:00