Commit Graph

7 Commits

Author SHA1 Message Date
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
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Hector Chu
c4dce723e2 Bug 293670. Pages rendered with gtkmozembed stream API don't fire onload. r=bzbarsky 2009-07-03 18:00:02 -07:00
812c9a4040 Bug 398009 - fix mangled license headers. a=stuart. 2007-10-06 05:08:39 -07:00
cbiesinger@web.de
583f740685 265333 change nsIWebBrowserStream in preparation of freezing:
- make it take nsIURI as base URI, for IDN support and correct charset handling
- use an octet array instead of string for binary data
- use ACString for the mime type
- improve documentation

r=marco sr=darin
2004-11-12 22:47:50 +00:00
gerv@gerv.net
0b8ea7995e Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 18:48:35 +00:00
bsmedberg@covad.net
56bcc480bd Parts of bug 205425 - turn the embedding widget into a GRE client - patch by marco@gnome.org r=me sr=blizzard 2004-05-29 17:43:59 +00:00