Commit Graph

30 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
Jonathan Kew
b83d579784 bug 763982 - update and optimize Arabic char processing in TransformText. r=smontagu 2012-06-20 20:58:19 +01: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
Simon Montagu
cc6357ccc9 Update data files to Unicode 6.1. Bug 723509, r=jfkthame 2012-02-06 15:54:52 +02: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
Edmund Wong
9d6d399f4f Bug 366774 - Removed unused preference bidi.characterset. r=smontagu 2011-05-10 20:24:43 +02:00
Philip Chee
883fef5d4e Backed out changeset: 96bfa1480f5f 2011-04-25 02:23:02 +08:00
Edmund Wong
52a902f900 Bug 366774 - Remove unused preference bidi.characterset. (p5) (v2) r=smontagu 2011-04-25 01:57:23 +08: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
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
ca2a90bdee Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc 2008-12-18 23:42:53 +03:30
Simon Montagu
d9ef03b490 Exclude Arabic numeric formatting characters from IS_ARABIC_ALPHABETIC. Bug 438571, r=Ehsan Akhgari <ehsan.akhgari@gmail.com> 2008-12-06 08:45:31 -08:00
Arpad Borsos
eef0edf9d5 Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie) 2008-09-15 17:40:25 +02:00
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
1fdf16e149 Remove unnecessary include of nsCOMPtr.h. Bug 400918, r+sr=roc, a=dsicore 2008-01-06 01:41:20 -08: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
ae93203d63 Trigger Bidi processing also for non-displayable control characters (RLM, RLE, RLO, etc.) Bug 177148, r+sr=roc, a=asa 2007-06-28 13:02:59 -07:00
smontagu@smontagu.org
304cfb33d6 Improve the CHAR_IS_BIDI macro. Bug 240943, patch from an idea by Peter Kirk, r+sr=roc 2007-06-28 13:02:57 -07:00
smontagu@smontagu.org
e9c6d5f43b Fix flipping of Arabic text when pasted to clipboard. Bug 197375, r+sr=bzbarsky 2007-06-28 13:02:56 -07:00
smontagu@smontagu.org
76f1f3e263 Update bidi data tables to Unicode 4.0.1 and add surrogate handling. Bug 240943, r=jshin, sr=rbs. 2007-06-28 13:02:54 -07:00
gerv@gerv.net
2ff20e6504 Bug 236613: change to MPL/LGPL/GPL tri-license. 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
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
7bbc2ec369 Fix for bug 121654, "Browser hangs when viewing a Ja message w/o MIME header with folder charset set to Arabic (IBM-864)". r=mkaply, sr=kin, a=asa 2007-06-28 13:02:50 -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