Commit Graph

22 Commits

Author SHA1 Message Date
Birunthan Mohanathas
442824a1e0 Bug 1182979 - Part 2: Use nsTHashtable::Iterator in PluginScriptableObjectChild. r=jimm 2015-07-16 10:59:36 -07: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
Bill McCloskey
ea4cd2e4e8 Bug 641685 - Make plugin object map a singleton in the plugin process (r=bsmedberg)
This patches moves the object map (which tracks the PluginScriptableObjectChild
and PluginInstanceChild for a given NPObject) from the PluginModuleChild to
a global variable. This change prepares the way for having multiple PluginModuleChild
instances in a given plugin process.
2014-10-29 08:04:51 -07:00
Bill McCloskey
e5e5debbf4 Bug 1081353 - Eliminate PPluginIdentifier (r=bsmedberg) 2014-10-20 09:47:25 -07:00
Aaron Klotz
9d55bef853 Bug 1045178 - Fix NPObject leak in PluginScriptableObjectChild::ResurrectProxyObject; r=johns 2014-07-28 16:14:00 +02: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
Birunthan Mohanathas
08cf444a2b Bug 784739 - Switch from NULL to nullptr in dom/plugins/ipc/; r=ehsan 2013-10-23 16:34:46 -04: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
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
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