Commit Graph

1074 Commits

Author SHA1 Message Date
David Zbarsky
b27894f902 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Georg Fritzsche
148f87b1c8 Bug 781124 - Report CPU usage for hung flash processes. r=bsmedberg 2012-08-09 12:36:30 +02:00
Georg Fritzsche
d4c52b352e Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-09 11:04:27 +02:00
Karl Tomlinson
c45040f5fe b=780059 tidy up API for FindVisualAndDepth r=mattwoodrow
--HG--
extra : rebase_source : c6022bd51aad41b7439531e7c3db1725aabda5e7
2012-08-20 16:20:37 +12:00
Matt Woodrow
430eb94bb3 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Nicolas Silva
54dd2bf57f Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Ryan VanderMeulen
3aa72db6f7 Merge the last PGO-green inbound changeset to m-c. 2012-08-18 19:10:45 -04:00
Kyle Huey
af66c5b779 Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar 2012-08-18 12:15:04 -07:00
Ed Morley
bcf1b25e7a Backout 6943b37c68cc (bug 751809) for bug 783723 2012-08-18 14:11:13 +01:00
Karl Tomlinson
bf312c647a b=782185 use extend_pad when compositing image layers even for Quartz and X11 r=roc
--HG--
extra : transplant_source : %F7%24N%7E%E0y%C4%2C%D4%9B%DB%83B_Ai6%A1%7E%91
2012-08-14 23:47:49 +12:00
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