Commit Graph

903 Commits

Author SHA1 Message Date
Josh Aas
9f11d26e12 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
Jim Mathies
985443560c Bug 534027 - input event coords incorrect for oop windowless plugins. r=jmuizelaar. 2009-12-14 18:28:51 -06:00
Jim Mathies
5f7fda081a Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Benjamin Smedberg
09f29fb7a7 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
fb496dc8b0 Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Doug Turner
ba8871aef3 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
c060bbabf9 Bug 530739 - Intermittent Shutdown crash after visiting a page with flash video. r=jst 2009-11-25 18:38:22 -08:00
Doug Turner
38bc258701 Bug 530652 - Some sites not render flash. r=karlt 2009-11-24 05:57:58 -08:00
Doug Turner
ddc818bfdb Bug 530380 - Avoid slow path painting on Hildon. r=karlt. 2009-11-23 14:46:01 -08:00
Doug Turner
651529a0cb Bug 530378return early to avoid crashing
. r=karlt
2009-11-22 22:36:22 -08:00
Doug Turner
c0a89808a7 Bug 530381 - Cache X11 GC for NativeImageDraw. r=karlt 2009-11-22 15:46:42 -08:00
Doug Turner
c85add2c8b Bug 529996 - Provide notification when embed/object elements are created/destroyed/resized. r=jst. 2009-11-20 14:59:27 -08:00
Doug Turner
6943dc81d8 Bug 528551 - Faster plugin drawing in Fennec. Fixes mac unit test. r=sicking 2009-11-20 09:51:06 -08:00
Doug Turner
baa5803106 Bug 528551- Faster plugin drawing in Fennec. r=jst/karlt. 2009-11-20 08:26:10 -08:00
Olli Pettay
2e3d0c93fe Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron 2009-12-10 20:02:13 -08:00
Doug Turner
fecf6394ef Bug 532328 - plugin bustage on Qt. r=karlt 2009-12-08 10:54:48 -08:00
Josh Aas
e0f089d04d 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
161ccb954f Bug 528429 - MOZ_COMPOSITED_PLUGINS should be disabled when building for Qt. r=vlad 2009-11-13 07:10:53 -08:00
Josh Aas
4e8766448e Rename nsGUIEvent's nativeMsg field to pluginEvent. b=527617 r=roc 2009-11-10 16:55:38 -05:00
Josh Aas
8108fa24ae 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
549c93b914 64-bit Mac OS X bustage fix, b=527115 2009-11-10 11:51:55 -05:00
Josh Aas
aba4e18156 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
c60319aa66 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
749564eefb Add support for scrollwheel events to Cocoa NPAPI. b=519100 r=roc 2009-11-08 16:51:46 -05:00
Josh Aas
30c46ab346 Remove misleading comment about event handling in nsObjectFrame.cpp. No bug. r=smichaud 2009-11-04 11:26:51 -05:00
Robert O'Callahan
8e10426d27 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
84ee259523 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
74e6deabf4 Bug 485252 - RenderDocument Background color filling need to be optimized. r=roc. 2009-10-31 15:44:57 -04:00
Michael Wu
2d452f7878 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
e57eb656d5 Bug 521257 - Support NPImageExpose on Maemo/Hildon only. r=roc 2009-10-26 22:18:35 -07:00
Robert O'Callahan
acd735ba81 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
be374041ff Bug 492848 - Visibility notify event API for windowless plugins. r=roc 2009-10-26 00:00:14 -07:00
Oleg Romashin
f54f40796d 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
ce24a2ae99 Bug 520316. Call DetachWidgetEventHandler on the right view. r=dbaron 2009-10-10 00:48:29 +13:00
Robert O'Callahan
b823ccb3e2 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
e825638626 Bug 508908. Disable windowed plugins in popup windows, since they don't work. r=dbaron 2009-09-30 08:18:20 +10:00
Robert O'Callahan
2bb689c432 Bug 508945. Additional fixes for plugin printing when the plugin has borders or padding. r=dbaron 2009-09-11 13:44:20 +12:00
Robert O'Callahan
b065c8c64a Bug 508495. Remove CreateWidgetForView from nsIFrame and nsObjectFrame since it's no longer used there. r=dbaron 2009-09-30 07:32:43 +10:00
Robert O'Callahan
ebc4bb841d Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron 2009-09-11 13:44:20 +12:00
Robert O'Callahan
9d5b5ae49a 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 2009-09-07 12:35:14 +12:00
Robert O'Callahan
e0cfa042e1 Bug 509693. Remove eWindowType_java (unused) and actually use eWindowType_plugin. r=josh 2009-09-24 21:32:20 +12:00
David Zbarsky
aadd6cf119 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Steven Michaud
bc14307611 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
060edbf687 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
9bd507e985 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
04f094714f 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
eaee6268b8 64-bit Mac OS X fixes for nsObjectFrame.cpp. b=518184 r=roc 2009-09-22 18:17:41 -04:00
Rich Walsh
dc8474298e [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Josh Aas
2807b75578 Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Mats Palmgren
f82eedba5a Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00