Skip to content
Snippets Groups Projects
  1. Dec 02, 2012
  2. Oct 26, 2012
  3. Nov 02, 2012
  4. Oct 19, 2012
  5. Oct 22, 2012
  6. Sep 28, 2012
  7. Oct 10, 2012
  8. Sep 20, 2012
  9. Sep 27, 2012
  10. Sep 11, 2012
  11. Aug 29, 2012
  12. Oct 16, 2012
  13. Aug 21, 2012
  14. Aug 14, 2012
  15. Aug 13, 2012
  16. Aug 22, 2012
    • Ehsan Akhgari's avatar
      Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint... · e368dc9c
      Ehsan Akhgari authored
      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
      e368dc9c
  17. Aug 04, 2012
  18. Jul 30, 2012
  19. Aug 06, 2012
  20. Jul 19, 2012
  21. Aug 15, 2012
  22. Jul 04, 2012
Loading