Commit Graph

31 Commits

Author SHA1 Message Date
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
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu
5f367810bd bug 738101 - Use the new mozilla::unicode::GetBidiCat instead of the old GetBidiCat. r=jfkthame 2012-04-18 21:54:54 -07:00
Ehsan Akhgari
2a602a5685 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
d8e503c38b 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
Ehren Metcalfe
40edafab25 Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Jonas Sicking
28396b7d9c Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Simon Montagu
650af63626 Check alt text for right-to-left characters and enable bidi processing if they are found. Bug 503269, r+sr=roc 2009-07-12 06:32:48 -07:00
timeless@mozdev.org
de6cf61130 Bug 491193 - fix intl warnings. r=smontagu 2009-05-18 12:44:02 +02:00
Ehsan Akhgari
d2b5ccb3ce Bug 467672 - need additional bidi.numerals setting for Persian (eastern Arabic-Indic) numerals; r=roc,jfkthame sr=roc 2009-01-30 11:43:17 +03:30
Ehsan Akhgari
3beeff12e4 Bug 473530 - PRBool violations after landing of bug 441782; r,sr=roc 2009-01-15 11:24:44 +03:30
Ehsan Akhgari
0f987d9366 Bug 470376 - Compiler warnings from landing of bug 441782; r,sr=roc 2008-12-19 14:37:09 +03:30
Ehsan Akhgari
ca2a90bdee Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc 2008-12-18 23:42:53 +03:30
smontagu@smontagu.org
479ae9823b Enable bidi processing if there are right-to-left characters in print headers or footers. Bug 421690, r+sr=roc, blocking1.9=damon 2008-03-12 00:56:38 -07:00
smontagu@smontagu.org
564c2941e0 Move SymmSwap and other character-related Bidi utility methods from layout to intl/unicharutil. Bug 385539, r+sr=roc 2007-06-30 22:56:10 -07:00
smontagu@smontagu.org
dae508598f Only strip zero-width joiner and non-joiner control characters when we do our own Arabic shaping. Bug 280936, r=jshin, sr=rbs 2007-06-28 13:02:59 -07:00
dveditz@cruzio.com
f7ec894b10 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin
2007-06-28 13:02:58 -07:00
mats.palmgren@bredband.net
26e2b943da Fix crash on unicode "zero width non-joiner" sequence. b=217903 r+sr=dbaron 2007-06-28 13:02:57 -07:00
smontagu@smontagu.org
efb32cca41 Correct the joining of some Urdu characters. Bug 255566, r=jshin, sr=rbs. 2007-06-28 13:02:55 -07:00
gerv@gerv.net
2ff20e6504 Bug 236613: change to MPL/LGPL/GPL tri-license. 2007-06-28 13:02:52 -07:00
cbiesinger@web.de
9fc18f986d bug 236707 ARABIC COMMA's Joining Class is wrong
patch by Behnam Esfahbod <behnam@esfahbod.info> r=smontagu sr=rbs a=mkaply
2007-06-28 13:02:53 -07:00
darin@meer.net
94ca77c509 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2007-06-28 13:02:52 -07:00
smontagu@netscape.com
e24f6f397b Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa. 2007-06-28 13:02:51 -07:00
sfraser@netscape.com
c39ea6e9ef Make static data const in nsBidiUtils.cpp. Bug 74803. r=dbaron, sr=alecf. 2007-06-28 13:02:50 -07:00
timeless@mozdev.org
c14aff16d7 Bug 126484 Occurences of uninitialized variables being used before being set (in Bidi files)
patch by mozilla-bugs@nogin.org r=smontagu sr=bz
2007-06-28 13:02:49 -07:00
cbiesinger@web.de
bc9839eb92 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2007-06-28 13:02:48 -07:00
smontagu@netscape.com
7548313ad6 Fix crasher bug 158796, r=jkeiser, sr=jst, a=asa 2007-06-28 13:02:47 -07:00
smontagu@netscape.com
d59c8533dc Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson 2007-06-28 13:02:46 -07:00
smontagu@netscape.com
db821410ae ArabicShaping() shouldn't assume that the input and output is in visual order. Bug 137871. r=ftang, sr=attinasi 2007-06-28 13:02:45 -07:00
smontagu@netscape.com
318fd7a323 Move HandleNumbers() from nsBidiPresUtils to nsBidiUtils. Bug 137857. r=ftang, sr=attinasi 2007-06-28 13:02:44 -07:00
smontagu@netscape.com
1d55268105 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2007-06-28 13:02:43 -07:00