Commit Graph

227 Commits

Author SHA1 Message Date
Andrew Quartey
6772f228fb Bug 790354 - Remove unused variable 'ch' in nsBasicUTF7Decoder::ConvertNoBuff r=smontagu 2012-09-12 12:43:18 -04:00
Andrew Quartey
98eb78f3c2 Bug 786687 - Add null check for passed parameter to NS_strlen r=dougt 2012-09-04 11:12:33 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Makoto Kato
84c67ec46b 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
5b76a146bc 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
2795937cf4 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
0fd9123eac 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
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Julian Reschke
3681f7489b Bug 776399 - Fix IDL compat problem introduced by changes for bug 663057. r=bz 2012-07-24 21:37:32 -04:00
Nathan Froyd
a7eb97f896 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
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Masatoshi Kimura
60bb4fea71 Bug 763617 - Don't propagate an error code from GetCharsetAlias. r=smontagu 2012-06-14 18:45:46 -04:00
Ehsan Akhgari
ddcea4e3b7 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
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham
d4eb7d5782 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
82fbf4fc4d Bug 710693 - Move internal encoding check into nsCharsetAlias. r=smontagu 2012-05-24 18:45:10 -04:00
Irving Reid
5fc15f0511 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
7d5a2dd5d4 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
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu
3af1f0d3f4 Tests for bug 715319 2012-05-20 02:09:14 -07:00
Simon Montagu
e600e330a9 Tests for bug 718573 2012-02-07 13:09:15 +02:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Makoto Kato
724c186aec Bug 738581 - fix various warning on mozilla/intl. r=smontagu 2012-03-26 11:27:52 +09:00
Simon Montagu
068e9f59a2 Various fixes to multi-byte Unicode decoders. Bug 715319, r=emk 2012-03-16 13:41:41 -07:00
Masatoshi Kimura
afd3810c8d Bug 734090 - Fix GB18030 4-bytes mappings. r=smontagu 2012-03-09 20:52:14 -05:00
Makoto Kato
2c1e47f122 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
db8c979547 Improve the tests for end of output block. Bug 718573, r=emk 2012-02-09 17:50:48 +02:00
Simon Montagu
45cc733646 Tests for bug 670556, r=emk 2012-01-22 12:04:08 +02:00
Simon Montagu
c3e3ec584a Fix typos in conditions. Bug 670556, r=emk 2012-01-22 12:04:05 +02:00
Simon Montagu
51fd9a10af Use moz_malloc and _free instead of nsMemory. Bug 705407, r=bsmedberg 2012-01-18 20:23:25 +02:00
Makoto Kato
93dfcd83f0 Bug 718500 - View > Character Encoding > Auto-Detect menupopup is broken. r=smontagu 2012-01-18 14:43:31 +09:00
Ms2ger
c953c25ac7 Bug 714613 - Simplify nsShiftJISToUnicode::Convert; r=smontagu 2012-01-15 09:13:12 +01:00
Asaf Romano
4d64dc1dc0 Bug 713519 - getCharsetAlias should throw for unknown character sets. r=smontagu. 2012-01-12 18:24:16 +02:00
Ms2ger
76df986395 Bug 623610 - Remove support for geostd8; r=smontagu 2012-01-02 19:05:20 +01:00
Masatoshi Kimura
0525a0e7b9 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
aa004cb7d1 Bug 712198 - Remove NS_WIN32, NS_UNIX and NS_OS2. r=khuey 2011-12-21 14:09:17 +09:00
John Schoenick
1c874917cd Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst 2011-12-16 11:08:59 -08:00
Ms2ger
c3c3bdba73 Backed out changeset ba447ace2594 (bug 687679) for bustage. 2011-12-16 21:17:16 +01:00
John Schoenick
a355d623f2 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
5f6fd52ef3 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
6a998be2c5 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
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Makoto Kato
0bc2e3fe59 Bug 699009 - Remove MOZ_USE_NATIVE_UCONV. r=smontagu 2011-11-04 11:59:04 +09:00
Makoto Kato
cb4a3f646f Bug 698331 - get rid of *WithConversion (intl part). r=smontagu 2011-11-01 16:16:48 +09:00
Simon Montagu
b888e2c269 Resynchronize the Shift_JIS converter after unrecognized sequences. Bug 690225, r=emk 2011-10-19 07:58:41 +02:00
Simon Montagu
4b4b2d32c4 Backout cset 308f180eb3f4 2011-10-18 15:09:45 +02:00
Simon Montagu
510fd7cf24 Resynchronize the Shift_JIS converter after unrecognized sequences. Bug 690225, r=emk 2011-10-18 14:15:21 +02:00