Commit Graph

191 Commits

Author SHA1 Message Date
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