Commit Graph

149 Commits

Author SHA1 Message Date
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
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
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
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
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
Ehren Metcalfe
ab19d256ae Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +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
Michael Kohler
6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02: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
Phil Ringnalda
9c3888a484 Bug 342754 - pavlov defined NS_CHARSETALIAS_CID a second time, r=smontagu 2009-08-25 20:20:33 -07: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
Makoto Kato
6c49622ac3 Bug 174351: Encoding errors aren't treated as fatal XML errors. r=smontagu, sr=peterv 2009-02-16 04:22:47 -08:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
smontagu%smontagu.org
71d338a0b4 Update comments to nsIUnicodeEncoder::Convert() to include NS_OK_UENC_MOREINPUT in the possible return values. Bug 366147, r=jshin, sr=roc 2007-03-12 09:59:12 +00:00
timeless%mozdev.org
175c16555f Bug 337244 Incorrect pointer passed in nsUnicodeToISO2022JP::ConvertNoBuffNoErr
r=smontagu sr=roc
2006-12-06 02:49:51 +00:00
benjamin%smedbergs.us
217948472d Re-land bug 345517 now that the logging issues are hopefully fixed, r=darin/mento/mano 2006-11-13 17:53:01 +00:00
pavlov%pavlov.net
0b5a3c2706 backing out 345517 due to leak test bustage 2006-11-10 04:42:03 +00:00
benjamin%smedbergs.us
338a8a2205 Bug 345517, try #2, make the browser component use frozen linkage, so that ff+xr builds. This does *not* --enable-libxul by default for Firefox (yet). That will wait until after 1.9a1. Older patch r=darin+mento, revisions r=mano 2006-11-09 15:12:24 +00:00
smontagu%smontagu.org
d412ccddfd Big endian bustage fix from bug 336575 2006-08-07 08:25:06 +00:00
smontagu%smontagu.org
848316fb3c 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
smontagu%smontagu.org
857d588514 Fix build bustage 2006-05-17 11:11:21 +00:00
smontagu%smontagu.org
fd6ae025ca DeCOMtamination of intl/uconv utilities. Bug 336609, r=jshin, sr=roc 2006-05-17 10:56:50 +00:00
smontagu%smontagu.org
1db860f6a9 DeCOMtamination of intl/uconv utilities. Bug 336609, r=jshin, sr=roc 2006-05-17 08:58:00 +00:00
masayuki%d-toybox.com
7fcaf1d989 Bug 201071 signature file containing accented characters has become corrupted / Bug 153855 Composer does not display a UTF-8 signature in the right way. r=jshin, sr=bienvenu 2006-04-10 15:27:29 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
cbiesinger%web.de
2e7e16befb Bug 295047 Want unicode stream readers/writers: Makes nsIUnicharInputStream and
nsIConverterInputStream scriptable, and adds nsIUnicharOutputStream and
nsIConverterOutputStream (together with implementations).
r=jshin sr=darin a=chofmann
2005-06-24 19:44:50 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
jshin%mailaps.org
9997d13b08 bug 235090 : add 'UTF-16' de/encoders so that CSS stylesheets labelled with 'UTF-16' can be recognized. (r+sr=bzbarsky) 2004-04-13 01:12:18 +00:00
jshin%mailaps.org
6ece9f55bf bug 195093 : modernize nsILocale (r=smontagu, sr=darin) 2003-10-30 05:04:45 +00:00
jshin%mailaps.org
17781c379f bug 214743 : remove Hangul Jamo fallback in KSC5601GL encoder and 'generator'. Also remove the corresponding 'scanner' in uscan.c that's not used by any decoder (r=smontagu,sr=blizzard) 2003-08-06 17:07:22 +00:00
jshin%mailaps.org
c1c03f8f14 bug 195093 : modernize |GetDefaultCharsetForLocale| (use nsACString). r=darin, sr=bz 2003-07-22 23:46:38 +00:00
jshin%mailaps.org
eb93104d96 bug 167265 : add to necko Content-Disposition header handling per RFC 2231 (with
fallbacks to RFC 2047 and raw 8bit chars in |aOriginCharset| ) necessary for
i18nized filename support (when downloading files via http) :
r=cbiesinger, sr=alecf
2003-06-12 21:57:49 +00:00
alecf%flett.org
2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
sfraser%netscape.com
395413772f Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
sfraser%netscape.com
eab5d38cb2 Make lots of static data const. Bug 74803. r=dbaron, sr=alecf 2003-02-26 01:15:36 +00:00
bzbarsky%mit.edu
d9ea7f8f8f Bug 119321 and bug 80106. Create a generic nsIUnicharStreamLoader that
makes two callbacks -- one to determine the charset and one to provide
an nsIUnicharInputStream.  Use this in the CSSLoader instead of
allocating a single big buffer for the sheet.  Clean up the way we look
for the @charset charset in the sheet data.

r=rpotts for netwerk/, r=peterv for content/, r=smontagu for intl/,
sr=darin for the whole thing.
2002-08-27 23:47:25 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
alecf%netscape.com
5f2d1b47c1 final fix for bug 125617 - make the charset detectors use the category manager rather than the registry
and make extensible bundles use the category manager as well
r=dougt, sr=dveditz
2002-07-09 00:07:09 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
alecf%netscape.com
eed8e408de fix for bug 125617 - use the category manager instead of the registry to keep our list of encoders/decoders
r=dougt, sr=dveditz
2002-06-22 21:08:00 +00:00
shanjian%netscape.com
0d8cf68441 #148026 We should return error when default locale is used for unix platform charset
Replace error return code by success return code for unix platform charset getter.
r=bryner, sr=darin
2002-05-30 03:23:38 +00:00
mkaply%us.ibm.com
59d175907d #114891
r=nhotta, sr=blizzard, a=rjesup
New enum for specifying charset of 4.x prefs.js
2002-05-14 04:13:02 +00:00
dougt%netscape.com
a54b6aec9e synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver 2002-05-11 21:15:06 +00:00
dbaron%fas.harvard.edu
241f60a176 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:42:00 +00:00
ftang%netscape.com
2dc21da03e fix bug 9519 r=ftang sr=brendan a=roc+moz
make uconv code port to 32 bits clean for arm arch
thansk  jeroen.dobbelaere@acunia.com
2002-03-08 01:12:33 +00:00