Commit Graph

141 Commits

Author SHA1 Message Date
Matt Woodrow
aaef3ddcc5 Bug 591687: Add GetImage in order to create mac async plugin images in plugin code instead of nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 11:07:10 -05:00
Matt Woodrow
d6a75cf690 Bug 591687: Add interface to retrieve plugins actual (remote) drawing model from nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 10:55:40 -05:00
Marco Bonardo
aaac8f2d4c Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
Chris Jones
66c0a6b21b Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-08 18:44:14 -06:00
Dan Witte
b39a896a01 Bug 508167 - NPAPI additions for clearing recent history (e.g. for "flash cookies"). r=josh, a=beltzner 2011-02-08 14:16:07 -08:00
Josh Aas
5a9d57a6d9 Bug 623695: Sync to npapi-headers rev 34. r=dwitte a=josh 2011-01-18 21:32:35 -05:00
Steven Michaud
afd3294490 Bug 594482 - Java applets broken with content policies. r=josh,bsmedberg a=blocking2.0BetaN+ 2010-12-07 15:18:50 -06:00
Josh Aas
3e01275064 Bug 610238: Sync to npapi-headers rev 31. r=bsmedberg a=blocking2.0betaN+ 2010-11-09 10:26:44 -05:00
Oleg Romashin
142c1d024b Bug 595697 - nsIPluginInstance.h(30) : warning C4099: 'gfxASurface' : type name first seen using 'class' now seen using 'struct' r=benjamin a=approval2.0 2010-11-06 10:42:39 +02:00
Jacek Caban
f719b4c3e5 Bug 605116 - Properly declare functions without arguments in npfunctions.h r=joshmoz a=benjamin 2010-10-20 17:30:36 +00:00
Oleg Romashin
90150a79e4 Bug 599202 - Add support NPP_ImageDraw API for Maemo6. r=dougt a=npodb
--HG--
extra : rebase_source : 8486484c5c2bd25a1e1b63859a62bf41787e7004
2010-10-05 09:15:49 +03:00
Oleg Romashin
27fa97f1ea Bug 556487 - Disable layers for non-ipc API. r=roc a=blocking2.0 2010-09-15 09:02:47 -07:00
Oleg Romashin
1aa4439c1d Bug 556487 - Plugin child/parent/PluginInstance API part. r=roc a=blocking2.0
--HG--
extra : rebase_source : 2c07b0dd0f24e704571f43d3e44dd4126a7b3c7d
2010-09-10 11:28:52 -07:00
Josh Aas
a150919962 Bug 578868: Only load plugin libraries into the main process when absolutely necessary. r=benwa sr=bsmedberg a=blocking-b5+ 2010-08-17 20:05:48 -04:00
Josh Aas
45db82ea6b Backed out changeset 452db8c688ba, bug 578868. 2010-08-13 04:23:13 -04:00
Josh Aas
f87c958485 Bug 578868: Only load plugin libraries into the main process when absolutely necessary. r=benwa sr=bsmedberg 2010-08-13 02:42:42 -04:00
Josh Aas
4e23705cc3 Bug 579516: Patch contains a number of fixes to nsPluginStreamListenerPeer memory management. Also moves storage of the stream array for cache lookups to the plugin instance rather than the instance tag. Also stops adding streams to the cached list that shouldn't be there. r=benwa 2010-07-17 19:47:29 -04:00
Benjamin Smedberg
c71e024222 Bug 574457 - Back out the functional changes from revision 0327e126ea24, bug 569644, because of 100ms (20%) Ts regression on Linux/Mac. This leaves the nsIContentUtils helper function, but restores the plugin host category entry munging. 2010-06-29 16:56:13 -04:00
Josh Aas
b8977580e4 Sync NPAPI headers to npapi-headers repository r27. b=571538 r=jst r=mstange 2010-06-15 15:34:32 -04:00
Benjamin Smedberg
80b423e0a0 Bug 569644 - Query the plugin host directly when searching for MIME types, rather than using Gecko-Content-Viewer category manager registration, r=bz 2010-06-10 12:42:16 -04:00
Josh Aas
dc18091697 Add support for Cocoa NPAPI complex text input. This patch contains a TSM-based implementation for 32-bit builds, and an NSInputContext-based implementation for 64-bit builds. b=512886 r=smichaud sr=jst 2010-06-09 20:56:17 -04:00
Benoit Girard
22930b5f78 Implement InvalidatingCoreAnimation Drawing Model. b=559211 r=josh 2010-06-09 00:11:48 -04:00
Jim Mathies
2d302c9199 merge backout. 2010-06-02 17:18:04 -05:00
Jim Mathies
36d1eefef2 Bug 518915 - revert comment changes, 'clipRect' is not valid on all platforms. No bug. 2010-06-02 17:16:11 -05:00
Josh Aas
ed50cb5b07 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-14 13:08:12 -04:00
Josh Aas
9213b9561a Backed out changeset 558df3e5b094 due to talos master issue. 2010-05-13 15:56:19 -04:00
Josh Aas
eb08772da3 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-13 14:54:26 -04:00
Phil Ringnalda
fa9669c2e2 Backed out changeset e074757a15aa (bug 533891) due to xpcshell orange after a clobber 2010-05-10 21:38:56 -07:00
Josh Aas
a987bef855 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-10 20:21:31 -04:00
Josh Aas
c36a394282 Sync Mozilla's NPAPI headers to npapi-headers r12. b=563448 sr=jst 2010-05-06 01:13:11 -04:00
Josh Aas
8ecc9116c4 Backed out changeset 955501353745 2010-05-05 15:58:41 -04:00
Josh Aas
6af09c6805 Sync Mozilla's NPAPI headers to npapi-headers r10. b=563448 sr=jst 2010-05-05 15:46:32 -04:00
Karl Tomlinson
8366722865 b=518915 remove incorrect comment about clipRect "Used by MAC only" r=josh
--HG--
extra : rebase_source : 008b54b52b8e4e40cf3295c759389494f1cbcfd2
2009-10-14 15:40:44 +13:00
Blair McBride
9cdc2ead10 Bug 514327 - Detect outdated plugins and offer upgrade path. ui-r=beltzner, r=dtownsend,josh 2009-10-02 13:26:04 +02:00
Dão Gottwald
d31de13158 Backed out changeset 1052ee218ba6 2010-05-02 14:19:54 +02:00
timeless@mozdev.org
001cce67ca Bug 556309 getError with STRINGZ_TO_NPVARIANT macro evaluates argument (strdup) more than once
r=jst
2010-05-02 12:48:48 +02:00
Josh Aas
0cf3e8a260 64-bit Windows NPAPI fix, change wParam and lParam types to uintptr_t. b=560298 sr=roc a=#developers 2010-04-25 19:55:17 -04:00
David Baron
945430ee19 Bug 502301 - fix C++0x narrowing conversion inside {} compilation errors [r=benjamin] 2010-04-20 10:41:21 +02:00
Mike Hommey
f5658f3e9d Bug 550668: nsIPluginTag should expose fullpath 2010-04-16 10:10:00 -07:00
Josh Aas
127a0bc746 Improve plugin loading code, make it more efficient and easier to understand. Allow Mac OS X plugins to modify their NPAPI function table. b=543405 r=jst 2010-04-07 18:14:54 -04:00
Josh Aas
a02149fecc Fix NPAPI NPN_PushPopupsEnabledState and NPN_PopPopupsEnabledState signature mismatches, statically initialize browser-side NPAPI function table with no casting. b=554170 r=bent 2010-03-25 19:45:33 -04:00
Josh Aas
d40619068c Back out patch for bug 554170 due to IPC bustage. 2010-03-25 17:11:14 -04:00
Josh Aas
feb256f474 Fix NPAPI NPN_PushPopupsEnabledState and NPN_PopPopupsEnabledState signature mismatches, statically initialize browser-side NPAPI function table with no casting. b=554170 r=bent 2010-03-25 16:33:40 -04:00
Benoit Girard
03c1f7cf9c Add support for the NPAPI Core Animation drawing model. b=497225 r=josh sr=roc 2010-03-23 20:51:11 -04:00
Doug Turner
e342d43d13 Bug 550545 - The NPAPI ImageExpose event should be disabled when building for Qt. r=vlad
--HG--
extra : rebase_source : b66a81ba5a019e7da387eb81d4fd2454be196fe7
2010-03-10 15:01:46 -08:00
Benjamin Smedberg
2a5f3518de 1;2cBug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh
--HG--
extra : rebase_source : 372df117d2b0c955605f44ee0e2fa512f0ad972b
2010-02-23 21:58:27 -05:00
Benjamin Smedberg
0b629a5939 Backed out changeset f829f942873d - bug 548217 because of topcrash bug 549112 2010-02-27 17:36:54 -05:00
Benjamin Smedberg
958042217d Bug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh/jst 2010-02-23 21:58:27 -05:00
Benjamin Smedberg
7985a1dcb1 Backed out changeset 77dc38d8196e - bug 548217 because even though this patch is correct, it exposes a bug in the OOPP code which got backed out. 2010-02-25 03:57:57 -08:00
Benjamin Smedberg
4a49a68e09 1;2cBug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh
--HG--
extra : rebase_source : fba343acbfcaa785c7405552d42f4558424b485c
2010-02-23 21:58:27 -05:00