Commit Graph

175 Commits

Author SHA1 Message Date
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
1a03f74149 Bug 750217 - Don't schedule plugin timers if the plugin isn't running r=josh 2012-09-11 10:24:25 -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
James Willcox
aa986bfc86 Bug 776334 - Don't double free shared texture handles for Flash on Android r=blassey 2012-08-16 12:48:35 -04:00
James Willcox
5cae8d2ab1 Bug 781542 - Don't require a layer invalidation for Flash video on Android r=blassey 2012-08-16 12:47:22 -04:00
Aryeh Gregor
5b01f29a20 Bug 782605 - Make nsNPAPIPluginInstance::SetCached infallible; r=roc 2012-08-14 12:10:42 +03:00
Ms2ger
26fa23777d Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Makoto Kato
e15f40adea Bug 779408 - error: cannot convert 'std::nullptr_t' to 'mozilla::gl::SharedTextureHandle {aka unsigned int} on gcc 4.6 in NDK r8b. f=ayg r=roc 2012-08-02 13:25:10 +09:00
Martin Stransky
8be0c990d9 Bug 544088 - UseAsyncPainting() -> IsOOP(). r=joshmoz 2012-08-01 16:34:08 -04: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
James Willcox
aede9086db Bug 731288 - Don't call methods on finalized SurfaceTexture, JNI housekeeping r=blassey 2012-05-21 21:35:29 -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
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
Masayuki Nakano
60594b183f Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09: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
Josh Aas
671bce02a0 Bug 734306: Fix bad conversion from nsresult to NPError. r=bas 2012-03-12 10:39:54 -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
Bas Schouten
5d2ceab56d Bug 651192 - Part 2: Update interface and stub implementors which don't have support. r=roc 2012-02-16 04:08:41 +01:00
James Willcox
76313612cc Bug 703601 - Fix a bunch of lifecycle issues with Flash on Android 2012-02-15 15:34:31 -05:00
Ms2ger
961114ca3a Bug 718287 - Remove plugins ForceRedraw functions; r=bz 2012-02-10 11:04:45 +01:00
Bas Schouten
86897d23dd Bug 724886: Push images from plugin code instead of pulling from nsObjectFrame. r=roc 2012-02-08 16:34:27 +01:00
Josh Aas
751621897d Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg 2012-01-31 16:55:54 -05:00
Doug Turner
fde2f1aa9d Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-29 12:39:30 -08:00
Phil Ringnalda
562c4194c6 Back out 59d8d92f9f3c (bug 713803) for Android C1 permaorange 2012-01-29 00:49:02 -08:00
Doug Turner
2abf72a957 Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-28 22:38:02 -08:00
Bas Schouten
fb515c0a69 Bug 710511: Rename DrawingModel to ANPDrawingModel r=snorp 2012-01-17 23:45:06 +01:00
James Willcox
94953a1f1b Rolled up Android plugin fixes including bugs 692988, 694366, 702330, 702334, 702338, 702341, 702614, 702627, 702964
Bug 692988 - anp_system_getApplicationDataDirectory() is just plain wrong
Bug 694366 - Allow Flash to use transparent wmode
Bug 702330 - Revert to drawing Flash plugin with a SurfaceView
Bug 702334 - Fix deadlocks caused by Flash
Bug 702338 - Enable plugins
Bug 702341 - Flash plugins don't respond to panning/zooming changes
Bug 702614 - Flash should use Skia to implement ANPCanvas and similar
interfaces
Bug 702627 - Flash: queue invalidation after async surface request
Bug 702964 - Support subregion lock on plugin surfaces
2011-11-21 02:55:50 -05:00
Steven Michaud
5969b9c010 Bug 700835 - Restore plugin caching to work around bad crash bug in latest Apple Java updates. r=josh 2011-11-11 19:10:31 -06:00
Michael Wu
21ff4d9ef1 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
James Willcox
25eba07897 Bug 692198 - Make Flash on Android draw to bitmap intead of SurfaceView directly
From 718909dd4d8c1b1ffb2e8ea72cc7d75c281e0773 Mon Sep 17 00:00:00 2001
2011-10-05 14:44:19 -04:00
James Willcox
b9a489cbeb Bug 692200 - Make 'plugins.force.wmode' pref override any other wmode
From 1c3c36534accbc956a5b88278ebc165626c8a8f0 Mon Sep 17 00:00:00 2001
This also enables the preference on Android. We need this because
the fix for bug 692200 breaks 32bit support, which is used
in 'transparent' (and probably other) wmodes. We force it
to 'opaque' to avoid this.
2011-10-05 14:43:16 -04:00