Commit Graph

18 Commits

Author SHA1 Message Date
Ehsan Akhgari
0fd9123eac 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
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Takanori MATSUURA
4e1026d682 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook
a823051c1e Fix DOS line endings rs=joedrew!
DONTBUILD
2011-05-26 20:41:33 +01:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Chris Jones
134e4da0ea Bug 629799, part 3: Ensure that SharedDIBWins are aligned well for alpha recovery. r=jimm 2011-02-16 16:43:30 -06:00
Makoto Kato
b163230e1d Bug 611389 - Minefield 64-bit crash of NVIDIA driver [@ nvwgf2umx.dll@0x56f71a ]. r=bsmedberg a=blocking-beta8+ 2010-11-17 14:50:39 +09:00
Ryan VanderMeulen
b3c91154cb Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin 2010-11-16 10:21:53 +01:00
Benjamin Smedberg
c26e61f8d5 Bug 596451 part E - Implement transparency using DIBs with builtin transparency. Flash at least does this correctly, and since nobody else really uses windowless transparency, this is going to be the Way It Is. r-pending=jimm/karlt 2010-10-27 09:03:09 -04:00
Benjamin Smedberg
980b674f06 More build bustage from Bug 596451 part D. Explicitly initialize the const structures for GCC. 2010-10-25 16:25:01 -04:00
Benjamin Smedberg
ae4a853966 Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies 2010-10-25 13:57:13 -04:00
Benjamin Smedberg
fe0394e97b Bug 606976 - Don't map the memory from a SharedDIB: CreateDIBSection creates another mapping, and we don't actually use the mapping for anything, r=jimm 2010-10-25 13:22:43 -04:00
Chris Jones
96d13f9099 bug 523174: add a higher-level Shmem class that implements exclusive access rights between parent/child actors and does over/underflow checking. (Also adds a stop-gap lower-level SharedMemory class in lieu of bug 523172.) r=joedrew 2009-12-04 12:45:15 -06:00
Jim Mathies
7783b7b59a Bug 522299 - fix linux bustage. 2009-12-01 16:26:45 -06:00
Jim Mathies
0ffd1b2e75 Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00