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
Robert O'Callahan
41b0dc9d84
Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly.
2009-07-22 12:45:00 +12:00
Robert O'Callahan
d523d1c325
Bug 339548. Part 6: Uninline IsMovingFrame so nsDisplayList.h doesn't have to include nsLayoutUtils.h. r=dbaron
2009-07-22 12:44:57 +12:00
Steven Michaud
8bc55f5541
[OSX] Embedded plugins don't print - NPP_Print not called. b=191046 r=josh,kinetic
2009-07-20 17:10:36 -05:00
Benjamin Smedberg
7f34fe29a0
nsIPluginInstance.getMIMEType should be a [shared, const] parameter... it doesn't follow the normal XPCOM rules about allocating memory. r=josh sr=jst
2009-07-13 12:27:46 -04:00
Josh Aas
908cd606b2
Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc
2009-07-10 20:20:32 -04:00
Josh Aas
c88c69078b
Get rid of nsMIMEType type. b=503025 r/sr=jst
2009-07-08 23:25:20 -04:00
Josh Aas
d5e66a3fb6
Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst
2009-07-01 20:54:18 -04:00
Josh Aas
73eb23eeb9
Remove nsPIPluginHost. b=501388 r/sr=jst
2009-06-30 16:49:04 -04:00
Josh Aas
4a7715939e
Bug 501194 - Remove nsplugin.h. r/sr=jst
2009-06-30 01:55:05 -04:00
Josh Aas
11468250a3
Windows bustage fix for bug 500889.
2009-06-29 15:38:09 -04:00
Josh Aas
c81455d12a
Remove plugin instance peers (nsIPluginInstancePeer, nsPIPluginInstancePeer). Second and final part of bug 500889. r/sr=jst
2009-06-29 14:53:52 -04:00
Robert O'Callahan
a3da1d433e
Bug 500630. Clip Cocoa plugins to theheir bounds, so an errant plugin won't draw outside its bounds and leave artifacts. r=josh
...
--HG--
extra : rebase_source : 551f8124ba9afb8576106f38e7916cf8fd6f7111
2009-06-29 10:52:11 +12:00
Josh Aas
4e45156e64
Bug 500889 - Remove nsIPluginInstancePeer2 and nsIPluginInstancePeer3, part 1 for removing plugin instance peers. b=500889 r/sr=jst
2009-06-28 19:43:19 -04:00
Johnny Stenback
c773b6331b
Fixing bug 484744. Revert an IID change that broke the old Java plugin. r+sr=mrbkap@gmail.com
2009-06-26 07:57:26 -07:00
Josh Aas
8e7850a5bd
Bustage fix for bug 500593.
2009-06-26 10:54:51 -04:00
Josh Aas
4734a09527
Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst
2009-06-25 17:06:54 -04:00
Josh Aas
ed0da293be
Minor Mac OS X plugin related cleanup, no bug. r=smichaud
2009-06-19 12:15:23 -04:00
Josh Aas
ad98ea63ad
Fix some whitespace issues in nsObjectFrame.cpp. no bug, r/sr=sparky
2009-06-15 17:36:11 -04:00
Neil Deakin
79321ef1f8
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Henri Sivonen
2b33dab370
Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner
2009-06-09 10:41:19 +03:00
Karl Tomlinson
b5254172e4
b=491241 crash with windowless plugins when MOZ_COMPOSITED_PLUGINS is defined r=jrmuizel
2009-05-15 14:26:10 +12:00
Karl Tomlinson
c4c942a643
b=485125 reparent plugin widgets for delayed destruction. r=jst
2009-05-15 14:16:27 +12:00
Ryo Onodera
5e72993bff
Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
...
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Josh Aas
c6a41e8074
Remove OJI from the tree. b=485984 r/sr=jst
2009-04-09 22:38:21 -04:00
Neil Rashbrook
7689e2520b
Bug 385600 Fix nsPluginInstanceOwner allocator mismatches r+sr=jst
2009-04-05 13:57:07 +01:00
Olli Pettay
ae535115ac
Bug 478245, fixing windows bustage
2009-03-11 18:22:47 +02:00
Jeff Muizelaar
de647c8035
Bug 442109 - youtube videos don't play; r=vladimir
2009-02-25 16:25:12 +01:00
Johnny Stenback
3d56357332
Fixing bug 475646. Don't call GetPeer() on plugins as it's apparently not safe to do so on all plugins. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu
2009-02-24 16:28:35 -08:00
Masayuki Nakano
688c40bcf9
Bug 478862 After bug 347185 the keys Backspace and Tab no longer work as expected in a flash application r+sr=roc
2009-02-20 16:42:29 +09:00
Jeremy D. Lea
b9a1696e34
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
...
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
Zack Weinberg
1100dca795
Fixing bug 473580. Disable drawWindow for sun java to avoid pegging the CPU. r=vladimir@pobox.com, sr=jst@mozilla.org
2009-02-18 17:03:54 -08:00
Boris Zbarsky
d44d4a7243
Bug 478267. Make sure to set our overflow area correctly for objects even in cases without box-shadow. r+sr=roc
2009-02-15 13:14:32 -05:00
Serge Gautherie
5ec9f53e89
Backed out changeset: 719dca3419b5
2009-02-15 18:41:16 +01:00
Jeremy Lea
b82cdbd258
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
2009-02-15 17:41:06 +01:00
Johnny Stenback
9e383f5a28
Fixing bug 474022. Make sure we always stop plugins, no matter how they were started. r=smichaud@pobox.com, sr=bzbarsky@mit.edu
2009-02-02 17:23:48 -08:00
Michael Ventnor
5d8a255f31
Bug 474723. Allow box-shadows to display on plugins by ensuring nsObjectFrames get the right overflow area. r+sr=roc
...
--HG--
extra : rebase_source : d58e810f0e3f82d2c81a09c3dc67c7800f5333ff
2009-01-30 20:05:46 +13:00
Johnny Stenback
b1945926a3
Fixing bug 474866. Make the plugin instance peer have a weak reference to its owner, and make the owner tell the peer once it's no longer its owner so we don't have reference cycles, yet the instance can hold on to its peer while being cached between pages. r+sr=mrbkap@gmail.com
2009-01-25 22:00:12 -08:00
Walter Meinl
ed775713d7
[OS/2] Bug 473906: follow-up to Bug 448830 - Split nsInt(Rect|Size|Point|Margin), r=weilbacher
2009-01-17 10:08:00 +01:00
Jeremy Lea
1800930122
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Arpad Borsos
318ec6121d
Bug 471877 - Cleanup GTK includes; r+sr=roc
2009-01-03 08:37:52 +01:00
Masayuki Nakano
229283883c
Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc
2008-12-15 12:54:54 +09:00
Neil Rashbrook
be9757b050
Bug 468421 Fix assertion to include other valid cases r+sr=roc (debug-only code)
2008-12-10 12:46:02 +00:00
Olli Pettay
69276b94ff
Bug 465732 - Don't invalidate plugin after scrolling, r=smichaud, sr=roc
2008-12-03 11:59:33 +02:00
Olli Pettay
70ce07ded0
Bug 467295 - Plugin timer is re-created everytime the page is scrolled, r=josh,sr=roc
2008-12-03 11:30:40 +02:00
Robert O'Callahan
ba9c7fb6b5
Bug 418740. Make sure that mouse events are reported to windowless plugins relative to the widget we associated with the plugin. r+sr=jst
2008-11-07 14:00:42 +13:00
Robert O'Callahan
cdd65555c6
Bug 458928. Reparenting hack to ensure plugins are fully painted to non-screen targets is evil and probably breaking things; back it out. r+sr=jst
2008-11-03 13:53:57 +13:00
Steven Michaud
515d560d00
Flash content duplicated, sometimes mirrored and in another tab. b=459530 r=josh,kinetik sr=roc
2008-10-30 10:40:53 -07:00
Robert O'Callahan
1693b53c02
Bug 458928. Render windowed Windows plugins using PrintWindow when necessary, and use gfxWindowsNativeDrawing for windowless plugins so we can draw them correctly under all circumstances. r=vlad,sr=jst
2008-10-29 22:28:25 -07:00
Bernd
6777c42861
bug 258377, make border collapsed tables to listen for dynamic border style changes r/sr=bzbarsky
2008-10-26 11:11:34 +01:00
Steven Michaud
c491e15cc1
SetWindow called on every paint when supporting CoreGraphics. b=459244 r=josh,kinetik sr=roc
2008-10-17 17:22:10 -05:00