Граф коммитов

1732 Коммитов

Автор SHA1 Сообщение Дата
cls%seawood.org fdbcc80507 Added check for ios::binary which seems to just be the new ANSI/ISO standard for ios::bin . 1998-11-17 16:53:02 +00:00
cls%seawood.org 3489c8bdd8 Removed kludge that removed generated files from srcdir 1998-11-16 18:39:49 +00:00
dcone%netscape.com eb3dd4ef93 Updated and tested the taghandling finding mechanism 1998-11-16 18:13:09 +00:00
dcone%netscape.com dad4716664 New tag handling code added 1998-11-13 22:14:45 +00:00
rickg%netscape.com 5b5e3086c6 incrmental improvement in view-source for better text-run handling 1998-11-13 20:16:05 +00:00
pinkerton%netscape.com f941653574 get rid of "hiding inherited virtual method" warnings on CanContain() by making it const like it's parent class. 1998-11-13 20:04:27 +00:00
rickg%netscape.com 57eecdb19e added tag handling support for future use 1998-11-13 19:45:09 +00:00
rickg%netscape.com 256cb9beaa added nsITagHandler for future use 1998-11-13 19:20:47 +00:00
rickg%netscape.com 1a47a78ee2 allow view-source on XML 1998-11-13 04:36:46 +00:00
akkana%netscape.com c5a24baf25 Fix more build bustage (IRIX) 1998-11-13 02:12:55 +00:00
vidur%netscape.com 422c941109 Added support for CDATA sections. 1998-11-12 23:54:37 +00:00
pinkerton%netscape.com 09b3222b9d Add nsViewSourceHTML.cpp to fix build bustage. 1998-11-12 01:01:35 +00:00
pinkerton%netscape.com 4a377b9c6a add nsWellFormedDTD.h to fix build bustage. 1998-11-12 01:01:22 +00:00
vidur%netscape.com b50f048796 Added XML display support. Added NotifyError method to nsIContentSink 1998-11-11 22:04:42 +00:00
rickg%netscape.com c16dd335a5 enabled view-source 1998-11-11 20:31:45 +00:00
rickg%netscape.com bac5cf794d first pass support for view-source 1998-11-11 11:55:32 +00:00
rickg%netscape.com 543057268e changed contentsink API to support XML 1998-11-10 04:20:40 +00:00
rickg%netscape.com ec2c738b8e a tiny update to improve XML support 1998-11-09 21:51:18 +00:00
rickg%netscape.com 41e1004641 allow script in table 1998-11-07 02:18:55 +00:00
rickg%netscape.com e333cae225 tiny fix to allow form tag inside the table tag 1998-11-06 21:41:59 +00:00
kipp%netscape.com bde96d4878 Support mapping the character set encoding properly so that codes from 0x80 to 0x9f get mapped into ucs2 properly 1998-11-06 02:07:17 +00:00
michaelp%netscape.com c20678ecd1 fixes bug on (at minimum) hometonw.aol.com due to delete object being used. 1998-11-05 03:15:51 +00:00
cls%seawood.org 3a74228808 Another fix for parallel builds and checked in generated files. 1998-11-04 05:36:35 +00:00
cls%seawood.org 9184d7d384 Added removecheckedinkludge as dependency of generate to insure that checked in generated files are removed. 1998-11-03 07:01:39 +00:00
rickg%netscape.com d16a0cc944 small parser improvements to handle bad quotes better 1998-11-03 00:55:33 +00:00
cls%seawood.org 609f087498 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
rickg%netscape.com e55a24a6ed allow button anywhere in content, other small improvements 1998-10-27 05:13:16 +00:00
rickg%netscape.com 8a50910dfc fixed bug I recently introduced in canContain 1998-10-27 02:34:41 +00:00
rickg%netscape.com bba9149399 WIP for new style handling and well-formed content 1998-10-24 04:44:38 +00:00
rickg%netscape.com 7bfd062bca more bad content parsing improvements 1998-10-08 07:32:34 +00:00
rickg%netscape.com 3fe950131c added autoclose to DT 1998-10-06 02:38:45 +00:00
rickg%netscape.com 04214a2813 fixed a bunch-O-bugs 1998-10-04 04:56:55 +00:00
pinkerton%netscape.com 7c640d6f80 Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon. 1998-09-29 17:11:00 +00:00
kostello%netscape.com 8cc626820e Fix bug 658.
Needed to update to nsXIFDTD to match new nsSkippedContentToken API
1998-09-28 21:25:22 +00:00
rickg%netscape.com 908e54f161 added support for XML processing instructions 1998-09-23 16:55:13 +00:00
kipp%netscape.com 27f6bdd059 Added code to map illegal ncr values as per navigator 1998-09-22 15:34:50 +00:00
peterl%netscape.com fa5ee1eb1c moved skipped content token from the attribute list to it's own slot 1998-09-22 02:07:31 +00:00
kipp%netscape.com b9e8a43908 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros 1998-09-12 19:33:48 +00:00
pierre%netscape.com bc9772c095 added nsDTDUtils 1998-09-11 09:02:13 +00:00
kipp%netscape.com 2ecf3f8511 Updated Makefile to have the right source file list 1998-09-11 05:53:55 +00:00
rickg%netscape.com fa185d94e6 improved DTD context for better style/structure handling 1998-09-11 00:54:36 +00:00
pierre%netscape.com 5b83b85e52 added __initialize and __terminate 1998-09-05 08:03:28 +00:00
rickg%netscape.com bb9edf7c29 a few small bug fixes for DTD 1998-09-04 02:52:47 +00:00
rickg%netscape.com 0d56b08baf added new EnableParser() routine for kipp; WIP 1998-09-02 07:12:49 +00:00
warren%netscape.com 34f3c0ef88 Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
rickg%netscape.com d33161f943 fixed a few infinite loops in new DTD code 1998-08-31 21:52:47 +00:00
rickg%netscape.com 50c7a08b11 improved script handling--required by changes to DTD 1998-08-29 19:32:30 +00:00
rickg%netscape.com f9ba7e53a3 improved script handling--required by changes to DTD 1998-08-29 19:31:00 +00:00
rickg%netscape.com b7aeefe337 added noembed support 1998-08-29 06:52:17 +00:00
rickg%netscape.com c0ec967cd4 lots of performance work, bug fixes, and tag handling upgrades 1998-08-29 05:08:20 +00:00
kipp%netscape.com b21695d77f Removed the PushMark method 1998-08-28 16:18:14 +00:00
peterl%netscape.com ba9d45f65a hacked colgroup & col handling 1998-08-27 01:04:22 +00:00
rickg%netscape.com 054e137d97 various bug fixes, performance wip 1998-08-26 21:20:41 +00:00
troy%netscape.com 35df864e01 Work in progress for LAYER tag 1998-08-26 02:23:21 +00:00
rickg%netscape.com 924c493a11 more WIP for logparse 1998-08-23 20:21:58 +00:00
rickg%netscape.com 586836b258 new improved logparse 1998-08-22 17:49:36 +00:00
rickg%netscape.com d69ea1fb89 Too many bugs to mention; tables, skipped content; perf; memory 1998-08-21 02:04:39 +00:00
scullin%netscape.com 1c67c70c5d Checked in api changes and some other small changes from the branch. 1998-08-14 23:08:54 +00:00
rickg%netscape.com 95921d15b9 a few more bug fixes. Ain't life grand 1998-08-13 08:51:52 +00:00
rickg%netscape.com 10435aa88c a host of propagation bugs and a comment bug to boot 1998-08-13 08:33:18 +00:00
rickg%netscape.com 7d05f9e772 many parser bugs; better backward propagation 1998-08-12 08:53:55 +00:00
kostello%netscape.com 17ce7c5740 Synched with windows build 1998-08-12 00:52:13 +00:00
kostello%netscape.com d0bc1f53fa Added nsHTMLEntities.h 1998-08-11 23:42:06 +00:00
thom%netscape.com 31b535853c added 'extern "C"' to declaration of NS_NewHTMLLoggingSink to fix mac link error... 1998-08-10 21:56:32 +00:00
kipp%netscape.com 4037a11b8e Disabled old entity routines 1998-08-10 21:38:10 +00:00
kipp%netscape.com 9763869e28 Used generated entities file to translate entities 1998-08-10 21:37:55 +00:00
kipp%netscape.com e83ccf323d Build generate entities file 1998-08-10 21:37:36 +00:00
kipp%netscape.com 9ff4cf6e85 Open the file for writing (doh) 1998-08-10 21:12:10 +00:00
kipp%netscape.com 4f64885dcd Short circuit auto-detect logic (cuz it doesn't work here) 1998-08-10 21:11:31 +00:00
kipp%netscape.com 3bac417dc6 Updated 1998-08-10 21:10:36 +00:00
kipp%netscape.com 8564858fb4 Build entities table 1998-08-10 21:10:04 +00:00
kipp%netscape.com 26aff26150 Fixed assertion message 1998-08-10 21:08:36 +00:00
kipp%netscape.com b07a3a3541 Handle EOF better for file streams 1998-08-10 21:08:21 +00:00
kipp%netscape.com 0e089c065f new 1998-08-10 21:07:40 +00:00
rickg%netscape.com ae69e388e9 too many bug fixes to name, but all legit scopus bugs 1998-08-07 03:09:24 +00:00
kipp%netscape.com 9d8f7d8e5d new 1998-08-07 01:39:40 +00:00
kipp%netscape.com e24e925498 new 1998-08-06 20:29:07 +00:00
kipp%netscape.com 57dd619d26 Added code to create logging sinks 1998-08-06 20:27:57 +00:00
kipp%netscape.com 19cd77f622 Build logging sink 1998-08-06 20:27:27 +00:00
kostello%netscape.com ad48dadeb1 Transfered CollectAttributes from CNavDTD.cpp -- code which was commented out
as part of a previous checkin
1998-08-05 21:50:20 +00:00
pierre%netscape.com 4cf2a00fb6 added nsParserFactory.cpp 1998-08-05 08:28:24 +00:00
pierre%netscape.com 08f35341f7 fixed to compile on Mac 1998-08-05 08:26:03 +00:00
pierre%netscape.com 4036ac81f1 renamed NSGetFactory to build on Mac 1998-08-05 08:17:06 +00:00
rickg%netscape.com 7bfa5d371b fixed a potential crash in case of empty documents 1998-08-05 03:16:51 +00:00
rickg%netscape.com 72cffbe8ae WIP for token reduction and a few bug fixes 1998-08-05 02:01:44 +00:00
kipp%netscape.com e7ec4fd01f Removed nextid tag 1998-08-04 21:14:19 +00:00
rickg%netscape.com 56aa9cb630 lets try this again 1998-08-04 19:38:46 +00:00
rickg%netscape.com 10acda11aa get parser back on line 1998-08-04 19:04:14 +00:00
rickg%netscape.com 6d39a6d937 fixed serious parser bug from earlier today 1998-08-04 10:16:09 +00:00
rickg%netscape.com 6e9ace2030 major perf changes; a few WIP's 1998-08-03 21:04:54 +00:00
kipp%netscape.com 0e4f61b282 Normalized style tag handling 1998-08-03 18:10:43 +00:00
thom%netscape.com 0b682348c9 Someone forgot to add nsParserCIID.h to the manifest, broke mac build (what about the others?) 1998-07-31 02:24:24 +00:00
spider%netscape.com f4fc829530 Removing NS_NewParserNode method 1998-07-30 23:14:18 +00:00
spider%netscape.com 5b4bd4898e XPCOM'ing the parser. Use repository to get a parser now. 1998-07-30 22:42:27 +00:00
rickg%netscape.com eea402a5ac fixed attribute bug and factored DTDDebug interfaces 1998-07-29 23:43:20 +00:00
pierre%netscape.com d6cb47022b added a bunch of cpp files according to the Window make file 1998-07-29 20:54:38 +00:00
rickg%netscape.com af88a845ca improved parser handling of pathologic attributes 1998-07-29 05:13:35 +00:00
pierre%netscape.com e793c2cc6e fix build breakage from previous checkin 1998-07-28 05:31:01 +00:00
pierre%netscape.com 5ac0a3159e fix Mac build: include <fstream.h> 1998-07-28 04:16:13 +00:00
pierre%netscape.com 44a70ae0c2 fix Mac build: include <iosfwd.h> 1998-07-28 04:14:58 +00:00
pierre%netscape.com 6116f02bf0 added CParserContext.cpp (for now... we may need to add plenty of other files later) 1998-07-28 04:04:23 +00:00
rickg%netscape.com db8530e50d unwound changes to skipped content consumption 1998-07-28 04:00:38 +00:00
rickg%netscape.com 2eece454d1 even more improvements to containment creation 1998-07-28 02:54:02 +00:00
rickg%netscape.com e66bd7415a fixed build buster; seems VC doesn't know false 1998-07-28 01:39:55 +00:00
rickg%netscape.com 8496591977 too many fixes to enumerate 1998-07-28 01:08:12 +00:00
kostello%netscape.com e9981e99af Moved pretty printing interfaces inside implementation of nsHTMLContentSinkStream
Added interfaces to turn pretty printing on/off -- support for copy/paste
1998-07-27 18:16:01 +00:00
kipp%netscape.com 9ed1d5c486 Fixed a typo 1998-07-27 17:51:17 +00:00
rickg%netscape.com 82a39cc883 warning removal 1998-07-25 02:11:02 +00:00
rickg%netscape.com 89aeb1b437 fixed a state problem in parser related to nesting levels 1998-07-25 01:02:01 +00:00
rickg%netscape.com 1a516a4e59 added line number support to nodes for Javascript 1998-07-25 00:29:15 +00:00
rickg%netscape.com b537b4b070 even more progress in the parser 1998-07-25 00:05:29 +00:00
rickg%netscape.com 01b6076c1a first pass at getting javascript to work in parser 1998-07-24 23:29:30 +00:00
rickg%netscape.com b0ee7381ef tons-o-fixes in the parser 1998-07-24 21:57:43 +00:00
kipp%netscape.com 5cfa4fa67c Allow most everything to live in a caption, just like a table cell 1998-07-24 15:54:18 +00:00
rpotts%netscape.com bd11b1339b Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
vidur%netscape.com bff2b5a70f Added missing parameter to scanner constructor in the case where we're parsing a string 1998-07-23 22:46:48 +00:00
rickg%netscape.com 986ecb2e47 bug fixes; more docs; lots of new testing 1998-07-23 21:10:19 +00:00
michaelp%netscape.com 8a42c31205 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
rickg%netscape.com 74730be89d tried again to fix linux build 1998-07-23 09:17:45 +00:00
rickg%netscape.com c6308d8466 fixed a linux build problem 1998-07-23 09:01:24 +00:00
rickg%netscape.com 428dfa70e9 table bug fixes, heading fixes, performance, docs 1998-07-23 08:21:02 +00:00
troy%netscape.com 7019f322b5 Changed mEmptyString to be a static const nsAutoString, and commented
out mName because it isn't being used
1998-07-22 22:18:14 +00:00
rpotts%netscape.com 89c718204b IWebShell now supports a single observer... 1998-07-22 11:19:54 +00:00
dcone%netscape.com 06dde3c07f added nsHTMLTAGS.h 1998-07-21 21:48:26 +00:00
kipp%netscape.com 441a0e3203 Fixed map tag and area tag handling 1998-07-21 17:35:48 +00:00
kipp%netscape.com 6ca7071513 Repaired script tag handling so that attributes make it through 1998-07-21 16:43:25 +00:00
dcone%netscape.com e30157f5e4 fixed so the fstream include is added. 1998-07-20 20:47:07 +00:00
dcone%netscape.com 79f5d18fac removed nsIHtmlcontentsink.cpp from project 1998-07-20 20:45:56 +00:00
spider%netscape.com 05dea4298e Re-Exporting CNavDTD class, until a *better* solution is implemented... 1998-07-20 15:39:48 +00:00
kipp%netscape.com 6eef05bf6b Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
kipp%netscape.com a23f79f327 Fixed a regression: we were eating the character following a bare ampersand that isn't an entity; in addition tables were being kicked out of paragraphs which is no-no 1998-07-18 01:35:45 +00:00
kipp%netscape.com 8d14dd1363 Fixed nesting headings in lists bug 1998-07-17 21:27:42 +00:00
rickg%netscape.com 2213e765a5 major changes to nested tag handling 1998-07-17 02:35:23 +00:00
rickg%netscape.com 97d6722830 fixed frameset/frames 1998-07-16 19:36:28 +00:00
rpotts%netscape.com 14a8c49f35 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
kipp%netscape.com ff0f90c7e9 Revised sink API's and others to be more xpcom'ish 1998-07-15 22:30:39 +00:00
rickg 7f262fd0e9 eliminated warnings from linux build 1998-07-15 02:08:19 +00:00
rickg 0bf155fa33 fixed linux warnings 1998-07-15 02:01:00 +00:00
rickg f935065fb1 fixed linux tinderbox error 1998-07-15 01:58:02 +00:00
kipp 1cd42b3669 Treat embed just like img 1998-07-15 00:47:19 +00:00
rickg 32d3acb45b fixed a tinderbox problem introduced in latest contentsinkstream 1998-07-15 00:21:39 +00:00
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
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