607 Commits

Author SHA1 Message Date
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
roc+%cs.cmu.edu
49a0c5d642 Bug 384988. Provide toplevel window to plugins for WM_TRANSIENT_FOR of dialog boxes. patch by Karl Tomlinson,r+sr=roc,jst
git-svn-id: svn://10.0.0.236/trunk@229221 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 03:41:34 +00:00
roc+%cs.cmu.edu
1c9001aba5 Bug 384975. Dispatch input events to windowless X plugins. patch by Karl Tomlinson, r+sr=roc,jst
git-svn-id: svn://10.0.0.236/trunk@229220 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 03:39:44 +00:00
roc+%cs.cmu.edu
9c123cceaa Bug 384845. Drawing support for windowless plugins in X. Patch by Karl Tomlinson, r+sr=roc,jst
git-svn-id: svn://10.0.0.236/trunk@229219 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 03:33:13 +00:00
roc+%cs.cmu.edu
8d279490c0 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


git-svn-id: svn://10.0.0.236/trunk@229218 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 03:29:47 +00:00
sharparrow1%yahoo.com
3d21f8a0c6 Bug 386387: ifilm videos don't play, only audio plays. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229132 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 06:12:02 +00:00
mconnor%steelgryphon.com
17ae1540da backing out bug 347743 due to major crasher in 386332
git-svn-id: svn://10.0.0.236/trunk@229010 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 17:25:41 +00:00
jst%mozilla.org
9a556ef409 Fixing bug 347743. Delay plugin destruction on windows to get it out of layout frame destruction. r+sr=roc@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@228910 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 00:15:12 +00:00
m_kato%ga2.so-net.ne.jp
c18f24ebf5 bug 328547 support mozilla/layout on WinXP x64 build. r=cbiesinger/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228201 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-17 14:00:30 +00:00
joshmoz%gmail.com
a068cff59f need to set plugin window x and y coords in CG mode. b=382765 r=sfraser sr=roc
git-svn-id: svn://10.0.0.236/trunk@227418 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-02 22:02:57 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
bzbarsky%mit.edu
ba5badedcb 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.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
d2d337437c 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


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
mats.palmgren%bredband.net
5162274ddd Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225306 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 23:52:44 +00:00
enndeakin%sympatico.ca
1c4cf263de Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc
git-svn-id: svn://10.0.0.236/trunk@224430 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 04:37:41 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
joshmoz%gmail.com
56401a7049 get rid of old backbuffer API and related code. b=371392 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@222450 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 06:21:57 +00:00
joshmoz%gmail.com
3de7a673b3 Implement CoreGraphics NPAPI Drawing Model. NPAPI plugins now have the option to render using CoreGraphics instead of Quickdraw. b=344427 r=sfraser sr=jst
git-svn-id: svn://10.0.0.236/trunk@222440 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 01:07:58 +00:00
joshmoz%gmail.com
f23c2a8f51 fix crash, suspend native events when instantiating plugins. patch by Steven Michaud. b=345627 r=josh sr=roc
git-svn-id: svn://10.0.0.236/trunk@222207 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-22 23:04:51 +00:00
dbaron%dbaron.org
32d54152c9 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220874 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 18:33:33 +00:00
sharparrow1%yahoo.com
ac106dc516 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.
git-svn-id: svn://10.0.0.236/trunk@220852 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 00:23:42 +00:00
mozilla%weilbacher.org
ee145af99b [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.


git-svn-id: svn://10.0.0.236/trunk@219792 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 23:38:51 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
343ced44ba Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
103e95ab15 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
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
jwatt%jwatt.org
c08a026ac8 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
git-svn-id: svn://10.0.0.236/trunk@217719 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:53:59 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
1ca9f3f372 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.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
roc+%cs.cmu.edu
05cb2de3c2 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
git-svn-id: svn://10.0.0.236/trunk@216091 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 20:15:56 +00:00
Olli.Pettay%helsinki.fi
c6025f4ac2 Fixing mac builds, bug Bug 354694
git-svn-id: svn://10.0.0.236/trunk@215376 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 22:37:23 +00:00
Olli.Pettay%helsinki.fi
08df7735f7 Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
git-svn-id: svn://10.0.0.236/trunk@215370 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu
b869f56794 Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@211969 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:26:20 +00:00
sayrer%gmail.com
4b8ca2af78 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +00:00
joshmoz%gmail.com
ee50ab7bd1 use slower idle event timer for plugins that are hidden by tabs. b=336060 r=mento sr=jst
git-svn-id: svn://10.0.0.236/trunk@208734 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 19:14:53 +00:00
dbaron%dbaron.org
2dd22ba512 Use SetMEWToActualWidth when we set the MEW to the actual width. b=331684 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207518 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 00:20:02 +00:00
martijn.martijn%gmail.com
b5df795a57 Bug 271442 - Flash element behaves weird if inside a floated element with overflow:auto, patch by Graham Sanderson, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@205097 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 22:59:05 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
bzbarsky%mit.edu
928a391936 Return null from GetPluginInstance without throwing if there's just no plugin.
Bug 344830, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@203022 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 20:43:58 +00:00
vladimir%pobox.com
d138dc5c23 b=325465, flash is not rendered properly with cairo builds (windowless plugins on win32); r=stuart
git-svn-id: svn://10.0.0.236/trunk@199137 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 18:41:24 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
35553cc59b Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@195756 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 05:25:52 +00:00