Commit Graph

12 Commits

Author SHA1 Message Date
Masatoshi Kimura
bae0a32948 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Robert O'Callahan
864665b3b1 Bug 1072528. Part 1: Remove plugin-related code. r=bsmedberg 2014-09-24 16:35:00 -04:00
Gian-Carlo Pascutto
1c0fcb9878 Bug 930458 - Add missing includes for gcc 4.5 compatibility. r=ehsan 2013-10-24 15:09:01 +02:00
Birunthan Mohanathas
f308a7c53f Bug 784739 - Switch from NULL to nullptr in dom/plugins/test/; r=ehsan 2013-10-23 16:35:10 -04:00
Georg Fritzsche
20f486dc62 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02: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
Ed Morley
8aed6b1aff Backout 6943b37c68cc (bug 751809) for bug 783723 2012-08-18 14:11:13 +01:00
Georg Fritzsche
1b121ef207 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
Bas Schouten
4344a80356 Bug 651192 - Part 8: Add NPAPI async code to test plugin. r=roc 2012-02-16 04:30:28 +01:00
Rafael Ávila de Espíndola
b2d24b7c23 Bug 681036 - Fix c++0x initializer list error found by clang. r=karlt
The C++11 draft says about initializer lists:

"If a narrowing conversion (see below) is required to convert any of
the arguments, the program is ill-formed."

and

"A narrowing conversion is an implicit conversion...

from an integer type or unscoped enumeration type to an integer type
that cannot represent all the values of the original type, except where
the source is a constant expression..."
2011-08-24 09:00:16 -04:00
Hiroyuki Ikezoe
e03433a6ce Bug 674803 - Remove needless G_OBJECT. r=karlt 2011-08-07 16:11:00 +02:00
Benjamin Smedberg
7cc822e9b9 Bug 644626 - Move plugin tests from modules/plugin/test to dom/plugin/test, r=ted 2011-05-18 09:05:24 -04:00