Commit Graph

940 Commits

Author SHA1 Message Date
David Zbarsky
080d5e1aea Bug 756651: Fix build warning r=jst 2012-05-22 11:51:37 -07:00
Phil Ringnalda
267e95f013 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
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
Jacek Caban
d5f0f251b0 Bug 754582 - Fixed unused-result warnings in Windows-specific code r=benjamin 2012-05-16 10:48:45 +02:00
Matt Brubeck
eebd9c8f2a 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
58eb5eeac0 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré
8c0c24a4a2 Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Benjamin Smedberg
ff2537e707 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
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
Serge Gautherie
716ef90ce0 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
5640ef5bcf Bug 748785: Enable NPAPI Async Drawing by default on windows. r=josh 2012-05-01 23:46:53 +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
Josh Matthews
2c88d5dfbc 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
d278e617c4 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
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
05d5270d53 Bug 743573 - Fix a number of build warnings in dom/; r=volkmar 2012-04-14 15:09:47 +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
David Rajchenbach-Teller
457f40baba Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman
a89cec83c5 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
5a08b70435 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02: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
Josh Aas
215d22990d Bug 741726: Rename nsPluginTag::mEntryPoint to nsPluginTag::mPlugin. r=jst 2012-04-03 18:08:07 -04:00
Josh Aas
eaea6992fd Bug 741246: Simplify plugin instance creation and initialization (further). r=jst 2012-04-02 15:17:34 -04:00
Josh Aas
02dce5e7d7 Bug 741126: Require plugin for instance creation. r=jst 2012-04-01 06:13:10 -04:00
Josh Aas
ce96a3e646 Bug 740217: Simplify plugin instance object creation. r=bsmedberg 2012-03-30 12:52:43 -04:00
Benjamin Smedberg
2ca933d909 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
af4d6f6006 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
42536c7c7a 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
9b1190f3f6 Bug 712975 - Observe plugin pref changes. r=josh a=blocking-fennec 2012-01-05 16:02:51 -08:00
Oleg Romashin
e8955b072d Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Bobby Holley
5213bf72dd 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
c2fa9afffa Bug 726734: Reload plugin instances when the src/data URL changes. r=jst 2012-03-23 08:33:15 -04:00
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Aryeh Gregor
5950f7d337 Bug 735805 - Part 3: Fix plugin mochitests that run no tests. r=roc 2012-03-20 13:18:08 -04:00
James Willcox
8554c40d90 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
0d30f1a413 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
50c889808a Merge mozilla-central into mozilla-inbound 2012-03-14 13:40:34 -04:00
Oleg Romashin
33304b1ad9 Bug 735598 - Check for MOZ_X11 before using X11 Window types. r=karlt 2012-03-14 13:24:20 +01:00
James Willcox
fb9607dbb7 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
0dbaf73150 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
bb07c779fa 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
37703b08d5 Bug 729009 part 0 - remove dead code, r=josh 2012-03-12 12:48:27 -04:00
Josh Aas
c7b465c052 Bug 734306: Fix bad conversion from nsresult to NPError. r=bas 2012-03-12 10:39:54 -04:00
David Mandelin
8984e21021 Bug 732306: Remove typedef jsint, r=luke
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
Ginn Chen
8525a21311 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
db624d3f5a 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
f45a31ed9d Bug 651192 - Followup 2: Properly initialize IPDL union on OS X. pending-r=roc 2012-03-01 14:09:12 +01:00
Bas Schouten
60ae6b6515 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
a6a316a0f8 Bug 651192 - Part 9: Add reftests for NPAPIAsync plugin functionality. r=roc 2012-02-16 04:30:32 +01:00
Bas Schouten
88243b83c7 Bug 651192 - Part 8: Add NPAPI async code to test plugin. r=roc 2012-02-16 04:30:28 +01:00
Bas Schouten
349297a0c5 Bug 651192 - Part 7: Implement the NPP_DidComposite API. r=roc 2012-02-16 04:30:25 +01:00
Bas Schouten
4a81f55553 Bug 651192 - Part 6: Implement the AsyncBitmapSurface drawing model support. r=roc 2012-02-16 04:30:22 +01:00