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

318 Коммитов

Автор SHA1 Сообщение Дата
kipp%netscape.com 4d2fa4f8e1 Disabled old entity routines 1998-08-10 21:38:10 +00:00
kipp%netscape.com b499123e7f Used generated entities file to translate entities 1998-08-10 21:37:55 +00:00
kipp%netscape.com 3b8efd0c81 Build generate entities file 1998-08-10 21:37:36 +00:00
kipp%netscape.com 0833242c46 Open the file for writing (doh) 1998-08-10 21:12:10 +00:00
kipp%netscape.com 6451b37d44 Short circuit auto-detect logic (cuz it doesn't work here) 1998-08-10 21:11:31 +00:00
kipp%netscape.com ef1a8d365b Updated 1998-08-10 21:10:36 +00:00
kipp%netscape.com 56ca75cff0 Build entities table 1998-08-10 21:10:04 +00:00
kipp%netscape.com 970612c2b6 Fixed assertion message 1998-08-10 21:08:36 +00:00
kipp%netscape.com 61140b7984 Handle EOF better for file streams 1998-08-10 21:08:21 +00:00
kipp%netscape.com c4d30ecf37 new 1998-08-10 21:07:40 +00:00
rickg%netscape.com 8a0553b937 too many bug fixes to name, but all legit scopus bugs 1998-08-07 03:09:24 +00:00
kipp%netscape.com e5d10b402f new 1998-08-07 01:39:40 +00:00
kipp%netscape.com 354a633441 new 1998-08-06 20:29:07 +00:00
kipp%netscape.com dcb48110c0 Added code to create logging sinks 1998-08-06 20:27:57 +00:00
kipp%netscape.com 31953264d9 Build logging sink 1998-08-06 20:27:27 +00:00
kostello%netscape.com 613f506c48 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 acd006e083 added nsParserFactory.cpp 1998-08-05 08:28:24 +00:00
pierre%netscape.com 9d5a4142eb fixed to compile on Mac 1998-08-05 08:26:03 +00:00
pierre%netscape.com eb16b86a54 renamed NSGetFactory to build on Mac 1998-08-05 08:17:06 +00:00
rickg%netscape.com 0a8e20c51d fixed a potential crash in case of empty documents 1998-08-05 03:16:51 +00:00
rickg%netscape.com ea69f11969 WIP for token reduction and a few bug fixes 1998-08-05 02:01:44 +00:00
kipp%netscape.com 1bc5d0bc35 Removed nextid tag 1998-08-04 21:14:19 +00:00
rickg%netscape.com 6fba296880 lets try this again 1998-08-04 19:38:46 +00:00
rickg%netscape.com e1e3487271 get parser back on line 1998-08-04 19:04:14 +00:00
rickg%netscape.com bfdeafce1b fixed serious parser bug from earlier today 1998-08-04 10:16:09 +00:00
rickg%netscape.com 7f7ecd4daf major perf changes; a few WIP's 1998-08-03 21:04:54 +00:00
kipp%netscape.com cfd57f3de5 Normalized style tag handling 1998-08-03 18:10:43 +00:00
thom%netscape.com f1604ff795 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 a7fa413b4a Removing NS_NewParserNode method 1998-07-30 23:14:18 +00:00
spider%netscape.com 257a2dec72 XPCOM'ing the parser. Use repository to get a parser now. 1998-07-30 22:42:27 +00:00
rickg%netscape.com 36395151d9 fixed attribute bug and factored DTDDebug interfaces 1998-07-29 23:43:20 +00:00
pierre%netscape.com f5ddcc19fa added a bunch of cpp files according to the Window make file 1998-07-29 20:54:38 +00:00
rickg%netscape.com 3268db96ab improved parser handling of pathologic attributes 1998-07-29 05:13:35 +00:00
pierre%netscape.com 93690ce9a9 fix build breakage from previous checkin 1998-07-28 05:31:01 +00:00
pierre%netscape.com facd2c32df fix Mac build: include <fstream.h> 1998-07-28 04:16:13 +00:00
pierre%netscape.com d409abffff fix Mac build: include <iosfwd.h> 1998-07-28 04:14:58 +00:00
pierre%netscape.com deb7cb75b8 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 168527845e unwound changes to skipped content consumption 1998-07-28 04:00:38 +00:00
rickg%netscape.com 393a3c4392 even more improvements to containment creation 1998-07-28 02:54:02 +00:00
rickg%netscape.com 80a8cf5731 fixed build buster; seems VC doesn't know false 1998-07-28 01:39:55 +00:00
rickg%netscape.com 1460f6fd8f too many fixes to enumerate 1998-07-28 01:08:12 +00:00
kostello%netscape.com ba006d93d9 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 cb53546fa3 Fixed a typo 1998-07-27 17:51:17 +00:00
rickg%netscape.com 5446c139c4 warning removal 1998-07-25 02:11:02 +00:00
rickg%netscape.com 7693865115 fixed a state problem in parser related to nesting levels 1998-07-25 01:02:01 +00:00
rickg%netscape.com 79205ce3c8 added line number support to nodes for Javascript 1998-07-25 00:29:15 +00:00
rickg%netscape.com a6035c39f1 even more progress in the parser 1998-07-25 00:05:29 +00:00
rickg%netscape.com 8e5cff08b3 first pass at getting javascript to work in parser 1998-07-24 23:29:30 +00:00
rickg%netscape.com 91c3a6956c tons-o-fixes in the parser 1998-07-24 21:57:43 +00:00
kipp%netscape.com aa0ea3f84d Allow most everything to live in a caption, just like a table cell 1998-07-24 15:54:18 +00:00
rpotts%netscape.com 17acb2afff Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
vidur%netscape.com 4850d9a00a 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 40102bf8ea bug fixes; more docs; lots of new testing 1998-07-23 21:10:19 +00:00
michaelp%netscape.com 96cf645164 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
rickg%netscape.com c9d783c6ef tried again to fix linux build 1998-07-23 09:17:45 +00:00
rickg%netscape.com bfd6737278 fixed a linux build problem 1998-07-23 09:01:24 +00:00
rickg%netscape.com bc0982b1b2 table bug fixes, heading fixes, performance, docs 1998-07-23 08:21:02 +00:00
troy%netscape.com e4e88105ad 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 01b9ef5140 IWebShell now supports a single observer... 1998-07-22 11:19:54 +00:00
dcone%netscape.com d188e0afde added nsHTMLTAGS.h 1998-07-21 21:48:26 +00:00
kipp%netscape.com 92e6e58dce Fixed map tag and area tag handling 1998-07-21 17:35:48 +00:00
kipp%netscape.com adb61d9380 Repaired script tag handling so that attributes make it through 1998-07-21 16:43:25 +00:00
dcone%netscape.com 8f6dbfdcf5 fixed so the fstream include is added. 1998-07-20 20:47:07 +00:00
dcone%netscape.com b2dec70768 removed nsIHtmlcontentsink.cpp from project 1998-07-20 20:45:56 +00:00
spider%netscape.com af135bdd93 Re-Exporting CNavDTD class, until a *better* solution is implemented... 1998-07-20 15:39:48 +00:00
kipp%netscape.com 39f5530391 Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
kipp%netscape.com f89ad269a7 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 2767248cf9 Fixed nesting headings in lists bug 1998-07-17 21:27:42 +00:00
rickg%netscape.com 9b423afccd major changes to nested tag handling 1998-07-17 02:35:23 +00:00
rickg%netscape.com 6f95c347a6 fixed frameset/frames 1998-07-16 19:36:28 +00:00
rpotts%netscape.com 646e80db63 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
kipp%netscape.com 2fe4af0884 Revised sink API's and others to be more xpcom'ish 1998-07-15 22:30:39 +00:00
rickg 22dc30d276 eliminated warnings from linux build 1998-07-15 02:08:19 +00:00
rickg ba4e32e19c fixed linux warnings 1998-07-15 02:01:00 +00:00
rickg fef7448f3b fixed linux tinderbox error 1998-07-15 01:58:02 +00:00
kipp 4d7ae47daf Treat embed just like img 1998-07-15 00:47:19 +00:00
rickg d09bc7fbb3 fixed a tinderbox problem introduced in latest contentsinkstream 1998-07-15 00:21:39 +00:00
joki a3768a39bd Change these to PR boolean values 1998-07-14 23:34:37 +00:00
rickg c0b7b411e2 fixed 's' tag which broke with introduction of nsHTMLTags 1998-07-14 23:29:25 +00:00
kostello 4774b3488b 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 3f77ac3183 DTD to take XIF input and write to a IHTMLContentSinkStream 1998-07-14 22:26:38 +00:00
spider 9920970271 Export the CNavDTD interface so DTD's residing in remote shared libraries
can use it.
1998-07-14 19:24:54 +00:00
rickg 3fa9d5af37 added a few missing tags 1998-07-14 19:18:06 +00:00
rickg 6dac07d686 added a few missing tags 1998-07-14 19:10:42 +00:00
rickg 970eabe698 better support for applet/param tags; also converted DIR/MENU to UL 1998-07-14 01:57:25 +00:00
kipp a85d899e7a Removed LI hack 1998-07-14 00:54:21 +00:00
rickg 0c16bf20e7 quick fix to deal with applet tags 1998-07-13 21:56:26 +00:00
rickg ab2f5f794e fixed a few problems with unix build 1998-07-13 21:42:45 +00:00
kipp 1d20a35b4b Fixed rickg's build bustage 1998-07-13 21:26:18 +00:00
rickg 8a28474764 added WIP support for reentrancy in the parser 1998-07-13 21:13:09 +00:00
kipp 8e1643eba4 Empty the style stack when closing out a td/th 1998-07-12 01:12:34 +00:00
kipp a9a335fddc Fixed case of nsString.h include 1998-07-10 20:19:03 +00:00
jevering e6414640ef Fixing Linux & Irix builds... 1998-07-10 18:49:02 +00:00
jevering 5404fe15bf Fix parser build bustage on win32. 1998-07-10 18:14:11 +00:00
rickg 8b9c5f20cc dynamic DTD support 1998-07-10 05:35:23 +00:00
kipp 077ba45776 Added a temporary hack to normalize nested lists 1998-07-09 17:05:36 +00:00
kipp e73dd51e0c Eliminate some compiler warnings 1998-07-03 23:14:21 +00:00
kipp e9d79bfdb1 Don't forget to build nsHTMLTags.o 1998-07-03 23:13:37 +00:00
kipp aa4ac2c69a Added rules to export and generate nsHTMLTags.h, nsHTMLTags.cpp 1998-07-03 20:33:10 +00:00
kipp e148ee8200 Removed some cruft 1998-07-03 18:40:45 +00:00
kipp c2ebba68ae updated 1998-07-03 18:40:25 +00:00
kipp b1fc349927 Fixed tag enum table to start at 1 1998-07-03 18:40:12 +00:00
kipp 2dcf3ad5d8 new 1998-07-03 17:19:58 +00:00
kipp 9d5d3819d6 Use new generated tags table/search routines 1998-07-03 17:19:26 +00:00
scullin 20d342e778 Attempt to fix mac build. 1998-07-03 05:09:43 +00:00
atotic 2a161ae8b5 Added CNavDTD.h 1998-07-02 21:21:53 +00:00
rickg ff4f9c2c9c major improvements to parser API's; fixed a few bugs 1998-07-02 08:14:22 +00:00
jevering 1217392fcb 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 f2c707dbfd Fixes for mac linux 1998-07-01 23:29:55 +00:00
rpotts 71f8e4faff Changed nsIStreamListener to nsIStreamObserver... 1998-07-01 11:11:44 +00:00
rpotts 5d1068c297 Changed nsIStreamListener to nsIStreamObserver. Added BeginParse(...) method for the DocumentLoader... 1998-07-01 11:11:05 +00:00
jevering 9a366c402f Added the nsVoidArray support to the COtherDTD class. 1998-06-30 22:11:24 +00:00
jevering 27687d3099 Changed the context stack and style stacks to be nsVoidArray to avoid
stack overflow.
1998-06-30 21:36:10 +00:00
jevering d9ddcc5651 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 a37809aebe Condensed switch statement, treat sub/sup like other span tags 1998-06-29 16:08:57 +00:00
atotic 868db37b2d Added/removed some files 1998-06-27 02:47:08 +00:00
kipp bda6ad26c9 Made blink act more like bold 1998-06-26 01:12:32 +00:00
vidur 21f2394a0e Hooked up SCRIPT tag evaluation. 1998-06-25 22:26:20 +00:00
atotic 7de117949e Making it compile on the Mac 1998-06-25 18:25:36 +00:00
atotic 80b7777cbf Keeping projects up to date 1998-06-25 18:01:28 +00:00
kipp 2b1c453fe6 Init mSink 1998-06-25 14:58:46 +00:00
michaelp ec4811f612 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 6d041ea3be fixed build. 1998-06-25 03:25:22 +00:00
jevering d9e6c7d786 Added the new debug file. 1998-06-25 01:58:55 +00:00
jevering 7ce72412ad 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 4482083229 fixed build. 1998-06-23 05:26:58 +00:00
rickg 593801f056 fixed API mismatch 1998-06-23 01:35:25 +00:00
rickg 4b202376f1 added support for doc quality 1998-06-23 01:34:25 +00:00
rickg 7e2f0cc044 more API cleanup; home.netscape.com working again 1998-06-23 00:53:50 +00:00
rickg 92d9a4613f added support for empty (XML) tags 1998-06-20 00:12:10 +00:00
rickg ad0536d14d fixed another containment bug; DTD's are very cool 1998-06-19 01:15:19 +00:00
rickg 60ebe042b1 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
atotic 0a217fc050 Removed prstrm includes 1998-06-19 00:15:19 +00:00
jevering 8626f64fbf Forgot to check in the robot changes for new object. 1998-06-18 23:26:55 +00:00
jevering 3bfaaa037a 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 784155d983 Fix rickg's linux build bustage. 1998-06-18 01:04:46 +00:00
kipp f9cf05a882 Disabled saving the source file cuz it crashes on windows 1998-06-18 00:02:36 +00:00
rickg 9150405dab huge refactoring effort; transient style support; tables fixes, and more 1998-06-17 23:13:28 +00:00
atotic 2b30eaf7bd First Checked In. 1998-06-16 21:39:13 +00:00
jevering 534a4603e7 Hooked up the <BLINK> tag in the parser. 1998-06-16 01:15:56 +00:00
jevering c5c3a21258 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 5d77951415 Removed class ifstream declaration. 1998-06-16 00:49:39 +00:00
jevering 2bbfb8cd11 Added prstrm.cpp to cpp file list. 1998-06-16 00:02:03 +00:00
atotic 00253dca7c Make it build in the brave new world 1998-06-15 21:54:52 +00:00
jevering 012763518e Fixed a few memory leaks. 1998-06-13 02:20:04 +00:00
jevering eadb27c4d0 Fixing my Unix bustage. use PR_MkDir instead of mkdir 1998-06-12 02:27:25 +00:00
jevering 832fd3789d Removed _MAX_PATH to fix builds on Irix and Linux. 1998-06-12 02:14:18 +00:00
jevering 403e806203 Fixed up the base dubugrobot function.. mostly cleaning up.
Properly setting the verification directory.
1998-06-12 01:35:36 +00:00
jevering 3b414b2bc9 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 673f137fc2 Fixed bug where &'s followed by whitespace were losing the whitespace 1998-06-05 23:20:21 +00:00