Commit Graph

323 Commits

Author SHA1 Message Date
waterson%netscape.com
a9e63d1095 Add GetIID(). 1999-06-30 19:28:16 +00:00
akkana%netscape.com
66024861e2 - New dialog and editor shell API for Insert HTML Source
- Add wrapcolumn setting to document encoders, and use it in the editor
- Fix numbered lists in the html to text sink stream.
1999-06-30 19:26:08 +00:00
scc%netscape.com
4973918df6 Added |GetIID()| 1999-06-29 20:28:56 +00:00
warren%netscape.com
45b706bd8c Fixed necko ifdef. 1999-06-29 00:25:46 +00:00
warren%netscape.com
fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com
bde10cf3a0 More necko changes. 1999-06-25 01:53:22 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
akkana%netscape.com
c91c3d0b61 Remove selection methods from nsIDocument -- they were bogus anyway, real selection lives in the pres shell 1999-06-22 21:47:45 +00:00
peterl%netscape.com
61dec32772 added UseForMedium (for faster medium testing) 1999-06-15 06:14:31 +00:00
peterl%netscape.com
e5916cf43f added new create child namespace 1999-06-15 06:14:09 +00:00
peterl%netscape.com
fa94e3b67e removed equals and hashvalue methods 1999-06-10 05:17:27 +00:00
kostello%netscape.com
683648b5be Akkana set up a service for encoding a document.
This checkin adds the implementations for encoding
HTML and plain text:

nsTextEncoder::EncodeToString(..)
nsHTMLEncoder::EncodeToStream(..)

Hooked these services into the nsHTMLEditor implemenation

We probably want to update the clipboard code to
use the same pattern as in nsHTMLEditor.cpp
1999-06-10 00:35:02 +00:00
akkana%netscape.com
2b9b55f748 Add Init method to pass in the document and mime type 1999-06-08 00:01:55 +00:00
akkana%netscape.com
b80a790741 Split document encoder's Encode() method into a stream method and a string method 1999-06-07 19:32:36 +00:00
akkana%netscape.com
fdb319aff9 Checking in the non-dangerous parts of the XIF document/html encoder 1999-06-04 01:04:08 +00:00
peterl%netscape.com
f645149863 changed style rule API to use array 1999-05-26 23:44:32 +00:00
peterl%netscape.com
3a5019cbfb added insert style sheet method 1999-05-18 23:02:25 +00:00
vidur%netscape.com
26a71e3928 Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface. 1999-05-11 20:22:35 +00:00
kipp%netscape.com
066324ed8b Moved from webshell directory 1999-05-06 19:25:10 +00:00
pinkerton%netscape.com
7638e305fb added GetIID() method. 1999-04-30 08:59:11 +00:00
ftang%netscape.com
2e97bf7dcc change S/GetDocumentCharacterSet method for nsIDocument interface. 1999-04-27 21:49:25 +00:00
scc%netscape.com
f033719a36 Added required GetIID methods 1999-04-23 16:48:32 +00:00
peterl%netscape.com
04f5fc38c1 widened content state change api
added test for state dependent style
1999-04-20 00:02:22 +00:00
peterl%netscape.com
fbde443a95 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
waterson%netscape.com
050221001c Added GetIID() method so this can be used with nsCOMPtr. 1999-04-12 18:08:43 +00:00
vidur%netscape.com
d801e996bd Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods. 1999-03-31 20:49:25 +00:00
kipp%netscape.com
a0ef7d0fd6 Added a new method 1999-03-27 01:20:02 +00:00
ftang%netscape.com
3af2e4fcc5 add Set/GetWordBreaker to nsIDocument. Reviewed and approved by kipp 1999-03-27 00:58:41 +00:00
jfrancis%netscape.com
eaed4a3df3 exposing on-the-fly switchability between pre and post order iterors in the interface. exposing PositionAt in the interface. 1999-03-23 11:54:52 +00:00
vidur%netscape.com
695fabe1b5 Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash. 1999-03-20 01:51:00 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
peterl%netscape.com
006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
hyatt%netscape.com
271401155d The nsIStyledContent interface. Removes CLASS, ID, and STYLE support (as well
as the ability to supply style hints) from nsIHTMLContent.
1999-02-27 01:31:01 +00:00
vidur%netscape.com
93609d0604 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change). 1999-02-23 19:18:12 +00:00
ftang%netscape.com
02b8de88ba add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson 1999-02-23 03:31:26 +00:00
jfrancis%netscape.com
acff8104b6 fixing iid collision with simon 1999-02-12 04:39:21 +00:00
jfrancis%netscape.com
a53854a1ea First Checked In. 1999-02-12 04:28:29 +00:00
akkana%netscape.com
7982a421d6 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
mjudge%netscape.com
d6da223dbd Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
vidur%netscape.com
b91611a7b2 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
ftang%netscape.com
3759b987f5 change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
peterl%netscape.com
b8cf627e7d added header data accesors 1999-01-23 07:00:10 +00:00
kostello%netscape.com
20ddd08b9c Updated XIF code to match the new selection work. 1999-01-21 21:45:17 +00:00
vidur%netscape.com
5fed996e8a Made unparented nodes outside the document return a new document fragment as parent. Inserting a node into a tree removes it from its previous position 1999-01-19 03:54:26 +00:00
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
peterl%netscape.com
609b48d91d added GetBaseURL
Checkin during red tree approved by sar
1999-01-15 01:53:50 +00:00
vidur%netscape.com
895ce771ea Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML. 1999-01-14 23:14:02 +00:00
vidur%netscape.com
274a4add3e Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent 1999-01-12 16:37:24 +00:00
kipp%netscape.com
6d30c6dc81 Added missing forward decl of nsIAtom 1999-01-09 00:11:10 +00:00
kipp%netscape.com
b3ad196bb0 Consolidated character set macros into this file 1999-01-05 23:01:32 +00:00
jfrancis%netscape.com
bb23b3dbd6 more dom range gravity work 1998-12-30 08:28:16 +00:00
peterl%netscape.com
3cf603abf4 added support for the 'xmlns' pseudo namespace 1998-12-21 05:56:51 +00:00
peterl%netscape.com
8200c3233f made get strength const 1998-12-20 01:08:31 +00:00
peterl%netscape.com
babdb0cd05 changed attribute api to take atoms & namespace 1998-12-20 01:08:13 +00:00
scc%netscape.com
ba11eb34ad Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
jfrancis%netscape.com
94524bd1cb Adding support for notifying content that it harbors a DOMRange. 1998-12-17 07:22:28 +00:00
sfraser%netscape.com
2917ee35b3 Add ; after class definition 1998-12-17 01:42:02 +00:00
peterl%netscape.com
fdc2207d84 added namespace interfaces 1998-12-11 02:30:59 +00:00
peterl%netscape.com
c1e7017b88 added namespace manager accessor 1998-12-11 02:30:23 +00:00
peterl%netscape.com
51b1c4ae5a added namespace accessor 1998-12-11 02:30:08 +00:00
mjudge%netscape.com
35b965b62b changes to selection 1998-12-08 18:25:47 +00:00
mjudge%netscape.com
704c2833fe new collection export instead of nsISelection 1998-12-03 21:42:58 +00:00
peterl%netscape.com
7e09a07d55 changed medium type to atom 1998-12-02 00:29:16 +00:00
peterl%netscape.com
e2fb1e2c1e added change notification support 1998-11-26 01:24:52 +00:00
peterl%netscape.com
6c90c991c0 added style sheet properties 1998-11-26 01:24:32 +00:00
vidur%netscape.com
026c273104 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
vidur%netscape.com
8723f8326b Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
rickg%netscape.com
c737f0ffa8 first pass support for view-source 1998-11-11 11:55:32 +00:00
peterl%netscape.com
13bdbc9c30 decoupled style resolution api from frame system 1998-11-03 20:16:23 +00:00
vidur%netscape.com
68fbf6a357 Added additional parameter to nsIContent::SetDocument. The document now tells content to lose its weak reference before the document goes away. Elements and text now add their script objects as roots so they don't get collected prematurely. 1998-10-26 23:26:01 +00:00
kipp%netscape.com
f13b83273b Revised API to use TextFragment's 1998-10-20 00:19:17 +00:00
kipp%netscape.com
206b0ecefe new 1998-10-20 00:17:17 +00:00
rpotts%netscape.com
91c6367986 Added GetDocumentURLGroup() methodnsIDocument.h 1998-10-01 21:43:02 +00:00
peterl%netscape.com
2ee88cc63a added content changed & attribute changed to style frame construction api.
cleaned up api.
added attribute change hint.
1998-09-29 23:41:59 +00:00
kipp%netscape.com
d7965678bd changed frame remove methods 1998-09-24 21:39:29 +00:00
kipp%netscape.com
15a7d45319 XPCOM'ized the notification methods; changed frame remove methods; added AttributeChanged 1998-09-24 21:39:16 +00:00
troy%netscape.com
6d20aa0438 Added AttributeChanged() member function for communicating attribute value
changes to the frame
1998-09-18 19:53:27 +00:00
troy%netscape.com
28c7cf540c Removed content delegates 1998-09-18 17:18:37 +00:00
peterl%netscape.com
690e996b99 added strength 1998-09-11 02:05:07 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
rods%netscape.com
4a4b4a34b2 XPCOM'ed the Selection and Search methods 1998-09-09 16:11:59 +00:00
kipp%netscape.com
a375a0f8f7 Use allocated IID; update interface to be XPCOM'd and updated the methods 1998-09-06 00:15:10 +00:00
peterl%netscape.com
10c7185fad removed content from style map api 1998-09-05 03:51:56 +00:00
peterl%netscape.com
1460522396 comments on sheet/rule ordering 1998-09-02 02:00:24 +00:00
peterl%netscape.com
ef15112377 COMified 1998-09-02 02:00:05 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
rods%netscape.com
78631b45db Added FindNext method 1998-08-28 15:59:24 +00:00
peterl%netscape.com
0b78c480f4 commented on sheet/rule ordering 1998-08-27 00:46:34 +00:00
joki%netscape.com
46137420c0 Modifying nsIContent's AppendChild -> AppendChildTo to stop conflict with
DOM interfaces.
1998-08-21 21:38:26 +00:00
kostello%netscape.com
72d5a37b2b Changed XIF interface 1998-07-27 18:04:04 +00:00
kostello%netscape.com
d6527ec8ad Added method for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.
1998-07-27 18:03:16 +00:00
kipp%netscape.com
657c9d59c5 Added NS_NewImageDocument 1998-07-27 17:51:42 +00:00
vidur%netscape.com
8547dd423c nsHTMLDocument now holds on to its parser till loading is complete. Hooked up document.write and document.writeln 1998-07-23 22:06:05 +00:00
joki%netscape.com
ce61da5597 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00
vidur%netscape.com
ec8c40eeed Introduced nsContentLists. Added a DocumentWillBeDestroyed method to nsIDocumentObserver. Added a document parameter to all DocumentObserver notifications. Added the nsIDOMHTMLDocument interface to HTMLDocument. Implemented document.images, etc and getElementsByTagName. 1998-07-22 23:32:19 +00:00
kipp%netscape.com
1476a300de Removed SetTitle 1998-07-19 01:14:21 +00:00
kipp%netscape.com
39f5530391 Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
kostello%netscape.com
e7dee8f2f4 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.
1998-07-17 23:00:54 +00:00
rpotts%netscape.com
589dcc48fe Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)... 1998-07-17 06:32:39 +00:00
kostello
33fd5ef97a Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.
1998-07-14 22:34:27 +00:00
vidur
1900060e23 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in. 1998-07-14 18:44:44 +00:00
rpotts
2d418707f3 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader... 1998-07-01 11:16:09 +00:00
vidur
3f8df8346d Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
michaelp
ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
karnaze
3074df2576 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
joki
e820a618d7 Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
joki
10ffd04c8c Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +00:00
kipp
591b2ccd11 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
kipp
c9660cdcf8 COMized API; added Begin/End reflow and Begin/End Load methods 1998-06-03 15:40:56 +00:00
kipp
627dc37066 Added begin/end load methods 1998-06-03 15:39:45 +00:00
kipp
521349db05 COMized some of the API; added a notify flag to the child insert/replace/append/remove methods 1998-06-03 15:39:32 +00:00
kipp
db0df5f7c3 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +00:00
kipp
cb30a1fea6 Added a new content method to see if a piece of content is synthetic or not 1998-05-29 02:09:38 +00:00
karnaze
f1382417c0 post submission, file content submission 1998-05-27 17:51:41 +00:00
thom
a2729a12bc Mac checkin 1998-05-18 22:47:24 +00:00
peterl
3a943ba17e added pseudo frame style support 1998-05-18 21:03:10 +00:00
rods
e80f937688 added Selection methods to nsICodment, nsDocument, nsiSplittableFRame 1998-05-08 15:07:41 +00:00
troy
02e5832c88 Started adding ContentChanged() notifications 1998-05-06 16:28:55 +00:00
rods
4ff8130ec4 added selection classes to makefiles and added the selection object and methods to nsDocument and nsIDocument 1998-04-30 18:21:59 +00:00
kipp
0e59c2de8c Removed hack 1998-04-27 15:39:58 +00:00
kipp
7c51e017b9 Cleaned up the API 1998-04-25 18:32:59 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00