Commit Graph

782 Commits

Author SHA1 Message Date
Josh Aas
51789a80ef Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Josh Aas
c84e32150d Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
Josh Aas
e8bcf803ef Windows bustage fix for bug 500889. 2009-06-29 15:38:09 -04:00
Josh Aas
6878d98163 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
99414c4eb5 Bug 500630. Clip Cocoa plugins to theheir bounds, so an errant plugin won't draw outside its bounds and leave artifacts. r=josh 2009-06-29 10:52:11 +12:00
Josh Aas
f73f476e53 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
ac38e8b06f 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
9d35828ca2 Bustage fix for bug 500593. 2009-06-26 10:54:51 -04:00
Josh Aas
d7ea1b9379 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Josh Aas
5e9a994266 Minor Mac OS X plugin related cleanup, no bug. r=smichaud 2009-06-19 12:15:23 -04:00
Josh Aas
890eb9947d Fix some whitespace issues in nsObjectFrame.cpp. no bug, r/sr=sparky 2009-06-15 17:36:11 -04:00
Neil Deakin
f62906b6b1 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
e624faee4d 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
a50f786353 b=491241 crash with windowless plugins when MOZ_COMPOSITED_PLUGINS is defined r=jrmuizel 2009-05-15 14:26:10 +12:00
Karl Tomlinson
88e24765d2 b=485125 reparent plugin widgets for delayed destruction. r=jst 2009-05-15 14:16:27 +12:00
Ryo Onodera
339fa65e15 Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc 2009-05-08 14:31:04 +12:00
Josh Aas
ab102fda48 Remove OJI from the tree. b=485984 r/sr=jst 2009-04-09 22:38:21 -04:00
Neil Rashbrook
8e394f0a28 Bug 385600 Fix nsPluginInstanceOwner allocator mismatches r+sr=jst 2009-04-05 13:57:07 +01:00
Olli Pettay
dc1b57d23e Bug 478245, fixing windows bustage 2009-03-11 18:22:47 +02:00
Jeff Muizelaar
09bf9052c6 Bug 442109 - youtube videos don't play; r=vladimir 2009-02-25 16:25:12 +01:00
Johnny Stenback
93054a6ef5 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
2ec534851b 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
175c3fd1b3 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-18 16:11:49 -08:00
Zack Weinberg
338615ed7c 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
1f6aae53a6 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
dc6ceb811c Backed out changeset: 719dca3419b5 2009-02-15 18:41:16 +01:00
Jeremy Lea
077871caa7 Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc 2009-02-15 17:41:06 +01:00
Johnny Stenback
4a5836915d 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
bb329799ba Bug 474723. Allow box-shadows to display on plugins by ensuring nsObjectFrames get the right overflow area. r+sr=roc 2009-01-30 20:05:46 +13:00
Johnny Stenback
c407667d70 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
5a7cf1451b [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
3e1e90f73a 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 2009-01-15 16:27:09 +13:00
Benjamin Smedberg
0f95227641 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.
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
7a084ac404 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
991a16d8bc 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
98a95465e3 Bug 471877 - Cleanup GTK includes; r+sr=roc 2009-01-03 08:37:52 +01:00
Masayuki Nakano
4a559a2472 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
9b3d99de73 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
6375d83283 Bug 465732 - Don't invalidate plugin after scrolling, r=smichaud, sr=roc 2008-12-03 11:59:33 +02:00
Olli Pettay
5c74744a13 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
89e140e262 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
ef3fa9d928 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
8b990989e8 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
e6c48941d8 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
9ef8b0cecd 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
e895481d08 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
a5f2274daa 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
b43247c0c7 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
c912dadd99 Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst 2008-10-09 16:23:07 -07:00
Boris Zbarsky
019ac3f5f1 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