Commit Graph

1214 Commits

Author SHA1 Message Date
Georg Fritzsche
9037e4a2d2 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
James Willcox
207589fa83 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
a11f3a245f 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
849cb9958b Bug 782605 - Make nsNPAPIPluginInstance::SetCached infallible; r=roc 2012-08-14 12:10:42 +03:00
Ben Turner
81d9415df5 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Neil Deakin
b9bd1357f1 Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Aryeh Gregor
4c54d98fcb Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
David Keeler
c9b632ded8 Bug 749257 - Improve test plugin. r=josh, r=bsmedberg 2012-08-13 10:40:15 -07:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Matt Woodrow
a1302317de Bug 733323 - Remove references to plugin surfaces when the plugin is destroyed. r=roc 2012-08-13 22:11:30 +12:00
Benoit Jacob
475355ed85 Bug 781545 - Fix PluginInstanceParent.cpp build with GCC 4.6 - r=bsmedberg 2012-08-09 11:44:35 -04:00
Benoit Jacob
dc96d22f2e Backed out changeset c69b5af20a85 because Ms2ger already fixed it on m-c and this would only give a merge conflict 2012-08-09 11:58:40 -04:00
Benoit Jacob
33d24be6f4 Bug 781545 - Fix PluginInstanceParent.cpp build with GCC 4.6 - r=bsmedberg 2012-08-09 11:44:35 -04:00
Ms2ger
ec10c5ef78 Bug 781058 - Part b: Fix -Werror=int-to-pointer-cast in PluginInstanceParent; r=mounir 2012-08-09 09:20:23 +02:00
Ms2ger
ea10822364 Bug 781058 - Part a: Fix -Werror=int-to-pointer-cast in nsPluginNativeWindowGtk2; r=mounir 2012-08-09 09:20:18 +02:00
Aryeh Gregor
18faac3070 Bug 743573 - Followup: Fix build warnings in gcc 4.6.3; r=Ms2ger 2012-08-07 11:37:54 +02:00
Ms2ger
aad4f39f58 Merge m-c to m-i. 2012-08-07 10:30:48 +02:00
Ms2ger
c861fd0028 Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Josh Aas
46c8d29b7a Bug 780489: Fix some compiler warnings in plugin and mac code. r=smichaud 2012-08-07 00:09:23 -04:00
John Schoenick
49352588c2 Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst 2012-08-06 13:48:25 -07:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
be451c22dc Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
e79d87471e Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Bill McCloskey
81ec200616 Bug 779849 - Fix NPAPI wrapping (r=bholley) 2012-08-03 12:41:49 -07:00
Christian Holler
fd3a2936b7 Bug 779111 - Disable certain mochitests in dom/plugins when building without
crash reporter. r=ted
2012-08-02 23:03:14 +02:00
Makoto Kato
4705c6faea 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
Eric Faust
6d4e293e26 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Georg Fritzsche
5421b7b3f8 Bug 764660 - Collect and report on CPU utilization of a hung plugin process. r=bbondy 2012-07-25 14:38:43 +02:00
Martin Stransky
f826e9acec Bug 544088 - UseAsyncPainting() -> IsOOP(). r=joshmoz 2012-08-01 16:34:08 -04:00
Martin Stransky
4df2678829 Bug 544088 - Support Xt plugins OOP. r=karlt 2012-08-01 16:34:08 -04:00
Oleg Romashin
b3c9b3ba0c Bug 778024 - Bug 774139 will break Qt/Maemo builds due to #define signals. r=dougt NPODB 2012-08-01 12:00:44 -07:00
Karl Tomlinson
c7aa240d11 b=778031 add FinishX to XSync less frequently and use it r=cjones
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
Benoit Girard
0c580e48cb Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
Aryeh Gregor
c838798089 Bug 777292 - dom/plugins/: Fix incorrect conversions to nsresult; r=roc 2012-07-30 12:24:36 +03:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian Hackett
4da0b7720d Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
John Schoenick
77a3b1e6cd Bug 777098 - Add test. r=bholley 2012-07-27 16:44:52 -07:00
Nicolas Silva
8f06b10d98 Bug 773462 - Rename calls to ImageContainer::SetCurrentImage into ImageContainer::SetCurrentImageInTransaction when the method is used within a layer transaction. r=roc 2012-07-26 14:11:22 -04:00
Bobby Holley
5b1a44348d Bug 777098 - Null check private of NPObjWrapper in nsJSObjWrapper::GetNewOrUsed. r=bsmedberg 2012-07-27 11:15:43 +02:00
Ehsan Akhgari
db3645ab8b Bug 777796 - Remove PluginPRLibrary::mNPP_GetValue; r=josh 2012-07-26 17:54:11 -04:00
Brian R. Bondy
66e3cf369b Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg 2012-07-25 10:23:26 -04:00
James Willcox
c7004bf175 Bug 776331 - Avoid crash when trying to redraw a destroyed plugin on Android r=josh 2012-07-26 09:39:21 -04:00
Ms2ger
b2148c7642 Back out bug 771666 and bug 745030. 2012-07-25 22:39:01 +02:00
John Schoenick
a5bd655a78 Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst 2012-07-25 09:51:02 -07:00
Jim Mathies
3e85af8276 Bug 776898 - msvc nullptr fix for PluginInstanceParent. r=ehsan 2012-07-25 04:21:53 -05:00
Georg Fritzsche
3462b42401 Bug 776923 - Fix tag management by (1) not loading duplicate plugins if they are in-process and (2) not repeatedly adding plugin tags that haven't changed. r=josh 2012-07-23 19:52:51 +02:00
Jim Mathies
014e9f58d9 backout e78641108412 CLOSED TREE 2012-07-24 16:59:20 -05:00
Jim Mathies
24e406b13d Bug 776898 - vc11 nullptr fix for PluginInstanceParent. r=ehsan 2012-07-24 15:07:41 -05:00
Joshua Cranmer
4a5b32fae2 Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
James Willcox
f97d0fb4b7 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley
865b492e14 Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
a2f250042f 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
Aryeh Gregor
0c8f5adf50 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Mark Capella
7103242b4f Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Ms2ger
8c936ae394 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox
ff21a06364 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Bobby Holley
f6d4ad4922 Bug 775435 - Wrap-by-default in GetNPObjectWrapper. r=bsmedberg 2012-07-20 09:17:43 +02:00
Steve Fink
6dcbf4aa2b Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
James Willcox
d6aa2eee6c Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
Ehsan Akhgari
a6b1e13a2d Merge mozilla-central into mozilla-inbound 2012-07-19 08:44:19 -04:00
Mark Capella
bf92974758 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Oleg Romashin
925bae17d1 Bug 774813 - Bug 774139 will break Qt builds due to #define signals. r=cjones 2012-07-18 22:45:58 -04:00
Bobby Holley
627c0e6696 Bug 771202 - Tests. r=bsmedberg 2012-07-13 13:20:08 +02:00
Ed Morley
a66ba53172 Backout 776f008404bf (bug 771202) for mochitest-3 orange 2012-07-13 11:07:26 +01:00
Bobby Holley
854e142308 Bug 771202 - Don't double-call OnWrapperDestroyed. r=bsmedberg
Calling OnWrapperDestroyed at this point in OnDestroy doesn't make sense, because the JS objects have a finalize hook that also calls OnWrapperDestroyed regardless of whether or not they still have a pointer stashed in their private. So when we do this, we get a bunch of assertions about unmatched calls to OnWrapperDestroyed.

AFAICT the only reason this worked before is that this code never ran: I put a MOZ_ASSERT just before call to OnWrappedDestroyed in OnDestroy, and it never fired during the dom/plugins mochitests.
2012-07-13 10:56:38 +02:00
Bobby Holley
eb84cf6716 Bug 771202 - Tests. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
be06d8815f Bug 771202 - Unwrap object arguments passed to plugins. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
1d19de70ff Bug 771202 - Implement post-transplant plugin behavior. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
2c522abe65 Bug 771202 - Make the prototype climbing code in nsJSNPRuntime unwrap security wrappers. r=bsmedberg 2012-07-13 10:55:14 +02:00
Ryan VanderMeulen
7105546cd8 Merge the last PGO-green inbound changeset to m-c. 2012-07-12 20:46:27 -04:00
Benjamin Smedberg
5e47967333 Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
David Keeler
679f55960f bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
David Zbarsky
38975e89ab Bug 773025 - fix 2 warnings in dom/plugins r=jst 2012-07-11 20:55:59 -07:00
John Schoenick
1db2d46270 Bug 772590 - The plugin category manager registration should account for multiple plugins per MIME, r=josh 2012-07-10 17:06:17 -07:00
John Schoenick
6beb0d672d Bug 755551 - Followup, check if the preference has a value, not necessarily a user value, r=josh 2012-07-10 17:06:17 -07:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
John Schoenick
f53f3ddba8 Bug 755551 - Implement plugin.allowed_types whitelist 2012-07-06 17:20:15 -07:00
Benjamin Smedberg
2d9174eff0 Followup to bug 769048 part F - actually annotate the crash report with the notes we've carefully collected, r=captain-obvious 2012-07-06 13:08:19 -04:00
Benjamin Smedberg
1161c4f253 Bug 770805 - Close the IPC channel safely when we discover that a Flash process has crashed; don't call Close() directly, because PluginModuleParent assumes that a normal shutdown only occurs from PluginModuleParent::NP_Shutdown. Instead, follow a similar codepath to the hang timeout which calls AsyncChannel::SynchronouslyClose and then sets a specific error code, r=cjones 2012-07-05 14:48:40 -04:00
Bill McCloskey
943f752751 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Ehsan Akhgari
6ef72aef93 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
729030ee5b Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Benjamin Smedberg
8ca81817e1 Bug 769721 - Minimal patch to force OOPP mode on for Windows Vista+ users, because Flash is not tested with the IPP configuration and has known bugs, r=josh 2012-07-03 17:04:45 -04:00
John Schoenick
b7f0b6aeae Backout Bug 406451 for regressions 2012-06-19 16:25:56 -07:00
Benjamin Smedberg
3f10b3b71c Bug 769048 part F - Add the final bits to PluginModuleParent which watch for new Flash processes and inject a crashreporter into them, r=jimm
--HG--
extra : rebase_source : dd00ee4c29ec0b2f7bee0e48eedd426644b1ae43
2012-07-03 07:49:23 -04:00
Andrew McCreight
251ed86372 Bug 752340 - use a finalizer in FunctionProxyClass. r=jorendorff 2012-07-02 20:04:23 -07:00
Jim Mathies
96aad11672 Bug 723133 - Protect against recursive calls in nsPluginNativeWindowWin's PluginWndProc. r=bsmedberg 2012-07-02 12:15:17 -05:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow
4b10a2b53c Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Matt Woodrow
1f0dbc7c74 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Martin Stransky
8e60b812d6 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Jonathan Watt
9ac7bb2267 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ryan VanderMeulen
7990326241 Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00
Chris Jones
b49a6607bc Bug 747055 - Crash in RtlEnterCriticalSection | PR_Lock | mozilla::ipc::RPCChannel::WaitForNotify. r=bsmedberg 2012-06-21 20:44:38 -04:00
Martin Stransky
02b62af313 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-21 20:44:38 -04:00
Josh Aas
5b59b29b39 Bug 686335: Allow plugins that we previously considered duplicates to be loaded/registered. Prefer plugins with higher version numbers when picking a handler for content. r=bsmedberg 2012-06-13 22:51:21 -04:00
Benjamin Smedberg
fa47498e14 Bug 747683 - Don't unload the plugin library right before exiting the plugin process, because some plugins are using atexit handlers, r=josh 2012-06-13 15:03:03 -07:00
Honza Bambas
f29e1ac591 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Ed Morley
2840374911 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-12 10:36:42 +01:00
James Willcox
78260a6207 Bug 762407 - Avoid deadlock when exiting fullscreen Flash videos on Android r=blassey 2012-06-11 13:50:59 -04:00
Ryan VanderMeulen
b74e4a29db Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Mats Palmgren
bb7e931269 Bug 760088 - Move the SimpleTest.finish() after the final test is done. r=josh 2012-06-12 00:32:39 +02:00
Ed Morley
7d13aab294 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
aee92f1d56 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
5076b975a0 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
James Willcox
af687b7aba Bug 759747 - Fix up fullscreen Flash handling on Android 4.0+ r=blassey 2012-06-06 22:39:36 -04:00
James Willcox
e6b20f3f29 Bug 736073 - Implement power state support for Flash on Android r=blassey 2012-06-06 22:39:18 -04:00
Geoff Lankow
552f02f3f1 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Josh Aas
b0c53ad019 Bug 758227: NPAPI plugin stream decomtamination: nsIPluginStreamInfo. r=bsmedberg 2012-06-05 09:58:39 -04:00
Ed Morley
8f3214576b Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
James Willcox
f881190c2a Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 12:10:49 -04:00
James Willcox
1a03a64625 Backout 814d564578d1 due to xul bustage 2012-05-30 11:58:50 -04:00
James Willcox
9709d39263 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 10:29:16 -04:00
Josh Aas
510e100df5 Bug 758363: Implement NPN_ReloadPlugins for out-of-process plugins. r=bsmedberg 2012-05-30 10:23:03 -04:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Bas Schouten
1399685948 Bug 734404 - Part 4: Add reftests for DXGI async drawing model. r=roc 2012-05-30 07:14:30 +02:00
Bas Schouten
2fb1ef9692 Bug 734404 - Part 3: Add code to test plugin to support DXGI async drawing. r=roc 2012-05-30 07:14:30 +02:00
Bas Schouten
7f633dd9c2 Bug 734404 - Part 2: Integrate DXGI shared surface model into plugin code. r=roc 2012-05-30 07:14:30 +02:00
Takanori MATSUURA
5c9f3f4809 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Josh Aas
b55d974e7e Bug 758224: Fix bug in nsPluginStreamListenerPeer dtor. r=bsmedberg 2012-05-24 10:59:16 -04:00
David Zbarsky
ea72b49d06 Bug 756651: Fix build warning r=jst 2012-05-22 11:51:37 -07:00
Phil Ringnalda
575dc94164 Bug 705047 - Bail early from the plugin crash tests that expose our inability to handle plugin crashes on 10.7, r=ted 2012-05-20 15:27:45 -07:00
James Willcox
3814700c00 Bug 731288 - Don't call methods on finalized SurfaceTexture, JNI housekeeping r=blassey 2012-05-21 21:35:29 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
f8aa8c3c5a Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett
aeda1d5c01 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
54e8d378fb Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Josh Aas
e67bc9089e Bug 240131: Clarify NPStream ownership. r=jst 2012-05-19 00:33:24 -04:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Chris Peterson
21f17cc1b1 Bug 721835 - Hardcode an audio latency estimate because we can't call private Android API. r=snorp
--HG--
extra : rebase_source : fb85cb418f138d5196490c1aeb4aae81f920d4e2
2012-05-18 09:48:58 -07:00
Josh Aas
d7b40e355d Bug 755961: Plugin stream decomtamination (nsIPluginStreamListener). r=bsmedberg 2012-05-17 19:54:26 -04:00
Jacek Caban
f96d6c2893 Bug 754582 - Fixed unused-result warnings in Windows-specific code r=benjamin 2012-05-16 10:48:45 +02:00
Matt Brubeck
e03dd6bfd0 Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198) 2012-05-11 20:15:47 -07:00
Matt Brubeck
f08ab73a53 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré
fe66918d12 Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Benjamin Smedberg
b620e2c572 Bug 736501 - Use -Werror=unused-result, r=ted/mayhemer/njn
--HG--
extra : rebase_source : 121cddcd66f9be9b80840b47aecbe95307bae0ab
2012-05-01 09:24:38 -04:00
Luke Wagner
57ad808df2 Bug 747617 - fix document.all and swap JSClass::{construct,hasInstance} so this doesn't happen again (r=bz)
--HG--
extra : rebase_source : 036acbd046ff8b42f81e63933901b6aaaa595a76
2012-05-07 12:44:08 -07:00
Gian-Carlo Pascutto
93e8dec9b7 Bug 717096 - Crash may occur when switching between Flash tab. r=blassey 2012-05-08 10:59:16 +02:00
Serge Gautherie
c85a31da68 Bug 647875. (Av1) test_crash_submit.xul: Remove bug 604129 SeaMonkey workaround. r=joshmoz.
DONTBUILD (test-only, trivial).
2012-05-08 02:05:42 +02:00
Bas Schouten
f675148d85 Bug 748785: Enable NPAPI Async Drawing by default on windows. r=josh 2012-05-01 23:46:53 +02:00
Ed Morley
6361d5ddd5 Merge mozilla-central to mozilla-inbound 2012-05-05 12:57:25 +01:00
Ms2ger
9a5ae693e0 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Josh Aas
8ea9410246 Bug 751598: Sync to npapi-sdk r20. r=bas 2012-05-04 22:34:05 -04:00
Josh Aas
d041ff15bf Bug 751602: Compile fixes for NPAPI drawing models. r=bas 2012-05-04 22:36:27 -04:00
Brian Nicholson
8d0cd2aa34 Bug 712975 - Observe plugin pref changes (mergefix). r=josh
--HG--
extra : rebase_source : 44693edf12c879c551b95378bc0e1aa218e8d464
2012-01-05 16:02:51 -08:00
James Willcox
fba7fac3b6 Bug 751885 - Cancel pending events when plugin is destroyed on Android r=blassey 2012-05-04 11:48:41 -04:00
Kartikaya Gupta
06aee064be Bug 748531 - Guard against exceptions in JNI. r=blassey 2012-05-04 11:08:47 -04:00
James Willcox
3b21fd29c5 Bug 750760 - Fix Android plugin positioning when iframes are used r=blassey 2012-05-04 10:38:11 -04:00
Josh Aas
4f04f118ea Bug 751641: Fix bug in which we add a Java MIME type to all plugins. r=jst 2012-05-04 00:35:07 -04:00
James Willcox
85ae98e6a2 Bug 730890 - Install and run an Android Looper on Gecko main thread r=cjones 2012-05-03 10:53:31 -04:00
Josh Aas
aed79d853a 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
8d7aff81c9 Bug 749795 - Use neglected code that properly obtains private browsing mode in plugins. r=josh 2012-04-30 09:46:27 +02:00
Mike Hommey
4c9231de07 Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
James Willcox
22ddeff430 Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey 2012-04-27 16:04:47 -04:00
James Willcox
23147f360d Bug 749120 - Fix hiding the keyboard from Flash on Android 2012-04-26 16:52:05 -04:00
Ehsan Akhgari
f5ab42c8d7 Bug 748752 - nsNPAPIPlugin check for private browsing value will not work; r=josh 2012-04-25 11:56:40 -04:00
Bas Schouten
77afd900b0 Bug 747207: Adjust NPAPI Async drawing model values. r=josh 2012-04-21 17:33:59 +02:00
Masayuki Nakano
e089b336f8 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Ehsan Akhgari
c7d143b9fa Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Patrick Wong
15df25098f Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Josh Matthews
52d3235b46 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
Ehsan Akhgari
fec480dc6c Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Ehsan Akhgari
545bb7a0b1 Merge mozilla-central into birch 2012-04-20 13:50:08 -04:00
Chris Peterson
5c13ad58f8 Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec
--HG--
extra : rebase_source : c5cd6ba353970c1ba2f3315c55730957d1a306b9
2012-04-19 10:49:31 -07:00
Peng Kang
2fbc22e590 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 23:22:29 -04:00
Ehsan Akhgari
dbae9d14b7 Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage 2012-04-18 17:05:06 -04:00
Peng Kang
f1c951a722 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 16:31:59 -04:00
Brad Lassey
6a9a999215 bug 746135 - PopLocalFrame won't be called if an error occurs in AudioRunnable::Run() r=snorp 2012-04-17 09:59:22 -04:00
Josh Aas
ea708e3e6b Bug 745241: Clean up some plugin stream functions. r=bsmedberg 2012-04-15 17:34:01 -04:00
Ms2ger
b8ae2456b2 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
4baa902d14 Bug 743573 - Fix a number of build warnings in dom/; r=volkmar 2012-04-14 15:09:47 +02:00
Ms2ger
9f95d23e65 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-04-14 15:05:01 +02:00
Ed Morley
e5e627a993 Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout 2012-04-19 12:50:46 -07:00
Chris Peterson
92cf464bf4 Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec
--HG--
extra : rebase_source : 0cedf764055dba59a8c55a468b5a6dc60e20dbae
2012-04-19 10:49:31 -07:00
Josh Aas
70f2fc8eca Bug 748466: Sync NPAPI maemo support with npapi-sdk. r=jst 2012-04-24 16:26:48 -04:00
Josh Aas
bda34ee875 Bug 745842: Clean up plugin stream listener creation. r=jst 2012-04-24 16:25:21 -04:00
Mark Capella
1839be84c0 Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
David Rajchenbach-Teller
fa9913646b Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman
76d7d982d4 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
cb1d34d766 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
James Willcox
c3bd125218 backout 022be5c50732 for xul bustage 2012-04-11 12:56:00 -04:00
James Willcox
19f98af9ab Bug 730890 - Set up an Android Looper on the main Gecko thread r=cjones 2012-04-11 11:43:08 -04:00
Justin Lebar
83dfb6592f Bug 742491 - Use a thread-safe DLL patcher on Windows, when possible. r=glandium 2012-04-10 15:52:56 -04:00
Steven Michaud
c4e4278d46 Bug 313700 - Stale information in about:plugins (pluginreg.dat) after a plugin update. r=josh 2012-04-10 10:56:49 -05:00
Brad Lassey
a0000e3ade bug 738198 - crash in nsPluginInstanceOwner::~nsPluginInstanceOwner r=snorp 2012-03-27 01:31:57 -04:00
Daniel Holbert
cb3a45bfd3 Bug 743785: Remove no-longer-used variable 'javaIsEnabled' from nsNPAPIPlugin.cpp. r=josh 2012-04-09 13:36:23 -07:00
Igor Bukanov
3a859b7a76 Bug 737365 - stop using the cx during finalization, part 1.
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Masayuki Nakano
eb57a32930 Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09:00
Josh Aas
c03c720d2a Bug 741724: Clean up nsPluginHost::SetUpPluginInstance. r=jst 2012-04-03 18:11:06 -04:00
Josh Aas
5b2a8d56ca Bug 741726: Rename nsPluginTag::mEntryPoint to nsPluginTag::mPlugin. r=jst 2012-04-03 18:08:07 -04:00
Josh Aas
ea22266f50 Bug 741246: Simplify plugin instance creation and initialization (further). r=jst 2012-04-02 15:17:34 -04:00
Josh Aas
d1e465e30b Bug 741126: Require plugin for instance creation. r=jst 2012-04-01 06:13:10 -04:00
Josh Aas
39c326ac03 Bug 740217: Simplify plugin instance object creation. r=bsmedberg 2012-03-30 12:52:43 -04:00
Benjamin Smedberg
b9c416e161 Bug 737433 - Send the referer for embedded src="" streams for plugins (and make them part of the correct load group while we're at it!), r=josh
--HG--
extra : rebase_source : 1d3f255cfd861fb136d54cef63f327a77f76c931
2012-03-29 12:53:31 -04:00
Oleg Romashin
ab49f8480c Bug 746913 - Plugins NativeRenderer X/qt/gtk includes defines cleanup. r=karlt, a=desktop-only 2012-04-20 17:15:59 -04:00
James Willcox
4e5222e0f7 Bug 707353 - Implement ANPWindow::showKeyboard() for Android plugins. r=snorp a=blocking-fennec
--HG--
extra : rebase_source : ca2da8fe9689fa702444cd6da7b4841d9ef12ec4
2012-04-20 09:49:50 -07:00
Brian Nicholson
2214728b48 Bug 712975 - Observe plugin pref changes. r=josh a=blocking-fennec 2012-01-05 16:02:51 -08:00
Oleg Romashin
6b5cad0bce Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Bobby Holley
2672787670 Bug 733984 - Explicitly disallow shadowing on location wrappers. r=mrbkap
This was taken care of in other ways before, but we need to be more explicit about it now that we're doing more Xray stuff with Location wrappers.
2012-03-23 15:58:18 -07:00
Josh Aas
1e7b21b1e2 Bug 726734: Reload plugin instances when the src/data URL changes. r=jst 2012-03-23 08:33:15 -04:00
Hessam Salehi
7d69570885 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Aryeh Gregor
01ed3a4afb Bug 735805 - Part 3: Fix plugin mochitests that run no tests. r=roc 2012-03-20 13:18:08 -04:00
James Willcox
52cd8aa83c Bug 737120 - Allow Flash plugin instances to be cleaned up on Android without an object frame present r=blassey 2012-03-19 16:09:49 -04:00
James Willcox
60cb364410 Bug 719851 - Remove Flash view on Android when plugin instance is lost r=blassey
--HG--
extra : rebase_source : 88996dc534da0bab5a4bd19104ec2f604c241c90
2012-03-14 17:15:46 -04:00
Ehsan Akhgari
9475dfbd3e Merge mozilla-central into mozilla-inbound 2012-03-14 13:40:34 -04:00
Oleg Romashin
c5f2dd2c8a Bug 735598 - Check for MOZ_X11 before using X11 Window types. r=karlt 2012-03-14 13:24:20 +01:00
James Willcox
a0db3488b7 Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
--HG--
extra : rebase_source : 4b845e7dc4224bfd807fb757e7199c91655c0d69
2012-03-12 13:03:54 -04:00
Justin Lebar
064e2cf3f9 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Benjamin Smedberg
f574759569 Bug 729009 - Send the embedded document (SWF file) as the referer for plugin-initiated streams, r=josh 2012-03-12 12:48:27 -04:00
Benjamin Smedberg
adad34f60d Bug 729009 part 0 - remove dead code, r=josh 2012-03-12 12:48:27 -04:00
Josh Aas
ee4cc047a9 Bug 734306: Fix bad conversion from nsresult to NPError. r=bas 2012-03-12 10:39:54 -04:00
David Mandelin
5606b83eed Bug 732306: Remove typedef jsint, r=luke
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
Ginn Chen
106cd3000f Bug 731917 prevent plugins from corrupting the stack by making word-size stores to pointers to bool r=karlt 2012-03-02 14:17:26 +08:00
Bas Schouten
842ae8ae75 Bug 651192 - Followup 3: Properly skip test when test plugin isn't present. rs=philor 2012-03-01 18:20:09 +01:00
Bas Schouten
6dc79403bd Bug 651192 - Followup 2: Properly initialize IPDL union on OS X. pending-r=roc 2012-03-01 14:09:12 +01:00
Bas Schouten
2717986277 Bug 651192 - Followup: Change random-if for android on test into skip-if. r=jfkthame 2012-03-01 13:31:53 +01:00
Bas Schouten
55da40fc82 Bug 651192 - Part 9: Add reftests for NPAPIAsync plugin functionality. r=roc 2012-02-16 04:30:32 +01:00
Bas Schouten
eed8f14f4e Bug 651192 - Part 8: Add NPAPI async code to test plugin. r=roc 2012-02-16 04:30:28 +01:00
Bas Schouten
df684d0acb Bug 651192 - Part 7: Implement the NPP_DidComposite API. r=roc 2012-02-16 04:30:25 +01:00
Bas Schouten
3982a4a276 Bug 651192 - Part 6: Implement the AsyncBitmapSurface drawing model support. r=roc 2012-02-16 04:30:22 +01:00
Bas Schouten
584c87e1e0 Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc 2012-02-16 04:26:19 +01:00
Bas Schouten
252cced9e6 Bug 651192 - Part 4: Allow setting different drawing models across all platforms. r=roc 2012-02-16 04:24:38 +01:00
Bas Schouten
4088e13844 Bug 651192 - Part 3: Add IPC structures for AsyncBitmapModel. r=cjones 2012-02-16 04:09:06 +01:00
Bas Schouten
f9c0967db9 Bug 651192 - Part 2: Update interface and stub implementors which don't have support. r=roc 2012-02-16 04:08:41 +01:00
Bas Schouten
542de64292 Bug 651192 - Part 1: Add the NPAsyncDrawing API to the NPAPI. r=josh sr=roc 2012-02-16 04:08:15 +01:00
Igor Bukanov
212769b040 bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
Nathan Froyd
671ce872c5 Bug 706647 - Measure plugin shutdown with telemetry. r=josh 2012-02-28 15:29:42 -05:00
Matt Brubeck
b2985cd260 Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes 2012-02-29 16:18:22 -08:00
Igor Bukanov
2e914758d0 bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
John Schoenick
2cbb11efb8 Bug 406541 - Ensure we agree with java on applet codebase, and run security checks for file: codebase URIs. r=jst 2012-02-27 13:58:00 -08:00
David Mandelin
60e80d55b6 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Bill McCloskey
1f143559c0 Bug 729367 - Add write barrier flag to NPAPI class (r=igor) 2012-02-28 10:44:04 -08:00
Josh Aas
353e2336d9 Bug 729673: Fix cases in which plugin instance src data stream is not delivered properly. r=bsmedberg 2012-02-27 15:36:46 -05:00
David Mandelin
381d879c71 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
22d7a18fa5 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
5be5dda12e Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Masatoshi Kimura
8cea90b046 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Josh Aas
309ede4d8f Bug 729135: Fix virtual function warnings in core plugin code. r=bsmedberg 2012-02-22 00:19:27 -05:00
Josh Aas
1fce7d11b3 Bug 729155: Fix warnings in plugin ipc code. r=bsmedberg 2012-02-21 19:32:06 -05:00
Josh Aas
2b6a4a6357 Bug 723190: Fix for crash due to bad scroll listener registration for Mac Carbon plugins. r=smichaud 2012-02-21 13:59:38 -05:00
Josh Aas
55259addb9 Bug 633427: Fix bug in which we mis-label plugins as Flash plugins. This was causing us to load plugins unnecessarily when clearing private data. r=smichaud 2012-02-21 13:23:42 -05:00
Igor Bukanov
fc29d0f64c bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke 2012-02-13 09:02:21 +01:00
Benoit Girard
1bb7f1c5f2 Bug 728924 - Fix MOZ_JAVA_COMPOSITOR definition. r=joe 2012-02-20 14:02:15 -05:00
Josh Aas
eea2e8804d Bug 723190: Fix/mitigate crash at nsGfxScrollFrameInner::ScrollToImpl. r=smichaud 2012-02-17 23:32:16 -05:00
Bill McCloskey
6b3aa0565d Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00