Commit Graph

94 Commits

Author SHA1 Message Date
jevering
7ce72412ad 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.
1998-06-25 01:42:50 +00:00
michaelp
4482083229 fixed build. 1998-06-23 05:26:58 +00:00
rickg
593801f056 fixed API mismatch 1998-06-23 01:35:25 +00:00
rickg
4b202376f1 added support for doc quality 1998-06-23 01:34:25 +00:00
rickg
7e2f0cc044 more API cleanup; home.netscape.com working again 1998-06-23 00:53:50 +00:00
rickg
92d9a4613f added support for empty (XML) tags 1998-06-20 00:12:10 +00:00
rickg
ad0536d14d fixed another containment bug; DTD's are very cool 1998-06-19 01:15:19 +00:00
rickg
60ebe042b1 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
atotic
0a217fc050 Removed prstrm includes 1998-06-19 00:15:19 +00:00
jevering
8626f64fbf Forgot to check in the robot changes for new object. 1998-06-18 23:26:55 +00:00
jevering
3bfaaa037a 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.
1998-06-18 22:57:25 +00:00
scullin
784155d983 Fix rickg's linux build bustage. 1998-06-18 01:04:46 +00:00
kipp
f9cf05a882 Disabled saving the source file cuz it crashes on windows 1998-06-18 00:02:36 +00:00
rickg
9150405dab huge refactoring effort; transient style support; tables fixes, and more 1998-06-17 23:13:28 +00:00
atotic
2b30eaf7bd First Checked In. 1998-06-16 21:39:13 +00:00
jevering
534a4603e7 Hooked up the <BLINK> tag in the parser. 1998-06-16 01:15:56 +00:00
jevering
c5c3a21258 Fixed many a parser memory leaks.
Attribute tokens where being leaked.  Fixed by making CToken destructor virtual.
The DTDs were not being properly deleted.  Added a member to nsITokenizerDelegate to Destroy()
Fixed a few spots here and there where tokens were getting allocated, but not deleted when a
kError is passed back invalid.
1998-06-16 00:57:45 +00:00
atotic
5d77951415 Removed class ifstream declaration. 1998-06-16 00:49:39 +00:00
jevering
2bbfb8cd11 Added prstrm.cpp to cpp file list. 1998-06-16 00:02:03 +00:00
atotic
00253dca7c Make it build in the brave new world 1998-06-15 21:54:52 +00:00
jevering
012763518e Fixed a few memory leaks. 1998-06-13 02:20:04 +00:00
jevering
eadb27c4d0 Fixing my Unix bustage. use PR_MkDir instead of mkdir 1998-06-12 02:27:25 +00:00
jevering
832fd3789d Removed _MAX_PATH to fix builds on Irix and Linux. 1998-06-12 02:14:18 +00:00
jevering
403e806203 Fixed up the base dubugrobot function.. mostly cleaning up.
Properly setting the verification directory.
1998-06-12 01:35:36 +00:00
jevering
3b414b2bc9 More debug robot work. I added some statistic gathering information
as well as hooking up the context vector validation stuff.  The
debug robot now makes two files in the root verification directory
for mapping context vector to debug source dumps as well as occurance
tracking of good and bad context vectors.
1998-06-12 01:34:49 +00:00
kipp
673f137fc2 Fixed bug where &'s followed by whitespace were losing the whitespace 1998-06-05 23:20:21 +00:00
kipp
8ba6066e36 Added spacer tag to the list of things that are containable 1998-06-05 17:56:31 +00:00
rpotts
53ca67cf12 Minor changes to nsIStreamListener interface... OnStartBinding(...) now passes out the stream content-type. User visible strings are now nsString arguments (for subsequent i18n) 1998-06-04 05:09:32 +00:00
jevering
eb44f81303 Dont process anything but html files from within the debug robot.
ProcessLink() ignores anything else using a gawd-awful nasty hack.
1998-06-04 01:19:25 +00:00
kipp
38dd72568c Adjust count of data to append by offset when offset is non-zero 1998-06-03 18:29:43 +00:00
kipp
c95157d6e1 Poke stream listener after finishing the parse 1998-06-03 15:38:57 +00:00
kipp
9797aa0e2f Changed Parse to take an nsIStreamListener to pass notifications too; changed parser to pass them on 1998-06-01 19:51:52 +00:00
kipp
edf8eeef57 Use new loadurl api 1998-06-01 19:51:19 +00:00
rickg
79823f0388 added support for NOBR and fixed MAP and AREA behavior 1998-05-30 03:14:55 +00:00
rickg
9cf33a2962 fixed 2 bugs that prevented home.netscape.com from loading. WIP. 1998-05-28 21:14:27 +00:00
rickg
8549e03dc1 modest improvements to push, and various bug fixes 1998-05-28 07:12:08 +00:00
jevering
87acc977c6 Unwhack Rick's change. 1998-05-28 00:57:25 +00:00
jevering
72e155b878 Changing the debug robot to be able to cope with the parser push model.
Updated the robot sink apis.
Fixed the global url holder in the destructor of the parser.
Changed the robot observer to set a flag when completed parsing of a
url so that it doesn't create lottsa little parsers.
1998-05-28 00:21:34 +00:00
rickg
37d2179d5d fixed bug in form -- form flag was never being set to true 1998-05-22 19:31:38 +00:00
rickg
2576fe4d45 temp. comment out call 1998-05-21 22:19:40 +00:00
rickg
181ee968bb incremental parsing; xml support; token handler dispatching; performance 1998-05-21 20:38:32 +00:00
jevering
319909b868 Broke release build. Fixed. 1998-05-20 23:08:12 +00:00
jevering
c1a7175f43 Debug Robot work. 1998-05-19 19:06:59 +00:00
thom
0384c91bfb Commented out forward class declaration that was choking code warrior 1998-05-18 22:45:00 +00:00
thom
b8cd633615 Mac checkin 1998-05-18 22:42:13 +00:00
thom
e200a999e2 mac project for htmlparser 1998-05-15 22:23:34 +00:00
jevering
3c51576898 Dont crash (at least in debug mode) when a stream cannot be opened. 1998-05-15 18:16:39 +00:00
rpotts
2c6835829f Added status arguments to OnStopBinding(...) 1998-05-15 09:46:51 +00:00
rpotts
0ac7d4aef8 Fixed IRIX build bustage... Added status arguments to OnStopBinding(...) 1998-05-15 09:46:42 +00:00
rpotts
a011199cf2 fix for the IRIX build... 1998-05-15 08:51:48 +00:00