Commit Graph

104 Commits

Author SHA1 Message Date
Gregory Szorc
df855dd06e Bug 784841 - Part 18q: Convert /intl; r=ted f=Ms2ger 2013-02-25 12:47:21 -08:00
Mats Palmgren
b7ae90666d 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
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
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
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
Jonathan Watt
970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makoto Kato
bdc3f9b1df Bug 738581 - fix various warning on mozilla/intl. r=smontagu 2012-03-26 11:27:52 +09:00
Simon Montagu
35e3bc75b1 Improve the tests for end of output block. Bug 718573, r=emk 2012-02-09 17:50:48 +02:00
Simon Montagu
afd7130aa1 Fix typos in conditions. Bug 670556, r=emk 2012-01-22 12:04:05 +02:00
Makoto Kato
6134979a79 Bug 712198 - Remove NS_WIN32, NS_UNIX and NS_OS2. r=khuey 2011-12-21 14:09:17 +09:00
Ehsan Akhgari
92064e6d3f 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
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Dominic Fandrey
968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Simon Montagu
c59a93e2d4 Fix the range check for CP949 in uscan.c, Bug 658952. Correct a typo in the alias cseuckr, Bug 462687 r=emk 2011-05-30 08:38:26 +03:00
Daniel Holbert
4a824967d7 Bug 576556: Add GCC-suggested parens in uconv.c to fix build warning. r=smontagu 2010-07-05 13:48:59 -07:00
Ehren Metcalfe
ab19d256ae Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Michael Kohler
6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Simon Montagu
8ef9f65617 Fix an off-by-one error with undefined codepoints. Bug 564679, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2010-05-11 17:38:25 +03:00
Henri Sivonen
213aca73bc Bug 482918 - Move HTML5 parsing off the main thread. r=bnewman.
--HG--
extra : rebase_source : 8d44fdc215e14ed8da34793c1f432bc2bc9f6e05
2009-09-25 20:11:02 +03:00
Daniel Holbert
43553fc3b5 Bug 529365, patch 2: Add braces (and adjust indentation) to fix build warning in nsBufferDecoderSupport::Convert. r=smontagu 2009-11-17 22:08:22 -08:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Hashem Masoud
b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02: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
Masatoshi Kimura
ae33e0b22f Bug 457886 - Cannot send ISO-2022-JP email on Tb trunk; r=smontagu sr=bienvenu 2008-10-11 02:52:24 +02:00
Simon Montagu
8f1bffa84b Use ASCII-compatible fallback if an encoder has no values defined for code points below U+0020. Bug 399257, r=jshin 2008-06-04 22:53:33 +03:00
reed@reedloden.com
3ec5934dd6 Bug 403221 - "Fix typo: |explaination| -> |explanation|" [p=sgautherie.bz@free.fr (Serge Gautherie)] 2007-11-12 22:51:37 -08:00
smontagu@smontagu.org
18da58e54b Treat all empty and incomplete sequences as encoding errors, and some other clean-up. Bug 381412, r=jshin, sr=dveditz, b1.9=jst 2007-09-05 22:02:17 -07:00
jwalden@mit.edu
6d7584839a 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
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
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
1db860f6a9 DeCOMtamination of intl/uconv utilities. Bug 336609, r=jshin, sr=roc 2006-05-17 08:58:00 +00:00
jshin%mailaps.org
342cca8507 bug 245693 : Unicode->EUC-KR converter loses data on coming across characters not representable in 2bytes (r=smontagu, sr=dbaron) 2006-05-17 02:40:11 +00:00
caillon%redhat.com
4e3df99fda Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2006-05-17 02:40:10 +00:00
gerv%gerv.net
fbb3460483 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-05-17 02:39:15 +00:00
jshin%mailaps.org
a66b40d805 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) 2006-05-17 02:39:14 +00:00
sfraser%netscape.com
25bb2b740e Make lots of static data const. Bug 74803. r=dbaron, sr=alecf 2006-05-17 02:39:13 +00:00
dbaron%dbaron.org
637dfbddbf 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
dougt%netscape.com
c3512c3962 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2006-05-17 02:37:36 +00:00
yokoyama%netscape.com
19a0b8da31 Bug 110486
Removing NSGetFactory from UCONV
/r=shanjian; /sr=brendan
2006-05-17 02:37:35 +00:00
jshin%mailaps.org
d5632dfed2 bug 133216 - make multibyte decoder more robust for invalid octet sequence.
r=yokoyama, sr=alecf, a=asa
2006-05-17 02:37:34 +00:00
jshin%mailaps.org
d385602ff0 Bug 128587 : Fix a typo in uScanDecomposedHangulCommon() to make
EUC-KR/ISO-2022-KR decoders work correctly with 8byte-seq. representation
of Hangul syllables. r=yokoyama, sr=alecf, a=scc
2006-05-17 02:37:33 +00:00
ftang%netscape.com
f0ec02a26b 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
2006-05-17 02:37:32 +00:00
gerv%gerv.net
150c4d33a5 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2006-05-17 02:37:31 +00:00
gerv%gerv.net
59263a2fdf Oops. 2006-05-17 02:33:32 +00:00
scc%mozilla.org
6e78e449ab bug #98089: ripped new license 2006-05-17 02:33:31 +00:00
yokoyama%netscape.com
099b876d99 Bug 88944 for jshin. r=ftang sr=blizzard@mozilla.org
adding converter support for x-windows-949 and x-johab
2006-05-17 02:33:30 +00:00
ftang%netscape.com
ad9f228de6 blizzard ask me fix tab in the sr comment of 79273. Here is the change which only change tab and space
I use VC++ and 1. Select all 2. Edit:Advanced:Format Selection while Tools:Options.. Tabs set to 2/2 Smart
2006-05-17 02:33:29 +00:00