joki
d1448b25f5
Change these to PR boolean values
1998-07-14 23:34:37 +00:00
rickg
7b3f44534d
fixed 's' tag which broke with introduction of nsHTMLTags
1998-07-14 23:29:25 +00:00
kostello
fc131954b0
Added XIF Support. XIF is a Netscape internal XML format which is
...
designed to allow for easy conversion from the NGLayoutContent model
to other formats. It's primary focus is to allow easy conversion to
HTML3.2 and HTML4.0 formats. Other formats may be supported in the future.
1998-07-14 22:37:51 +00:00
kostello
ba1f3f0901
DTD to take XIF input and write to a IHTMLContentSinkStream
1998-07-14 22:26:38 +00:00
spider
d1d33900f8
Export the CNavDTD interface so DTD's residing in remote shared libraries
...
can use it.
1998-07-14 19:24:54 +00:00
rickg
70231ed330
added a few missing tags
1998-07-14 19:18:06 +00:00
rickg
108294f044
added a few missing tags
1998-07-14 19:10:42 +00:00
rickg
32e464be53
better support for applet/param tags; also converted DIR/MENU to UL
1998-07-14 01:57:25 +00:00
kipp
92af3240a7
Removed LI hack
1998-07-14 00:54:21 +00:00
rickg
ec0a3ea196
quick fix to deal with applet tags
1998-07-13 21:56:26 +00:00
rickg
71865404dc
fixed a few problems with unix build
1998-07-13 21:42:45 +00:00
kipp
a5e3b29cc3
Fixed rickg's build bustage
1998-07-13 21:26:18 +00:00
rickg
fe718837d2
added WIP support for reentrancy in the parser
1998-07-13 21:13:09 +00:00
kipp
7739419aa0
Empty the style stack when closing out a td/th
1998-07-12 01:12:34 +00:00
kipp
df0edd78db
Fixed case of nsString.h include
1998-07-10 20:19:03 +00:00
jevering
ffe05bb80e
Fixing Linux & Irix builds...
1998-07-10 18:49:02 +00:00
jevering
074077878e
Fix parser build bustage on win32.
1998-07-10 18:14:11 +00:00
rickg
665f63b9f3
dynamic DTD support
1998-07-10 05:35:23 +00:00
kipp
3da99b3257
Added a temporary hack to normalize nested lists
1998-07-09 17:05:36 +00:00
kipp
f97bf0ca47
Eliminate some compiler warnings
1998-07-03 23:14:21 +00:00
kipp
17933d64a7
Don't forget to build nsHTMLTags.o
1998-07-03 23:13:37 +00:00
kipp
21c9296332
Added rules to export and generate nsHTMLTags.h, nsHTMLTags.cpp
1998-07-03 20:33:10 +00:00
kipp
3b261954f3
Removed some cruft
1998-07-03 18:40:45 +00:00
kipp
743d53f95a
updated
1998-07-03 18:40:25 +00:00
kipp
4fc5c374b2
Fixed tag enum table to start at 1
1998-07-03 18:40:12 +00:00
kipp
ffe1d07336
new
1998-07-03 17:19:58 +00:00
kipp
89072e57d5
Use new generated tags table/search routines
1998-07-03 17:19:26 +00:00
scullin
c317eab246
Attempt to fix mac build.
1998-07-03 05:09:43 +00:00
atotic
40436bfeea
Added CNavDTD.h
1998-07-02 21:21:53 +00:00
rickg
c7c8f485ed
major improvements to parser API's; fixed a few bugs
1998-07-02 08:14:22 +00:00
jevering
7f7b55b452
Use the new allocating ReplaceElementAt so that the context and style
...
stacks aren't sliding memory buffers all over the place (and over
allocating).
1998-07-02 00:29:59 +00:00
thom
b1d61c37de
Fixes for mac linux
1998-07-01 23:29:55 +00:00
rpotts
415ca2fc2a
Changed nsIStreamListener to nsIStreamObserver...
1998-07-01 11:11:44 +00:00
rpotts
2fc6e59047
Changed nsIStreamListener to nsIStreamObserver. Added BeginParse(...) method for the DocumentLoader...
1998-07-01 11:11:05 +00:00
jevering
8d91a229bf
Added the nsVoidArray support to the COtherDTD class.
1998-06-30 22:11:24 +00:00
jevering
add35ea69a
Changed the context stack and style stacks to be nsVoidArray to avoid
...
stack overflow.
1998-06-30 21:36:10 +00:00
jevering
d175849d8c
Temporarily crank up the context stack size.. we are overrunning it.
...
I will put a growable stack in later.
This could be a security hole.
1998-06-30 18:23:21 +00:00
kipp
b1a76d4c27
Condensed switch statement, treat sub/sup like other span tags
1998-06-29 16:08:57 +00:00
atotic
e6c716048f
Added/removed some files
1998-06-27 02:47:08 +00:00
kipp
2508a6365b
Made blink act more like bold
1998-06-26 01:12:32 +00:00
vidur
f85f13e492
Hooked up SCRIPT tag evaluation.
1998-06-25 22:26:20 +00:00
atotic
700263e1de
Making it compile on the Mac
1998-06-25 18:25:36 +00:00
atotic
c1cc5f7879
Keeping projects up to date
1998-06-25 18:01:28 +00:00
kipp
d26465a2b3
Init mSink
1998-06-25 14:58:46 +00:00
michaelp
e183f05efb
added init() method to prescontext.
...
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
michaelp
fc2cd8208d
fixed build.
1998-06-25 03:25:22 +00:00
jevering
0079b817df
Added the new debug file.
1998-06-25 01:58:55 +00:00
jevering
dc8bab4351
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
9050fae501
fixed build.
1998-06-23 05:26:58 +00:00
rickg
813cf95318
fixed API mismatch
1998-06-23 01:35:25 +00:00
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