650 Commits

Author SHA1 Message Date
jst%mozilla.org
6a7d9644ab Fixing bug 430802 (and bug 405357). Prevent plugin instantiation code re-entrancy. r=jwatt@jwatt.org, sr=bzbarsky@mit.edu, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@251278 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-06 20:49:30 +00:00
gavin%gavinsharp.com
50670054ce 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
git-svn-id: svn://10.0.0.236/trunk@250726 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 22:56:40 +00:00
mats.palmgren%bredband.net
4954e4bd18 Stop QuickTime and Flip4Mac plugins directly when requested (not off an event). b=426524 r+sr=jst a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@250323 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-16 20:06:49 +00:00
mats.palmgren%bredband.net
7168866cce Don't delay stopping the Quicktime plugin. b=425157 r+sr=jst a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@250231 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 23:39:59 +00:00
reed%reedloden.com
a90713febe Bug 426852 - "flash object disappear after going back" [p=mats.palmgren@bredband.net (Mats Palmgren) r+sr=jst a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@249901 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 06:28:23 +00:00
timeless%mozdev.org
14b0613d2b Bug 394114 Interfaces missing from various QI implementations.
r=jag sr=jag a=dsicore


git-svn-id: svn://10.0.0.236/trunk@249775 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 06:18:36 +00:00
timeless%mozdev.org
54a5525fe0 Bug 421030 Crash in [@ nsIFrame::GetView()] refreshing Viewpoint demo page
r=roc sr=roc a=roc


git-svn-id: svn://10.0.0.236/trunk@249695 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-06 19:02:28 +00:00
bent.mozilla%gmail.com
625b07832e Bug 425289 - "Mousing over plugins on Mac/Linux leaks and prevents plugin from shutting down". r+sr=jst, a=schrep.
git-svn-id: svn://10.0.0.236/trunk@248629 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-27 00:24:31 +00:00
mats.palmgren%bredband.net
5cf69dbbe4 Track event loop nesting level and delay stopping a plugin until it's safe. b=420886 r+sr=jst a1.9b5=beltzner
git-svn-id: svn://10.0.0.236/trunk@248546 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-25 16:56:05 +00:00
dbaron%dbaron.org
4dd01a645e Fixing asymmetry between what timeless landed for bug 394114 and what he backed out.
git-svn-id: svn://10.0.0.236/trunk@248211 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 22:05:05 +00:00
timeless%mozdev.org
cb247b3213 reverting, wrong patch, missing AMBIGUOUS
git-svn-id: svn://10.0.0.236/trunk@248210 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 21:55:28 +00:00
jst%mozilla.org
ad7807e9a3 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
git-svn-id: svn://10.0.0.236/trunk@248181 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 19:43:10 +00:00
jonas%sicking.cc
546ba272ce 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
git-svn-id: svn://10.0.0.236/trunk@247875 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 23:08:59 +00:00
jst%mozilla.org
b0bfab1a72 Fixing bug 416953. Do plugin destruction off of an event whenever possible (which is pretty much always). r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@247792 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 03:31:35 +00:00
jonas%sicking.cc
fbfd1bd5fa Back out due to failed mochitest
git-svn-id: svn://10.0.0.236/trunk@247519 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 02:18:16 +00:00
jonas%sicking.cc
99b2e4ecd5 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.
git-svn-id: svn://10.0.0.236/trunk@247516 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:49:20 +00:00
mozilla%weilbacher.org
d72cdfbda2 [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
git-svn-id: svn://10.0.0.236/trunk@247512 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 00:10:56 +00:00
jst%mozilla.org
fa71152ded Followup fix for bug 393845, fixing minor issue found by jag, no functional change.
git-svn-id: svn://10.0.0.236/trunk@247410 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 19:04:40 +00:00
vladimir%pobox.com
b4c27d922a b=418882, crash on www.rhein-zeitung.de, potential fix; r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@247349 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 00:58:57 +00:00
jst%mozilla.org
8e6e9af6cc Fixing bug 393845. Crash with Windows Media Player 10 plugin when stopping plugin. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@247331 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 21:32:49 +00:00
vladimir%pobox.com
d0582015b5 b=418915, plugin print rendering coordinates incorrect on win32; r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@247180 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 07:06:46 +00:00
joshmoz%gmail.com
f03ec9b0e1 take key modifiers from the current event not the current hardware state. b=320746 r=smichaud sr=roc
git-svn-id: svn://10.0.0.236/trunk@247019 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 17:58:53 +00:00
jst%mozilla.org
ed52909cca 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
git-svn-id: svn://10.0.0.236/trunk@246771 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 02:06:00 +00:00
roc+%cs.cmu.edu
f5bbb511ad 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
git-svn-id: svn://10.0.0.236/trunk@246512 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 09:09:05 +00:00
reed%reedloden.com
568d86b4a5 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+]
git-svn-id: svn://10.0.0.236/trunk@246079 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 11:33:29 +00:00
vladimir%pobox.com
9edf4504a3 b=415285, win32 plugin printed is overprinted ; r=stuart
git-svn-id: svn://10.0.0.236/trunk@245677 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 06:27:51 +00:00
vladimir%pobox.com
3f829aebee b=408623, fx3 plugin printing on windows broken, r=biesi,sr=roc
git-svn-id: svn://10.0.0.236/trunk@242861 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 22:11:46 +00:00
jst%mozilla.org
d8af1d36c6 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
git-svn-id: svn://10.0.0.236/trunk@242857 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 21:46:33 +00:00
roc+%cs.cmu.edu
cf9456d15e Bug 409337. Discard invalidation requests made by hidden plugins. r=josh,sr=jst,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@242009 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-22 08:56:57 +00:00
vladimir%pobox.com
7525088701 b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
git-svn-id: svn://10.0.0.236/trunk@241704 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 23:01:18 +00:00
bzbarsky%mit.edu
286f59f40e Fix bug 402937 -- don't allow recursion into Instantiate(). r=biesi, sr=jst,
a=dsicore.


git-svn-id: svn://10.0.0.236/trunk@240354 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 22:09:00 +00:00
bzbarsky%mit.edu
3be76b5f25 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!


git-svn-id: svn://10.0.0.236/trunk@239819 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 04:58:33 +00:00
jruderman%hmc.edu
c4c1ec8d55 Fix bug 401393, leak and assertion with Flash if Greasemonkey is installed. r=sicking, sr=jst, a=blocking1.9.
git-svn-id: svn://10.0.0.236/trunk@239103 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 22:26:04 +00:00
jst%mozilla.org
781a3ccd47 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
git-svn-id: svn://10.0.0.236/trunk@238400 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 22:52:11 +00:00
bzbarsky%mit.edu
469ba4e408 Don't show the plug-in view when it should actually be hidden. Bug 398213, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@237877 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 03:41:07 +00:00
jst%mozilla.org
14d7820718 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@237711 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-13 17:10:30 +00:00
jst%mozilla.org
71a496d1fd Fixing bug 399406. Make sure to initialize LiveConnect (if needed) when loading applets. r+sr+a=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@237708 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-13 16:42:44 +00:00
gavin%gavinsharp.com
71a94bbba6 Back out the patch for bug 393845 because it appears the regressions it caused are worse than the bug it fixed (a=biesi)
git-svn-id: svn://10.0.0.236/trunk@236676 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-25 20:41:08 +00:00
cbiesinger%gmx.at
ffa2c76bb1 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


git-svn-id: svn://10.0.0.236/trunk@233968 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 20:33:18 +00:00
mozilla%weilbacher.org
fa3f2e9691 Bug 385891: Removal of non-Cairo code from nsFrame.cpp and nsObjectFrame.cpp, p=alfredkayser, r/sr/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232993 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 00:13:44 +00:00
cbiesinger%gmx.at
a3bf373def 391261 call SetWindow a second time after instantiating the plugin, like we used to do (fixes WMP 10)
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@232391 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 17:40:08 +00:00
sharparrow1%yahoo.com
d07774b6c6 Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@231980 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 20:49:35 +00:00
cbiesinger%gmx.at
b54ca703b5 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


git-svn-id: svn://10.0.0.236/trunk@231564 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 00:32:14 +00:00
cbiesinger%gmx.at
71f3df1901 382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@231354 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:15:05 +00:00
smichaud%pobox.com
67e68ca5e4 Stop printing plugin on OS X from causing crash. Bug 388082. r=vladimir, sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@231350 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 20:54:45 +00:00
bzbarsky%mit.edu
3524c6eee1 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:08:07 +00:00
bzbarsky%mit.edu
73e6ccf0ea 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


git-svn-id: svn://10.0.0.236/trunk@231321 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 17:54:37 +00:00
peterv%propagandism.org
6dccfe3ea8 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@229697 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 13:05:06 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
mats.palmgren%bredband.net
fd18364353 Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229301 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 02:15:35 +00:00