Commit Graph

37 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Terrence Cole
88f9bc5932 Bug 1178581 - Interning does not and should not imply infinite lifetime; r=sfink 2015-06-30 07:58:31 -07:00
Aaron Klotz
432078c711 Bug 1171453: Make ParentNPObjects aware of AsyncNPObject wrappers; r=jimm 2015-06-10 12:20:56 -06:00
Birunthan Mohanathas
a5b2d5a35a Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj 2015-05-18 13:50:35 -07:00
Kyle Huey
3f5b8810c4 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Aaron Klotz
e680ff3808 Bug 998863: Asynchronous Plugin Initialization, Part 12: PluginScriptableObject changes; r=jimm 2014-12-29 16:14:21 -07:00
Phil Ringnalda
4227fff1a3 Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
CLOSED TREE

Backed out changeset 076d1d47d601 (bug 1070755)
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz
2a4e743bdd Bug 998863: Asynchronous Plugin Initialization, Part 12: PluginScriptableObject changes; r=jimm 2014-12-24 17:57:33 -07:00
Ehsan Akhgari
adaedd07aa Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku 2014-10-10 17:28:35 -04:00
Bill McCloskey
e5e5debbf4 Bug 1081353 - Eliminate PPluginIdentifier (r=bsmedberg) 2014-10-20 09:47:25 -07:00
Bobby Holley
b2b763cb29 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
df43fcf12d Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
10dec58cfc Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Josh Aas
0bfbc258e7 Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent 2014-05-02 13:44:13 -05:00
Ehsan Akhgari
3528280af3 Bug 969868 - Use fallible allocations in some places in our plugin code; r=bsmedberg
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-08 16:04:09 -05:00
Ehsan Akhgari
9baef6ed94 Bug 942633 - Build more dom/ code in unified mode; r=bzbarsky 2013-11-26 11:38:52 -05:00
Ed Morley
64b44683a3 Backed out changeset 8c69c6e6fc39 (bug 942633) for build failures on a CLOSED TREE 2013-11-26 17:30:55 +00:00
Ehsan Akhgari
005a5f14dc Bug 942633 - Build more dom/ code in unified mode; r=bzbarsky 2013-11-26 11:38:52 -05:00
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