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

230 Коммитов

Автор SHA1 Сообщение Дата
mcafee%netscape.com 451c4afcee Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
warren%netscape.com 7bcb94a320 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
akkana%netscape.com fac197e8ec Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication 1999-07-19 22:41:49 +00:00
warren%netscape.com c5684bf4d7 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
akkana%netscape.com 6d07c8eeb4 Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00
peterl%netscape.com 8184256766 cleanup 1999-07-07 01:19:31 +00:00
peterl%netscape.com f21a88c90a changed attribute impact api 1999-07-07 01:18:59 +00:00
waterson%netscape.com 602b1c37bf Add GetIID(). 1999-06-30 19:28:16 +00:00
akkana%netscape.com 830cc10614 - 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 d049be3c31 Added |GetIID()| 1999-06-29 20:28:56 +00:00
warren%netscape.com 163cf1930c Fixed necko ifdef. 1999-06-29 00:25:46 +00:00
warren%netscape.com f6b9d3a028 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
warren%netscape.com 2f5289766d Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com 6fc20cbcd6 More necko changes. 1999-06-25 01:53:22 +00:00
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
akkana%netscape.com e1b3dd32f4 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 77c5e95f16 added UseForMedium (for faster medium testing) 1999-06-15 06:14:31 +00:00
peterl%netscape.com e11c6c3a5c added new create child namespace 1999-06-15 06:14:09 +00:00
peterl%netscape.com 5af713b6eb removed equals and hashvalue methods 1999-06-10 05:17:27 +00:00
kostello%netscape.com af8311bbc4 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 411b9335fd Add Init method to pass in the document and mime type 1999-06-08 00:01:55 +00:00
akkana%netscape.com b6db890d57 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 7eb99ffcd0 Checking in the non-dangerous parts of the XIF document/html encoder 1999-06-04 01:04:08 +00:00
peterl%netscape.com 7a42466c4f changed style rule API to use array 1999-05-26 23:44:32 +00:00
peterl%netscape.com 7f1229b1e3 added insert style sheet method 1999-05-18 23:02:25 +00:00
vidur%netscape.com b4df3c05f2 Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface. 1999-05-11 20:22:35 +00:00
kipp%netscape.com bac6d20dba Moved from webshell directory 1999-05-06 19:25:10 +00:00
pinkerton%netscape.com 7b8852653a added GetIID() method. 1999-04-30 08:59:11 +00:00
ftang%netscape.com 1301749405 change S/GetDocumentCharacterSet method for nsIDocument interface. 1999-04-27 21:49:25 +00:00
scc%netscape.com c1ef45e70e Added required GetIID methods 1999-04-23 16:48:32 +00:00
peterl%netscape.com 54b128c5f6 widened content state change api
added test for state dependent style
1999-04-20 00:02:22 +00:00
peterl%netscape.com b352defc23 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
waterson%netscape.com 8736393378 Added GetIID() method so this can be used with nsCOMPtr. 1999-04-12 18:08:43 +00:00
vidur%netscape.com f6f2f989a9 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 f656ef3fb2 Added a new method 1999-03-27 01:20:02 +00:00
ftang%netscape.com 1a935f9498 add Set/GetWordBreaker to nsIDocument. Reviewed and approved by kipp 1999-03-27 00:58:41 +00:00
jfrancis%netscape.com 340553bc93 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 60c2b1e433 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 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
peterl%netscape.com 6cc2958942 added content state changed 1999-02-27 07:15:09 +00:00
hyatt%netscape.com 76b33e035d 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 6cf6986695 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 fbebe3feca add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson 1999-02-23 03:31:26 +00:00
jfrancis%netscape.com 10ea728eb2 fixing iid collision with simon 1999-02-12 04:39:21 +00:00
jfrancis%netscape.com d5d4efaef9 First Checked In. 1999-02-12 04:28:29 +00:00
akkana%netscape.com bf0baf8027 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
mjudge%netscape.com bca382f43e 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 a130dcf90d 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 8ca2c39a5b change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
peterl%netscape.com ee50e2c8ff added header data accesors 1999-01-23 07:00:10 +00:00
kostello%netscape.com 683f5f2ea1 Updated XIF code to match the new selection work. 1999-01-21 21:45:17 +00:00
vidur%netscape.com 73b2ab6abe 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 06d2d8efb3 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
peterl%netscape.com baec5f2b55 added GetBaseURL
Checkin during red tree approved by sar
1999-01-15 01:53:50 +00:00
vidur%netscape.com d6d3d60d57 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 3348aaedd0 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 ffc1451884 Added missing forward decl of nsIAtom 1999-01-09 00:11:10 +00:00
kipp%netscape.com 545a278435 Consolidated character set macros into this file 1999-01-05 23:01:32 +00:00
jfrancis%netscape.com bad257e0cd more dom range gravity work 1998-12-30 08:28:16 +00:00
peterl%netscape.com 22e1f5d16e added support for the 'xmlns' pseudo namespace 1998-12-21 05:56:51 +00:00
peterl%netscape.com 40a4d86e38 made get strength const 1998-12-20 01:08:31 +00:00
peterl%netscape.com 439d2af3fd changed attribute api to take atoms & namespace 1998-12-20 01:08:13 +00:00
scc%netscape.com 2513a5445e 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 3e69dc07c3 Adding support for notifying content that it harbors a DOMRange. 1998-12-17 07:22:28 +00:00
sfraser%netscape.com 73c06bfa93 Add ; after class definition 1998-12-17 01:42:02 +00:00
peterl%netscape.com 634d4fd857 added namespace interfaces 1998-12-11 02:30:59 +00:00
peterl%netscape.com 0076d4da58 added namespace manager accessor 1998-12-11 02:30:23 +00:00
peterl%netscape.com 939c33821d added namespace accessor 1998-12-11 02:30:08 +00:00
mjudge%netscape.com f4b7dee737 changes to selection 1998-12-08 18:25:47 +00:00
mjudge%netscape.com 26d932ee59 new collection export instead of nsISelection 1998-12-03 21:42:58 +00:00
peterl%netscape.com 009f5dbd89 changed medium type to atom 1998-12-02 00:29:16 +00:00
peterl%netscape.com 1bfec862ce added change notification support 1998-11-26 01:24:52 +00:00
peterl%netscape.com daab147c00 added style sheet properties 1998-11-26 01:24:32 +00:00
vidur%netscape.com 4ca363e17b 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 c068c96a00 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 bac5cf794d first pass support for view-source 1998-11-11 11:55:32 +00:00
peterl%netscape.com 8069fc8bda decoupled style resolution api from frame system 1998-11-03 20:16:23 +00:00
vidur%netscape.com 369695631d 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 430c39bd18 Revised API to use TextFragment's 1998-10-20 00:19:17 +00:00
kipp%netscape.com 49fb374228 new 1998-10-20 00:17:17 +00:00
rpotts%netscape.com c70c256c86 Added GetDocumentURLGroup() methodnsIDocument.h 1998-10-01 21:43:02 +00:00
peterl%netscape.com bd59f80ad2 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 f03937e013 changed frame remove methods 1998-09-24 21:39:29 +00:00
kipp%netscape.com e010dc08d5 XPCOM'ized the notification methods; changed frame remove methods; added AttributeChanged 1998-09-24 21:39:16 +00:00
troy%netscape.com 8390e920bf Added AttributeChanged() member function for communicating attribute value
changes to the frame
1998-09-18 19:53:27 +00:00
troy%netscape.com b6c1cfd2b8 Removed content delegates 1998-09-18 17:18:37 +00:00
peterl%netscape.com 20471b12bb added strength 1998-09-11 02:05:07 +00:00
troy%netscape.com f370908aef Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
rods%netscape.com 56048c21b0 XPCOM'ed the Selection and Search methods 1998-09-09 16:11:59 +00:00
kipp%netscape.com eb23d4b11d Use allocated IID; update interface to be XPCOM'd and updated the methods 1998-09-06 00:15:10 +00:00
peterl%netscape.com 8855841e3b removed content from style map api 1998-09-05 03:51:56 +00:00
peterl%netscape.com fbb4d46d83 comments on sheet/rule ordering 1998-09-02 02:00:24 +00:00
peterl%netscape.com 9017183418 COMified 1998-09-02 02:00:05 +00:00
kipp%netscape.com ed22b370c4 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
rods%netscape.com 52a10ac574 Added FindNext method 1998-08-28 15:59:24 +00:00
peterl%netscape.com d50246718e commented on sheet/rule ordering 1998-08-27 00:46:34 +00:00
joki%netscape.com da96d34a84 Modifying nsIContent's AppendChild -> AppendChildTo to stop conflict with
DOM interfaces.
1998-08-21 21:38:26 +00:00
kostello%netscape.com 7cbac30355 Changed XIF interface 1998-07-27 18:04:04 +00:00
kostello%netscape.com 2ee98353bd 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 b1b03c8193 Added NS_NewImageDocument 1998-07-27 17:51:42 +00:00
vidur%netscape.com b5579ac6cf 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 921c374705 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00
vidur%netscape.com b60713860e 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 8a1173560d Removed SetTitle 1998-07-19 01:14:21 +00:00
kipp%netscape.com 6eef05bf6b Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
kostello%netscape.com a930953dfa 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 5465bbd7a8 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 97e90b0639 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 ef2bd5eb2a 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 1afdd4f963 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 ebd644e8a3 Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
michaelp e183f05efb 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 ea5cd1554d named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
joki ad7c15864e Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
joki 7aad810a2f Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +00:00
kipp 71d12dae58 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
kipp 58cd7dcd58 COMized API; added Begin/End reflow and Begin/End Load methods 1998-06-03 15:40:56 +00:00
kipp 275f86179b Added begin/end load methods 1998-06-03 15:39:45 +00:00
kipp 873e9140cf 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 3e64fcee88 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +00:00
kipp 9c82072a3a 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 a73bfbfe46 post submission, file content submission 1998-05-27 17:51:41 +00:00
thom 394804e4df Mac checkin 1998-05-18 22:47:24 +00:00
peterl d91757b5c8 added pseudo frame style support 1998-05-18 21:03:10 +00:00
rods 1205850979 added Selection methods to nsICodment, nsDocument, nsiSplittableFRame 1998-05-08 15:07:41 +00:00
troy f27831e884 Started adding ContentChanged() notifications 1998-05-06 16:28:55 +00:00
rods 8e56c8456a 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 063c7a9abd Removed hack 1998-04-27 15:39:58 +00:00
kipp edb906c274 Cleaned up the API 1998-04-25 18:32:59 +00:00
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00