Commit Graph

396 Commits

Author SHA1 Message Date
Bobby Holley
348b540dfd Bug 775435 - Wrap-by-default in GetNPObjectWrapper. r=bsmedberg 2012-07-20 09:17:43 +02:00
Steve Fink
f20c2ef916 Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
James Willcox
67949244f1 Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
Mark Capella
430f93c039 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Bobby Holley
50c6d52c5a 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
b3d24f5084 Bug 771202 - Unwrap object arguments passed to plugins. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
b629b15aeb Bug 771202 - Implement post-transplant plugin behavior. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
c3555699ca Bug 771202 - Make the prototype climbing code in nsJSNPRuntime unwrap security wrappers. r=bsmedberg 2012-07-13 10:55:14 +02:00
Ryan VanderMeulen
fc6826fa44 Backout de697e323b39, b778d551c9e5, and 4b9414cba94d (bug 544088) due to build bustage. 2012-07-12 19:52:15 -04:00
Martin Stransky
249d73d703 Bug 544088 - UseAsyncPainting() -> IsOOP(). r=joshmoz 2012-07-12 19:28:53 -04:00
Martin Stransky
cba37b7a79 Bug 544088 - Support Xt plugins OOP. r=karlt 2012-07-12 19:28:53 -04:00
David Keeler
12645e6e65 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
David Zbarsky
59d5967dcb Bug 773025 - fix 2 warnings in dom/plugins r=jst 2012-07-11 20:55:59 -07:00
John Schoenick
6630c58f4e 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
3a8e7786bd 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
John Schoenick
d51160e1fb Bug 755551 - Implement plugin.allowed_types whitelist 2012-07-06 17:20:15 -07:00
Bill McCloskey
2100b10524 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Ehsan Akhgari
5e6974df88 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Benjamin Smedberg
82cc827da8 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
dbecc85fcf Backout Bug 406451 for regressions 2012-06-19 16:25:56 -07:00
Jim Mathies
f84a057c5a Bug 723133 - Protect against recursive calls in nsPluginNativeWindowWin's PluginWndProc. r=bsmedberg 2012-07-02 12:15:17 -05:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow
cbd39105d9 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Martin Stransky
7930265fe3 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ryan VanderMeulen
d3dde67942 Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00
Martin Stransky
e7aa588f67 Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-21 20:44:38 -04:00
Josh Aas
c4f4720b76 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
Honza Bambas
41779e1714 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
James Willcox
8e300a8561 Bug 762407 - Avoid deadlock when exiting fullscreen Flash videos on Android r=blassey 2012-06-11 13:50:59 -04:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
James Willcox
104e9e3e22 Bug 759747 - Fix up fullscreen Flash handling on Android 4.0+ r=blassey 2012-06-06 22:39:36 -04:00
James Willcox
9d981715b0 Bug 736073 - Implement power state support for Flash on Android r=blassey 2012-06-06 22:39:18 -04:00
Geoff Lankow
bdc2b4bb58 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Josh Aas
5db7c076c3 Bug 758227: NPAPI plugin stream decomtamination: nsIPluginStreamInfo. r=bsmedberg 2012-06-05 09:58:39 -04:00
Ed Morley
da18754c01 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
James Willcox
b194413562 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 12:10:49 -04:00
James Willcox
85579b42e5 Backout 814d564578d1 due to xul bustage 2012-05-30 11:58:50 -04:00
James Willcox
01990ace69 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 10:29:16 -04:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Takanori MATSUURA
4e1026d682 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Josh Aas
e9bbc8dcbe Bug 758224: Fix bug in nsPluginStreamListenerPeer dtor. r=bsmedberg 2012-05-24 10:59:16 -04:00
David Zbarsky
080d5e1aea Bug 756651: Fix build warning r=jst 2012-05-22 11:51:37 -07:00
James Willcox
189b988091 Bug 731288 - Don't call methods on finalized SurfaceTexture, JNI housekeeping r=blassey 2012-05-21 21:35:29 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
c07eaa0e3e Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett
9ae1966596 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Josh Aas
545028a55e Bug 240131: Clarify NPStream ownership. r=jst 2012-05-19 00:33:24 -04:00
Benjamin Smedberg
4f91700da9 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
69d43407aa 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
230f42484e Bug 755961: Plugin stream decomtamination (nsIPluginStreamListener). r=bsmedberg 2012-05-17 19:54:26 -04:00
Luke Wagner
d266538fea 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
017867d7c3 Bug 717096 - Crash may occur when switching between Flash tab. r=blassey 2012-05-08 10:59:16 +02:00
Ed Morley
ea1cca8a21 Merge mozilla-central to mozilla-inbound 2012-05-05 12:57:25 +01:00
Ms2ger
3b04c7d79e Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Josh Aas
da60235a7d Bug 751598: Sync to npapi-sdk r20. r=bas 2012-05-04 22:34:05 -04:00
Josh Aas
82183f2457 Bug 751602: Compile fixes for NPAPI drawing models. r=bas 2012-05-04 22:36:27 -04:00
Brian Nicholson
b0f708a3ee Bug 712975 - Observe plugin pref changes (mergefix). r=josh
--HG--
extra : rebase_source : 44693edf12c879c551b95378bc0e1aa218e8d464
2012-01-05 16:02:51 -08:00
James Willcox
d67bbfbfc7 Bug 751885 - Cancel pending events when plugin is destroyed on Android r=blassey 2012-05-04 11:48:41 -04:00
Kartikaya Gupta
ef85499723 Bug 748531 - Guard against exceptions in JNI. r=blassey 2012-05-04 11:08:47 -04:00
James Willcox
545e54a1bd Bug 750760 - Fix Android plugin positioning when iframes are used r=blassey 2012-05-04 10:38:11 -04:00
Josh Aas
35ff8b5a35 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
b0e2e8e19f Bug 730890 - Install and run an Android Looper on Gecko main thread r=cjones 2012-05-03 10:53:31 -04:00
Josh Aas
a91941c89a 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
James Willcox
4b0d6b0c67 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
1d06ee0b1f Bug 749120 - Fix hiding the keyboard from Flash on Android 2012-04-26 16:52:05 -04:00
Ehsan Akhgari
5b7c8e60d6 Bug 748752 - nsNPAPIPlugin check for private browsing value will not work; r=josh 2012-04-25 11:56:40 -04:00
Bas Schouten
b6935b6cfc Bug 747207: Adjust NPAPI Async drawing model values. r=josh 2012-04-21 17:33:59 +02:00
Masayuki Nakano
ba56663cd3 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
a992263c77 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Patrick Wong
30fd6e9e6a 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
3975009b53 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
06098487ea Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Ehsan Akhgari
3f561f1dad Merge mozilla-central into birch 2012-04-20 13:50:08 -04:00
Chris Peterson
e65057dbc4 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
98d1b53def Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 23:22:29 -04:00
Ehsan Akhgari
816e9ddd2e Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage 2012-04-18 17:05:06 -04:00
Peng Kang
ebc77567f8 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 16:31:59 -04:00
Brad Lassey
01424bdb88 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
bb65774aa4 Bug 745241: Clean up some plugin stream functions. r=bsmedberg 2012-04-15 17:34:01 -04:00
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
f88fab52fb Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-04-14 15:05:01 +02:00
Ed Morley
37f4d82a7d Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout 2012-04-19 12:50:46 -07:00
Chris Peterson
ef807c5b5a 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
eb74362c2e Bug 748466: Sync NPAPI maemo support with npapi-sdk. r=jst 2012-04-24 16:26:48 -04:00
Josh Aas
930b3a5b7b Bug 745842: Clean up plugin stream listener creation. r=jst 2012-04-24 16:25:21 -04:00
Mark Capella
1a44f1208f 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
James Willcox
3d617c8f21 backout 022be5c50732 for xul bustage 2012-04-11 12:56:00 -04:00
James Willcox
311851c7a5 Bug 730890 - Set up an Android Looper on the main Gecko thread r=cjones 2012-04-11 11:43:08 -04:00
Justin Lebar
4cbb9aa916 Bug 742491 - Use a thread-safe DLL patcher on Windows, when possible. r=glandium 2012-04-10 15:52:56 -04:00
Steven Michaud
a64cadb51a 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
bb82c56da5 bug 738198 - crash in nsPluginInstanceOwner::~nsPluginInstanceOwner r=snorp 2012-03-27 01:31:57 -04:00
Daniel Holbert
35ccf59a89 Bug 743785: Remove no-longer-used variable 'javaIsEnabled' from nsNPAPIPlugin.cpp. r=josh 2012-04-09 13:36:23 -07:00
Igor Bukanov
83623b313c 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
b2f0fc7b65 Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09:00
Josh Aas
0c4b7a3796 Bug 741724: Clean up nsPluginHost::SetUpPluginInstance. r=jst 2012-04-03 18:11:06 -04:00