586 Commits

Author SHA1 Message Date
rods%netscape.com
b23e7af50b This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
dcone%netscape.com
ec87b2a0a4 Took outsome debug code which snuck in.
git-svn-id: svn://10.0.0.236/trunk@84660 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:41:05 +00:00
dcone%netscape.com
5556760ab2 Added nsIPrintContext interface.
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster


git-svn-id: svn://10.0.0.236/trunk@84586 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 20:26:05 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
attinasi%netscape.com
ae39d4befe Changes to put style data into the layout regression data output. r=karnaze, a=waterson
git-svn-id: svn://10.0.0.236/trunk@83377 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 15:31:40 +00:00
heikki%netscape.com
a02e205742 Bug 59675, fixing uninitialized variables. r=jst, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@82928 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 23:23:28 +00:00
waqar%netscape.com
c1d6bbe433 #=34706
r=dcone@netscape.com
a=buster@netscape.com
d=Fixes a crash on linux when printing to a file in a directory where I dont
have permission to or printing to a directory or to a non existing printer.


git-svn-id: svn://10.0.0.236/trunk@82003 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 15:22:46 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
dcone%netscape.com
72d034b146 Have fix for bug 24406. r=kmmclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@81476 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:49:12 +00:00
dougt%netscape.com
e36912633f Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80197 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:24:00 +00:00
rods%netscape.com
4a1da53975 now prints only leaf docshells when there is a frameset and print leaf docshells
AND the rest of the document for anything else.
b=47478 a=buster


git-svn-id: svn://10.0.0.236/trunk@79881 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:42:13 +00:00
evaughan%netscape.com
4e14fe3ce1 fix for bug #52663
-r hyatt -a waterson


git-svn-id: svn://10.0.0.236/trunk@79683 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:20:00 +00:00
Peter.VanderBeken%pandora.be
2cabd6fa68 Enabling XSLT hooks in layout in default build. Bug #42228. r=axel@pike.org, a=waterson@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@79394 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 20:53:08 +00:00
mjudge%netscape.com
2fc6190bef small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
rpotts%netscape.com
7a644ef163 Moved the firing of the OnLoad event from WebShell into DocumentViewer...
git-svn-id: svn://10.0.0.236/trunk@78256 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 09:11:38 +00:00
Peter.VanderBeken%pandora.be
a1f273f649 Fix XSLT hooks (Preparation for bug #42228). Implement SetDOMDocument. r=jst@netscape.com, a=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78021 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 15:32:28 +00:00
vidur%netscape.com
b10d4adc57 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
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
rhp%netscape.com
662a4792fb Fix for crash when cancelling mail print operations - Bug #: 49280 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@77550 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:04:02 +00:00
hyatt%netscape.com
3bcd8b0b0c 43220. r=ben
git-svn-id: svn://10.0.0.236/trunk@77466 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:07:22 +00:00
hyatt%netscape.com
2b75bd07ae I'm told backing this out resolves smoketest issues, so here it comes. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@75505 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 21:40:39 +00:00
hyatt%netscape.com
2475c1f8ed Patch to avoid observing the document so early. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@75160 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 09:52:06 +00:00
ftang%netscape.com
f996731c51 more fix for 39790 which we forget. change intl.charset.default to navigator.properties
r=nhotta/cata


git-svn-id: svn://10.0.0.236/trunk@74549 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:09:11 +00:00
rpotts%netscape.com
d40c34e0a8 DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer
git-svn-id: svn://10.0.0.236/trunk@72889 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:38:07 +00:00
attinasi%netscape.com
aa6fadb515 Fixed crash due to ordering problem: b=38768 r=dcone
git-svn-id: svn://10.0.0.236/trunk@71733 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:04:45 +00:00
mjudge%netscape.com
2f9bd42697 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.
git-svn-id: svn://10.0.0.236/trunk@69180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:43 +00:00
karnaze%netscape.com
a84a1ee61a bug 37037, 37490, and a table paganation problem when captions are present.
git-svn-id: svn://10.0.0.236/trunk@68283 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:16:42 +00:00
hyatt%netscape.com
4b5e1f3bf4 Fix scrollbar stylesheet relative to ua stylesheet.
git-svn-id: svn://10.0.0.236/trunk@67712 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 07:58:07 +00:00
hyatt%netscape.com
283f4ca371 Adding support for other backstop style sheets.
git-svn-id: svn://10.0.0.236/trunk@67584 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:32:51 +00:00
mjudge%netscape.com
1cc1a29d13 change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument
git-svn-id: svn://10.0.0.236/trunk@67486 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:21:31 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
jdunn%netscape.com
da6ba99da1 adding newline for hp
git-svn-id: svn://10.0.0.236/trunk@66774 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:17:14 +00:00
anthonyd%netscape.com
50c380015e r=mjudge. adding in focus listener to docviwer. this will now disable/reenable selection on those displays that desired selection at all.
git-svn-id: svn://10.0.0.236/trunk@66758 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:40:28 +00:00
mjudge%netscape.com
922709ebdd fixing selection speed. only copying to clipboard on mouse up
git-svn-id: svn://10.0.0.236/trunk@66024 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:00:30 +00:00
mjudge%netscape.com
55078146c7 touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api.
git-svn-id: svn://10.0.0.236/trunk@65977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:21:19 +00:00
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