76f99dcabd
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
8485587f30
Back out due to failed mochitest
2008-03-10 19:18:15 -07:00
a01d32528b
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
a2ba589e22
[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
a539cab153
Followup fix for bug 393845, fixing minor issue found by jag, no functional change.
2008-03-08 11:04:40 -08:00
cc84392579
b=418882, crash on www.rhein-zeitung.de, potential fix; r+sr=roc
2008-03-07 16:58:57 -08:00
807cb34dc8
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
22551e5726
b=418915, plugin print rendering coordinates incorrect on win32; r+sr=roc
2008-03-05 23:06:46 -08:00
f1fa32133d
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
b73bc06331
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
135283f8a0
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
68622137b1
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
e1440b7d2a
b=415285, win32 plugin printed is overprinted ; r=stuart
2008-02-13 22:27:51 -08:00
6fa53d9813
b=408623, fx3 plugin printing on windows broken, r=biesi,sr=roc
2008-01-10 14:11:46 -08:00
71272035ad
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
8d30225377
Bug 409337. Discard invalidation requests made by hidden plugins. r=josh,sr=jst,a=beltzner
2007-12-22 00:56:57 -08:00
0d2a47ea90
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
ebeab7cd1f
Fix bug 402937 -- don't allow recursion into Instantiate(). r=biesi, sr=jst, a=dsicore.
2007-12-03 14:09:00 -08:00
b458234b2b
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
20817445af
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
738fce3ed2
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
81cd33c9c5
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
6857375846
Fixing build bustage.
2007-10-13 10:10:30 -07:00
392777fd12
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
38d35759de
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
915b8d9555
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
f981239ebb
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
c0e2e8d51d
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
ed2e5957de
Bug 3477743: plugin crash. patch by myself and Johnny Stenback, r+sr=roc
2007-08-13 13:47:04 -07:00
bac1e6aeac
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
8c4a05fbf5
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
7940e95a40
Stop printing plugin on OS X from causing crash. Bug 388082. r=vladimir, sr=pavlov
2007-08-02 13:54:45 -07:00
368c29ae32
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
cc343c291c
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
5cfe0365d9
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
98de634631
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
79eeaa32d0
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
e1b6d438c5
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
a119445d37
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
86be288a5f
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
73c329b27c
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
7726597a29
Bug 386387: ifilm videos don't play, only audio plays. r+sr=roc
2007-07-01 23:12:02 -07:00
f91837df0b
backing out bug 347743 due to major crasher in 386332
2007-06-29 10:21:55 -07:00
38c1a37798
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
f638f3ca9c
bug 328547 support mozilla/layout on WinXP x64 build. r=cbiesinger/sr=dbaron
2007-06-17 07:00:30 -07:00
d47e554102
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
70e37b2ff0
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
0f958609c2
backout Bug 363089
2007-05-11 06:34:05 -07:00
833e8c64f1
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
cdb5b22b87
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