93 Commits

Author SHA1 Message Date
ftang%netscape.com
58444d6efe remove meta charset hack. Add access function to nsParser to get the current charset and source. Add additional information to the nsIElementObserver
git-svn-id: svn://10.0.0.236/trunk@32002 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:30:21 +00:00
rickg%netscape.com
8cc14193f7 final features for parsing engine (WIP); lots of bug fixes
git-svn-id: svn://10.0.0.236/trunk@31835 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 05:27:23 +00:00
sspitzer%netscape.com
521872a270 create a virtual destructor
git-svn-id: svn://10.0.0.236/trunk@31375 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:14:11 +00:00
vidur%netscape.com
19da06fec2 Added const-ness to IsValidFragment string.
git-svn-id: svn://10.0.0.236/trunk@31126 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:21:13 +00:00
harishd%netscape.com
9e5a91a649 Setting document key to the parsercontext.
git-svn-id: svn://10.0.0.236/trunk@30668 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:13:33 +00:00
nisheeth%netscape.com
8bb7193651 Added a key as a parameter to all the different versions of the Parse method in nsIParser.
git-svn-id: svn://10.0.0.236/trunk@30489 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:48:56 +00:00
rickg%netscape.com
01d2a451f2 more WIP for DOM/paste API's
git-svn-id: svn://10.0.0.236/trunk@30308 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:55:54 +00:00
rickg%netscape.com
37807ad3de small mods to parser API's for DOM/paste
git-svn-id: svn://10.0.0.236/trunk@30273 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:20:28 +00:00
rickg%netscape.com
d9084b8e80 added DOM interfaces for paste
git-svn-id: svn://10.0.0.236/trunk@30074 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:22:31 +00:00
ftang%netscape.com
f9b3f0d574 add SetDocumentCharset method to nsIParser, move nsCharsetSource from nsScanner.h to nsIParser.h
git-svn-id: svn://10.0.0.236/trunk@29179 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:49:45 +00:00
vidur%netscape.com
46244a0054 Fixes for bugs 4783 and 2243. Content can now be added via the DOM during document loading. document.written content can also cause the parser to block.
git-svn-id: svn://10.0.0.236/trunk@27402 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:22:51 +00:00
scc%netscape.com
1506788f7e generalize fstreams to our own input streams, this is the first part of a change to allow XUL from streams
git-svn-id: svn://10.0.0.236/trunk@26522 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:39:11 +00:00
ftang%netscape.com
edca68ea3d temp fix bug 4463 untill the nsParser SetDefaultCharset defined
git-svn-id: svn://10.0.0.236/trunk@26492 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:50:22 +00:00
rickg%netscape.com
716929551b major rev to parsing engine
git-svn-id: svn://10.0.0.236/trunk@26286 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:55:49 +00:00
rickg%netscape.com
2a7f41a86b fixed a dozen bugs
git-svn-id: svn://10.0.0.236/trunk@24432 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 08:47:51 +00:00
rickg%netscape.com
6aa4a20063 removed warnings and partially fixed M3
git-svn-id: svn://10.0.0.236/trunk@24204 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 07:06:48 +00:00
ftang%netscape.com
a7e0437a49 add meta tag reload hack. reviewed by rickg
git-svn-id: svn://10.0.0.236/trunk@23945 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 14:31:20 +00:00
ftang%netscape.com
768862e631 reviewed by rickg. Pick up meta tag and change converter
git-svn-id: svn://10.0.0.236/trunk@23190 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 20:00:23 +00:00
mcmullen%netscape.com
5b8c2045d8 Removed the offset parameter from the base stream interfaces. Implemented string streams.
git-svn-id: svn://10.0.0.236/trunk@22964 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:53:56 +00:00
brade%netscape.com
65a77a958a add static to two functions and a compare to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22732 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 15:36:42 +00:00
nisheeth%netscape.com
8ce7dc3e65 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, nsExpatTokenizer has changed accordingly. nsWellFormedDTD() creates an nsExpatTokenizer if EXPAT is #define'd; otherwise it creates the old nsXMLTokenizer. nsParser no longer registers and createsthe nsExpatDTD.
git-svn-id: svn://10.0.0.236/trunk@22679 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 02:34:18 +00:00
nisheeth%netscape.com
b045982ba5 nsParser.cpp would not compile if the EXPAT compiler define was set because I had
not included nsExpatDTD.h.  Now, nsExpatDTD.h gets included if EXPAT is set.


git-svn-id: svn://10.0.0.236/trunk@22513 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:03:52 +00:00
nisheeth%netscape.com
98631882f9 - Add expat to the windows build only...
- Changed nsParser such that nsExpatDTD gets added to the doubly ended queue
  of DTDs instead of nsWellFormedDTD if EXPAT is #define'd.


git-svn-id: svn://10.0.0.236/trunk@22346 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:04:46 +00:00
rickg%netscape.com
5012f4e582 small bug fixes and removal of global statics
git-svn-id: svn://10.0.0.236/trunk@22072 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:33:54 +00:00
rickg%netscape.com
7d4f2c2c76 new primaryDetect code in DTD detection system; fixes XIF
git-svn-id: svn://10.0.0.236/trunk@21236 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:45:44 +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
pierre%netscape.com
091d8a00a7 Fix a crash when interrupting a page load
git-svn-id: svn://10.0.0.236/trunk@20238 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:12:48 +00:00
kipp%netscape.com
7a9d406987 Added a hack until rick lets us set the DTD we want to use when parsing
git-svn-id: svn://10.0.0.236/trunk@19700 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:31:02 +00:00
vidur%netscape.com
acd10c909d Added additional key argument to string parsing routine
git-svn-id: svn://10.0.0.236/trunk@19538 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:38:39 +00:00
rickg%netscape.com
4b6b00ac86 mondo improvements to DTD
git-svn-id: svn://10.0.0.236/trunk@19137 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 04:24:37 +00:00
rickg%netscape.com
20a3af2667 fixed a wad of parser bugs
git-svn-id: svn://10.0.0.236/trunk@18556 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:24:31 +00:00
kostello%netscape.com
aacb407d9b Commented out assert until Rick and I can figure
appropriate fix.


git-svn-id: svn://10.0.0.236/trunk@18200 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 21:48:40 +00:00
rickg%netscape.com
6b9ae6865a tiny debugging improvements
git-svn-id: svn://10.0.0.236/trunk@18069 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 08:51:34 +00:00
rickg%netscape.com
add2c72fa0 fixed nearly 20 parser bugs
git-svn-id: svn://10.0.0.236/trunk@18067 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 07:29:33 +00:00
rickg%netscape.com
1de8de8681 fixed viewsource and parser/netlib bug
git-svn-id: svn://10.0.0.236/trunk@17913 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 04:25:40 +00:00
rickg%netscape.com
2884211b1d fixed a dozen new parser bugs
git-svn-id: svn://10.0.0.236/trunk@17861 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 19:29:35 +00:00
rickg%netscape.com
e6c9ca3a33 removed problematic assertion
git-svn-id: svn://10.0.0.236/trunk@17574 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 08:46:02 +00:00
rickg%netscape.com
86ed346089 fixed bug 2274
git-svn-id: svn://10.0.0.236/trunk@17557 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 06:04:05 +00:00
rickg%netscape.com
eac2a23d6b incremental fix for DON to get Linux off the floor
git-svn-id: svn://10.0.0.236/trunk@17537 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 01:14:12 +00:00
rickg%netscape.com
cb2742db98 fixed a few parser problems having to do with dynamic enabling
git-svn-id: svn://10.0.0.236/trunk@17525 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 00:19:17 +00:00
rickg%netscape.com
ed9e1fe3f0 fixed part of style/script bug in new pasring engine
git-svn-id: svn://10.0.0.236/trunk@17503 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:45:28 +00:00
rickg%netscape.com
02460caff3 fixed bug 2284, and brought demo7 back online
git-svn-id: svn://10.0.0.236/trunk@17494 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:00:07 +00:00
rickg%netscape.com
0e0363a6bd fixed bugs 625 and 1521
git-svn-id: svn://10.0.0.236/trunk@17489 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 07:14:42 +00:00
rickg%netscape.com
c1bb351fdc re-enabled viewsource
git-svn-id: svn://10.0.0.236/trunk@17463 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 05:39:13 +00:00
rickg%netscape.com
c8fc6237d4 A wad of changes to the parser. See my update
git-svn-id: svn://10.0.0.236/trunk@17433 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:09:02 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
vidur%netscape.com
290921df31 Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript.
git-svn-id: svn://10.0.0.236/trunk@16421 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 06:10:59 +00:00
vidur%netscape.com
b0dbe3d498 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.
git-svn-id: svn://10.0.0.236/trunk@16261 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 17:02:37 +00:00
rickg%netscape.com
78d79cf0d2 improvements to recursively parser calls
git-svn-id: svn://10.0.0.236/trunk@15345 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 02:55:59 +00:00
rickg%netscape.com
dc71142bfc change Parse(nsString&...) so that an empy string doesn't start process
git-svn-id: svn://10.0.0.236/trunk@15285 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:41:17 +00:00