Commit Graph

19 Commits

Author SHA1 Message Date
Ms2ger
503d7fdd5e No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Terrence Cole
6ae88af681 Bug 916993 - Handlify the public JSString APIs; r=bz,jonco 2013-09-16 18:33:40 -07:00
Ms2ger
f3b7092d51 Bug 903794 - Cleanup PluginModuleParent.h includes; r=johns 2013-08-14 09:00:47 +02:00
Nicholas Nethercote
f7d6f07d24 Bug 898914 (part 1) - Remove JSBool. 2013-08-08 15:53:04 -07:00
Nicholas Nethercote
f30b759645 Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz. 2013-08-06 23:59:54 -07:00
Bobby Holley
c9c266aea9 Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
3587c0ac6b Bug 868130 - Fix sketchy cx consumers identified by gabor. r=gabor 2013-05-22 10:05:27 -06:00
Ehsan Akhgari
e69df6e0cd Bug 853560 - Fix nsTArray::SetCapacity callers in dom/plugins to not look at the return value; r=bsmedberg 2013-03-21 14:43:04 -04:00
Jeff Walden
8a6657de57 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05: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
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Ed Morley
dfaf97abff Bug 605174 - Fix a number of build warnings in dom/ (based on patch by Ms2ger <ms2ger@gmail.com>); r=peterv 2011-09-18 20:02:27 +01:00
Benjamin Smedberg
0f2eac9975 Bug 653083 part 2: Fix crash introduced in this patch by moving the plugin-alive null checks before the identifier tries to use the module, r=captain-obvious 2011-06-17 15:42:13 -04:00
Benjamin Smedberg
bccb7c9174 Bug 653083 - Deal with NPRuntime identifier which may be non-interned being passed across the process boundary, and the current cache which isn't aware of that problem. r=bent,cdleary 2011-06-14 15:49:48 -04:00
Benjamin Smedberg
db0bb30d65 Back out bug 653083 because of crashtest crashes (bug698862.html) in PluginInstanceParent::GetNPP for a crashed plugin 2011-06-16 13:22:24 -04:00
Benjamin Smedberg
2e43a3b279 Bug 653083 - Deal with NPRuntime identifier which may be non-interned being passed across the process boundary, and the current cache which isn't aware of that problem. r=bent,cdleary 2011-06-14 15:49:48 -04:00
Josh Aas
0f19e20690 Bug 649488: Move contents of dom/plugins to dom/plugins/ipc. r=bsmedberg 2011-04-12 16:26:11 -07:00