jevering
dd51e4bead
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.
git-svn-id: svn://10.0.0.236/trunk@3848 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:57:45 +00:00
atotic
0ce193c365
Removed class ifstream declaration.
...
git-svn-id: svn://10.0.0.236/trunk@3845 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:49:39 +00:00
jevering
f2d9d749bb
Added prstrm.cpp to cpp file list.
...
git-svn-id: svn://10.0.0.236/trunk@3839 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:02:03 +00:00
atotic
a6cf1d8e3c
Make it build in the brave new world
...
git-svn-id: svn://10.0.0.236/trunk@3824 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:54:52 +00:00
jevering
c5c8aef9b7
Fixed a few memory leaks.
...
git-svn-id: svn://10.0.0.236/trunk@3752 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 02:20:04 +00:00
jevering
2687956d1e
Fixing my Unix bustage. use PR_MkDir instead of mkdir
...
git-svn-id: svn://10.0.0.236/trunk@3707 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 02:27:25 +00:00
jevering
529ef6d19a
Removed _MAX_PATH to fix builds on Irix and Linux.
...
git-svn-id: svn://10.0.0.236/trunk@3706 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 02:14:18 +00:00
jevering
5dacfac8a0
Fixed up the base dubugrobot function.. mostly cleaning up.
...
Properly setting the verification directory.
git-svn-id: svn://10.0.0.236/trunk@3702 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:35:36 +00:00
jevering
b44966774c
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.
git-svn-id: svn://10.0.0.236/trunk@3701 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:34:49 +00:00
kipp
030a9a7fd5
Fixed bug where &'s followed by whitespace were losing the whitespace
...
git-svn-id: svn://10.0.0.236/trunk@3390 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:20:21 +00:00
kipp
1451adbd34
Added spacer tag to the list of things that are containable
...
git-svn-id: svn://10.0.0.236/trunk@3348 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:56:31 +00:00
rpotts
f9515f9806
Minor changes to nsIStreamListener interface... OnStartBinding(...) now passes out the stream content-type. User visible strings are now nsString arguments (for subsequent i18n)
...
git-svn-id: svn://10.0.0.236/trunk@3160 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:09:32 +00:00
jevering
3f6ceaf928
Dont process anything but html files from within the debug robot.
...
ProcessLink() ignores anything else using a gawd-awful nasty hack.
git-svn-id: svn://10.0.0.236/trunk@3153 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 01:19:25 +00:00
kipp
161881f7ea
Adjust count of data to append by offset when offset is non-zero
...
git-svn-id: svn://10.0.0.236/trunk@3082 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:29:43 +00:00
kipp
7c943247ed
Poke stream listener after finishing the parse
...
git-svn-id: svn://10.0.0.236/trunk@3030 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:38:57 +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
kipp
c11f861455
Use new loadurl api
...
git-svn-id: svn://10.0.0.236/trunk@2822 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:51:19 +00:00
rickg
f7bb7a3928
added support for NOBR and fixed MAP and AREA behavior
...
git-svn-id: svn://10.0.0.236/trunk@2729 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:14:55 +00:00
rickg
a53de4875b
fixed 2 bugs that prevented home.netscape.com from loading. WIP.
...
git-svn-id: svn://10.0.0.236/trunk@2565 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:14:27 +00:00
rickg
d26713dc46
modest improvements to push, and various bug fixes
...
git-svn-id: svn://10.0.0.236/trunk@2489 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 07:12:08 +00:00
jevering
354c2123f5
Unwhack Rick's change.
...
git-svn-id: svn://10.0.0.236/trunk@2450 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:57:25 +00:00
jevering
21f4b2f1e9
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.
git-svn-id: svn://10.0.0.236/trunk@2439 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:21:34 +00:00
rickg
8da56df062
fixed bug in form -- form flag was never being set to true
...
git-svn-id: svn://10.0.0.236/trunk@2204 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 19:31:38 +00:00
rickg
7afaf5e301
temp. comment out call
...
git-svn-id: svn://10.0.0.236/trunk@2138 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 22:19:40 +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
jevering
e5cf6a5951
Broke release build. Fixed.
...
git-svn-id: svn://10.0.0.236/trunk@2065 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 23:08:12 +00:00
jevering
1a4bf77fe2
Debug Robot work.
...
git-svn-id: svn://10.0.0.236/trunk@1962 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 19:06:59 +00:00
thom
dc472ffeb0
Commented out forward class declaration that was choking code warrior
...
git-svn-id: svn://10.0.0.236/trunk@1859 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 22:45:00 +00:00
thom
6800ec6d38
Mac checkin
...
git-svn-id: svn://10.0.0.236/trunk@1858 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 22:42:13 +00:00
thom
884257d7fb
mac project for htmlparser
...
git-svn-id: svn://10.0.0.236/trunk@1783 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 22:23:34 +00:00
jevering
03e1d6d1b3
Dont crash (at least in debug mode) when a stream cannot be opened.
...
git-svn-id: svn://10.0.0.236/trunk@1756 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 18:16:39 +00:00
rpotts
fff42d31c8
Added status arguments to OnStopBinding(...)
...
git-svn-id: svn://10.0.0.236/trunk@1731 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:46:51 +00:00
rpotts
a8ce21f5fc
Fixed IRIX build bustage... Added status arguments to OnStopBinding(...)
...
git-svn-id: svn://10.0.0.236/trunk@1730 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:46:42 +00:00
rpotts
32c056bbbd
fix for the IRIX build...
...
git-svn-id: svn://10.0.0.236/trunk@1713 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 08:51:48 +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
jevering
eab4da2c10
Adding visual mode.
...
git-svn-id: svn://10.0.0.236/trunk@1680 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 22:16:51 +00:00
jevering
18844ec299
Fixed robot walking somewhat.. needs more cleaning.
...
git-svn-id: svn://10.0.0.236/trunk@1675 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 21:47:33 +00:00
jevering
2ac90f63b7
Moved to .\test
...
git-svn-id: svn://10.0.0.236/trunk@1619 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 17:42:08 +00:00
jevering
b0cd070d09
used to be the RobotMain but now is the function DebugRobot to be
...
added to the viewer.
git-svn-id: svn://10.0.0.236/trunk@1592 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 01:08:06 +00:00
jevering
4e7c880297
Pulled the DebugRobot out into separate DLL
...
Moved the test code in the robot/test directory.
git-svn-id: svn://10.0.0.236/trunk@1591 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 01:05:56 +00:00
jevering
76d0c4b9da
Fixed compilation error by adding appropriate new nsIHTMLContentSink
...
members to the RobotSink class.
git-svn-id: svn://10.0.0.236/trunk@1551 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 21:45:24 +00:00
jevering
15426a4ead
Fixed build problems.
...
git-svn-id: svn://10.0.0.236/trunk@1519 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 17:55:04 +00:00
rickg
e8f3b719cd
made comments more complete
...
git-svn-id: svn://10.0.0.236/trunk@1429 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:11:50 +00:00
rickg
c9a40cc270
updated comments
...
git-svn-id: svn://10.0.0.236/trunk@1428 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 00:59:32 +00:00
rickg
d279bd9b90
fixed numeric entities
...
git-svn-id: svn://10.0.0.236/trunk@1424 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 23:28:01 +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
rickg
683ffd3d1f
changed OPTION tag from leaf to container node
...
git-svn-id: svn://10.0.0.236/trunk@1350 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 22:36:15 +00:00
rickg
73cdf7b056
new contentsink api's for kipp
...
git-svn-id: svn://10.0.0.236/trunk@1243 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:11:07 +00:00
rickg
a0aa2749b7
WIP: push-based tokenization
...
git-svn-id: svn://10.0.0.236/trunk@1226 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 07:19:47 +00:00
rickg
7eac5ad111
removed redundate class spec -- fixed a mac problem
...
git-svn-id: svn://10.0.0.236/trunk@1166 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-05 22:58:30 +00:00