87 Commits

Author SHA1 Message Date
peterl%netscape.com
f7f8d0f24e added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)


git-svn-id: svn://10.0.0.236/trunk@34574 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:33:47 +00:00
nisheeth%netscape.com
4cc391ff22 Fix for bug 4924. Attributes created with no namespace prefix are now assigned no namespace. They were erroneously being assigned the default namespace earlier.
git-svn-id: svn://10.0.0.236/trunk@33685 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:16:18 +00:00
peterl%netscape.com
a2fae0d329 tweaks to css loader handling
git-svn-id: svn://10.0.0.236/trunk@32819 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:59:00 +00:00
peterl%netscape.com
5595317476 use css loader to load css sheets
better css handling


git-svn-id: svn://10.0.0.236/trunk@32818 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:58:06 +00:00
peterl%netscape.com
b03385d1b8 fixed ref counting of global atoms
git-svn-id: svn://10.0.0.236/trunk@32816 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:56:57 +00:00
peterl%netscape.com
d564d38b2f added css loader support
git-svn-id: svn://10.0.0.236/trunk@32156 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:16:26 +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
vidur%netscape.com
5ed31d3cbe Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.
git-svn-id: svn://10.0.0.236/trunk@31128 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:22:35 +00:00
nisheeth%netscape.com
e1fd8e4585 Pass a pointer to the document object when you call the Parse method on the parser object.f
git-svn-id: svn://10.0.0.236/trunk@30492 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:51:31 +00:00
ftang%netscape.com
35a53c85d8 set the document character set to UTF-8 for XSL document
git-svn-id: svn://10.0.0.236/trunk@29581 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 23:42:22 +00:00
ftang%netscape.com
b9f82cb3e5 call SetDocumentCharset method to pass default charset to the parser
git-svn-id: svn://10.0.0.236/trunk@29181 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:58:50 +00:00
nisheeth%netscape.com
29063e4928 Fix off by one error for arrow that points out XML error locations.
git-svn-id: svn://10.0.0.236/trunk@29054 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 10:23:39 +00:00
rickg%netscape.com
2c182956dd update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28669 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:49:39 +00:00
rickg%netscape.com
d45e54521e updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28582 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:54:24 +00:00
joki%netscape.com
6c59f19391 New api's into nsEventStateManager for content state change (hover,focus,active)
git-svn-id: svn://10.0.0.236/trunk@27211 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:24:07 +00:00
waterson%netscape.com
abd2c033c9 Added GetIID() so that this can be used with nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@27159 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:10:08 +00:00
vidur%netscape.com
fe0a023b26 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods.
git-svn-id: svn://10.0.0.236/trunk@25744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:49:25 +00:00
joki%netscape.com
58d63da788 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
git-svn-id: svn://10.0.0.236/trunk@25418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:22:54 +00:00
briano%netscape.com
3de804931a Handle NO_STATIC_LIB being set, when all this file does is create a static library.
git-svn-id: svn://10.0.0.236/trunk@25125 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 21:21:47 +00:00
vidur%netscape.com
edfbccc3cb Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash.
git-svn-id: svn://10.0.0.236/trunk@24531 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:51:00 +00:00
nisheeth%netscape.com
1f80f4903a - 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.
git-svn-id: svn://10.0.0.236/trunk@23665 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:29:36 +00:00
vidur%netscape.com
2cf6b40bda 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
git-svn-id: svn://10.0.0.236/trunk@23441 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:17:49 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
nisheeth%netscape.com
a9b7621b74 - Quoted all attributes.
- Fixed casing on the end BookSet tag.  (The expat parser enforces case-sensitivity in XML)


git-svn-id: svn://10.0.0.236/trunk@23295 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 07:44:47 +00:00
vidur%netscape.com
feb7c9a586 Table of contents example
git-svn-id: svn://10.0.0.236/trunk@23229 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:36:54 +00:00
nisheeth%netscape.com
0127c619d0 Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser.
git-svn-id: svn://10.0.0.236/trunk@23031 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 02:01:11 +00:00
nisheeth%netscape.com
614b3fd83c 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.
git-svn-id: svn://10.0.0.236/trunk@22675 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:57:03 +00:00
vidur%netscape.com
2041f859c6 Fixes to get CDATASections working again. Also changes to fix XML links.
git-svn-id: svn://10.0.0.236/trunk@22623 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:22:05 +00:00
nisheeth%netscape.com
a2d8875807 We no longer call RegisterDTD() on nsParser when initiating parsing of XML
documents.


git-svn-id: svn://10.0.0.236/trunk@22511 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:58:25 +00:00
nisheeth%netscape.com
fde3db03f4 - Add expat to the windows build only...
- Changed nsXMLDocument such that expat gets used for XML parsing if
  EXPAT is #define'd


git-svn-id: svn://10.0.0.236/trunk@22344 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:02:15 +00:00
kipp%netscape.com
b68d985292 Support entities (bug #3112)
git-svn-id: svn://10.0.0.236/trunk@22143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:13:51 +00:00
vidur%netscape.com
92b4ff5fae XML books test case (not part of the build so don't shoot me).
git-svn-id: svn://10.0.0.236/trunk@21824 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:26:53 +00:00
vidur%netscape.com
c1da744044 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).
git-svn-id: svn://10.0.0.236/trunk@21624 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:18:12 +00:00
warren%netscape.com
cb10d9f3a0 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
git-svn-id: svn://10.0.0.236/trunk@21585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:10:24 +00:00
scc%netscape.com
726c966a08 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|
git-svn-id: svn://10.0.0.236/trunk@21237 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:55:10 +00:00
cyeh%netscape.com
7d89e840e2 Remove mozilla/layout/config and use mozilla/config instead.
git-svn-id: svn://10.0.0.236/trunk@21159 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:16:21 +00:00
vidur%netscape.com
78c8a0019e Backed out bogus update to test
git-svn-id: svn://10.0.0.236/trunk@21057 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:19:12 +00:00
vidur%netscape.com
1defb4fd38 Supported XML namespace decls as attributes of HTML content embedded in XML
git-svn-id: svn://10.0.0.236/trunk@21056 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:18:50 +00:00
rickg%netscape.com
d444ccf989 fixed a wad of little bugs and added regression test
git-svn-id: svn://10.0.0.236/trunk@20772 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 07:38:27 +00:00
troy%netscape.com
176116b148 Fixed some errors related to switch to using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:26 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
peterl%netscape.com
9edc411146 fixed atom ref counting bug
git-svn-id: svn://10.0.0.236/trunk@20547 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 08:16:00 +00:00
peterl%netscape.com
38427deaa9 changed all html atoms to lower case
git-svn-id: svn://10.0.0.236/trunk@20542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:19:07 +00:00
peterl%netscape.com
f7bd2c0d45 fixed bug handling multiple namespace declarations in one tag
git-svn-id: svn://10.0.0.236/trunk@19280 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:24:56 +00:00
joki%netscape.com
5d1ef109ba Removing nsILinkHandler enum types from dependencies, fixing event handler bugs
git-svn-id: svn://10.0.0.236/trunk@18961 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:14:36 +00:00
peterl%netscape.com
4671b6225b cleaned up style sheet ordering
git-svn-id: svn://10.0.0.236/trunk@18433 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:09:06 +00:00
vidur%netscape.com
7908dffae7 Fix to get default namespaces to work. Cleanup of DOM handling of character data.
git-svn-id: svn://10.0.0.236/trunk@18189 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:33:03 +00:00
danm%netscape.com
efa4d4f460 load XUL atoms on XML document creation
git-svn-id: svn://10.0.0.236/trunk@18129 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 03:35:24 +00:00
vidur%netscape.com
2904958913 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@18046 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 00:50:07 +00:00
vidur%netscape.com
fdfa2b0b22 Completion of document as node - specifically, the childNodes array. Completion of nodeName, nodeValue and attributes properties for different types of nodes.
git-svn-id: svn://10.0.0.236/trunk@18031 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:07:33 +00:00