Commit Graph

12 Commits

Author SHA1 Message Date
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
Mounir Lamouri
e744d91b29 Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking 2012-07-15 18:37:31 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
dwitte%stanford.edu
33e373e757 tidy up popup blocker code.
b=279710, r+sr=dveditz.
2005-02-06 08:25:40 +00:00
bsmedberg%covad.net
7d79d7ba8b Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
bzbarsky%mit.edu
a7d8e133da Checking in permissions rewrite phase 1 (troop deployment in the permission
gulf).  Bug 191380, patch by mvl@exedo.nl (Michiel van Leeuwen),
r=dwitte@stanford.edu, sr=darin.
2003-03-22 01:24:51 +00:00
dveditz%netscape.com
6e59614155 bug 174765 restoring critical permission manager initialization that reviewers nitpicked out. 2002-10-25 04:46:19 +00:00
dveditz%netscape.com
54a4cd8e0d Backend changes to support popup blocking whitelists. No Mozilla UI yet but used by Phoenix. bug 174765 r=danm,sr=jag,a=brendan 2002-10-25 02:31:12 +00:00
danm%netscape.com
3e01ff0e77 include URI in notification of permission change. bug 166442 r=brendan,jag 2002-09-28 16:00:13 +00:00
danm%netscape.com
52f1d992ef switching to the new, final(!?) popup window management preferences organisation. bug 166442 r=jag,jst 2002-09-18 14:45:31 +00:00
danm%netscape.com
2876677fca minor change to be controlled by a preference setting other than dom.disable_open. r=jag,lumpy 2002-09-14 19:49:41 +00:00
danm%netscape.com
72c94ab2d9 popup window permissions manager. bug 166442 r=jag,jst,morse,timeless 2002-09-11 02:10:46 +00:00