Commit Graph

1170 Commits

Author SHA1 Message Date
rpotts@netscape.com
3a772337b8 Moved the firing of the OnLoad event from WebShell into DocumentViewer... 2000-09-06 09:11:38 +00:00
Peter.VanderBeken@pandora.be
6ea2825354 Fix XSLT hooks (Preparation for bug #42228). Implement SetDOMDocument. r=jst@netscape.com, a=waterson@netscape.com. 2000-09-02 15:32:28 +00:00
vidur@netscape.com
0a175de4e5 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
rhp@netscape.com
22e267839f Fix for crash when cancelling mail print operations - Bug #: 49280 - r: bienvenu 2000-08-30 02:04:02 +00:00
hyatt@netscape.com
ee9a683a79 43220. r=ben 2000-08-29 08:07:22 +00:00
hyatt@netscape.com
435586864a I'm told backing this out resolves smoketest issues, so here it comes. r=attinasi 2000-08-03 21:40:39 +00:00
hyatt@netscape.com
a21a3e0399 Patch to avoid observing the document so early. r=attinasi 2000-07-29 09:52:06 +00:00
ftang@netscape.com
26b8045b35 more fix for 39790 which we forget. change intl.charset.default to navigator.properties
r=nhotta/cata
2000-07-20 21:09:11 +00:00
rpotts@netscape.com
b03177ae34 DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer 2000-06-22 05:38:07 +00:00
attinasi@netscape.com
862b6c27e2 Fixed crash due to ordering problem: b=38768 r=dcone 2000-06-07 23:04:45 +00:00
mjudge@netscape.com
9548dce1c6 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
karnaze@netscape.com
32774713e9 bug 37037, 37490, and a table paganation problem when captions are present. 2000-05-04 23:16:42 +00:00
hyatt@netscape.com
ccc8d430c7 Fix scrollbar stylesheet relative to ua stylesheet. 2000-05-01 07:58:07 +00:00
hyatt@netscape.com
56137c7c2d Adding support for other backstop style sheets. 2000-04-28 23:32:51 +00:00
mjudge@netscape.com
7632ddddc7 change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument 2000-04-28 06:21:31 +00:00
mjudge@netscape.com
2e85db0702 ender lite checkin. 2000-04-27 07:37:12 +00:00
jdunn@netscape.com
fd1871932c adding newline for hp 2000-04-21 22:17:14 +00:00
anthonyd@netscape.com
11e96cd772 r=mjudge. adding in focus listener to docviwer. this will now disable/reenable selection on those displays that desired selection at all. 2000-04-21 21:40:28 +00:00
mjudge@netscape.com
7da6448f27 fixing selection speed. only copying to clipboard on mouse up 2000-04-14 23:00:30 +00:00
mjudge@netscape.com
e71b4a82d3 touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api. 2000-04-14 11:21:19 +00:00
scc@netscape.com
73cfb8980b making string conversions explicit 2000-04-03 11:20:35 +00:00
erik@netscape.com
62a48c51e7 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
factored some code to reduce duplication; r=pierre,troy
2000-04-02 21:52:17 +00:00
kmcclusk@netscape.com
a710c74468 Offset the viewmanager in nsDocumentViewer by passing the offset to nsIViewManager::Init instead of offsetting the root view b=32161 r=attanasi@netscape.com 2000-03-23 23:50:42 +00:00
jst@netscape.com
58916895c8 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
cmanske@netscape.com
a9eac5f7f0 Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge 2000-03-16 23:45:39 +00:00
rhp@netscape.com
751a971a46 Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589 2000-03-15 01:47:36 +00:00
tbogard@aol.net
db4cb26cf4 ContentViewer Initialization now take an nsIWidget instead of a native window. 2000-03-11 01:24:59 +00:00
tbogard@aol.net
1c7bf629cf nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
pollmann@netscape.com
33dfb916b1 Bug 14827: Removing dead code. r=harishd a=rickg 2000-02-21 02:21:38 +00:00
sfraser@netscape.com
72a4e347a1 Fix the document viewer command updating, give it a selection listener etc, so that commands get updated at the right time. for bug 18395. r=pinkerton 2000-02-16 01:39:30 +00:00
tbogard@aol.net
f0163c3806 Assert when trying to sizeToContent on subframes. It's not allowed. r=hyatt 2000-02-11 08:35:20 +00:00
attinasi@netscape.com
7b21dba7ef PresShell is now observing the document always instead of just when a new PresContext is NOT created. r=troy b=25406 2000-02-11 01:21:50 +00:00
mjudge@netscape.com
09015b461c big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
kmcclusk@netscape.com
08010069e2 Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
tbogard@aol.net
a39d7756a3 SizeToContent now works properly within the new DocShell API world. r=hyatt 2000-02-08 15:49:14 +00:00
vidur@netscape.com
ba0bc2c907 Fix for bug 24306. The DocumentViewer now cleans up dangling webshell references in the PresContext. nsGenericElement::TriggerLink deals with a nonexistent handler (it might have been deleted already as part of event processing). r=buster, joki 2000-02-02 23:40:22 +00:00
dcone@netscape.com
fb837a9f39 support for regression testing. r=rods 2000-01-26 15:14:41 +00:00
sfraser@netscape.com
b69b1f2f2e More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari 2000-01-18 21:06:10 +00:00
danm@netscape.com
1a0c2a0e0f adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt 2000-01-15 02:30:34 +00:00
dcone@netscape.com
67f706d955 Added a container for the printContext. r= rods b = 21470 2000-01-14 14:30:41 +00:00
dcone@netscape.com
3ff26fc7a1 Set the container for the printContext. Fixes an Assert, but not the entire bug. r=Rods b=21470 2000-01-11 22:32:23 +00:00
tbogard@aol.net
75823eb78c Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
tbogard@aol.net
25baa5ff98 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
dougt@netscape.com
15861e6442 fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
tbogard@aol.net
617bb737a6 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
dcone@netscape.com
97da9a766f Initialize the mEnableRendering in other constructor... so print preview will show document. r=rods 1999-11-23 21:45:36 +00:00
buster@netscape.com
9306a4ca47 fixed bug 19381. previously, I had added 2 interfaces onto this class, but I
forgot to add those classes in the QueryInterface method.  god, i wish we
had a macro for that!
r=kmcclusk.  thanks, kevin
1999-11-19 21:33:21 +00:00
buster@netscape.com
cd7c34c530 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
tbogard@aol.net
e8b476b7bf Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
tbogard@aol.net
11696e2a43 Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov 1999-11-14 10:12:21 +00:00