Commit Graph
38 Commits
Author SHA1 Message Date
Nathan Froyd c2f37c0a66 Bug 1221550 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in intl/; r=smontagu 2015-11-03 15:49:22 -05:00
Ehsan Akhgari 68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari 04764fe325 Bug 921472 - Minimize the #includes in intl/; r=smontagu 2013-09-27 12:45:04 -04:00
Trevor Saunders c67a1ab449 bug 887854 - remove a bunch of useless includes of pratom.h in intl/ r=ms2ger 2013-06-27 13:04:14 -04:00
Makoto Kato 9fd39213c3 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 243c878d26 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 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari 478ad1a412 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 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Simon Montagu 11a662066c Fix an off-by-one error with undefined codepoints. Bug 564679, r=Masatoshi Kimura <[email protected]> 2010-05-11 17:38:25 +03:00
Makoto Kato 5cacf362f2 Bug 174351: Encoding errors aren't treated as fatal XML errors. r=smontagu, sr=peterv 2009-02-16 04:22:47 -08:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
[email protected] b0706df668 Remove mShiftTable from encoders/decoders that don't use it and various other pieces of stale code. Bug 336575, r=jshin, rs=roc 2006-08-07 07:57:31 +00:00
[email protected] d9fdf7f1e0 DeCOMtamination of intl/uconv utilities. Bug 336609, r=jshin, sr=roc 2006-05-17 08:58:00 +00:00
[email protected] 830963a911 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-05-17 02:39:15 +00:00
[email protected] 81232d8d16 Make lots of static data const. Bug 74803. r=dbaron, sr=alecf 2006-05-17 02:39:13 +00:00
[email protected] 6f889f5d72 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2006-05-17 02:37:49 +00:00
[email protected] 55bc027bca 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2006-05-17 02:37:36 +00:00
[email protected] 9f7a9709a3 Bug 110486
Removing NSGetFactory from UCONV
/r=shanjian; /sr=brendan
2006-05-17 02:37:35 +00:00
[email protected] 8f1f25d08b License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2006-05-17 02:37:31 +00:00
[email protected] bf823dc6ce Oops. 2006-05-17 02:33:32 +00:00
[email protected] 24cfc674e6 bug #98089: ripped new license 2006-05-17 02:33:31 +00:00
[email protected] 4154b6d891 Bug 75707: Some BIG5 characters can not be displayed properly in Solaris Trunk
add a boolean value to valid the med
checking in for ftang
2006-05-17 02:33:28 +00:00
[email protected] 5808c78c0c fix bug 73710. rewrite the multi table conversion routine to support overlap range
for HKSCS and EUC-TW
rs=ftang
2006-05-17 02:33:27 +00:00
[email protected] fae0e8cce8 Bug 77209. Get rid of unused module instance counting in order to eliminate duplicate global symbols. r=erik, sr=shaver 2006-05-17 02:33:26 +00:00
[email protected] 44afc4de0c #64235, 25037 illegal 0xA0 code point in Multibyte charset break parser
r=ftang, sr=erik
uscan.c
nsUnicodeDecodeHelper.cpp
nsGB2312ToUnicodeV2.cpp
nsGBKToUnicode.cpp
nsJapaneseToUnicode.cpp
2006-05-17 02:33:22 +00:00
[email protected] 3cf2a9f723 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self
2006-05-17 02:33:21 +00:00
[email protected] c6078ab946 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms 2006-05-17 02:33:20 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] c03d1428ef Convert to module from component 1999-09-30 21:11:05 +00:00
[email protected] 6654bcfcf3 add MappingCache 1999-05-10 23:19:21 +00:00
[email protected] 461ce3ad92 Deprecated methods deleted. 1999-04-19 21:15:09 +00:00
[email protected] 92c708845d Method renamed for clarity. 1999-04-19 20:26:26 +00:00
[email protected] 35de1ae5ea Fixed signed/unsigned bug. 1999-04-01 02:22:17 +00:00
[email protected] 7eb619beab Minor bug fix. 1999-03-29 23:48:55 +00:00
[email protected] 81b8c4ccbe Multi-table helper decoder. 1999-03-25 17:33:39 +00:00
[email protected] d5f66734fb Decode helper object added. 1999-03-23 20:47:35 +00:00