Commit graph

71 commits

Author SHA1 Message Date
James Willcox
a66fa12b04 Bug 750217 - Don't schedule plugin timers if the plugin isn't running r=josh
--HG--
extra : rebase_source : 9eb8316c48705b01c72b46dab993439f37a5607b
2012-09-11 10:24:25 -04:00
Ehsan Akhgari
e368dc9c85 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
23fcf9afac 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
79a29e5a6d 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
0722990c72 Bug 782605 - Make nsNPAPIPluginInstance::SetCached infallible; r=roc 2012-08-14 12:10:42 +03:00
Ms2ger
94bf1722ed Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Makoto Kato
06ac561eae 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
41f2e1b46d Bug 544088 - UseAsyncPainting() -> IsOOP(). r=joshmoz 2012-08-01 16:34:08 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
James Willcox
fa70604fdd 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
30e0f551ce Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley
320a116efd Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
752928c2eb Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Ms2ger
cb94cc2ce1 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox
5517ea9fde Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
James Willcox
1665611abc Bug 759747 - Fix up fullscreen Flash handling on Android 4.0+ r=blassey 2012-06-06 22:39:36 -04:00
James Willcox
b619f8fea2 Bug 736073 - Implement power state support for Flash on Android r=blassey 2012-06-06 22:39:18 -04:00
James Willcox
dbd1c52af7 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 12:10:49 -04:00
James Willcox
0eee056855 Backout 814d564578d1 due to xul bustage 2012-05-30 11:58:50 -04:00
James Willcox
1822c63ae0 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 10:29:16 -04:00
James Willcox
a197517be2 Bug 731288 - Don't call methods on finalized SurfaceTexture, JNI housekeeping r=blassey 2012-05-21 21:35:29 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Aas
f7c5afd9de Bug 755961: Plugin stream decomtamination (nsIPluginStreamListener). r=bsmedberg 2012-05-17 19:54:26 -04:00
James Willcox
83e72dd554 Bug 751885 - Cancel pending events when plugin is destroyed on Android r=blassey 2012-05-04 11:48:41 -04:00
Josh Aas
b48fb8b460 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
41fef8988a 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
0ce6ee8924 Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09:00
Josh Aas
2394dd340b Bug 741246: Simplify plugin instance creation and initialization (further). r=jst 2012-04-02 15:17:34 -04:00
Benjamin Smedberg
e03079c4da Bug 729009 part 0 - remove dead code, r=josh 2012-03-12 12:48:27 -04:00
Josh Aas
1c9e8baae6 Bug 734306: Fix bad conversion from nsresult to NPError. r=bas 2012-03-12 10:39:54 -04:00
Bas Schouten
3d62e785cc Bug 651192 - Part 6: Implement the AsyncBitmapSurface drawing model support. r=roc 2012-02-16 04:30:22 +01:00
Bas Schouten
048a0c15c9 Bug 651192 - Part 4: Allow setting different drawing models across all platforms. r=roc 2012-02-16 04:24:38 +01:00
Bas Schouten
2f6f4e3404 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
eddd45d9b9 Bug 703601 - Fix a bunch of lifecycle issues with Flash on Android 2012-02-15 15:34:31 -05:00
Ms2ger
841a2bda7d Bug 718287 - Remove plugins ForceRedraw functions; r=bz 2012-02-10 11:04:45 +01:00
Bas Schouten
f708b773a5 Bug 724886: Push images from plugin code instead of pulling from nsObjectFrame. r=roc 2012-02-08 16:34:27 +01:00
Josh Aas
bfed8cb272 Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg 2012-01-31 16:55:54 -05:00
Doug Turner
b7f10b6344 Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-29 12:39:30 -08:00
Phil Ringnalda
47f54cc3f1 Back out 59d8d92f9f3c (bug 713803) for Android C1 permaorange 2012-01-29 00:49:02 -08:00
Doug Turner
b5116372c8 Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-28 22:38:02 -08:00
Bas Schouten
38f797fcf5 Bug 710511: Rename DrawingModel to ANPDrawingModel r=snorp 2012-01-17 23:45:06 +01:00
James Willcox
165a6cd703 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
9a9b627fcd 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
5dd6a67845 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
James Willcox
2f1612e0e6 Bug 692198 - Make Flash on Android draw to bitmap intead of SurfaceView directly
From 718909dd4d8c1b1ffb2e8ea72cc7d75c281e0773 Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : 01bc243a06d5470b559c8c892425d7918b5a7de3
2011-10-05 14:44:19 -04:00
James Willcox
53f52b3cc9 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.

--HG--
extra : rebase_source : 9f9a555577090cafb7245c26d6eee09a37d5d964
2011-10-05 14:43:16 -04:00
Josh Aas
024548641e Bug 690459: Remove usage of PR_TRUE and PR_FALSE from base plugin code. r=jst 2011-09-30 02:02:59 -04:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ed Morley
9a350ee255 Merge last green changeset on mozilla-inbound to mozilla-central 2011-09-18 20:23:17 +01:00
Ms2ger
09c97f4a38 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00