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

790 Коммитов

Автор SHA1 Сообщение Дата
timeless%mozdev.org 4dd59e4169 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 21:55:28 +00:00
jst%mozilla.org c84281e354 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 19:43:10 +00:00
jonas%sicking.cc 0e4d155d1d 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 23:08:59 +00:00
jst%mozilla.org c8a479eb76 Fixing bug 416953. Do plugin destruction off of an event whenever possible (which is pretty much always). r+sr=jonas@sicking.cc 2008-03-14 03:31:35 +00:00
jonas%sicking.cc ec6e6df844 Back out due to failed mochitest 2008-03-11 02:18:16 +00:00
jonas%sicking.cc 5610226f10 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-11 00:49:20 +00:00
mozilla%weilbacher.org 2ee6826c7d [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-11 00:10:56 +00:00
jst%mozilla.org 2baddfd3fa Followup fix for bug 393845, fixing minor issue found by jag, no functional change. 2008-03-08 19:04:40 +00:00
vladimir%pobox.com 7c0619a123 b=418882, crash on www.rhein-zeitung.de, potential fix; r+sr=roc 2008-03-08 00:58:57 +00:00
jst%mozilla.org 20f7677d16 Fixing bug 393845. Crash with Windows Media Player 10 plugin when stopping plugin. r+sr=bzbarsky@mit.edu 2008-03-07 21:32:49 +00:00
vladimir%pobox.com 07cf59b0e0 b=418915, plugin print rendering coordinates incorrect on win32; r+sr=roc 2008-03-06 07:06:46 +00:00
joshmoz%gmail.com c8672499e3 take key modifiers from the current event not the current hardware state. b=320746 r=smichaud sr=roc 2008-03-04 17:58:53 +00:00
jst%mozilla.org 3ed71b1148 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-29 02:06:00 +00:00
roc+%cs.cmu.edu 90f91d1868 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 09:09:05 +00:00
reed%reedloden.com efa5fac90d 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 11:33:29 +00:00
vladimir%pobox.com 5b1f36ce83 b=415285, win32 plugin printed is overprinted ; r=stuart 2008-02-14 06:27:51 +00:00
vladimir%pobox.com 672d8e649d b=408623, fx3 plugin printing on windows broken, r=biesi,sr=roc 2008-01-10 22:11:46 +00:00
jst%mozilla.org 68aa797a65 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 21:46:33 +00:00
roc+%cs.cmu.edu f09d7e8f9a Bug 409337. Discard invalidation requests made by hidden plugins. r=josh,sr=jst,a=beltzner 2007-12-22 08:56:57 +00:00
vladimir%pobox.com 96ae47bdfb b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart 2007-12-18 23:01:18 +00:00
bzbarsky%mit.edu 48c626b9b6 Fix bug 402937 -- don't allow recursion into Instantiate(). r=biesi, sr=jst,
a=dsicore.
2007-12-03 22:09:00 +00:00
bzbarsky%mit.edu 852d3a2619 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-22 04:58:33 +00:00
jruderman%hmc.edu 67b7f123e5 Fix bug 401393, leak and assertion with Flash if Greasemonkey is installed. r=sicking, sr=jst, a=blocking1.9. 2007-11-09 22:26:04 +00:00
jst%mozilla.org f48b5df1fb 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 22:52:11 +00:00
bzbarsky%mit.edu 764dedac5e Don't show the plug-in view when it should actually be hidden. Bug 398213, r+sr=roc 2007-10-19 03:41:07 +00:00
jst%mozilla.org 56dc0569e8 Fixing build bustage. 2007-10-13 17:10:30 +00:00
jst%mozilla.org 55ce57030b Fixing bug 399406. Make sure to initialize LiveConnect (if needed) when loading applets. r+sr+a=jonas@sicking.cc 2007-10-13 16:42:44 +00:00
gavin%gavinsharp.com 27cf5cc830 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 20:41:08 +00:00
cbiesinger%gmx.at 35df7734e4 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 20:33:18 +00:00
mozilla%weilbacher.org cfbd5c3e4f Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron 2007-08-24 00:13:44 +00:00
cbiesinger%gmx.at bb102a1571 391261 call SetWindow a second time after instantiating the plugin, like we used to do (fixes WMP 10)
r+sr=bz
2007-08-20 17:40:08 +00:00
sharparrow1%yahoo.com 4d2ba6a8dd Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc 2007-08-13 20:49:35 +00:00
cbiesinger%gmx.at c99a93a8f1 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-07 00:32:14 +00:00
cbiesinger%gmx.at 3ee02b0d2d 382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly
r+sr=bz
2007-08-02 21:15:05 +00:00
smichaud%pobox.com b4d5a336bb Stop printing plugin on OS X from causing crash. Bug 388082. r=vladimir, sr=pavlov 2007-08-02 20:54:45 +00:00
bzbarsky%mit.edu 45ac2edcbc 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 18:08:07 +00:00
bzbarsky%mit.edu 7124e9a9b2 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 17:54:37 +00:00
peterv%propagandism.org 4168c1dcd1 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 13:05:06 +00:00
jwalden%mit.edu ef68fcf595 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 07:08:56 +00:00
mats.palmgren%bredband.net 5a0917c43a Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-04 02:15:35 +00:00
roc+%cs.cmu.edu 0f74b446d5 Bug 384988. Provide toplevel window to plugins for WM_TRANSIENT_FOR of dialog boxes. patch by Karl Tomlinson,r+sr=roc,jst 2007-07-03 03:41:34 +00:00
roc+%cs.cmu.edu 540dea4be3 Bug 384975. Dispatch input events to windowless X plugins. patch by Karl Tomlinson, r+sr=roc,jst 2007-07-03 03:39:44 +00:00
roc+%cs.cmu.edu 44b66d8b54 Bug 384845. Drawing support for windowless plugins in X. Patch by Karl Tomlinson, r+sr=roc,jst 2007-07-03 03:33:13 +00:00
roc+%cs.cmu.edu 30017119f3 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-03 03:29:47 +00:00
sharparrow1%yahoo.com be820e1432 Bug 386387: ifilm videos don't play, only audio plays. r+sr=roc 2007-07-02 06:12:02 +00:00
mconnor%steelgryphon.com fde07e07ff backing out bug 347743 due to major crasher in 386332 2007-06-29 17:25:41 +00:00
jst%mozilla.org d514bd490c Fixing bug 347743. Delay plugin destruction on windows to get it out of layout frame destruction. r+sr=roc@ocallahan.org 2007-06-28 00:15:12 +00:00
m_kato%ga2.so-net.ne.jp aab8b14ba7 bug 328547 support mozilla/layout on WinXP x64 build. r=cbiesinger/sr=dbaron 2007-06-17 14:00:30 +00:00
joshmoz%gmail.com 0695559699 need to set plugin window x and y coords in CG mode. b=382765 r=sfraser sr=roc 2007-06-02 22:02:57 +00:00
Olli.Pettay%helsinki.fi 6721d4f009 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi 8e287d3582 backout Bug 363089 2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi 670f53f666 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 11:15:20 +00:00
bzbarsky%mit.edu c7a6b387d2 Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu b1e55b927c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(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 22:24:25 +00:00
mats.palmgren%bredband.net 24e870cb3d Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc 2007-04-30 23:52:44 +00:00
enndeakin%sympatico.ca 9deb47c5ca Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc 2007-04-12 04:37:41 +00:00
bzbarsky%mit.edu d9f302946b Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 21:11:47 +00:00
joshmoz%gmail.com 313da89546 get rid of old backbuffer API and related code. b=371392 r/sr=roc 2007-03-27 06:21:57 +00:00
joshmoz%gmail.com 37919a3119 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-27 01:07:58 +00:00
joshmoz%gmail.com 3f113a64e3 fix crash, suspend native events when instantiating plugins. patch by Steven Michaud. b=345627 r=josh sr=roc 2007-03-22 23:04:51 +00:00
dbaron%dbaron.org b985c7a438 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 199d4d164d 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 8879c5a61f [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 c78720aa24 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
cvshook%sicking.cc 0c24c4a4c3 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 32ea7d9340 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 47f4966b12 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 688f763168 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 abc256e3da Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org 116da6be23 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 61d1d8b7b6 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 af7acae741 Fixing mac builds, bug Bug 354694 2006-11-16 22:37:23 +00:00
Olli.Pettay%helsinki.fi f9da27583e 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 c3ff848eca Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc 2006-09-19 04:26:20 +00:00
sayrer%gmail.com c249dc7837 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
joshmoz%gmail.com ac4aad32df 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 61bf427d32 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 86273c0115 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 c7936e48f6 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
bzbarsky%mit.edu 81bee267b6 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 afbf97a7fc 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 36f352636c Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu e9dc794e8f 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 64bd04b75c 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 4e72d58a48 add type info to thebes. bug 332743. r=vlad 2006-04-04 21:54:22 +00:00
dbaron%dbaron.org 42db31dfcc Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu dba51376ea 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 04cfde2d6f 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 d3ede4cd8c Re-landing fixed cairo update, r=pav 2006-03-17 22:24:30 +00:00
vladimir%pobox.com 9281750006 People tell me that quadrupling Tp is bad. Me? I want a second opinion. 2006-03-17 07:44:38 +00:00
vladimir%pobox.com 5c1b4d39f5 b=330738, update in-tree cairo to current cairo head 2006-03-17 04:05:32 +00:00
pavlov%pavlov.net f33ad65b06 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu f4d2e578db Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu d0abdc1385 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
martijn.martijn%gmail.com e8f78e1a90 Bug 325507 - Replace nsISupportsArray with nsCOMArray in nsPluginInstanceOwner::EnsureCachedAttrParamArrays. r+sr=bzbarsky 2006-02-24 14:43:39 +00:00
pavlov%pavlov.net ee30762d9c fixing windows plugin clipping bugs. bug 328263. r=vlad 2006-02-23 20:55:42 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
cbiesinger%web.de 4ea76fc603 bug 322414
- clean up nsObjectFrame and remove unnecessary includes
- make the instanceowner hold an owning reference to the content node
- use GetOwnerDoc rather than GetCurrentDoc
r+sr=bz
2006-02-02 19:29:10 +00:00
roc+%cs.cmu.edu 5451e97878 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
cbiesinger%web.de b174e5d8f1 Bug 322052 Fix document handling in nsObjectFrame.cpp
r+sr=bz
2006-01-02 15:54:24 +00:00
darin%meer.net 645a0a885e fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
cbiesinger%web.de bba7b6caa5 Bug 316455 Remove nsIPluginInstanceOwner::PluginNotAvailable, which is pointless
now that plugin loading has been rewritten in bug 1156 / bug 309521
r+sr=bz
2006-01-01 11:28:35 +00:00
dbaron%dbaron.org fa942bfd9e Make nsObjectFrame not be a container anymore. b=309532 r=biesi sr=bzbarsky 2005-12-31 00:25:36 +00:00
cbiesinger%web.de 78347c9170 Bug 309521
- add pseudo-classes for :-moz-type-unsupported and :-moz-has-handlerref (and a
  content state for the former)
  - make nsObjectLoadingContent return the right content state
- Add an XBL binding that gets instantiated for broken plugins
  - Make it themable
- Remove a lot of now-unused code in nsObjectFrame
- Fixes pluginfinder.
r+sr=bz, r=mconnor
2005-12-29 14:15:33 +00:00
cvshook%sicking.cc e322141c90 Fix build bustage 2005-12-28 22:11:27 +00:00
cvshook%sicking.cc 031a1befce Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
bzbarsky%mit.edu 2c430df12d Fix crash bug 316012, r=biesi, sr=jst 2005-12-07 00:52:39 +00:00
bzbarsky%mit.edu b338fa099b Prevent infinite recursion for cases when InstantiatePlugin returns a success
code without creating a plugin instance.  Bug 319332, r=biesi, sr=roc
2005-12-06 23:52:49 +00:00
bzbarsky%mit.edu 8f79701ae1 Windowless plugins should get SetWindow() called on them the same time normal
plugins do -- at reflow end, not just paint time.  Bug 266933, r+sr=roc
2005-12-06 04:50:26 +00:00
timeless%mozdev.org b20620f6ab Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
joshmoz%gmail.com 194a45e592 remove XP_MAC, cleanup. b=281889 r=mento sr=smfr 2005-11-10 17:45:59 +00:00
roc+%cs.cmu.edu c4070dec03 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
cbiesinger%web.de b657967736 bug 314679 remove some unused code from nsObjectFrame
r+sr=bz
2005-11-02 16:34:32 +00:00
roc+%cs.cmu.edu 2e1fe576cc Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00
cbiesinger%web.de 536ccd0080 bug 309706
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
  - Make use of that in PrepareInstanceOwner, so that loading a new plugin in
    the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
  only eType_Plugin if mURI and mContentType are valid

r+sr=bz
2005-10-31 18:28:56 +00:00
cbiesinger%web.de ea140b1ba1 Bug 309529
Move logic from nsObjectFrame::Instantiate(const char*, nsIURI*) into
nsObjectLoadingContent.

Also, fixes ext-to-type mapping if the URI does not implement nsIURL.

r+sr=bz
2005-10-29 12:56:44 +00:00
cvshook%sicking.cc 9c1b72f7f8 Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu 316d829d18 Remove no longer used code. Bug 312685, r=biesi, sr=dbaron 2005-10-17 23:06:16 +00:00
masayuki%d-toybox.com ecff3bfb96 Bug 310174 Windowless plug-ins can't receive the focus events r+sr=roc 2005-10-16 18:58:34 +00:00
smfr%smfr.org 3609c90eb2 Fix bug 183313: work around a Flash crasher in ActivateTSMDocument. Flash caches the active TSMDocument across focus/blur calls in order to restore the old TSMDocument (because we asked them to). The problem is that it can cache a TSMDocument that is about to be deleted, especially in Cocoa where the TSMDocument management is somewhat asynchronous. We work around this by always clearing the active TSMDocument before focussing a plugin, for Cocoa. r=mento, sr=pinkerton. 2005-10-13 22:39:36 +00:00
bzbarsky%mit.edu bad7f988c4 Don't store the prescontext in the plugin instance owner. Bug 312055, r+sr=roc 2005-10-12 02:15:26 +00:00
Olli.Pettay%helsinki.fi 6d429f11c1 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
joshmoz%gmail.com 337c900be7 make sure Mac plugins get SetWindow() called when the clip rect changes. This causes SetWindow() to get called for plugins in a tab which is hidden. Patch by Simon Fraser. b=298961 r=josh sr=jst 2005-09-28 22:40:49 +00:00
masayuki%d-toybox.com a28e1ea624 Bug 310174 Windowless plug-ins can't receive the focus events patch by <VYV03354@nifty.ne.jp> r+sr=roc 2005-09-28 14:29:45 +00:00
peterv%propagandism.org bc66f35d62 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
cbiesinger%web.de 5e3912705e bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz
2005-09-21 19:14:30 +00:00
bzbarsky%mit.edu 9b224f5e39 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
brendan%mozilla.org 3d67b71b7e Branch version of patch for bug 305565 (r/sr=jst/bz). 2005-09-07 02:39:51 +00:00
pavlov%pavlov.net 0689d85cf0 moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc 2005-08-23 02:11:54 +00:00
bzbarsky%mit.edu 692c9e00f2 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bzbarsky%mit.edu 6919fc19ec Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst
2005-08-19 15:00:01 +00:00
bzbarsky%mit.edu 9b94f5f8c3 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
jst%mozilla.jstenback.com 0d8b79a0bf Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +00:00
roc+%cs.cmu.edu 4ad76500ac Bug 295527. nsObjectFrame child-size-setting-hack should use the content size, not the border-box size. r+sr=dbaron,a=bsmedberg 2005-07-21 17:40:03 +00:00
jst%mozilla.jstenback.com 415a655735 Fixing bug 298725. Create the right type of elements even when the document is not a HTML document. r+sr=peterv@propagandism.org, a=benjamin@smedbergs.us 2005-06-30 01:30:34 +00:00
jst%mozilla.jstenback.com 588ed2c794 Fixing bug 277434. Make setting element.type on a plugin element (object or embed) set the 'type' attribute as well. r=bugmail@sicking.cc, sr=peterv@propagandism.org, a=benjamin@smedbergs.us 2005-06-30 01:23:12 +00:00
timeless%mozdev.org 99672ccd85 Bug 292348 NewEmbededPluginStream misspelled
patch by pythonesque+bugzilla@gmail.com r=jst sr=jst a=asa
2005-06-08 23:42:15 +00:00
bzbarsky%mit.edu b87b21e11c Don't hold a pointer to a destroyed frame if we fail to load the placeholder
image.  Bug 292257, r=jst, sr=dbaron, a=chofmann
2005-05-06 03:14:31 +00:00
cbiesinger%web.de 1225a042ce Bug 292114 InstantiateFullPagePlugin should take nsIURI*, not nsString&
r=jst sr=bz a=asa
2005-04-29 12:11:45 +00:00
jst%mozilla.jstenback.com c4b8dd4f16 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu 34b98c1b02 Bug 282708. Position <object>'s view before creating its widget, to avoid flicker from creating it in the wrong position and then instantly moving it. r+sr=bzbarsky,a=asa 2005-04-28 22:17:40 +00:00
roc+%cs.cmu.edu af00f217f9 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
bzbarsky%mit.edu f911f30fc9 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
dbaron%dbaron.org 40ab4a5813 Add assertion that warns when we're about to crash due to bug 136927. b=136927 r+sr=jst a=asa 2005-04-14 21:50:46 +00:00
roc+%cs.cmu.edu d6a740117e Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa. 2005-04-07 03:59:02 +00:00
cbiesinger%web.de 978d9190c0 fixing bustage 2005-04-06 00:42:41 +00:00
bzbarsky%mit.edu 9b1db9f768 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
cbiesinger%web.de c31d60ee55 279167 create elements in the correct namespace (None for HTML documents, XHTML
for XML documents)
patch by Frank Wein <bugzilla@mcsmurf.de> r+sr=jst
2005-04-02 15:47:13 +00:00
timeless%mozdev.org 5b686c3c4b Bug 288587 crash while viewing Real videos
r=tor sr=tor
2005-04-01 16:41:55 +00:00
aaronleventhal%moonset.net 0499bbbb2c Bug 245349. Puzzle piece placeholder that says click here to download plugin is not focusable or accessible. r=bz, sr=jst 2005-03-31 01:38:04 +00:00
bzbarsky%mit.edu b8c7dbf447 Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
constructor.  Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set.  Bug 283385, bug 285165, bug
286111.  r+sr=roc
2005-03-18 04:13:05 +00:00
cbiesinger%web.de 41f03cc410 Bug 285171 Merge MIME type getting code in nsObjectFrame
r+sr=bz
2005-03-10 14:57:32 +00:00
jst%mozilla.jstenback.com cef561a155 Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com 2005-03-04 02:01:54 +00:00
bzbarsky%mit.edu f411c17a49 Create a service that can be asked whether a given webnavigation (or a
"typical" webnavigation) supports loading of a certain MIME type.  Bug 283125,
r=biesi, sr=darin
2005-02-27 18:33:27 +00:00
bzbarsky%mit.edu b626abc29c Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
smfr%smfr.org a86ee66cf1 Fix bug 269832: crash when scrolling some plugins. Add null-check on mWidget in XP_MACOSX code. r/sr=bz 2005-02-03 05:31:42 +00:00
bzbarsky%mit.edu 1c32ba27ab Make non-<object>s not look at classid. Bug 276797, r+sr=jst 2005-01-29 04:39:54 +00:00
roc+%cs.cmu.edu 271af35b03 Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky 2005-01-27 20:49:47 +00:00
bzbarsky%mit.edu d222ecb623 Flush out reflows before processing invalidates and paint events. Fixes a
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor.  Bug 244366 and
various dependencies, r+sr=roc
2005-01-20 03:39:09 +00:00
tor%cs.brown.edu 268c1b9704 Bug 277433 - plugin finder landing broke svg embed. r+sr=jst, a=asa 2005-01-10 05:56:13 +00:00
jst%mozilla.jstenback.com e7cfe79af9 Landing the low-level code for using the plugin finder service from the aviary branch. Bug 244125 etc. 2005-01-05 00:21:06 +00:00
bzbarsky%mit.edu 3203d0d58e Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
bmlk%gmx.de ef4604f958 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2004-12-26 19:48:54 +00:00
neil%parkwaycc.co.uk d13fb54f7e Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc 2004-11-24 00:19:21 +00:00
timeless%mozdev.org 0f180ad01f Bug 269922 /Users/timeless/mozilla/layout/html/base/src/nsObjectFrame.cpp:3931: warning: `void ConvertTwipsToPixels(nsPresContext&, nsRect&, nsRect&)' defined but not used
r=bz sr=bz
2004-11-15 18:12:35 +00:00
tor%cs.brown.edu 370b9b1bf0 Bug 240408 - allow SVG builds to handle SVG content in <html:embed> natively.
r=dbaron, sr=jst
2004-11-10 19:02:52 +00:00
neil%parkwaycc.co.uk 869014801a Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
darin%meer.net 96c79cea45 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
jst%mozilla.jstenback.com 1a14768c3d Fixing bug 181364. Fixing problem with drag events in windowless plugins by making the code work as it has always worked on Mac, i.e. prevent drag events on plugins from being eaten by the browser. r=bzbarsky@mit.edu, sr=brendan@mozilla.org, a=asa@mozilla.org 2004-09-27 18:56:07 +00:00
pete.zha%sun.com bc902b4d04 bug 234470
There is something wrong with plugin printing on linux or unix
r=leon.sha@sun.com
sr=roc
patch=roland
2004-09-20 06:46:16 +00:00
jst%mozilla.jstenback.com 8e2ce60a2d Landing fix for bug 258487, patch by Wladimir Palant <trev@gtchat.de>. Add code to check a pref for how to treat popups opened by a plugin. r+sr=jst@mozilla.org 2004-09-09 18:53:21 +00:00
jst%mozilla.jstenback.com 63c881aeb2 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com 2004-09-04 19:28:46 +00:00
timeless%mozdev.org f214b8a95f Bug 257877 replacement content isn't rendered if gkplugin.dll isn't present
r=jst sr=bz
2004-09-03 21:49:13 +00:00
jst%mozilla.jstenback.com f1d17b9743 Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu 2004-09-01 16:50:12 +00:00
bryner%brianryner.com efcc221ee4 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
bryner%brianryner.com 18fa617572 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com 88f80381e3 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
bzbarsky%mit.edu 4f6dfefbdd Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver
2004-07-27 17:15:53 +00:00
cbiesinger%web.de d0d6547e1e Bug 252948 remove *WithConversion in layout
r+sr=bz
2004-07-25 12:18:04 +00:00
bzbarsky%mit.edu 211bc9b439 Fix bug 251844 -- <onject> blocked by content policy doesn't show alternate
content.  r=mvl, sr=jst
2004-07-18 18:00:58 +00:00
roc+%cs.cmu.edu 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu b7fbe9ad0a Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst 2004-06-02 00:25:00 +00:00
roc+%cs.cmu.edu f1f89a9129 Backing out 233441. 2004-05-17 16:29:13 +00:00
mvl%exedo.nl 2f908209a7 Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
bzbarsky%mit.edu aa2c0925b8 Don't show the content viewer if it's not ours -- that means that we're
actually about to be torn down.  Bug 242282, r+sr=jst
2004-05-06 21:15:33 +00:00
roc+%cs.cmu.edu e508d2a0ad Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
bryner%brianryner.com f9f55ca33e deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
bzbarsky%mit.edu 2521bc1e41 Properly remove the context menu listener when we don't have a plugin. Bug
185714, r+sr=jst
2004-05-03 21:32:54 +00:00
roc+%cs.cmu.edu 54444d6aae Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron 2004-04-30 13:23:43 +00:00
jst%mozilla.jstenback.com aa71234a97 Fixing mac bustage. 2004-04-30 00:57:06 +00:00
jst%mozilla.jstenback.com ca74706604 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
roc+%cs.cmu.edu 1c438fcb5e Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it. 2004-04-28 17:48:02 +00:00
gerv%gerv.net 85ce8c146b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
cbiesinger%web.de d4e1da55f3 Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
jst%mozilla.jstenback.com 7efabde837 Changing comment style for consistency with other similar code in this file. 2004-04-13 03:57:12 +00:00
jst%mozilla.jstenback.com 8295af392b Fixing bug 240340. Make key events in plugins work correctly again on the Mac. r+sr=bryner@brianryner.com 2004-04-13 01:51:00 +00:00
jst%mozilla.jstenback.com ea21d2ad3b Fixing bug 238449. Make plugins not get mozilla context menus again. r+sr=dbaron@dbaron.org, a=asa@mozilla.org 2004-04-10 00:25:01 +00:00
bzbarsky%mit.edu a7b7608dce Make sure to pass <embed> attributes to plugins in the source order. Bug
234675, r=peterlubczynski, sr=jst
2004-02-24 02:44:33 +00:00
bzbarsky%mit.edu 0d599f1613 Apply the bug 200568 fix to types derived from the "data" attribute too. Bug
235053, r=biesi, sr=jst
2004-02-23 22:41:15 +00:00