Commit Graph

907 Commits

Author SHA1 Message Date
ftang@netscape.com
ad3e3e800d set the document character set to UTF-8 for XSL document 1999-04-27 23:42:22 +00:00
ftang@netscape.com
34d94a4fb4 call SetDocumentCharset method to pass default charset to the parser 1999-04-26 17:58:50 +00:00
nisheeth@netscape.com
08a0c4fdb3 Fix off by one error for arrow that points out XML error locations. 1999-04-24 10:23:39 +00:00
rickg@netscape.com
01cadfda87 update to sync with nsString2 1999-04-22 05:49:39 +00:00
vidur@netscape.com
5783ab9995 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
briano@netscape.com
a007ba71da Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:21:47 +00:00
vidur@netscape.com
b974d61254 Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash. 1999-03-20 01:51:00 +00:00
nisheeth@netscape.com
5e07d4ca56 - Beautified error reporting of expat errors. We now don't just dump the error text out as nodes. We create the parsererror and sourcetext HTML nodes that can be styled via ua.css. 1999-03-11 05:29:36 +00:00
vidur@netscape.com
4d1f72abb7 Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem 1999-03-10 01:17:49 +00:00
warren@netscape.com
35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
nisheeth@netscape.com
6b3332eb45 Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser. 1999-03-06 02:01:11 +00:00
nisheeth@netscape.com
173b9a2140 We've decided to do away with the notion of an nsExpatDTD. The expat tokenizer which encapsulates the expat parser will be driven by nsWellFormedDTD. So, I'm removing the code that constructed an expat DTD for controlling the parsing of an XML document. 1999-03-03 01:57:03 +00:00
vidur@netscape.com
7fc016dbe1 Fixes to get CDATASections working again. Also changes to fix XML links. 1999-03-02 23:22:05 +00:00
nisheeth@netscape.com
118f532b47 We no longer call RegisterDTD() on nsParser when initiating parsing of XML
documents.
1999-03-02 02:58:25 +00:00
nisheeth@netscape.com
64a2fee91c - Add expat to the windows build only...
- Changed nsXMLDocument such that expat gets used for XML parsing if
  EXPAT is #define'd
1999-02-27 08:02:15 +00:00
kipp@netscape.com
4f6a412023 Support entities (bug #3112) 1999-02-26 17:13:51 +00:00
warren@netscape.com
3fdebc0a44 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
scc@netscape.com
8336e83f37 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +00:00
cyeh@netscape.com
e32148d3ac Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +00:00
vidur@netscape.com
e0b976d1f6 Supported XML namespace decls as attributes of HTML content embedded in XML 1999-02-18 00:18:50 +00:00
rickg@netscape.com
48ddf9037a fixed a wad of little bugs and added regression test 1999-02-16 07:38:27 +00:00
troy@netscape.com
602de2f255 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp@netscape.com
74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl@netscape.com
3f01d94bb1 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
peterl@netscape.com
18b51ce803 fixed bug handling multiple namespace declarations in one tag 1999-02-02 03:24:56 +00:00
peterl@netscape.com
514ba48e36 cleaned up style sheet ordering 1999-01-23 07:09:06 +00:00
vidur@netscape.com
7547b0ae3a Fix to get default namespaces to work. Cleanup of DOM handling of character data. 1999-01-21 19:33:03 +00:00
danm@netscape.com
dc71cdb5a3 load XUL atoms on XML document creation 1999-01-21 03:35:24 +00:00
vidur@netscape.com
9f1709fb7c Fixing build bustage 1999-01-20 00:50:07 +00:00
vidur@netscape.com
5bbf3c7b8c Completion of document as node - specifically, the childNodes array. Completion of nodeName, nodeValue and attributes properties for different types of nodes. 1999-01-19 23:07:33 +00:00
vidur@netscape.com
0dfa4cce69 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
59b2be2dbd 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
rickg@netscape.com
c757a5ee37 sync up with mods to the parser 1999-01-09 01:11:37 +00:00
vidur@netscape.com
744cb17191 Work in progres to get out-of-line document.write working. Created Reset() method in nsDocument. Fix for bug 1668. 1999-01-06 00:32:41 +00:00
nisheeth@netscape.com
985d86cf63 Adding code protected by an ifdef for making the XML content sink initiate
the load of an XSL stylesheet when it sees a stylesheet PI with an XSL
content type.
1998-12-27 08:24:04 +00:00
peterl@netscape.com
2d106595e0 fix spelling
fix namespace of HTML element's attributes
1998-12-21 05:59:40 +00:00
peterl@netscape.com
97d11c8a40 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp@netscape.com
7b0e75e786 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
vidur@netscape.com
7366b26753 Added asynchronous script and style loading to XML. Moved out stream loader to netlib. 1998-12-18 01:36:41 +00:00
warren@netscape.com
4aaec0bad1 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
shaver@netscape.com
781c73ed48 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
vidur@netscape.com
69c4003870 Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript. 1998-12-15 06:10:59 +00:00
vidur@netscape.com
1257b18f81 Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser. 1998-12-11 17:02:37 +00:00
peterl@netscape.com
40a555735e moved name space management to name space manager, tweaked apis 1998-12-11 02:53:49 +00:00
ramiro@netscape.com
813bda55a4 Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
peterl@netscape.com
acbbecb065 added inline style sheet support for contained HTML 1998-12-02 00:39:10 +00:00
waterson@netscape.com
4c84afc35b First Checked In. 1998-12-02 00:20:07 +00:00
rickg@netscape.com
f1f57daf4d improvements to recursive parser calls 1998-11-26 02:56:40 +00:00
peterl@netscape.com
b3f287d4fe style change notification support 1998-11-26 01:34:53 +00:00
vidur@netscape.com
68b699e3da First pass to allow HTML forms to be embedded inside XML documents. 1998-11-16 06:16:17 +00:00