Commit Graph
764 Commits
Author SHA1 Message Date
scullin f17de70437 Attempt to fix mac build. 1998-07-03 05:09:43 +00:00
atotic 76247647bf Added CNavDTD.h 1998-07-02 21:21:53 +00:00
rickg b5524f4ea4 major improvements to parser API's; fixed a few bugs 1998-07-02 08:14:22 +00:00
jevering 1d0e6e940b 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 38ab18f776 Fixes for mac linux 1998-07-01 23:29:55 +00:00
rpotts 79b0af90e7 Changed nsIStreamListener to nsIStreamObserver... 1998-07-01 11:11:44 +00:00
rpotts bcab549cf7 Changed nsIStreamListener to nsIStreamObserver. Added BeginParse(...) method for the DocumentLoader... 1998-07-01 11:11:05 +00:00
jevering 34121b2078 Added the nsVoidArray support to the COtherDTD class. 1998-06-30 22:11:24 +00:00
jevering 4118fc45b3 Changed the context stack and style stacks to be nsVoidArray to avoid
stack overflow.
1998-06-30 21:36:10 +00:00
jevering 8991548daf 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 19a75abf84 Condensed switch statement, treat sub/sup like other span tags 1998-06-29 16:08:57 +00:00
atotic d2c781386a Added/removed some files 1998-06-27 02:47:08 +00:00
kipp a9598bd1b3 Made blink act more like bold 1998-06-26 01:12:32 +00:00
vidur e17c002db1 Hooked up SCRIPT tag evaluation. 1998-06-25 22:26:20 +00:00
atotic c2b970ee6d Making it compile on the Mac 1998-06-25 18:25:36 +00:00
atotic 4b79a6fe05 Keeping projects up to date 1998-06-25 18:01:28 +00:00
kipp b7d483b50b Init mSink 1998-06-25 14:58:46 +00:00
michaelp 44f57e12bd 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 532abd1a36 fixed build. 1998-06-25 03:25:22 +00:00
jevering 95cc0defe5 Added the new debug file. 1998-06-25 01:58:55 +00:00
jevering e22ae68ee2 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 1422e76317 fixed build. 1998-06-23 05:26:58 +00:00
rickg 0cc9868da7 fixed API mismatch 1998-06-23 01:35:25 +00:00
rickg e872131e7e added support for doc quality 1998-06-23 01:34:25 +00:00
rickg 6f926c8010 more API cleanup; home.netscape.com working again 1998-06-23 00:53:50 +00:00
rickg d9b6e433fe added support for empty (XML) tags 1998-06-20 00:12:10 +00:00
rickg 3a096114c8 fixed another containment bug; DTD's are very cool 1998-06-19 01:15:19 +00:00
rickg 2beb57a9b0 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
atotic b01b399d60 Removed prstrm includes 1998-06-19 00:15:19 +00:00
jevering 5d3224de87 Forgot to check in the robot changes for new object. 1998-06-18 23:26:55 +00:00
jevering bb9ea92684 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 e9081194c6 Fix rickg's linux build bustage. 1998-06-18 01:04:46 +00:00
kipp 8ad4eec8e0 Disabled saving the source file cuz it crashes on windows 1998-06-18 00:02:36 +00:00
rickg bd9b68c059 huge refactoring effort; transient style support; tables fixes, and more 1998-06-17 23:13:28 +00:00
atotic 2fd5bd7001 First Checked In. 1998-06-16 21:39:13 +00:00
jevering 69e8221606 Hooked up the <BLINK> tag in the parser. 1998-06-16 01:15:56 +00:00
jevering a06087ada0 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 2f42bd985a Removed class ifstream declaration. 1998-06-16 00:49:39 +00:00
jevering 2c6979343c Added prstrm.cpp to cpp file list. 1998-06-16 00:02:03 +00:00
atotic d2c3fe0c23 Make it build in the brave new world 1998-06-15 21:54:52 +00:00
jevering e67e4c12ec Fixed a few memory leaks. 1998-06-13 02:20:04 +00:00
jevering 52693eaa2f Fixing my Unix bustage. use PR_MkDir instead of mkdir 1998-06-12 02:27:25 +00:00
jevering fe9f7da3a9 Removed _MAX_PATH to fix builds on Irix and Linux. 1998-06-12 02:14:18 +00:00
jevering 2ae31c6b67 Fixed up the base dubugrobot function.. mostly cleaning up.
Properly setting the verification directory.
1998-06-12 01:35:36 +00:00
jevering b60a458324 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 558b252060 Fixed bug where &'s followed by whitespace were losing the whitespace 1998-06-05 23:20:21 +00:00
kipp a65ea51e11 Added spacer tag to the list of things that are containable 1998-06-05 17:56:31 +00:00
rpotts 5d29026190 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 7b456eb9a5 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 ef46723e20 Adjust count of data to append by offset when offset is non-zero 1998-06-03 18:29:43 +00:00