Граф коммитов

716 Коммитов

Автор SHA1 Сообщение Дата
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