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
Neil Deakin
48393d6dba
Bug 501815, don't allow drops on plugins, r=smaug
2009-08-27 08:51:46 -07:00
Josh Aas
d8264ff87b
Implement Cocoa NPAPI event model. b=435041 sr=roc
2009-08-26 17:29:47 -07:00
Boris Zbarsky
8f435d226b
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
0aa6350041
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
timeless@mozdev.org
0fcff0c86c
Bug 506628 deadcode in nsPluginInstanceOwner::ProcessEventX11Composited
...
r=karlt
2009-08-12 11:49:54 +02:00
timeless@mozdev.org
ce03efff0f
Bug 506627 find_dest_id abuses XQueryTree
...
r=karlt
2009-08-12 11:49:54 +02:00
Robert O'Callahan
6a86c83e25
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
8335fdff7d
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
0ed9805957
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
933f110f1a
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
27214ea85d
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
2f9e8221d8
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
dce2b0d98a
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
12c9748167
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
c55209062c
[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
6d5d93fae7
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
e3e6f70dd4
Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc
2009-07-10 20:20:32 -04:00
Josh Aas
8872098fcd
Get rid of nsMIMEType type. b=503025 r/sr=jst
2009-07-08 23:25:20 -04:00
Josh Aas
426cb69c6f
Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst
2009-07-01 20:54:18 -04:00
Josh Aas
245392b64c
Remove nsPIPluginHost. b=501388 r/sr=jst
2009-06-30 16:49:04 -04:00
Josh Aas
92354e3fc0
Bug 501194 - Remove nsplugin.h. r/sr=jst
2009-06-30 01:55:05 -04:00
Josh Aas
4cf18dc361
Windows bustage fix for bug 500889.
2009-06-29 15:38:09 -04:00
Josh Aas
709717d358
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
4a4b76ae8a
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
9ef568c25e
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
51b4b53024
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
ba718de566
Bustage fix for bug 500593.
2009-06-26 10:54:51 -04:00
Josh Aas
28475979b0
Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst
2009-06-25 17:06:54 -04:00
Josh Aas
cf01ab4fd7
Minor Mac OS X plugin related cleanup, no bug. r=smichaud
2009-06-19 12:15:23 -04:00
Josh Aas
c269bbee5d
Fix some whitespace issues in nsObjectFrame.cpp. no bug, r/sr=sparky
2009-06-15 17:36:11 -04:00
Neil Deakin
15df29db77
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
82e13c145b
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
cdf16e275e
b=491241 crash with windowless plugins when MOZ_COMPOSITED_PLUGINS is defined r=jrmuizel
2009-05-15 14:26:10 +12:00
Karl Tomlinson
9b9b374144
b=485125 reparent plugin widgets for delayed destruction. r=jst
2009-05-15 14:16:27 +12:00
Ryo Onodera
dff270d1be
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
39f5ad242c
Remove OJI from the tree. b=485984 r/sr=jst
2009-04-09 22:38:21 -04:00
Neil Rashbrook
c097f08bfc
Bug 385600 Fix nsPluginInstanceOwner allocator mismatches r+sr=jst
2009-04-05 13:57:07 +01:00
Olli Pettay
c8fcda5cbd
Bug 478245, fixing windows bustage
2009-03-11 18:22:47 +02:00
Jeff Muizelaar
fabd738e33
Bug 442109 - youtube videos don't play; r=vladimir
2009-02-25 16:25:12 +01:00
Johnny Stenback
30814fefc6
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
2b09c80168
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
55c57c0ab2
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
...
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
Zack Weinberg
ebc6ed6573
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
1db8dc44b6
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
0d99859fec
Backed out changeset: 719dca3419b5
2009-02-15 18:41:16 +01:00
Jeremy Lea
5ad3fa0eed
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
2009-02-15 17:41:06 +01:00
Johnny Stenback
09c42c666f
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
f76535a07c
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
17bd029bd3
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
f09156eae0
[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
ce80f69254
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
3498a5f86e
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
73a6fab34b
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
802d1a10c7
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
880d20fa55
Bug 471877 - Cleanup GTK includes; r+sr=roc
2009-01-03 08:37:52 +01:00
Masayuki Nakano
b3df92d76b
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
703201a055
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
b8fda022b0
Bug 465732 - Don't invalidate plugin after scrolling, r=smichaud, sr=roc
2008-12-03 11:59:33 +02:00
Olli Pettay
5edcab0b92
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
ccbbef6882
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
900115d2fc
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
245f45029b
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
7f65b0327b
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
867fdf2cb0
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
08b3c88d93
SetWindow called on every paint when supporting CoreGraphics. b=459244 r=josh,kinetik sr=roc
2008-10-17 17:22:10 -05:00
Asaf Romano
9ed4ba3e20
Bug 459323 - Drag and Drop in input controls is broken. r=smaug, sr=sicking.
2008-10-17 22:04:55 +02:00
L. David Baron
da3721ca17
Make sure DidSetStyleContext methods call the base class DidSetStyleContext, and change the signature to return void. (Bug 459649) r+sr=bzbarsky
2008-10-13 18:03:28 -04:00
Taras Glek
e4062632a7
Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst
2008-10-09 16:23:07 -07:00
Boris Zbarsky
5c7541d076
Bug 458100. Make sure that we'll also instantiate the plug-in even if the nsPluginDocument has no presshell yet at OnStartRequest time. Thanks to Evgeny <evg.salmin@gmail.com> for pointing out the problem. r+sr=jst
2008-10-07 14:53:23 -04:00
Boris Zbarsky
ead0309499
Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc
2008-10-04 13:00:09 -07:00
L. David Baron
171a2b46ae
Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression.
2008-09-30 09:51:26 -07:00
Robert O'Callahan
4f0fd7d2cb
Relanding bug 433616 part 2 to see if it's the cause of a Tp regression
2008-09-30 14:45:02 +13:00
Boris Zbarsky
9599df476b
Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions
2008-09-29 08:51:29 -04:00
Boris Zbarsky
72a7d1cba0
Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc
2008-09-28 15:15:22 -04:00
Robert O'Callahan
a39e457b50
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
4527d5d1a8
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc
2008-09-28 20:38:34 +13:00
Robert O'Callahan
5dbf5690ac
Backing out bug 448830
2008-09-26 13:10:26 +12:00
Jeremy Lea
7261376c29
Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc
2008-09-26 10:42:19 +12:00
Oleg Romashin
604c2bba0e
Bug 454756 - Disable DelayedStop for Arm flashplayer. r+sr=jst.
2008-09-23 03:19:46 -05:00
Arpad Borsos
18b833c041
Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc
2008-09-20 15:42:03 +02:00