Commit Graph
75 Commits
Author SHA1 Message Date
Jacek Caban fecceb176c Bug 849198 - Merge nsPluginSafety.h into nsNPAPIPluginInstance.h r=roc 2013-03-12 11:34:07 +01:00
James Willcox 980c7b3840 Bug 837114 - Don't leak Flash shared objects while private browsing on Android r=bsmedberg 2013-03-04 13:18:20 -05:00
Robert O'Callahan 6deb776bba Bug 829557. Part 2: Allow plugin code to reenter Gecko safely while while the plugin is processing an input event. r=bsmedberg
When nsPluginInstanceOwner passes input events to the plugin instance,
it's safe to reenter Gecko from plugin code and do anything, even
arbitrary script execution.
2013-02-28 00:50:28 +13:00
Robert O'Callahan e5e3b3660e Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.
2013-02-28 00:50:27 +13:00
Ed Morley cc47d0ca78 Backed out changeset f73b7b8d1a2d (bug 829557) for failing to compile on Windows on a CLOSED TREE 2013-02-27 12:50:30 +00:00
Ed Morley 606f9faaaf Backed out changeset 622b744e5df9 (bug 829557) 2013-02-27 12:49:32 +00:00
Robert O'Callahan d78efc9174 Bug 829557. Part 2: Allow plugin code to reenter Gecko safely while while the plugin is processing an input event. r=bsmedberg
When nsPluginInstanceOwner passes input events to the plugin instance,
it's safe to reenter Gecko from plugin code and do anything, even
arbitrary script execution.
2013-02-28 00:50:28 +13:00
Robert O'Callahan 9b4faa088f Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.
2013-02-28 00:50:27 +13:00
James Willcox 8287dabf11 Bug 800838 - Guard against invalid NPP when unscheduling plugin timers on Android r=blassey 2013-01-23 09:16:26 -05:00
Steve Fink ed62b6f44e Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink 27634e6f07 Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink 466f61a3c6 Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
James Willcox 98a6bb545f Bug 800838 - remove unnecessary delay when unscheduling plugin timers r=blassey 2012-12-17 10:05:49 -05:00
James Willcox 4edc061421 Bug 820905 - backout ea1643fd4285 2012-12-13 14:23:07 -05:00
James Willcox 47f806cfae Bug 800838 - Remove unnecessary delay when unscheduling plugin timers on Android r=blassey 2012-12-10 10:00:44 -05:00
Robert O'Callahan 68341e4a9e Bug 785348. Part 1: Track when we've called into plugin code. While we're in plugin code, never run the refresh driver. r=mats 2012-12-07 12:58:14 +13:00
Matt Joras 909b0a4093 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Ryan VanderMeulen ee28986d89 Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage. 2012-11-10 11:52:15 -05:00
Matt Joras 07b8c503c4 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Steven Michaud 881c04e390 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Georg Fritzsche f97c4a9bd1 Bug 750480 - Workaround for empty Java applets hanging with click-to-play. r=bsmedberg 2012-10-03 17:49:04 +02:00
Josh Aas 677edac3b7 Bug 797100: Replace internal usage of nsIPluginInstanceOwner with nsPluginInstanceOwner. r=jst 2012-10-02 22:43:18 -04:00
Steven Michaud 207a80cc98 Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Karl Tomlinson e2d970fe24 b=788399 always use async drawing for OOP windowless plugins r=bsmedberg 2012-09-27 12:22:51 +12:00
James Willcox 149fa9d34d Bug 778442 - Cache the plugin size for ANPWindow::visibleRect r=blassey 2012-09-18 14:52:15 -04:00
Josh Aas c57b0e9247 Bug 598401: Remove support for the Quickdraw NPAPI drawing model. r=smichaud 2012-08-30 15:10:55 -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 5b01f29a20 Bug 782605 - Make nsNPAPIPluginInstance::SetCached infallible; r=roc 2012-08-14 12:10:42 +03:00
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
James Willcox d27b667533 Bug 776331 - Avoid crash when trying to redraw a destroyed plugin on Android r=josh 2012-07-26 09:39:21 -04:00
James Willcox 12af787121 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley c289f9f162 Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox a60fcafab7 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ms2ger 45a14cadbf Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox 18e78b0b0f Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
James Willcox bdd38c0d32 Bug 759747 - Fix up fullscreen Flash handling on Android 4.0+ r=blassey 2012-06-06 22:39:36 -04:00
James Willcox 68eb3abaa0 Bug 736073 - Implement power state support for Flash on Android r=blassey 2012-06-06 22:39:18 -04:00
James Willcox ee96d9bd79 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 12:10:49 -04:00
James Willcox e4f181e22b Backout 814d564578d1 due to xul bustage 2012-05-30 11:58:50 -04:00
James Willcox 7fc5d98cea Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 10:29:16 -04:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Aas 19b2d04e7b Bug 755961: Plugin stream decomtamination (nsIPluginStreamListener). r=bsmedberg 2012-05-17 19:54:26 -04:00
Josh Aas 4825345087 Bug 751602: Compile fixes for NPAPI drawing models. r=bas 2012-05-04 22:36:27 -04:00
James Willcox ddea1de67e Bug 751885 - Cancel pending events when plugin is destroyed on Android r=blassey 2012-05-04 11:48:41 -04:00
Josh Aas 857ffa303c Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE 2012-05-01 16:47:35 -04:00
Josh Matthews c62994d83a Bug 722942 - Obtain private browsing status from document of plugin owner, and watch private mode transitions on a per-instance basis. r=josh 2012-04-24 00:49:25 -04:00
Josh Aas 596a6a670a Bug 741246: Simplify plugin instance creation and initialization (further). r=jst 2012-04-02 15:17:34 -04:00
Benjamin Smedberg 3d3dc2c055 Bug 729009 part 0 - remove dead code, r=josh 2012-03-12 12:48:27 -04:00
Bas Schouten 48591ea721 Bug 651192 - Part 6: Implement the AsyncBitmapSurface drawing model support. r=roc 2012-02-16 04:30:22 +01:00
Bas Schouten 15beecfc67 Bug 651192 - Part 4: Allow setting different drawing models across all platforms. r=roc 2012-02-16 04:24:38 +01:00