Commit Graph

8 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
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Oleg Romashin
67550e9505 Bug 770754 - Allow build Qt mobility without maemo define. r=dougt 2012-07-09 20:53:17 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano
eb57a32930 Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09: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
Peter Van der Beken
c119510fb8 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Mike Kristoffersen
c2044b5b23 Bug 569680 - Move the platform specific geolocation files. r=dougt
--HG--
rename : dom/interfaces/geolocation/nsIGeolocationProvider.idl => dom/interfaces/geolocation/nsIGeolocationPrompt.idl
rename : dom/src/geolocation/GPSDGeolocationProvider.js => dom/system/GPSDGeolocationProvider.js
rename : dom/src/geolocation/GPSDGeolocationProvider.manifest => dom/system/GPSDGeolocationProvider.manifest
rename : dom/src/geolocation/NetworkGeolocationProvider.js => dom/system/NetworkGeolocationProvider.js
rename : dom/src/geolocation/NetworkGeolocationProvider.manifest => dom/system/NetworkGeolocationProvider.manifest
rename : dom/src/geolocation/AndroidLocationProvider.cpp => dom/system/android/AndroidLocationProvider.cpp
rename : dom/src/geolocation/AndroidLocationProvider.h => dom/system/android/AndroidLocationProvider.h
rename : dom/src/geolocation/MaemoLocationProvider.cpp => dom/system/unix/MaemoLocationProvider.cpp
rename : dom/src/geolocation/MaemoLocationProvider.h => dom/system/unix/MaemoLocationProvider.h
rename : dom/src/geolocation/WinMobileLocationProvider.cpp => dom/system/windows/WinMobileLocationProvider.cpp
rename : dom/src/geolocation/WinMobileLocationProvider.h => dom/system/windows/WinMobileLocationProvider.h
rename : dom/interfaces/geolocation/nsIGeolocationProvider.idl => xpcom/system/nsIGeolocationProvider.idl
2010-07-14 19:09:25 +02:00