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
Arpad Borsos
87878e68eb
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
82aa805186
Bug 376662. Make nsIFrame::GetOffsetTo not explicitly use views. r+sr=bzbarsky
2008-09-04 09:35:52 +12:00
Josh Aas
cdf23ffa46
Fix more comments and some whitespace issues.
2008-08-26 02:53:00 -04:00
Josh Aas
669e8dab43
Fix more incorrect/outdated event handling comments.
2008-08-26 01:36:17 -04:00
Josh Aas
09879c9082
fix comment containing wrong interface name and a misspelling
2008-08-25 21:47:33 -04:00
Josh Aas
3a364e1fdf
remove nsIMouseListener interface. b=452118 r=smaug sr=roc
2008-08-25 20:02:26 -04:00
Oleg Romashin
1afed1eab7
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
6169b321a9
[dfb,422221] Gtk/DirectFB: half-fix/enable plugins for DirectFB port
2008-08-06 13:48:55 -07:00
Vladimir Vukicevic
bf9d81b83e
Backing out d883ab4b8f41:7540abc35c97
2008-08-06 16:24:13 -07:00
Vladimir Vukicevic
866664d381
[dfb,422221] Gtk/DirectFB: half-fix/enable plugins for DirectFB port
2008-08-06 13:48:55 -07:00
Karl Tomlinson
7bab863a1d
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
c942a1b54e
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)
1204665939
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
ccb2fa8327
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
0b959cc689
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
82b3875822
missed &s in 15688:953a299d8c32 b=430450
2008-07-07 16:15:07 +12:00
Karl Tomlinson
3d37691d24
Correct variable names from 15688:953a299d8c32 b=430450
2008-07-07 15:46:50 +12:00
Karl Tomlinson
b325dae480
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
8e132b5c6f
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
1d4c11297c
Use async Invalidate() to avoid crashing. b=435422 r+sr=roc
2008-06-20 04:47:59 +02:00
L. David Baron
bee4adf604
Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc
2008-06-03 15:25:31 -07:00
jst@mozilla.org
aa71e15809
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
7bd74eae4a
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
6bf782cd21
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
062a5aa2bb
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
d0b18c15d7
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
659585cffb
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
ab6a2dc67e
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
07c38d59c9
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
8bcb145e34
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
9c126b98d3
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
7f880e43ef
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
jst@mozilla.org
672b17972f
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
c078e73997
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
c5cd29d37f
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
0c80ff16bc
Back out due to failed mochitest
2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4216df2295
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
83b35de7f5
[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
dd80f78b68
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
1561fa16ce
b=418882, crash on www.rhein-zeitung.de, potential fix; r+sr=roc
2008-03-07 16:58:57 -08:00
jst@mozilla.org
b163505191
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
287fde9d4d
b=418915, plugin print rendering coordinates incorrect on win32; r+sr=roc
2008-03-05 23:06:46 -08:00
joshmoz@gmail.com
7929feaca7
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
c6fbe64265
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
0bd184f6aa
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
546fc74bad
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
2f94d8d7c7
b=415285, win32 plugin printed is overprinted ; r=stuart
2008-02-13 22:27:51 -08:00
vladimir@pobox.com
2ed75e8d83
b=408623, fx3 plugin printing on windows broken, r=biesi,sr=roc
2008-01-10 14:11:46 -08:00
jst@mozilla.org
586bacfa64
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
10fb778c7b
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
2e94f56ef2
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
4302054740
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
8d43ef985e
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
3a16fe6fea
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
07f4756c14
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
d073b708b8
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
f7bc6a4c14
Fixing build bustage.
2007-10-13 10:10:30 -07:00
jst@mozilla.org
e7088bc20a
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
70b254f52e
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
f3304b244c
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
672757f230
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
dc85f8fda4
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
8090790964
Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc
2007-08-13 13:47:04 -07:00
cbiesinger@gmx.at
952d1075d3
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
b29067127d
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
6c6b9fe691
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
9c59e9e4cc
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
e27bf19d9a
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
f7ff5666a6
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
6d7584839a
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
42a227c78a
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
roc+@cs.cmu.edu
ac05142d6e
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
ca5eae3b7d
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
10a1857ebe
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
f4c4c26c85
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
9bbc9b2f9e
Bug 386387: ifilm videos don't play, only audio plays. r+sr=roc
2007-07-01 23:12:02 -07:00
mconnor@steelgryphon.com
1e873a4350
backing out bug 347743 due to major crasher in 386332
2007-06-29 10:21:55 -07:00
jst@mozilla.org
b30f4be28c
Fixing bug 347743. Delay plugin destruction on windows to get it out of layout frame destruction. r+sr=roc@ocallahan.org
2007-06-27 17:15:11 -07:00
m_kato@ga2.so-net.ne.jp
73e3877dee
bug 328547 support mozilla/layout on WinXP x64 build. r=cbiesinger/sr=dbaron
2007-06-17 07:00:30 -07:00
joshmoz@gmail.com
dbf2ec13f7
need to set plugin window x and y coords in CG mode. b=382765 r=sfraser sr=roc
2007-06-02 15:02:57 -07:00
Olli.Pettay@helsinki.fi
7817abfbca
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
40178e46a3
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
1b5f6b30b6
Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts.
2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu
086c2eb0c0
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me
2007-05-01 15:24:20 -07:00
mats.palmgren@bredband.net
c712869d45
Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc
2007-04-30 16:52:44 -07:00
enndeakin@sympatico.ca
932380f594
Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc
2007-04-11 21:37:39 -07:00
bzbarsky@mit.edu
eeaa1a101b
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 14:11:41 -07:00
joshmoz@gmail.com
96c071174a
get rid of old backbuffer API and related code. b=371392 r/sr=roc
2007-03-26 23:21:55 -07:00
joshmoz@gmail.com
fa87850812
Implement CoreGraphics NPAPI Drawing Model. NPAPI plugins now have the option to render using CoreGraphics instead of Quickdraw. b=344427 r=sfraser sr=jst
2007-03-26 18:07:57 -07:00
joshmoz@gmail.com
4e9b6921e3
fix crash, suspend native events when instantiating plugins. patch by Steven Michaud. b=345627 r=josh sr=roc
2007-03-22 16:04:51 -07:00
dbaron%dbaron.org
9d7f938b99
Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
2007-02-24 18:33:33 +00:00
sharparrow1%yahoo.com
4862938c93
Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc.
2007-02-24 00:23:42 +00:00
mozilla%weilbacher.org
d3c8f04eb0
[OS/2] Bug 333235: Get Thebes to work on OS/2. r=mkaply
...
Changes to widget, including heavy whitespace cleanup in nsWindow::Destroy and nsWindow::OnPaint.
Temporary compilation workaround for nsObjectFrame.
2007-02-08 23:38:51 +00:00
sharparrow1%yahoo.com
76a64e5c22
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
baec9bd166
Make mComputedWidth private, with a getter/setter, and make the setter update
...
the resize flags. Bug 367442, r+sr=dbaron
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
f6245f0ed9
Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
2007-01-23 04:06:56 +00:00
jwatt%jwatt.org
bbb6339dc9
Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc
2007-01-04 10:53:59 +00:00
timeless%mozdev.org
4e651390ef
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
31f1898810
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
roc+%cs.cmu.edu
0131fce9fd
Bug 357736. Use document widget for windowless plugin's reference widget whenever we can do that safely (the origin of the windowless plugin's nearest widget is equal to the origin of the document widget). Works around a regression in some cases. patch by Graham Sanderson, r+sr=roc
2006-11-29 20:15:56 +00:00
Olli.Pettay%helsinki.fi
3f17370bc1
Fixing mac builds, bug Bug 354694
2006-11-16 22:37:23 +00:00
Olli.Pettay%helsinki.fi
8b6f4c022e
Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu
feea3a45cc
Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
2006-09-19 04:26:20 +00:00
sayrer%gmail.com
9395f31ee3
bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
2006-09-08 04:35:17 +00:00
joshmoz%gmail.com
a8722319b3
use slower idle event timer for plugins that are hidden by tabs. b=336060 r=mento sr=jst
2006-08-29 19:14:53 +00:00
dbaron%dbaron.org
7ff576f023
Use SetMEWToActualWidth when we set the MEW to the actual width. b=331684 r+sr=bzbarsky
2006-08-16 00:20:02 +00:00
martijn.martijn%gmail.com
d22f55b012
Bug 271442 - Flash element behaves weird if inside a floated element with overflow:auto, patch by Graham Sanderson, r+sr=roc
2006-07-28 22:59:05 +00:00
cvshook%sicking.cc
3a9a287253
Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
2006-07-19 04:36:36 +00:00
bzbarsky%mit.edu
169adf2470
Return null from GetPluginInstance without throwing if there's just no plugin.
...
Bug 344830, r=biesi, sr=jst
2006-07-18 20:43:58 +00:00
vladimir%pobox.com
c9a711e596
b=325465, flash is not rendered properly with cairo builds (windowless plugins on win32); r=stuart
2006-06-06 18:41:24 +00:00
cvshook%sicking.cc
d3ec0aa5c5
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
b1ee2830dd
Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
...
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
roc+%cs.cmu.edu
a7f03736a9
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
2006-04-10 00:16:29 +00:00
pavlov%pavlov.net
59b4759574
add type info to thebes. bug 332743. r=vlad
2006-04-04 21:54:22 +00:00
dbaron%dbaron.org
0e88f73bc6
Single line comments to describe files (helpful in LXR)
2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu
0a10a79f62
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
2006-03-26 21:30:36 +00:00
Olli.Pettay%helsinki.fi
ee372ff167
Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst
2006-03-25 22:03:49 +00:00
vladimir%pobox.com
10491893d5
Re-landing fixed cairo update, r=pav
2006-03-17 22:24:30 +00:00