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

681 Коммитов

Автор SHA1 Сообщение Дата
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
dbaron%dbaron.org 8b81db7e6f Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst 2004-02-20 21:38:31 +00:00
bryner%brianryner.com b26298f7c2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
cbiesinger%web.de 57eed0eb39 Bug 233587 small nsImageFrame cleanup - use nsILink to get a link href.
r+sr=bzbarsky
2004-02-10 16:57:00 +00:00
jst%mozilla.jstenback.com 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
cbiesinger%web.de b09d6185e2 fixing bustage 2004-02-09 17:52:48 +00:00
cbiesinger%web.de 333697ba05 Bug 233457 nsObjectFrame cleanup
r+sr=bz
2004-02-09 17:33:45 +00:00
dbaron%dbaron.org f916d83bd2 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
bryner%brianryner.com f67839e02e More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
roc+%cs.cmu.edu a2c6a75e31 Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron 2004-01-30 03:20:41 +00:00
peterv%propagandism.org b73f7d8861 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
bryner%brianryner.com a135ce4d60 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
roc+%cs.cmu.edu 4ce233447a Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com 4ab234b8be General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu 2a50602bc0 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com 7264501b7b Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
timeless%mozdev.org 5f05bf96d3 Bug 226597 nsObjectFrame.cpp Warning: String literal converted to char* in initialization.
r=roc sr=roc
2003-12-21 04:04:09 +00:00
neil%parkwaycc.co.uk 96a7cc96e1 Bug 90906 Remove unused variables p=gautheri@noos.fr r/sr=dbaron 2003-12-20 18:09:21 +00:00
bzbarsky%mit.edu 433acb316d Fix printing of plugins in absolutely positioned divs to use the right
coordinates.  Bug 225832, r+sr=roc
2003-11-19 02:00:51 +00:00
jst%mozilla.jstenback.com 6380d7fd12 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
neil%parkwaycc.co.uk a3190de6ed Bug 225952 nsObjectFrame.cpp abuses nsXPIDLCString r/sr=bz 2003-11-17 19:26:24 +00:00
blizzard%redhat.com ae7e45ba8b Bug #225357. Plugins that specify coordinates that exceed maximum X coordinates cause X errors. Limit the size of plugins on this platform to the maximum size for X windows. r=bz, sr=roc 2003-11-13 16:33:52 +00:00
uid502 50383ff50a Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bryner%brianryner.com a0e219b348 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
uid502 b83221b617 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +00:00
jst%mozilla.jstenback.com 8aa7b563d2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bryner%brianryner.com 86ad399c4f Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:37:27 +00:00
bzbarsky%mit.edu 1c89273d3a DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
bsmedberg%covad.net ba5caa9ef9 Bug 198515 - patch by Roland.Mainz r=peterl/leon.sha sr=bz 2003-07-23 14:10:12 +00:00
scott%scott-macgregor.org e844046611 Bug #212682 --> add a null ptr check to avoid a crash when viewing a message in thunderbird that contains a plugin.
r/sr=dbaron
2003-07-14 21:28:44 +00:00
bzbarsky%mit.edu 32d96efdc3 Make sure that nsSimpleURI also strips newlines out of the uri spec... Bug
211599, r=dougt, sr=darin
2003-07-08 20:09:17 +00:00
bzbarsky%mit.edu 80f18b18c8 DOM properties that return URIs should return absolute URIs when they
are accessed (even if the corresponding attribute value is a relative URI).
Bug 47534, r=caillon, sr=jst
2003-07-08 05:35:04 +00:00
bzbarsky%mit.edu 25471a836d Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
roc+%cs.cmu.edu c335a13e1b Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 10:46:59 +00:00
jst%netscape.com e7966722ca Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org 2003-06-24 01:46:50 +00:00
dbaron%dbaron.org adce84c7af Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky 2003-06-19 23:52:58 +00:00
dbaron%dbaron.org 42b06cc4f5 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
peterlubczynski%netscape.com 2584177855 Fixing checkin for bug 209033. 2003-06-19 23:26:23 +00:00
bryner%netscape.com a4565876ab Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc. 2003-06-18 22:58:51 +00:00
peterlubczynski%netscape.com f1cd8b2980 Fixing bug 209033, double keyDown events sent to plugins by KeyPress event, r=brade sr=bryner 2003-06-18 14:41:44 +00:00
alecf%flett.org 5614718dd3 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
caillon%returnzero.com ba75de772b Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
timeless%mozdev.org 8f30c9e32a Bug 205366 ifdef WIN/MACOS(X) ConvertTwipsToPixels because it isn't used elsewhere
r=av sr=peterv
2003-05-23 22:14:21 +00:00
dwitte%stanford.edu 149f719c00 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
dbaron%dbaron.org a15b9f2cf4 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
bzbarsky%mit.edu c72ee5ce87 Make sure that Init() failures for image frames don't mean no alt text. Also
fixes a crasher when reframing fixed-pos frames.

This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED).  This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.

Bug 202506, r=rbs, sr=roc+moz
2003-04-21 23:57:47 +00:00
bzbarsky%mit.edu 784d197135 Make iframes and objects obey CSS max-width/height and min-width/height if
their sizes are unconstrained.  Bug 181875, r+sr=roc+moz
2003-04-15 19:28:06 +00:00
aaronl%netscape.com 7bd7078f78 Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf 2003-04-15 08:45:55 +00:00
bzbarsky%mit.edu b3048c6360 Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is
_not_ what we want here... ;)
2003-04-12 06:18:38 +00:00
bzbarsky%mit.edu e60fc7dc8b Change nsObjectFrame reflow when showing an image or iframe to just reflow the kid and
use its desired size.  Change reflow when doing a plugin to properly look at
the mComputedHeight/Width instead of trying to (incorrectly) walk up the reflow
state chain.  Plus some nsCOMPtr love.  Bug 191246 and bug 196280,
r=peterlubczynski, sr=roc+moz
2003-04-12 04:55:07 +00:00
peterlubczynski%netscape.com 6473b68df0 Fixing bug 200568, OBJECT tag renders plugins and full-page, r=jkeiser, sr=bz 2003-04-04 01:53:59 +00:00
seawood%netscape.com de59dbee4b Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
bryner%netscape.com 77ba81f475 On second thought, let's not unsuppress painting early for pages with object/embed/applet elements. Instead, go back to calling Show() on the document viewer, but suppress the focus controller while doing so. Bug 199927, r=peterl, sr=bzbarsky. 2003-04-02 21:26:29 +00:00
bryner%netscape.com c1e584641c Fix loss of focus caused by not going through PresShell::UnsuppressPainting (bug 199927). Also cleaned up event listener registration in this file quite a bit. r=peterl, sr=bzbarsky. 2003-04-02 03:35:58 +00:00
aaronl%netscape.com 40168b0747 Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf 2003-04-01 20:02:51 +00:00
timeless%mozdev.org 5abd49df25 Bug 196735 <OBJECT src=...> should be ignored
patch by bugzilla2@farside.demon.co.uk r=peterl sr=jst
2003-03-25 07:28:54 +00:00
seawood%netscape.com b983df21d3 Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +00:00
timeless%mozdev.org 965ba28bb1 Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
peterlubczynski%netscape.com c8c6f4afa4 Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
bzbarsky%mit.edu 1bfea66b89 Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
peterlubczynski%netscape.com c1fe44094f Fixing bug 131007, unpaired events cause us to remain in capture and look hung, r=jkeiser sr=bryner 2003-03-11 00:54:18 +00:00
sfraser%netscape.com afdca5e1cc Bug 191821: fix up nsObjectFrame to use nsIPluginWidget on Mac, for platform-specific plugin placement issues. Also fix a bug with scrolling Java applets, that caused them to render in the wrong places after scroll. r=peterl, sr=bryner 2003-02-27 23:35:47 +00:00
bryner%netscape.com cc390fbe51 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
bernd.mielke%snafu.de f645d2f6be report object frames mew in unconstrained conditions, bug 189079 r=peterl sr/a=dbaron 2003-02-15 18:25:02 +00:00
peterlubczynski%netscape.com e047450129 Fixing bug 188959, HIDDEN attribute on EMBED should hide, r=av, sr=kin, a=asa 2003-01-28 21:59:28 +00:00
caillon%returnzero.com ead3cd7ea8 Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
cbiesinger%web.de 919886cdcb remove redundant ifdefs 189172 r+sr=bz 2003-01-15 18:21:31 +00:00
cbiesinger%web.de 3bcd0bee95 188586 r+sr=bz nsObjectFrame should use mime service 2003-01-14 21:59:05 +00:00
peterlubczynski%netscape.com 136d1e38f0 Fixing bug 173069, relative URLS with PLUGINSPAGE PLUGINURL 2003-01-10 21:48:56 +00:00
dbaron%dbaron.org a5fcfea19e Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
dbaron%dbaron.org 1419b5fd03 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
rbs%maths.uq.edu.au c7e2c76219 Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2002-12-13 22:12:10 +00:00
caillon%returnzero.com c3e3447b52 Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-11 14:05:41 +00:00
caillon%returnzero.com 7ca2c28686 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...) 2002-12-11 05:11:02 +00:00
caillon%returnzero.com 219bf7186f Removing ifdef. r/sr=roc+moz. bug 181975 2002-12-11 04:11:04 +00:00
caillon%returnzero.com 28a20c3eb6 Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
yokoyama%netscape.com 7932d03a3d 179822: Flash4 / Flash5 / Shockwave and other plugins crash.
Give an unicode option when SubClassing the widget window.
/r=peterl, /sr=kin
2002-12-04 01:17:01 +00:00
bzbarsky%mit.edu 4d094c04fc Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
seawood%netscape.com aeda22058a Add support for loading cfm plugins in OSX mach-o builds.
Changes backported from the CHIMERA_M1_0_1_BRANCH branch.
Bug #155256 r=peterl sr=sfraser
2002-11-06 01:24:57 +00:00
av%netscape.com 853796579e Fixing 132759 -- 100% CPU with Flash, r=peterl, sr=jst 2002-09-26 02:53:27 +00:00
peterlubczynski%netscape.com e25743581c Fixing Use of uninitialized variable in nsPluginInstanceOwner::GetPluginPort(), bug 162350 r=bnesse, sr=beard 2002-09-13 03:24:27 +00:00
peterlubczynski%netscape.com 3d2457096e Fix for can't show plugins if they start out hidden, bug 137231 r=serge, sr=kin 2002-09-13 03:11:02 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com d94b37c68a Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
karnaze%netscape.com 5a10df5023 bug 131065 - revised Jerry Tan's patch to handle top/bottom margins and absolutely positioned cases. sr=kin, r=peterl. 2002-09-03 23:42:52 +00:00
bzbarsky%mit.edu 5aa26e6042 That last checkin was r=philipl@mail.utexas.edu,sr=blizzard 2002-08-07 23:54:11 +00:00
bzbarsky%mit.edu 6e84a81bf6 Re-fix bug 139294 by backing out the fix for 152429, since bug 159268
fixed the crash that 152429 was on.
2002-08-07 23:52:26 +00:00
serge%netscape.com 9dc0906657 fix 152429, flash in an iframe crashes with Gdk-ERROR **: BadDrawable; r=bzbarsky, sr=jst, a=asa 2002-07-26 23:30:27 +00:00
serge%netscape.com e20929f95c fix #156936, regression: crash using OBJECT tag with any plugin, r=peterl, sr=jag 2002-07-11 19:32:44 +00:00
peterlubczynski%netscape.com 6cc63f48ef Fixing regression: Default plugin shows for ActiveX controls and hides Netscape plugin (users sent to PFS to fetch plugin for application/x-oleobject), bug 151074 r=bryner sr=jst 2002-07-08 06:26:44 +00:00
peterlubczynski%netscape.com 52f2e9e90e Fixing bug 152978, problem on Mac platforms where Flash "drags" like an image would, r=bnesse, sr=sfraser 2002-07-02 13:52:05 +00:00
peterlubczynski%netscape.com a9158b022a Fixing some plugins don't understand the DATA attribute on the OBJECT tag so in those cases copy that value to an appened "SRC" entry to the array of attributes/parameters plugins are passed. Bug 152334 r=av sr=waterson 2002-06-27 01:51:34 +00:00
heikki%netscape.com 8ec305c417 Bug 133654, param attribute not recognized in XHTML. Patch from jst, r=peterv, sr=heikki. 2002-06-21 18:28:46 +00:00
peterlubczynski%netscape.com 87bc6614cc Fixing IPIX for Mac Classic: SetWindow needed to be called and nsObjectFrame::DidReflow() needed to complete on Mac as well, bug 144896 r=av sr=beard 2002-06-15 16:05:09 +00:00
peterlubczynski%netscape.com e07d40ea6c Fixing bug 122119, cannot use consecutive white space characters in PARAM tags, r=harishd, sr=jst 2002-06-12 16:41:25 +00:00
cbiesinger%web.de 6197948cc3 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
karnaze%netscape.com dc7e454eb3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
jst%netscape.com 5ef2ac2f34 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
peterlubczynski%netscape.com c9b1285841 Removing extra line that sneaked in 2002-05-20 04:02:12 +00:00
peterlubczynski%netscape.com 6f5b1bccf3 Fixing last checkin for bug 120875, hiding plugin for tabs, r=bnesse sr=beard 2002-05-20 03:29:48 +00:00
jgaunt%netscape.com 6666e38848 bug 124448 Accessibility Support for Object/Embed tags
r=aaronl
sr=jst
2002-05-10 22:34:53 +00:00
peterlubczynski%netscape.com 9404e003ab Fixing problems with showing/hiding Mac plugins. Specifically, these problems:
* Mouse events "bleeding through" tabs so that a plugin in one tab responds to mouse movements in another (bug 120875)
* dynamic control of CSS visiblity property with plugins on mac (can hide/show plugins) (bug 137230)
* Plugins incorrectly show up on top of documents and in the wrong place in print preview. This fix will also them to be hidden like they are on other platforms. (bug 133992)
r=av sr=beard
2002-05-02 22:47:49 +00:00
peterlubczynski%netscape.com 1de043751f Adding extra event call (WM_WINDOWPOSCHANGED) for windowless plugins on Windows so that they are updated with their position and bounds. Bug 135737, r=av, sr=attinasi 2002-05-02 20:46:22 +00:00
peterlubczynski%netscape.com 174f6b707a Correctly set visibility of view on DidReflow for cases when our CSS visibility style has changed from visible (windows part) bug 129306 r=av sr=attinasi 2002-04-13 02:43:58 +00:00
peterlubczynski%netscape.com 78f206d31d Fixing HIDDEN attribute on EMBED tag and also removing support for it for APPLET tags. Bug 136456 r=av sr=attinasi 2002-04-13 01:53:23 +00:00
serge%netscape.com 73642f88b7 fix #94895, Flash movie is constantly stopped and restarted, r=peterl, sr=beard 2002-04-11 03:27:00 +00:00
rods%netscape.com bff2fdafde Generically enables the browser to cache the curent presentation (frames,
views, et.al.) for Print Preview and then enables them to be restored.
It uses a pref and/or checks all the documents to see if any have an "embed" or
a "plugin". Temporarily it checks for framesets and turns on caching also.
I also factored some code in the Init routine so it could be callled for either
creating the new presention or initializing an existing one.
Also, added some safety check code in PrintPage.
Then for the object frame, for PP it doesn't do a paint - this is a temporary fix.
Bug 122048 r=peterl sr=attinasi a=asa
2002-03-26 11:43:40 +00:00
peterlubczynski%netscape.com 698e9c9ee4 Fixing ussage of codebase attribute and Java applets loading, bug 130605 patch by adu@sparc.spb.su (Denis Antrushin) r=peterl, sr=beard, a=asa 2002-03-26 06:42:10 +00:00
peterlubczynski%netscape.com 00f5ff72dc Cleaning up dead code left from fix for bug 118721, patch by dbrittain@superscape.com (David Brittain), bug 132262 r=peterl, sr=attinasi, a=scc 2002-03-26 06:38:53 +00:00
peterlubczynski%netscape.com eff3e582be Implementing nsIPluginTagInfo2::GetDocumentEncoding(), patch by adu@sparc.spb.su (Denis Antrushin) bug 131197 r=peterl, sr=beard, a=asa 2002-03-26 06:33:48 +00:00