50 Commits

Author SHA1 Message Date
scc%netscape.com
e16ab47ebe making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:20:35 +00:00
erik%netscape.com
74fa582803 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
factored some code to reduce duplication; r=pierre,troy


git-svn-id: svn://10.0.0.236/trunk@64957 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 21:52:17 +00:00
kmcclusk%netscape.com
527a6dc707 Offset the viewmanager in nsDocumentViewer by passing the offset to nsIViewManager::Init instead of offsetting the root view b=32161 r=attanasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63933 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:50:42 +00:00
jst%netscape.com
96aefc9b5d 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


git-svn-id: svn://10.0.0.236/trunk@63290 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 13:27:00 +00:00
cmanske%netscape.com
5ab9b7f9df Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
rhp%netscape.com
bb8cdfecb1 Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589
git-svn-id: svn://10.0.0.236/trunk@62973 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:47:36 +00:00
tbogard%aol.net
4a9e253808 ContentViewer Initialization now take an nsIWidget instead of a native window.
git-svn-id: svn://10.0.0.236/trunk@62600 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:24:59 +00:00
tbogard%aol.net
495826cccc 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
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
pollmann%netscape.com
8e86e740f2 Bug 14827: Removing dead code. r=harishd a=rickg
git-svn-id: svn://10.0.0.236/trunk@61373 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 02:21:38 +00:00
sfraser%netscape.com
9d2e9a09cc 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
git-svn-id: svn://10.0.0.236/trunk@61007 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:39:30 +00:00
tbogard%aol.net
71cb7c74d0 Assert when trying to sizeToContent on subframes. It's not allowed. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60470 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 08:35:20 +00:00
attinasi%netscape.com
3ad1be29f8 PresShell is now observing the document always instead of just when a new PresContext is NOT created. r=troy b=25406
git-svn-id: svn://10.0.0.236/trunk@60390 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:21:50 +00:00
mjudge%netscape.com
44c8697114 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.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
kmcclusk%netscape.com
31beeacc3d 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


git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
tbogard%aol.net
1f77bfa59f SizeToContent now works properly within the new DocShell API world. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60140 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 15:49:14 +00:00
vidur%netscape.com
09a857de06 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
git-svn-id: svn://10.0.0.236/trunk@59566 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:40:22 +00:00
dcone%netscape.com
78a3fc3824 support for regression testing. r=rods
git-svn-id: svn://10.0.0.236/trunk@58785 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:14:41 +00:00
sfraser%netscape.com
b343a64540 More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari
git-svn-id: svn://10.0.0.236/trunk@58119 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:06:10 +00:00
danm%netscape.com
2b63300d33 adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@57892 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:30:34 +00:00
dcone%netscape.com
fcd03d055e Added a container for the printContext. r= rods b = 21470
git-svn-id: svn://10.0.0.236/trunk@57829 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 14:30:41 +00:00
dcone%netscape.com
5e51c18847 Set the container for the printContext. Fixes an Assert, but not the entire bug. r=Rods b=21470
git-svn-id: svn://10.0.0.236/trunk@57449 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:32:23 +00:00
tbogard%aol.net
b5cb13131e Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
git-svn-id: svn://10.0.0.236/trunk@56167 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:09:29 +00:00
tbogard%aol.net
067920c238 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.


git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
dougt%netscape.com
0c53e29d87 fix for 18078. r=mstoltz,warren
git-svn-id: svn://10.0.0.236/trunk@54648 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:32:43 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dcone%netscape.com
4f301728a5 Initialize the mEnableRendering in other constructor... so print preview will show document. r=rods
git-svn-id: svn://10.0.0.236/trunk@54305 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 21:45:36 +00:00
buster%netscape.com
ad1f779a36 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


git-svn-id: svn://10.0.0.236/trunk@54016 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 21:33:21 +00:00
buster%netscape.com
1e648d27d6 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


git-svn-id: svn://10.0.0.236/trunk@53979 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:35:27 +00:00
tbogard%aol.net
67a365111c Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
git-svn-id: svn://10.0.0.236/trunk@53553 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:17:54 +00:00
tbogard%aol.net
88e87f8850 Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@53463 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 10:12:21 +00:00
beard%netscape.com
9a5f66247d pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
git-svn-id: svn://10.0.0.236/trunk@53444 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 02:51:25 +00:00
law%netscape.com
6929a449e0 Fix bustage by backing out some CallQueryInterface calls (for Travis); r=travis@netscape.com
git-svn-id: svn://10.0.0.236/trunk@53423 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 08:20:53 +00:00
tbogard%aol.net
52c3ea73a7 Changed storage of of the container to hold simply nsISupports as the mContainer instead of nsIContentViewerContainer. Changed calls to QueryCapability to use the nsIInterfaceRequestor::GetInterface(). r=scc
git-svn-id: svn://10.0.0.236/trunk@53419 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 07:36:28 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
jst%citec.fi
953ba7bb6a Make printing use only enabled stylesheets. No bug, r=kipp@netscape.com and dcone@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@51430 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:20:37 +00:00
rpotts%netscape.com
b23536efc2 Changed the printing to use the ImageGroup notifications rather than the document loader because a document is *not* being loaded... This fixes printing after the changes to the document loader notifications.
git-svn-id: svn://10.0.0.236/trunk@48835 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 07:34:31 +00:00
dcone%netscape.com
44d2e02ee0 added debugging for printing
git-svn-id: svn://10.0.0.236/trunk@48574 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:34:28 +00:00
valeski%netscape.com
31d96c9cf3 api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).


git-svn-id: svn://10.0.0.236/trunk@42248 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 01:37:52 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
valeski%netscape.com
af0c97cc01 yanked some function redefinitions if NECKO was defined
git-svn-id: svn://10.0.0.236/trunk@39534 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 15:17:43 +00:00
dcone%netscape.com
1b730ce55e Fixed printing to make sure all URL's are loaded before print.
Fixed the background tile render'er to save and restore clip.


git-svn-id: svn://10.0.0.236/trunk@39530 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 14:23:40 +00:00
sspitzer%netscape.com
ddd0d7b722 use NS_DEFINE_CID instead of NS_DEFINE_CID where appropriate. fix warning
git-svn-id: svn://10.0.0.236/trunk@39517 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 07:00:22 +00:00
peterl%netscape.com
427a10abde propogate quirk mode into child contexts
git-svn-id: svn://10.0.0.236/trunk@38536 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:20:21 +00:00
nisheeth%netscape.com
c16e04df1f Fix for bug 6892. We should not set focus each time a document viewer creates a new window but leave it to the embedding application to decide when to set focus.
git-svn-id: svn://10.0.0.236/trunk@33689 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:48:38 +00:00
dcone%netscape.com
234dceb8b2 added a webshell parameter to the PrintContent call, unhooked the PresShell from the
document before deletion.  Fixed a leak.


git-svn-id: svn://10.0.0.236/trunk@31606 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 14:40:59 +00:00
neeti%netscape.com
40c56a54dc Fixed SetEnableRendering() in nsDocumentViewer.cpp
Initialized mEnableRendering in constructors of nsDocumentViewer.cpp and nsPlugin.cpp to a default value of PR_TRU
Do EnableRefresh only if mEnableRendering is set to true in nsHTMLContentSink.cpp,nsXMLContentSink.cpp,
nsXMLContentSink.h


git-svn-id: svn://10.0.0.236/trunk@31441 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:27:47 +00:00
dcone%netscape.com
98b154dd81 added a PrintContent() method to these classes
git-svn-id: svn://10.0.0.236/trunk@31271 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 13:32:09 +00:00
kipp%netscape.com
df753a1679 Added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@31003 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:29:34 +00:00
kipp%netscape.com
cc948abd27 Implement support for SetEnableRendering/GetEnableRendering
git-svn-id: svn://10.0.0.236/trunk@30701 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:26:23 +00:00
kipp%netscape.com
969dad1d78 Moved from webshell/src
git-svn-id: svn://10.0.0.236/trunk@30557 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:25:40 +00:00