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
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
Asaf Romano
ea32ac412c
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
9d7714304c
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
2c733370d0
Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst
2008-10-09 16:23:07 -07:00
Boris Zbarsky
164afa9a0a
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
f819f89b7d
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
ba09bf22bc
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
016f579354
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
012ae72fd1
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
f15bf80fc3
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
279af36fc7
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42
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
6a45b282aa
Backing out bug 448830
2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b
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
a2074800f9
Bug 454756 - Disable DelayedStop for Arm flashplayer. r+sr=jst.
2008-09-23 03:19:46 -05:00
Arpad Borsos
d0e70a51bf
Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc
2008-09-20 15:42:03 +02:00
Arpad Borsos
eef0edf9d5
Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie)
2008-09-15 17:40:25 +02:00
Robert O'Callahan
1eeada5faa
Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky
2008-09-04 09:35:52 +12:00
Josh Aas
75b890b830
Fix more comments and some whitespace issues.
2008-08-26 02:53:00 -04:00
Josh Aas
3d0c857cf9
Fix more incorrect/outdated event handling comments.
2008-08-26 01:36:17 -04:00
Josh Aas
8c12a88361
fix comment containing wrong interface name and a misspelling
2008-08-25 21:47:33 -04:00
Josh Aas
594704d36f
remove nsIMouseListener interface. b=452118 r=smaug sr=roc
2008-08-25 20:02:26 -04:00
Oleg Romashin
59134516e5
Fixed gfxQtFont according to changes in bug 437356 Set up unified font entry object
...
Added empty gfxQtNativeRenderer and fixed nsObjectFrame for MOZ_WIDGET_QT
2008-08-09 16:43:08 +03:00
Vladimir Vukicevic
d5014f52b1
[dfb,422221] Gtk/DirectFB: half-fix/enable plugins for DirectFB port
2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
02e6b86b3b
Backing out d883ab4b8f41:7540abc35c97
2008-08-06 16:24:13 -07:00
Vladimir Vukicevic
520cfba897
[dfb,422221] Gtk/DirectFB: half-fix/enable plugins for DirectFB port
2008-08-06 13:48:55 -07:00
Karl Tomlinson
51e965223e
Clip the dirty rect to ensure it's within the X11 drawable. b=445707 r+sr=roc
2008-07-21 20:40:41 +12:00
Robert O'Callahan
b00f563bfc
Bug 444692. Windowless plugin frames should use frame invalidation so that generic invalidation hooks work. r+sr=dbaron
2008-07-14 10:23:04 +12:00
Matthew Gregan ext:(%20and%20Shane%20Blackett%20%3Cshane%40blackett.co.nz%3E)
6f043c5cb5
Bug 430219 - "Crash when FF3 on OS X is Quit if page contains multiple plugins" [r+sr=jst]
2008-07-12 05:28:50 -05:00
Karl Tomlinson
8a008f0564
Bug 435764 – crash [@ cairo_draw_with_xlib] painting windowless plugins.
...
Move ws_info set-up from nsObjectFrame::CallSetWindow().
Provide gfxXlibNativeRenderer::NativeDraw with Screen and Colormap.
r+sr=roc
2008-07-08 14:15:40 +12:00
Mats Palmgren
24a8f7bfba
Annotate the out param with [shared] and add a comment about it. b=434429 r+sr=bzbarsky
2008-07-08 02:23:04 +02:00
Karl Tomlinson
8ee8338835
missed &s in 15688:953a299d8c32 b=430450
2008-07-07 16:15:07 +12:00
Karl Tomlinson
e41086c923
Correct variable names from 15688:953a299d8c32 b=430450
2008-07-07 15:46:50 +12:00
Karl Tomlinson
9020a0cc8e
Bug 430450 – vertical stripes in windowless plugins.
...
Snap to pixels and round dirty rect out. r+sr=roc
2008-07-07 14:49:38 +12:00
Johnny Stenback
ca50829d7d
Fixing bug 421833. Deal better with plugin frames going away while initializing a plugin. r+sr=jonas@sicking.cc
2008-06-27 12:37:21 -07:00
Mats Palmgren
86d7a7027f
Use async Invalidate() to avoid crashing. b=435422 r+sr=roc
2008-06-20 04:47:59 +02:00
L. David Baron
6ce40d4252
Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc
2008-06-03 15:25:31 -07:00
jst@mozilla.org
41cc75cf2e
Fixing bug 430802 (and bug 405357). Prevent plugin instantiation code re-entrancy. r=jwatt@jwatt.org, sr=bzbarsky@mit.edu, a=beltzner
2008-05-06 13:49:30 -07:00
gavin@gavinsharp.com
453de7180a
Bug 277067: Mozilla mistimes changing QuickDraw plugin visibility when switching tabs, patch by patch by Matthew Gregan <kinetik@flim.org>, r=josh, sr=roc, a=damon
2008-04-23 15:56:40 -07:00
mats.palmgren@bredband.net
1b3c4d7918
Stop QuickTime and Flip4Mac plugins directly when requested (not off an event). b=426524 r+sr=jst a1.9=beltzner
2008-04-16 13:06:48 -07:00
mats.palmgren@bredband.net
e8938be7ff
Don't delay stopping the Quicktime plugin. b=425157 r+sr=jst a1.9=beltzner
2008-04-14 16:39:59 -07:00
reed@reedloden.com
96ec46b9da
Bug 426852 - "flash object disappear after going back" [p=mats.palmgren@bredband.net (Mats Palmgren) r+sr=jst a=blocking1.9+]
2008-04-08 23:28:23 -07:00
timeless@mozdev.org
2901e3ff19
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-04-07 23:18:35 -07:00
timeless@mozdev.org
130fc53345
Bug 421030 Crash in [@ nsIFrame::GetView()] refreshing Viewpoint demo page r=roc sr=roc a=roc
2008-04-06 12:02:28 -07:00
bent.mozilla@gmail.com
c83d448e96
Bug 425289 - "Mousing over plugins on Mac/Linux leaks and prevents plugin from shutting down". r+sr=jst, a=schrep.
2008-03-26 17:24:31 -07:00
mats.palmgren@bredband.net
0400be05d0
Track event loop nesting level and delay stopping a plugin until it's safe. b=420886 r+sr=jst a1.9b5=beltzner
2008-03-25 09:56:04 -07:00
dbaron@dbaron.org
f31447da64
Fixing asymmetry between what timeless landed for bug 394114 and what he backed out.
2008-03-19 15:05:04 -07:00
timeless@mozdev.org
f33eb4a3b4
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
jst@mozilla.org
d1dd3d9620
Fixing bug 422926 (and also bugs 420886 and 423260). Don't do delayed stops of plugins unless we're deleting the frame, as some plugins apparently can't handle that. r+sr=jonas@sicking.cc
2008-03-19 12:43:10 -07:00
jonas@sicking.cc
da4cab3b75
Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst
2008-03-14 16:08:57 -07:00
jst@mozilla.org
a5b6672d1f
Fixing bug 416953. Do plugin destruction off of an event whenever possible (which is pretty much always). r+sr=jonas@sicking.cc
2008-03-13 20:31:35 -07:00
jonas@sicking.cc
47a2cff0da
Back out due to failed mochitest
2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4b8f2cdf7a
Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst.
2008-03-10 17:49:19 -07:00
mozilla@weilbacher.org
8aea370edc
[OS/2] Bug 369791: adapt plugin code to compile with cairo-os2, this in principle allows plugin content to be printed and windowless plugins to display, r=mkaply, a1.9+=damons
2008-03-10 17:10:55 -07:00
jst@mozilla.org
69dc88b93a
Followup fix for bug 393845, fixing minor issue found by jag, no functional change.
2008-03-08 11:04:40 -08:00
vladimir@pobox.com
7799aa92fb
b=418882, crash on www.rhein-zeitung.de, potential fix; r+sr=roc
2008-03-07 16:58:57 -08:00
jst@mozilla.org
cb76f98a7a
Fixing bug 393845. Crash with Windows Media Player 10 plugin when stopping plugin. r+sr=bzbarsky@mit.edu
2008-03-07 13:32:49 -08:00
vladimir@pobox.com
8ee725091d
b=418915, plugin print rendering coordinates incorrect on win32; r+sr=roc
2008-03-05 23:06:46 -08:00
joshmoz@gmail.com
df3cd329a5
take key modifiers from the current event not the current hardware state. b=320746 r=smichaud sr=roc
2008-03-04 09:58:52 -08:00
jst@mozilla.org
16e1932c1a
Fixing bug 410946. Prevent plugins from being destroyed while there's code from those plugins on the stack. r+sr=bzbarsky@mit.edu, a=beltzner@mozilla.com
2008-02-28 18:06:00 -08:00
roc+@cs.cmu.edu
4d2c5dd483
Bug 408898. Aggressively SetWindow when paining on Mac with CG to prevent plugins drawing in the wrong place. patch by Matthew Gregan, r+sr=roc
2008-02-26 01:09:05 -08:00
reed@reedloden.com
89eddcaa54
Bug 395983 - "Duplicated Flash menus using r60(+) of Flash player" (do native drawing instead) [p=kinetik@flim.org (Matthew Gregan) r=vlad sr=roc a=blocking1.9+]
2008-02-20 03:33:27 -08:00
vladimir@pobox.com
24545f80da
b=415285, win32 plugin printed is overprinted ; r=stuart
2008-02-13 22:27:51 -08:00
vladimir@pobox.com
b02e9e1b3a
b=408623, fx3 plugin printing on windows broken, r=biesi,sr=roc
2008-01-10 14:11:46 -08:00
jst@mozilla.org
cd57da74dc
Fixing bug 411082. Fix top crash bug due to us calling into scriptable helper code w/o pushing a JS context on the stack. r+sr=jonas@sicking.cc
2008-01-10 13:46:33 -08:00
roc+@cs.cmu.edu
b56b55c8cf
Bug 409337. Discard invalidation requests made by hidden plugins. r=josh,sr=jst,a=beltzner
2007-12-22 00:56:57 -08:00
vladimir@pobox.com
1f7f3e59ed
b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
2007-12-18 15:01:15 -08:00
bzbarsky@mit.edu
41fb8f72d7
Fix bug 402937 -- don't allow recursion into Instantiate(). r=biesi, sr=jst, a=dsicore.
2007-12-03 14:09:00 -08:00
bzbarsky@mit.edu
d973cf8f82
Make to reinitialize windowless plug-ins correctly when restoring from bfcache. Bug 385649, r+sr=roc. Many thanks to Matthew Gregan for spotting the problem!
2007-11-21 20:58:33 -08:00
jruderman@hmc.edu
8cc395f83d
Fix bug 401393, leak and assertion with Flash if Greasemonkey is installed. r=sicking, sr=jst, a=blocking1.9.
2007-11-09 14:26:04 -08:00
jst@mozilla.org
8ed8c5149f
Fixing bug 401053. Make sure to initialize LiveConnect any time a Java applet is loaded, no matter what markup was used to load the applet. r+sr=dveditz@cruzio.com, a=dsicore@mozilla.com
2007-10-31 15:52:11 -07:00
bzbarsky@mit.edu
f4a14b2ffc
Don't show the plug-in view when it should actually be hidden. Bug 398213, r+sr=roc
2007-10-18 20:41:07 -07:00
jst@mozilla.org
348b4bf532
Fixing build bustage.
2007-10-13 10:10:30 -07:00
jst@mozilla.org
73d06385cd
Fixing bug 399406. Make sure to initialize LiveConnect (if needed) when loading applets. r+sr+a=jonas@sicking.cc
2007-10-13 09:42:44 -07:00
gavin@gavinsharp.com
673e7ccc5d
Back out the patch for bug 393845 because it appears the regressions it caused are worse than the bug it fixed (a=biesi)
2007-09-25 13:41:07 -07:00
cbiesinger@gmx.at
3f5cf3a38d
393845 Stop plugins from content instead of from layout. Also, reget the frame after stopping the plugin, as that may process events. Finally, make the object frame not touch member variables after stopping the plugin. r+sr=bz a=jst
2007-09-05 13:33:18 -07:00
mozilla@weilbacher.org
478380cab3
Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron
2007-08-23 17:13:43 -07:00
cbiesinger@gmx.at
584c30a229
391261 call SetWindow a second time after instantiating the plugin, like we used to do (fixes WMP 10) r+sr=bz
2007-08-20 10:40:08 -07:00
sharparrow1@yahoo.com
c826ffa601
Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc
2007-08-13 13:47:04 -07:00
cbiesinger@gmx.at
6b6b771bea
Bug 390385 make sure that plugins don't get instantiated before the first Reflow of the objectframe, so that the first NPP_SetWindow call contains the right dimensions r+sr=bz
2007-08-06 17:32:14 -07:00
cbiesinger@gmx.at
9b77299b29
382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly r+sr=bz
2007-08-02 14:15:05 -07:00
smichaud@pobox.com
39a11988c6
Stop printing plugin on OS X from causing crash. Bug 388082. r=vladimir, sr=pavlov
2007-08-02 13:54:45 -07:00
bzbarsky@mit.edu
21e0d65a42
Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
...
update the resize flags properly. Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
bzbarsky@mit.edu
40f1f36bf8
Flush layout before starting to pump data into plug-ins if we started the data
...
load ourselves. Fixes various issues with a number of plug-ins that expect
NPP_SetWindow() to have been called before NPP_WriteReady or NPP_Write. Bug
381512, r=biesi, sr=jst
2007-08-02 10:54:36 -07:00
peterv@propagandism.org
2fb0fc711a
Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
2007-07-11 06:05:05 -07:00
jwalden@mit.edu
e3c4baccae
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
mats.palmgren@bredband.net
db689821bf
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
roc+@cs.cmu.edu
b8625507f4
Bug 384988. Provide toplevel window to plugins for WM_TRANSIENT_FOR of dialog boxes. patch by Karl Tomlinson,r+sr=roc,jst
2007-07-02 20:41:34 -07:00
roc+@cs.cmu.edu
58ab8b25e3
Bug 384975. Dispatch input events to windowless X plugins. patch by Karl Tomlinson, r+sr=roc,jst
2007-07-02 20:39:44 -07:00
roc+@cs.cmu.edu
7beba0dc34
Bug 384845. Drawing support for windowless plugins in X. Patch by Karl Tomlinson, r+sr=roc,jst
2007-07-02 20:33:13 -07:00
roc+@cs.cmu.edu
71fc801e9d
Bug 384845. Make the NPSetWindowCallbackStruct memory associated with
...
window->ws_info available before SetWindow is called, and disable the plugin
window GtkSocket or xtbin creation for windowless plugins.
patch by Karl Tomlinson, r+sr=jst
2007-07-02 20:29:47 -07:00
sharparrow1@yahoo.com
d6746f9dd6
Bug 386387: ifilm videos don't play, only audio plays. r+sr=roc
2007-07-01 23:12:02 -07:00