57 Commits

Author SHA1 Message Date
rickg%netscape.com
1f82bdb300 fixed bug 6597 and added memory allocation conditioning
git-svn-id: svn://10.0.0.236/trunk@32284 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:01:46 +00:00
waterson%netscape.com
8434a7ac0f Remove fstream.h to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@32249 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:45:50 +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
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
jdunn%netscape.com
e002887b9e remove "#pragma" that is there for no reason
git-svn-id: svn://10.0.0.236/trunk@31095 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:48:12 +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
e593e4d54e add new constant for charset source
git-svn-id: svn://10.0.0.236/trunk@29579 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 23:32:50 +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
rickg%netscape.com
df6418fdb2 removed dup identifier
git-svn-id: svn://10.0.0.236/trunk@29091 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 01:35: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
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
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
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
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
rickg%netscape.com
6f3675f1ff fixed nearly 20 parser bugs
git-svn-id: svn://10.0.0.236/trunk@18065 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 06:56:07 +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
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
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
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
11309dbf4e allow view-source on XML
git-svn-id: svn://10.0.0.236/trunk@14583 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 04:36:46 +00:00
rickg%netscape.com
e507069774 first pass support for view-source
git-svn-id: svn://10.0.0.236/trunk@14424 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 11:55:32 +00:00
rickg%netscape.com
f404081f95 allow button anywhere in content, other small improvements
git-svn-id: svn://10.0.0.236/trunk@13549 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 05:13:16 +00:00
rickg%netscape.com
061a6cb718 added new EnableParser() routine for kipp; WIP
git-svn-id: svn://10.0.0.236/trunk@9103 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 07:12:49 +00:00
rickg%netscape.com
2167e0743c many parser bugs; better backward propagation
git-svn-id: svn://10.0.0.236/trunk@7818 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 08:53:55 +00:00
spider%netscape.com
443dbc8a98 XPCOM'ing the parser. Use repository to get a parser now.
git-svn-id: svn://10.0.0.236/trunk@6893 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:42:27 +00:00
rickg%netscape.com
2016c7c883 fixed attribute bug and factored DTDDebug interfaces
git-svn-id: svn://10.0.0.236/trunk@6813 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:43:20 +00:00
rickg%netscape.com
55ada9fcc7 bug fixes; more docs; lots of new testing
git-svn-id: svn://10.0.0.236/trunk@6315 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:10:19 +00:00
rickg%netscape.com
1988983aeb table bug fixes, heading fixes, performance, docs
git-svn-id: svn://10.0.0.236/trunk@6238 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 08:21:02 +00:00
dcone%netscape.com
3eab84b56a fixed so the fstream include is added.
git-svn-id: svn://10.0.0.236/trunk@5979 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:47:07 +00:00
rickg
434bedca96 added WIP support for reentrancy in the parser
git-svn-id: svn://10.0.0.236/trunk@5413 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:13:09 +00:00
rickg
837fc0806e dynamic DTD support
git-svn-id: svn://10.0.0.236/trunk@5278 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 05:35:23 +00:00
rickg
5ec2e184eb major improvements to parser API's; fixed a few bugs
git-svn-id: svn://10.0.0.236/trunk@4894 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 08:14:22 +00:00
rpotts
e608595a3f Changed nsIStreamListener to nsIStreamObserver. Added BeginParse(...) method for the DocumentLoader...
git-svn-id: svn://10.0.0.236/trunk@4788 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:11:05 +00:00
jevering
df9a6e8401 Removed parser's knowledge of the Parser Debugger.
The Parser debugger has been moved out and renamed to DTDDebugger since this actually what it is doing.
I cant totally remove the DTDDebugger parameter passed to the parser under the DTD creation is somehow moved from the parser.


git-svn-id: svn://10.0.0.236/trunk@4456 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 01:42:50 +00:00
rickg
f755281cca more API cleanup; home.netscape.com working again
git-svn-id: svn://10.0.0.236/trunk@4251 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 00:53:50 +00:00
rickg
3564703faa more bug fixes; changed nsHTMLParser to nsParser.
git-svn-id: svn://10.0.0.236/trunk@4110 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 01:00:27 +00:00
jevering
ccd797086b Major whacking of the debug robot code.
The Debug robot has now been moved into it's own class (xp_com object)
and is fairly well separated from the rest of the parser.
An argument to pass the ParserDebug object into the parsing process
has been added to the Parse member.  This should clean up Unix a bit
as well as provide the ability to multiple simultaneous robots.
This also cleaned up the global variable hackage.


git-svn-id: svn://10.0.0.236/trunk@4092 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:57:25 +00:00
rickg
c430c0421c huge refactoring effort; transient style support; tables fixes, and more
git-svn-id: svn://10.0.0.236/trunk@4025 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 23:13:28 +00:00
kipp
61a25c7c1d Changed Parse to take an nsIStreamListener to pass notifications too; changed parser to pass them on
git-svn-id: svn://10.0.0.236/trunk@2823 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:51:52 +00:00
rickg
f2f5d28308 incremental parsing; xml support; token handler dispatching; performance
git-svn-id: svn://10.0.0.236/trunk@2126 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 20:38:32 +00:00
rickg
4e262a1fe0 WIP for push based tokenization
git-svn-id: svn://10.0.0.236/trunk@1683 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 22:19:08 +00:00
rickg
cb2d8b8eb8 MUCH better support for auto-closing tags.
git-svn-id: svn://10.0.0.236/trunk@1363 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 00:42:33 +00:00