Commit Graph

801 Commits

Author SHA1 Message Date
Josh Aas
75ab03884b Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05:00
Benjamin Smedberg
636d74b114 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Jim Mathies
705471067a Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Doug Turner
b4f99f8fb7 Bug 530652 - Some sites not render flash. Fixing mistake introduced in last push r=biesinger 2009-11-30 09:09:26 -08:00
Doug Turner
9594e7f3a5 Bug 530739 - Intermittent Shutdown crash after visiting a page with flash video. r=jst 2009-11-25 18:38:22 -08:00
Doug Turner
5080db37c0 Bug 530652 - Some sites not render flash. r=karlt
--HG--
extra : rebase_source : f0078705705e960fe148fd9d64847c38ff58a656
2009-11-24 05:57:58 -08:00
Doug Turner
b543a3333b Bug 530380 - Avoid slow path painting on Hildon. r=karlt. 2009-11-23 14:46:01 -08:00
Doug Turner
021fc1fac4 Bug 530378return early to avoid crashing
. r=karlt
2009-11-22 22:36:22 -08:00
Doug Turner
fa77150a9d Bug 530381 - Cache X11 GC for NativeImageDraw. r=karlt 2009-11-22 15:46:42 -08:00
Doug Turner
69e385ed76 Bug 529996 - Provide notification when embed/object elements are created/destroyed/resized. r=jst.
--HG--
extra : rebase_source : 44bf32345959402b591ba4763dcea26187cf7796
2009-11-20 14:59:27 -08:00
Doug Turner
383f44923a Bug 528551 - Faster plugin drawing in Fennec. Fixes mac unit test. r=sicking
--HG--
extra : rebase_source : e0dbed7d82a77a61581c9aa59fdd928720c2e5bb
2009-11-20 09:51:06 -08:00
Doug Turner
8d63dd5499 Bug 528551- Faster plugin drawing in Fennec. r=jst/karlt. 2009-11-20 08:26:10 -08:00
Olli Pettay
423522c88b Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Doug Turner
65579e5471 Bug 532328 - plugin bustage on Qt. r=karlt 2009-12-08 10:54:48 -08:00
Josh Aas
75047f874d Move Carbon plugin idle event rate back up to 8 events per second to avoid Flash audio stuttering. b=525533 r=roc 2009-11-17 15:36:33 -05:00
Doug Turner
afee15ba61 Bug 528429 - MOZ_COMPOSITED_PLUGINS should be disabled when building for Qt. r=vlad 2009-11-13 07:10:53 -08:00
Josh Aas
c616b14bed Rename nsGUIEvent's nativeMsg field to pluginEvent. b=527617 r=roc 2009-11-10 16:55:38 -05:00
Josh Aas
5dad284eab Remove unnecessary event handling cases for NS_ACTIVATE/NS_DEACTIVATE in nsObjectFrame. b=526633 r=roc 2009-11-10 16:54:29 -05:00
Josh Aas
b455e58b58 64-bit Mac OS X bustage fix, b=527115 2009-11-10 11:51:55 -05:00
Josh Aas
ab17acd8b4 Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc 2009-11-09 22:58:48 -05:00
Josh Aas
9f778c7836 Rename confusing nsPluginInstanceOwner variable to something less confusing (mOwner -> mObjectFrame). b=526953 r/sr=jst 2009-11-08 16:52:46 -05:00
Josh Aas
ece35c1d9a Add support for scrollwheel events to Cocoa NPAPI. b=519100 r=roc 2009-11-08 16:51:46 -05:00
Josh Aas
a62792c792 Remove misleading comment about event handling in nsObjectFrame.cpp. No bug. r=smichaud 2009-11-04 11:26:51 -05:00
Robert O'Callahan
3a9836be55 Bug 510082. Silverlight depends on NPN_InvalidateRect working even when the plugin is in windowed mode (although it should really just call Win32 APIs to invalidate its window), so make NPN_InvalidateRect work for windowed plugins. r=josh 2009-11-04 07:39:42 +13:00
Josh Aas
7bf991595f Slow down the Carbon plugin idle timer a bit to improve CPU usage. b=525533 r=roc 2009-11-02 11:03:45 -05:00
Oleg Romashin
3316ab0a82 Bug 485252 - RenderDocument Background color filling need to be optimized. r=roc. 2009-10-31 15:44:57 -04:00
Michael Wu
6fd1b4821a Improve GetURL/PostURL code
Bug 273025 - bad logic results in potential leak xor crash based on flow; v4, (1/2)
r+sr=jst
2009-10-29 01:29:44 +01:00
Doug Turner
cc4f335fc9 Bug 521257 - Support NPImageExpose on Maemo/Hildon only. r=roc 2009-10-26 22:18:35 -07:00
Robert O'Callahan
021671bf33 Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron 2009-10-07 17:28:41 +13:00
Doug Turner
14d84b19e5 Bug 492848 - Visibility notify event API for windowless plugins. r=roc 2009-10-26 00:00:14 -07:00
Oleg Romashin
e5da0cab89 Bug 472821 - Force wmode preference required to make all plugins visible in fennec. r=joshmoz, sr=jst 2009-10-26 04:46:03 -04:00
Robert O'Callahan
0a295f9867 Bug 520316. Call DetachWidgetEventHandler on the right view. r=dbaron 2009-10-10 00:48:29 +13:00
Robert O'Callahan
f7d304494f Bug 520436. Interpret NPN_InvalidateRect rectangles as relative to the content-box, not the border-box. r=josh 2009-10-05 23:07:30 +13:00
Robert O'Callahan
f4e4f7e7d2 Bug 508908. Disable windowed plugins in popup windows, since they don't work. r=dbaron
--HG--
extra : rebase_source : 1acfac3d3613d332586fade393f2911552bd03e0
2009-09-30 08:18:20 +10:00
Robert O'Callahan
c4dfa44933 Bug 508945. Additional fixes for plugin printing when the plugin has borders or padding. r=dbaron
--HG--
extra : rebase_source : ea7b64d55c43a04c72ad38529aa35c3a3bb7a127
2009-09-11 13:44:20 +12:00
Robert O'Callahan
d3999577a2 Bug 508495. Remove CreateWidgetForView from nsIFrame and nsObjectFrame since it's no longer used there. r=dbaron
--HG--
extra : rebase_source : c400af6f507ea046e952b9c612dc2d7fca00ff91
2009-09-30 07:32:43 +10:00
Robert O'Callahan
549d1578f2 Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron
--HG--
extra : rebase_source : c42240c5a88dc05579b658f8cc29ff289422986b
2009-09-11 13:44:20 +12:00
Robert O'Callahan
c2f7a1e950 Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Robert O'Callahan
3abf1c14b0 Bug 509693. Remove eWindowType_java (unused) and actually use eWindowType_plugin. r=josh
--HG--
extra : rebase_source : 14ebf24d00378e65e75b75692b9d82a020966db1
2009-09-24 21:32:20 +12:00
David Zbarsky
3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Steven Michaud
774cecaad6 Bug 516249 - [10.6] Wrong event modifiers passed to plugin on switching Spaces with Ctrl-<number key>. r=josh 2009-09-25 15:10:04 -05:00
Josh Aas
b17867b0a6 Stop sending bogus (incomplete) events to plugins on Mac OS X when the object frame is asked to handle events we don't care about. b=518135 r=roc 2009-09-24 17:03:50 -04:00
Markus Stange
5714a2fee4 Bug 515446 - Combine the two Create methods of nsIWidget into one. Also remove nsCocoaWindow's capability of adapting its NSWindow from aNativeParent. r=josh, sr=roc 2009-09-24 18:18:10 +12:00
Josh Aas
2cd6055329 Fix dragging in Google Maps street view on Mac OS X. b=516602 r=roc 2009-09-22 21:52:49 -04:00
Josh Aas
d7f1fc09f7 64-bit Mac OS X fixes for nsObjectFrame.cpp. b=518184 r=roc 2009-09-22 18:17:41 -04:00
Rich Walsh
ed05982a6f [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Josh Aas
2a7ea592aa Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Mats Palmgren
dea07412a1 Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Zack Weinberg
d47e0f433b Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
Markus Stange
9a989a2004 Bug 514988 - Remove unused nsIEventListener interface and update users. r=roc
--HG--
extra : rebase_source : b69928341cb6402d035fa242dde3c85367d96984
2009-09-08 09:50:22 +12:00