Commit Graph

17 Commits

Author SHA1 Message Date
Birunthan Mohanathas
08efb5ff8c Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
5ca3cefda6 Bug 928049 - Remove some prtypes.h inclusions from parser/; rs=bsmedberg 2013-10-18 20:34:58 -04:00
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
Henri Sivonen
4cb66b631d Bug 555940 - Make named character names use a dedicated data type. r=tglek, a=jst. 2010-09-28 10:32:31 +03:00
Henri Sivonen
4f178bfcdf Bug 598886 - Relicense HTML5 parser C++ files that are not Gecko-specific. r=gerv, a=NPOTB. 2010-09-28 10:32:31 +03:00
Henri Sivonen
ed398af2c1 Bug 555941 - Split HILO_ACCEL out of nsHtml5NamedCharacters. r=jonas, a=benjamin. 2010-06-24 11:54:33 +03:00
Henri Sivonen
7052717a24 Bug 501082 - Use a more efficient data layout for the named character tables in the HTML5 parser. Based on patch by dbaron. r=bnewman. 2010-03-29 14:01:18 +03:00
Henri Sivonen
382fdd2350 Bug 506090 - Speed up the tokenization of named character references in the HTML5 parser. r=bnewman. 2010-02-10 11:23:35 +02:00
Henri Sivonen
48e31b0668 Bug 509009, bug 497848 - Update the HTML5 tokenizer to spec (excluding script changes) as of 2009-11-24. rs=sicking. 2009-11-30 17:34:51 +02:00
Ben Newman
2fa2b5e55e Bug 505602 - [HTML5] Reduce amount of nsHtml5NamedCharacters generated code. r=hsivonen sr=mrbkap 2009-08-20 10:37:48 -07:00
Henri Sivonen
954514ba6f Bug 501083 - Release the Windows 1252 array at shutdown. r+sr=jonas 2009-06-30 13:53:58 +03:00
Gavin Sharp
c8e0ad46cc Add bug # reference for workaround 2009-06-29 05:09:27 -04:00
Gavin Sharp
2e090d3e61 Work around strange MSVC bug with the new html5 parser that's causing Windows CE build timeouts (and longer build times with msvc in general) by disabling optimization for nsHtml5NamedCharacters::initializeStatics, r=timeless on IRC 2009-06-29 04:54:40 -04:00
Henri Sivonen
2f19c38b3b Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
64cf7ea628 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Jonas Sicking
6a0cbe0e68 Move files to better location 2009-06-26 17:12:29 -07:00