Commit Graph

510 Commits

Author SHA1 Message Date
Bas Schouten
a218a71e7c Bug 620665 - Part 4: Also recreate container when types don't match. r=roc a=blocking-beta9 2010-12-29 01:07:09 +00:00
Robert O'Callahan
bfe2452ebc Bug 584251. Wallpaper around crash. r=joshmoz a=blocking-betaN+ 2010-12-24 14:37:03 -06:00
Steven Michaud
57a79c1b85 Bug 618487 - Divx Web Player Videos won't play on Vidbux.com and Vidxden.com and Movshare.net. r=josh a=blocking2.0BetaN+ 2010-12-20 13:49:37 -06:00
Robert O'Callahan
a687d70497 Bug 617152. Part 9: Use desired bounds in nsDisplayList::GetBounds, not actual bounds, when computing plugin geometry. r=tnikkel 2010-12-20 14:37:43 +13:00
Robert O'Callahan
b2eb2ce72f Bug 617152. Part 8.5: Fire MozPaintWait even if the plugin layer is currently zero-size. r=tnikkel 2010-12-20 14:37:43 +13:00
Robert O'Callahan
6f3afc714b Bug 617152. Part 4: Make sure to always fire a balancing MozPaintWaitFinished, even if the plugin dies suddenly, and make sure events are dispatched safely. r=dbaron 2010-12-20 14:37:43 +13:00
Timothy Nikkel
aeba075f23 Bug 616884. Part 2. When creating the widget for a plugin use the position of the plugin if it is available. r=roc a=roc 2010-12-09 22:33:33 -06: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
Robert O'Callahan
5919a4c04a Bug 611164. Fire MozPaintWait event if async plugin rendering hasn't caught up with our desired plugin size. r=romaxa a=roc 2010-12-05 15:04:22 +00:00
Benjamin Smedberg
470e76d1a8 Bug 613744 - Crash when switching layer managers during rendering: compare the cached ImageContainer layer manager with the new manager while building the new layer, and recreate it if a new manager is being used. r=roc a=blocker
--HG--
extra : rebase_source : 9b4e550d6a4afd57bcec50d8a563fce03c267f54
2010-11-30 09:39:47 -05:00
Steven Michaud
9ccfffc401 Bug 613376 - r=josh a=blocking2.0Beta8+ 2010-11-23 10:20:36 -06:00
Oleg Romashin
aa8870e48b Bug 612256 - On plugin invalidate only plugin layer (and not thebes layer) should be updated. r=roc a=blocking2.0 2010-11-23 01:46:11 +02:00
Doug Turner
cff1891508 Fixing build bustage on QT caused by JS using QT defined |slot|. r=blassey, a=npodb
--HG--
extra : rebase_source : 95a43e2d76bcfde38b9daac03729db8f2601f66e
2010-11-18 20:28:59 -08:00
Steven Michaud
df47b58fde Bug 601182 - Spurious focus events sent to NPAPI plugins on OS X in Cocoa event mode. Patch partly by enndeakin. r=josh,smaug a=blocking2.0BetaN+ 2010-11-15 15:12:50 -06:00
Benjamin Smedberg
0aa2cd1075 Bug 611033 - Don't retain the plugin surface beyond the lifetime of the PluginInstanceParent: we only guarantee that the plugin X socket will kept alive until PluginModuleParent::ActorDestroy, r=karlt 2010-11-11 08:43:54 -05:00
Benjamin Smedberg
a95396d2ef Bug 611206 - Send the plugin information about mouse position changes when we scroll, even when we don't need to repaint the plugin, r=karlt 2010-11-15 09:41:18 -05:00
Benjamin Smedberg
bcb4f74440 Additional review fix for bug 583109 comment 49 (karlt). 2010-11-10 08:19:53 -05:00
Benjamin Smedberg
1417fd7f05 Fix review comments from bug 583109 (changeset 6ff3fcbb7845), comment 46. 2010-11-09 09:36:33 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
9df15ba4d0 Fix nsObjectFrame.cpp back to unix-style line endings. DOS endings crept in during the last merge for reasons I don't understand. 2010-11-08 09:48:02 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Benjamin Smedberg
b5c8de3824 Bug 606285 and Bug 583109 - Send the "visible" notification when painting with async layers, so that when a plugin goes from invisible to visible it starts sending asynchronous paints. Suspend sending surface updates for asynchronous plugins when they are invisible, and set the empty clipRect so that the plugin knows that drawing is suspended per the new API. Assume that plugins are visible again when a Paint or BuildLayer call is received. r-pending=karlt 2010-11-05 10:40:55 -04:00
Jan Arne Petersen
63f71f3156 Bug 583109 - Add visibility notification for plugins by setting the NPWindow.clipRect to [0, 0, 0, 0] when the plugin is not visible, either in a background tab, or visibility: hidden. r=karlt Patch rebased against trunk by Benjamin Smedberg. 2010-11-05 10:38:33 -04:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Benjamin Smedberg
280184d562 Bug 596451 part G - Fix a condition where FixupWindow is called too early and doesn't know that we are a windowless plugin yet. Call FixupWindow from nsPluginInstanceOwner::CreateWidget, r=roc 2010-10-27 09:10:50 -04:00
Mats Palmgren
a49bc9b30b Null-check the root pres context before using it. b=599341 r=roc a=dbaron 2010-10-27 16:19:01 +02:00
Robert O'Callahan
d6707f1b58 Bug 593839. Part 1: Use nsDisplayListBuilder::IsPaintingToWindow instead of gfxContext::DESTINED_FOR_SCREEN. r=tnikkel 2010-10-25 16:38:09 +02:00
Boris Zbarsky
ebd7c067e3 Bug 484992 and bug 604420. Don't start a new network request when instantiating the plug-in for <object>s. r=josh, a=blocker 2010-10-22 21:16:29 -04:00
Mats Palmgren
8f52e9d7f5 Delay hiding the plugin window when a delayed stop is requested (eg. during frame destruction). b=604734 r=roc a=blocking2.0:beta7 2010-10-28 22:27:52 +02:00
L. David Baron
40d60928c6 Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
Oleg Romashin
a02cd4afb2 Bug 599476 - windowless plugins in object elements with data (e.g. certain Flash pages) are not painted. r=karlt a=beta7 2010-10-02 09:00:45 -07:00
Oleg Romashin
5ed5aef853 Bug 599704 - mozilla.plugins.use_layers - does not have any effect. r=roc a=beta7 2010-09-29 20:32:55 -07:00
Mats Palmgren
698eb966cf Bug 449734 part 1 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN 2010-09-18 13:28:49 +02:00
Robert O'Callahan
a52325c14b Bug 596414. Tell ChildView about the plugin drawing model. r=josh 2010-09-17 10:55:39 -07:00
Oleg Romashin
de25e2c90e Bug 556487 - drop layer on dead child plugin process. r=roc a=blocking2.0 2010-09-16 21:09:32 -07:00
Oleg Romashin
d24d315810 Bug 556487 - ObjectFrame GetBounds. r=roc a=blocking2.0 2010-09-16 21:09:30 -07:00
Oleg Romashin
d0a0315771 Bug 556487 - Disable layers for non-ipc usage. r=roc a=blocking2.0 2010-09-16 21:09:27 -07:00
Oleg Romashin
0bd5de10b8 Bug 556487 - ObjectFrame BuildLayer implementation. r=roc a=blocking2.0 2010-09-16 21:09:25 -07:00
L. David Baron
d99ac32acf Clip replaced elements (for now, images, canvases, videos, and windowless plugins) to the border radius. (Bug 485501) r=roc a2.0=blocking:beta6 2010-09-09 08:21:47 -07:00
Oleg Romashin
b413ca6239 Bug 556487 - Snap plugin rect to integer pixels. r=roc a=blocking2.0
--HG--
extra : rebase_source : 6442890eb41dce7a134173b5d1e1c87c589cadd1
2010-09-07 19:51:50 -07:00
Oleg Romashin
ff18db0258 Bug 556487 - Post Reflow Callback for nsObjectFrame r=roc a=blocking2.0
--HG--
extra : rebase_source : c8058990232bbabf8fbd36890e0fb6190c318faf
2010-09-07 17:36:59 -07:00
Mats Palmgren
76f0893448 Backing out bug 449734 due to unexpected orange. a=ted 2010-09-03 18:13:49 +02:00
Mats Palmgren
d234af154c Bug 449734 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN 2010-09-03 16:22:00 +02:00
Robert O'Callahan
812e6204ae Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Chris Jones
5e7a13a689 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-20 14:29:01 -05:00
Robert O'Callahan
50f59c86bf Bug 598470. Treat all chrome display items as opaque when we're computing plugin visibility regions; this ensures translucent chrome content is visible above windowed plugins. r=tnikkel,a=blocker 2010-11-08 22:06:14 +13:00
Mats Palmgren
5618586055 Bug 605928 - Repaint issue after detaching/reattaching a tab that contains Flash video. r=roc a=blocking2.0:betaN 2010-11-07 18:27:46 +01:00
Chris Jones
76fbbd8539 Backed out changeset c5945b6a97ed 2010-08-19 19:03:09 -05:00
Chris Jones
39ff0004c3 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-19 13:49:35 -05:00
Alexander Surkov
b049d3e67a Bug 570275 - rework accessible tree update code, r=marcoz, davidb, bz, a=blocking 2010-10-21 13:16:10 +09:00
Felipe Gomes
c1ad5cb316 Bug 601603. Part 5 - Ensure that the layer that holds the window background is never opaque for glass windows. r=roc a=beta8 2010-10-19 15:02:25 -02:00
Timothy Nikkel
b7b5763383 Bug 587534. When we unregister a plugin for geometry updates make sure to hide the plugin in case it hasn't been hidden yet. r=roc 2010-08-18 20:16:58 -05:00
Benjamin Smedberg
122c097a0c Bug 587715 - Include Qt headers before anything else because of conflicts with X and mozalloc. r=bustage fix 2010-08-17 10:35:21 -04:00
Benjamin Smedberg
dde4dba2fd Bustage fix of the bustage fix, bug 583053. 2010-08-16 12:38:43 -04:00
Benjamin Smedberg
937dfa414c Linux followup to bug 583053 - fix the include ordering so that KeyPress is defined at the time we need it. 2010-08-16 11:41:46 -04:00
Benjamin Smedberg
c179a09b28 Bug 583053 - Corruption issues when running rdio because windows double-pass rendering events don't win the RPC race, r=bent 2010-08-16 10:10:25 -04:00
Robert O'Callahan
0b542b46ed Bug 579258. Remove the 'before move' region parameter to ComputeVisibility. r=tnikkel,a=joe 2010-08-13 21:55:54 +12:00
Steffen Imhof
a4facb8ffc Bug 578693 - Transport of key events to plugin in window-less case is incomplete for Qt backend r=dougt 2010-07-28 18:05:32 -07:00
Karl Tomlinson
fb689d79eb b=580440 use native-rendering temp surfaces only as large as necessary r=roc a2.0=beltzner
--HG--
extra : rebase_source : 53788fe162ea7ef0c8b4190a08801cbd276e702b
2010-07-23 10:25:19 +12:00
Timothy Nikkel
eaf04d25f4 Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats 2010-07-18 21:23:48 -05: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
Robert O'Callahan
e09df6f94d Bug 564991. Part 36: Newly-instantiated plugins should be clipped to be invisible until we set their geometry correctly. r=mats 2010-07-16 09:08:10 +12:00
Robert O'Callahan
1df5a7ec56 Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad 2010-07-16 09:08:08 +12:00
Robert O'Callahan
fa8f373bc3 Bug 564991. Part 14: Scroll using the layer system. r=mats,sr=dbaron 2010-07-16 09:08:02 +12:00
Michael Ventnor
8139bee929 Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel 2010-07-16 09:07:49 +12:00
Chris Jones
60d605a833 Bug 575836: Fix logic here. r=jst 2010-07-12 18:21:27 -05:00
Timothy Nikkel
976046bf62 Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats 2010-07-02 14:11:04 -05:00
Karl Tomlinson
a33e5a1d24 b=574220 refactor gfxXlibNativeRenderer and make sure the surface matches the requested visual r=roc
--HG--
rename : gfx/thebes/cairo-xlib-utils.c => gfx/thebes/gfxXlibNativeRenderer.cpp
2010-07-02 16:04:09 +12:00
Karl Tomlinson
53bffe7a82 b=574583 Extend X11 windowless Flash Player drawing offset workaround to handle clips also r=roc 2010-07-02 15:59:38 +12:00
Karl Tomlinson
efa9fe2155 b=573626 provide an API to create Pixmap gfxXlibSurfaces with a Drawable hint for XCreatePixmap r=vlad sr=roc 2010-07-02 15:55:24 +12:00
Alexander Surkov
1b2bbba526 Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc 2010-06-28 21:02:03 +09:00
Robert O'Callahan
45cdd27b9a b=573944 invalidate windowless plugins on instantiation r=josh 2010-06-24 16:02:12 +12:00
Josh Aas
666aab680e nsObjectFrame code cleanup. b=572985 r=jst 2010-06-23 15:08:35 -04:00
Chris Jones
bf91852da6 Bug 572295: Add X11Util.h for X11 toolkits. r=karlt,joedrew 2010-06-21 15:35:49 -05:00
Chris Jones
e4c6da5f2d Bug 571730: Initialize the entire XEvent union so that our simple memcpy() serializer doesn't cause valgrind to complain on copying an X*Event smaller than XEvent. r=karlt 2010-06-21 15:35:49 -05:00
Josh Aas
72e1f0c4f8 64-bit Mac OS X bustage fix for npapi-headers sync. b=571538 r=mstange 2010-06-15 16:13:06 -04:00
Jacek Caban
f6026ed505 Bug 569604 - Fix compilation failure on mingw-w64 due to pointer to int cast loosing precision. r=josh 2010-06-11 20:55:31 +02: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
Benoit Girard
da16c54e88 Don't paint OSX plug-ins with empty clip. b=568382 r=roc 2010-06-09 00:11:46 -04:00
Robert O'Callahan
1585ad342c Bug 568390. When a Mac plugin is instantiated, as well as showing the widget we need to explicitly invalidate our frame. r=josh 2010-06-01 11:38:40 +12:00
Josh Aas
03620e7281 Simple removal of a couple of scope levels in Mac OS X object frame event handling code. No bug. r=roc 2010-05-26 20:19:13 -04:00
Benoit Girard
fcb1e692fc Remove CGContextSaveGState from nsObjectFrame. This is now done in cairo_quartz_get_cg_context_with_clip. b=562742 r=jmuizelaar 2010-05-20 15:22:44 -04:00
Benoit Girard
5742a80a1b Use IOSurface for in-process CoreAnimation on OS X 10.6+ b=559259 r=josh. 2010-05-20 15:22:37 -04:00
Doug Turner
2225a94f11 Bug 564402 - slots #define in Qt, prevents Qt builds on trunk. r/sr=jst
--HG--
extra : rebase_source : 5f7ac6c449ea03e4be8ab6834d3f1880cb7d9c80
2010-05-11 16:32:17 -07:00
Mike Kristoffersen
86c80047ba Bug 564402 - slots #define in Qt, prevents Qt builds on trunk
--HG--
extra : rebase_source : 0dc2793cb28294addd9781bd9ca76a3e049ec110
2010-05-07 13:20:04 +02:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Josh Aas
2b2c2cb3e4 Fix bug in which we send a "blank" (memset to 0) Cocoa event to plugins. b=562997 r=roc 2010-05-03 19:59:27 -04:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Mats Palmgren
9fdc4d1c16 Invert CSS transforms for the mouse event coordinate sent to the plugin. Original fix by Victor <vik@dhtmlx.com>. b=539565 r=josh 2010-04-27 18:15:02 +02:00
Josh Aas
483533a0ce Focus event fixes for Cocoa NPAPI. b=559758 r=roc a=#developers 2010-04-25 16:58:03 -04:00
Josh Aas
e57fb03f84 Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc 2010-04-21 02:21:46 -04:00
Oleg Romashin
8563022a30 Bug 464966 - Add NPAPI Plugin support for Mozilla Qt. r=karlt
--HG--
extra : rebase_source : d86430f750bbedde12e779f0073369a3b05b2427
2010-04-20 21:49:34 +03:00
Benoit Girard
9897b0a83e Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 8cc45083e0b513902c467c8c89248474c21b7923
2010-04-20 10:52:19 -04:00
Benoit Girard
046173124b Backed out changeset 44ee6030f4b2 2010-04-19 02:57:22 -04:00
Benoit Girard
b6d069f2c9 Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 29f581f60c6db0e8945a5121cf2d7007b10a7433
2010-04-18 19:46:33 -04:00
Doug Turner
0e8798aedd Bug 556971 - Fix MOZ_USE_IMAGE_EXPOSE use of shared memory. r=jrmuizel 2010-04-15 22:33:50 -07:00
L. David Baron
78c4bdc4bd Use the appropriate color based on visitedness for the 'background-color' property. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
Josh Aas
c12f7f8878 Fix comment. 2010-03-31 13:51:25 -04:00
Josh Aas
24d5968b30 Send repeat key events to Cocoa NPAPI plugins. b=554753 r=smichaud r=roc 2010-03-25 20:14:56 -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
Robert O'Callahan
69610b8d43 Bug 546071. Compute view-to-widget offset for plugin views. r=mats
--HG--
extra : rebase_source : 483afc3b0d00f5fd6685f760b6ad358a94a7c9ba
2010-02-24 00:33:41 -08: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
Robert O'Callahan
6a95e8500e Backed out changeset 78318b260f18 2010-03-05 20:05:33 +13:00
Robert O'Callahan
b752207ff1 Bug 546071. Compute view-to-widget offset for plugin views. r=mats 2010-02-24 00:33:41 -08:00
Mike Kristoffersen
abdb2aa82c Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Steven Michaud
64dbfdb0b6 Bug 542068 - Wrong coordinates set on synthesized plugin events. r=josh 2010-03-02 10:59:01 -06:00
Oleg Romashin
afd6f98795 bug 544193 - Qt version for plugins embedding functionality required. r=mozbugz. 2010-02-10 22:48:20 +02:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Timothy Nikkel
582541daec Bug 542900. nsPluginInstanceOwner::Init should be calling AddScrollPositionListener. r=roc
--HG--
extra : rebase_source : 403e7ed117c743643d92bf67f1c15e8678c3458d
2010-01-28 18:03:52 -06:00
Timothy Nikkel
375930c3f5 Bug 488771. Stop nsIScrollPositionListener from inheriting from nsISupports. r=roc
--HG--
extra : rebase_source : bb93c56b3347bc8df7fd843f08e2d5dfc4f3071b
2010-01-28 18:03:42 -06:00
Benjamin Smedberg
6db43fb19a revert changeset f61e06c31086 (bug 542971) since it caused bug 543376. 2010-02-02 17:18:37 -08:00
Josh Aas
46d060dccd Get rid of nsPluginInstanceTag. Clarifies the plugin object hierarchy and makes it easier to get from one object to another. We avoid unnecessary null checks and strong references due to clarified lifetimes dependencies between objects. Makes all of this code less error-prone. b=542971 r=jst 2010-01-29 14:42:54 -05:00
Mats Palmgren
2b3d68789b Register the frame also when the widget already existed (re-instantiating a stopped plugin). b=542608 r=roc 2010-01-28 21:58:04 +01:00
Mats Palmgren
fa91c35561 Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc 2010-01-26 14:10:12 +01:00
Josh Aas
4347f70d5b Pointer to NP_CGContext should be NULL in Cocoa NPAPI event model. b=541018 r=smichaud 2010-01-24 01:00:39 -05:00
Steven Michaud
22d7ec9de0 Bug 525078 - Make plugin mouse up/down/dragging behavior conform to OS X practice and Cocoa NPAPI spec clarifications. r=josh 2010-01-22 14:57:04 -06:00
Doug Turner
a560ee17ef Bug 541259 - Kung Fu Death Grip Hildon specific methods. r=jst 2010-01-21 20:51:46 -08:00
Brad Lassey
f2c24e00f5 Bug 540795 - NotifyPluginEventObservers crashes. r=jst 2010-01-21 07:17:52 -08:00
Doug Turner
8818752309 Bug 540843 - Do not cache dom element in nsObjectFrame shm code. r=olli. Maemo only 2010-01-20 14:08:50 -08:00
Ben Turner
e0c2098adf Bug 535036 - '[OOPP] Flash hangs Firefox with IPC enabled when video is paused and process loses focus'. r=masayuki+jst, sr=jst. 2010-01-15 12:36:00 -08:00
Jim Mathies
3960d009a6 Bug 536369 - OOPP: Fix for mouse event serialization errors. r=bsmedberg. 2010-01-13 19:46:44 -06:00
Robert O'Callahan
5326dfa81a Bug 526394. Part 19: Remove view paramters from nsIScrollPositionListener. r=mats 2009-09-09 17:40:01 +12:00
Robert O'Callahan
4adad50c20 Bug 526394. Part 15: Convert various random chunks of layout code. r=mats 2009-09-03 16:26:00 +12:00
Robert O'Callahan
2a230d1af5 Bug 537309. Synthesize WM_*DBLCLK on NS_MOUSE_BUTTON_DOWN, not NS_MOUSE_DOUBLECLICK (since the latter fires on mouse-up). r=jmathies 2010-01-07 13:55:09 +13:00
Karl Tomlinson
e970532a99 b=526797 move expose event origin when possible to workaround Flash bug r=roc
--HG--
extra : rebase_source : 6d90440764dd906dabe2555defa5797d3f0cb9a4
2009-12-31 16:16:23 +13:00
Michael Wu
27fd1e717b Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst] 2009-12-27 14:26:00 -06:00
moz_poro@porotal.org
01814a3b84 Bug 507811 - "NS_KEY_PRESS not handled by windowless plugins" [r=karlt] 2009-12-30 20:56:55 -06:00
Boris Zbarsky
b3883855ac Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
fantasai
1ffb0c06ef Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc 2009-12-24 00:21:15 -05:00
Mark Finkle
143fe184f9 Bug 536199 - Crash Yahoo! frontpage with 12/21 1.9.2 nightly build [r=dougt] 2009-12-22 16:59:34 -05:00
Josh Aas
cdb8c45c2e Scroll position updates shouldn't start the Carbon plugin idle event timer. b=535630 r=smichaud 2009-12-17 15:41:13 -05:00
Robert O'Callahan
a0eeb78969 Bug 526216 - mochitest-browser-chrome: crash in nsObjectFrame::IsOpaque while running browser_pluginnotification.js and test_crashing.html, r=josh
--HG--
extra : rebase_source : 3f5677e9af8e5b9d54ac394d62cf8528487efa94
2009-12-17 09:56:24 -05:00
Doug Turner
54346be057 Bug 535338 - UpdateVisibility should call VisibilityFullyObscured when clip is zero. r=roc 2009-12-16 14:08:14 -08:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Josh Aas
514a6c5e9d 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
1ea63e49c6 Bug 534027 - input event coords incorrect for oop windowless plugins. r=jmuizelaar. 2009-12-14 18:28:51 -06:00
Jim Mathies
23118539a9 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Benjamin Smedberg
422b4b28d2 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
0ffd1b2e75 Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Doug Turner
fced4ec129 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
81d6db5548 Bug 530739 - Intermittent Shutdown crash after visiting a page with flash video. r=jst 2009-11-25 18:38:22 -08:00
Doug Turner
387eed8493 Bug 530652 - Some sites not render flash. r=karlt
--HG--
extra : rebase_source : f0078705705e960fe148fd9d64847c38ff58a656
2009-11-24 05:57:58 -08:00
Doug Turner
dbc44dda9c Bug 530380 - Avoid slow path painting on Hildon. r=karlt. 2009-11-23 14:46:01 -08:00
Doug Turner
730075f7eb Bug 530378return early to avoid crashing
. r=karlt
2009-11-22 22:36:22 -08:00
Doug Turner
7f9938ce48 Bug 530381 - Cache X11 GC for NativeImageDraw. r=karlt 2009-11-22 15:46:42 -08:00
Doug Turner
2fe6a6f5c2 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
d7c57015bb 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
793f6fc7db Bug 528551- Faster plugin drawing in Fennec. r=jst/karlt. 2009-11-20 08:26:10 -08:00
Olli Pettay
2f4c5ea761 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
f9bf322ca5 Bug 532328 - plugin bustage on Qt. r=karlt 2009-12-08 10:54:48 -08:00
Josh Aas
c5e5b72709 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
16ce7d7c20 Bug 528429 - MOZ_COMPOSITED_PLUGINS should be disabled when building for Qt. r=vlad 2009-11-13 07:10:53 -08:00
Josh Aas
80e4d43179 Rename nsGUIEvent's nativeMsg field to pluginEvent. b=527617 r=roc 2009-11-10 16:55:38 -05:00
Josh Aas
74eb1fe935 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
8be6e464a2 64-bit Mac OS X bustage fix, b=527115 2009-11-10 11:51:55 -05:00
Josh Aas
d069d0092b 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
ce59f7a44c 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
e11201548e Add support for scrollwheel events to Cocoa NPAPI. b=519100 r=roc 2009-11-08 16:51:46 -05:00
Josh Aas
5f2f8edf34 Remove misleading comment about event handling in nsObjectFrame.cpp. No bug. r=smichaud 2009-11-04 11:26:51 -05:00
Robert O'Callahan
3e0434e672 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
bd87a960d8 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
9472920cda Bug 485252 - RenderDocument Background color filling need to be optimized. r=roc. 2009-10-31 15:44:57 -04:00
Michael Wu
d38ee96a91 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
ea91fe7947 Bug 521257 - Support NPImageExpose on Maemo/Hildon only. r=roc 2009-10-26 22:18:35 -07:00
Robert O'Callahan
56aad34bd4 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
1fc21399d6 Bug 492848 - Visibility notify event API for windowless plugins. r=roc 2009-10-26 00:00:14 -07:00
Oleg Romashin
120e3e893c 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
6c601aeedb Bug 520316. Call DetachWidgetEventHandler on the right view. r=dbaron 2009-10-10 00:48:29 +13:00
Robert O'Callahan
f98cfc2882 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
20bb54d1d3 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
956121ecec 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
794f4fa11d 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
0661a95762 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
d56dfa741e 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
7fa763ef88 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
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Steven Michaud
89701df418 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
70134898a3 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
36822e5cf2 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
57878ef860 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
a62ce6bc2e 64-bit Mac OS X fixes for nsObjectFrame.cpp. b=518184 r=roc 2009-09-22 18:17:41 -04:00
Rich Walsh
5c1a94f9fe [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Josh Aas
923b0e293c Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Mats Palmgren
948203eb7d Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Zack Weinberg
17eb5a6efc 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
4ad22e5a56 Bug 514988 - Remove unused nsIEventListener interface and update users. r=roc
--HG--
extra : rebase_source : b69928341cb6402d035fa242dde3c85367d96984
2009-09-08 09:50:22 +12:00
Neil Deakin
139359f606 Bug 501815, don't allow drops on plugins, r=smaug 2009-08-27 08:51:46 -07:00
Josh Aas
65e80f6eb0 Implement Cocoa NPAPI event model. b=435041 sr=roc 2009-08-26 17:29:47 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
timeless@mozdev.org
52c8602402 Bug 506628 deadcode in nsPluginInstanceOwner::ProcessEventX11Composited
r=karlt
2009-08-12 11:49:54 +02:00
timeless@mozdev.org
e89984650d Bug 506627 find_dest_id abuses XQueryTree
r=karlt
2009-08-12 11:49:54 +02:00
Robert O'Callahan
a2a72eee58 Bug 506304. Support synthesized mouse events being sent to windowless plugins, support reporting mouse event coordinates from the test plugin, and add tests for mouse events. r=josh
--HG--
extra : rebase_source : 5c97644a6db8454f759bbeab7a1e06295aca8325
2009-08-05 13:36:37 +12:00
Robert O'Callahan
feb5fde3fc Bug 506304. Walk all the way up to the nearest widget when computing event coordinates for windowless plugins. r=bz
--HG--
extra : rebase_source : be25ce5ffbae7c90cf0b211ae818046873b6e09a
2009-07-30 14:56:52 +12:00
Robert O'Callahan
edefa6fb61 Bug 339548. Part 14: hide windowed plugins in CSS transforms and SVG foreignObject contexts; we can't display them properly, so let's not display them at all. r=dbaron 2009-07-22 12:45:14 +12:00
Robert O'Callahan
5fa812e479 Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies 2009-07-22 12:45:13 +12:00
Robert O'Callahan
2ebc95776b Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug 2009-07-22 12:45:09 +12:00
Robert O'Callahan
25b5199778 Bug 339548. Part 10.5: Eagerly fix up Mac plugin clip rect to be consistent with other platforms. 2009-07-22 12:45:02 +12:00