rickg
7c82c6b547
added support for doc quality
1998-06-23 01:34:25 +00:00
rickg
e9a44a81e8
more API cleanup; home.netscape.com working again
1998-06-23 00:53:50 +00:00
rickg
4a0993ec5f
added support for empty (XML) tags
1998-06-20 00:12:10 +00:00
rickg
80cfbdaa5e
fixed another containment bug; DTD's are very cool
1998-06-19 01:15:19 +00:00
rickg
0b9c578eb7
more bug fixes; changed nsHTMLParser to nsParser.
1998-06-19 01:00:27 +00:00
atotic
def6650bbd
Removed prstrm includes
1998-06-19 00:15:19 +00:00
jevering
c9ea1fcbd5
Forgot to check in the robot changes for new object.
1998-06-18 23:26:55 +00:00
jevering
8d8f3997e5
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
e4ddb75743
Fix rickg's linux build bustage.
1998-06-18 01:04:46 +00:00
kipp
be81b6c425
Disabled saving the source file cuz it crashes on windows
1998-06-18 00:02:36 +00:00
rickg
b2f62ff8a2
huge refactoring effort; transient style support; tables fixes, and more
1998-06-17 23:13:28 +00:00
atotic
fcb81f3583
First Checked In.
1998-06-16 21:39:13 +00:00
jevering
d1cd2a2cb9
Hooked up the <BLINK> tag in the parser.
1998-06-16 01:15:56 +00:00
jevering
4cf367dd1b
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
94b941ae70
Removed class ifstream declaration.
1998-06-16 00:49:39 +00:00
jevering
d417bdc739
Added prstrm.cpp to cpp file list.
1998-06-16 00:02:03 +00:00
atotic
59785b0ef4
Make it build in the brave new world
1998-06-15 21:54:52 +00:00
jevering
cd6d5e7fcf
Fixed a few memory leaks.
1998-06-13 02:20:04 +00:00
jevering
9568531537
Fixing my Unix bustage. use PR_MkDir instead of mkdir
1998-06-12 02:27:25 +00:00
jevering
8c319db75b
Removed _MAX_PATH to fix builds on Irix and Linux.
1998-06-12 02:14:18 +00:00
jevering
ac1adb9e57
Fixed up the base dubugrobot function.. mostly cleaning up.
...
Properly setting the verification directory.
1998-06-12 01:35:36 +00:00
jevering
482e9e4448
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
e5af22afd8
Fixed bug where &'s followed by whitespace were losing the whitespace
1998-06-05 23:20:21 +00:00
kipp
c4bf544cf3
Added spacer tag to the list of things that are containable
1998-06-05 17:56:31 +00:00
rpotts
8023a4d901
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
eed87817d1
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
3e5b5e59ae
Adjust count of data to append by offset when offset is non-zero
1998-06-03 18:29:43 +00:00
kipp
cfac44deb2
Poke stream listener after finishing the parse
1998-06-03 15:38:57 +00:00
kipp
1c76570c89
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
bd98127a5a
Use new loadurl api
1998-06-01 19:51:19 +00:00
rickg
e4ddd116d5
added support for NOBR and fixed MAP and AREA behavior
1998-05-30 03:14:55 +00:00
rickg
f709c3b7ea
fixed 2 bugs that prevented home.netscape.com from loading. WIP.
1998-05-28 21:14:27 +00:00
rickg
df72f84c56
modest improvements to push, and various bug fixes
1998-05-28 07:12:08 +00:00
jevering
592239f9f8
Unwhack Rick's change.
1998-05-28 00:57:25 +00:00
jevering
0abd8e75a7
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
72958f1b2d
fixed bug in form -- form flag was never being set to true
1998-05-22 19:31:38 +00:00
rickg
f094a021d8
temp. comment out call
1998-05-21 22:19:40 +00:00
rickg
51cd989bf9
incremental parsing; xml support; token handler dispatching; performance
1998-05-21 20:38:32 +00:00
jevering
7dd1050f8b
Broke release build. Fixed.
1998-05-20 23:08:12 +00:00
jevering
480da7ee1f
Debug Robot work.
1998-05-19 19:06:59 +00:00
thom
47b23c30d2
Commented out forward class declaration that was choking code warrior
1998-05-18 22:45:00 +00:00
thom
a5d271e9c1
Mac checkin
1998-05-18 22:42:13 +00:00
thom
fa1a33bb38
mac project for htmlparser
1998-05-15 22:23:34 +00:00
jevering
203b2f54b4
Dont crash (at least in debug mode) when a stream cannot be opened.
1998-05-15 18:16:39 +00:00
rpotts
1c1a122067
Added status arguments to OnStopBinding(...)
1998-05-15 09:46:51 +00:00
rpotts
8a4b624153
Fixed IRIX build bustage... Added status arguments to OnStopBinding(...)
1998-05-15 09:46:42 +00:00
rpotts
99f8c44d47
fix for the IRIX build...
1998-05-15 08:51:48 +00:00
rickg
aa92bb877f
WIP for push based tokenization
1998-05-14 22:19:08 +00:00
jevering
870f824e53
Adding visual mode.
1998-05-14 22:16:51 +00:00
jevering
ed948bff38
Fixed robot walking somewhat.. needs more cleaning.
1998-05-14 21:47:33 +00:00
jevering
49d0a3bce9
Moved to .\test
1998-05-14 17:42:08 +00:00
jevering
b98517cfd4
used to be the RobotMain but now is the function DebugRobot to be
...
added to the viewer.
1998-05-14 01:08:06 +00:00
jevering
5cef8d4242
Pulled the DebugRobot out into separate DLL
...
Moved the test code in the robot/test directory.
1998-05-14 01:05:56 +00:00
jevering
b3fc9494a7
Fixed compilation error by adding appropriate new nsIHTMLContentSink
...
members to the RobotSink class.
1998-05-13 21:45:24 +00:00
jevering
1ba78084a0
Fixed build problems.
1998-05-13 17:55:04 +00:00
rickg
51bd1c4367
made comments more complete
1998-05-12 01:11:50 +00:00
rickg
ba2be950ad
updated comments
1998-05-12 00:59:32 +00:00
rickg
22e7a752e7
fixed numeric entities
1998-05-11 23:28:01 +00:00
rickg
e1ea8819b6
MUCH better support for auto-closing tags.
1998-05-09 00:42:33 +00:00
rickg
2e29ad2668
changed OPTION tag from leaf to container node
1998-05-08 22:36:15 +00:00
rickg
1a832ee7ce
new contentsink api's for kipp
1998-05-07 21:11:07 +00:00
rickg
ae9c52d91a
WIP: push-based tokenization
1998-05-07 07:19:47 +00:00
rickg
ca8e4f18e7
removed redundate class spec -- fixed a mac problem
1998-05-05 22:58:30 +00:00
rickg
3862cf1d93
removed nsDefaultTokenHandler.*
1998-05-05 20:25:19 +00:00
rickg
750c002dff
fixed general closure case
1998-05-04 23:36:46 +00:00
rpotts
374ac13e18
added netlib to the include path...
1998-05-01 05:07:25 +00:00
rpotts
d7ed7309aa
Do not delete the nsIInputStream. Call Release() instead. Reference counting is important!!
1998-05-01 04:59:28 +00:00
rickg
87e38b4411
minor improvement to backward propagation code
1998-04-30 22:06:16 +00:00
rickg
7117b051c5
got newlines working much better; Kipp still won't be happy, but the, he never is.
1998-04-30 20:23:07 +00:00
spider
31634b6c93
Fix UNIX build bustage
1998-04-30 16:40:38 +00:00
rickg
211dce8234
huge improvements to parser
1998-04-30 05:56:39 +00:00
kipp
df23d77bdc
Made it build on IRIX
1998-04-26 03:21:14 +00:00
kipp
4857393413
Fixed compiler bugs/warnings
1998-04-26 03:13:20 +00:00
rickg
9280ad2328
added parse-system debugging hooks
1998-04-25 23:10:51 +00:00
rickg
bcd8f1d963
propagation is now online, aren't DTD's cool?
1998-04-25 19:45:14 +00:00
scullin
da7b70979e
Fixed non-virtual destructor, and incorrect stream usages that
...
gcc didn't like.
1998-04-23 19:10:35 +00:00
kipp
01ab9174da
define win32_lean_and_mean
1998-04-23 16:47:26 +00:00
rickg
7b23810178
final factoring of DTDs, and removal of nsHTMLDTD.*
1998-04-22 23:56:57 +00:00
kipp
2c18080875
option is a container too
1998-04-22 23:25:36 +00:00
kipp
e05a419d1e
Treat textarea somewhat like title/script/style
1998-04-22 22:10:27 +00:00
kipp
6d8ae0ca34
textarea is not a container
1998-04-22 22:10:10 +00:00
kipp
579c40254f
Added in TEXTAREA to special tags
1998-04-22 22:09:46 +00:00
rickg
23e29e5d09
tweaked the API to be more DTD-like
1998-04-22 20:22:59 +00:00
rickg
a9058dc3c1
improved newline handling in tables
1998-04-22 19:46:40 +00:00
rickg
305efded8c
moved nsDeque.* to base\src
1998-04-22 19:10:39 +00:00
rickg
c11fa9da39
added DTD and propagation capabilities; dynamic entities, containers, token handlers
1998-04-22 18:32:49 +00:00
peterl
55f7be5e3e
changed SetContentSink to do proper ref counting
1998-04-16 21:48:02 +00:00
rickg
880799b4e1
added runtime 'marker-style' entities and fixed a few bugs.
1998-04-16 07:22:40 +00:00
rickg
a2c48168c0
improved documentation in headers
1998-04-15 17:27:56 +00:00
troy
bd594e2b7b
Moved inline code for CCommentToken::GetClassName to the .cpp file. This
...
makes doc++ happy
1998-04-15 00:33:06 +00:00
kipp
4717009d75
moved to pub
1998-04-13 20:24:54 +00:00