125 Commits

Author SHA1 Message Date
jevering
0039b478e5 Fix parser build bustage on win32.
git-svn-id: svn://10.0.0.236/trunk@5292 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 18:14:11 +00:00
rickg
837fc0806e dynamic DTD support
git-svn-id: svn://10.0.0.236/trunk@5278 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 05:35:23 +00:00
kipp
fc4de87351 Added a temporary hack to normalize nested lists
git-svn-id: svn://10.0.0.236/trunk@5231 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:05:36 +00:00
kipp
09ade9fd5b Eliminate some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@5030 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:14:21 +00:00
kipp
137defc4e7 Don't forget to build nsHTMLTags.o
git-svn-id: svn://10.0.0.236/trunk@5029 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:13:37 +00:00
kipp
e222065446 Added rules to export and generate nsHTMLTags.h, nsHTMLTags.cpp
git-svn-id: svn://10.0.0.236/trunk@5023 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 20:33:10 +00:00
kipp
3646c57ad5 Removed some cruft
git-svn-id: svn://10.0.0.236/trunk@5016 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:40:45 +00:00
kipp
f311729b88 updated
git-svn-id: svn://10.0.0.236/trunk@5015 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:40:25 +00:00
kipp
aabbf4cd5c Fixed tag enum table to start at 1
git-svn-id: svn://10.0.0.236/trunk@5014 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:40:12 +00:00
kipp
2dcbeaa53e new
git-svn-id: svn://10.0.0.236/trunk@5007 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:19:58 +00:00
kipp
812efebb8f Use new generated tags table/search routines
git-svn-id: svn://10.0.0.236/trunk@5006 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:19:26 +00:00
scullin
00a860dea1 Attempt to fix mac build.
git-svn-id: svn://10.0.0.236/trunk@4988 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 05:09:43 +00:00
atotic
bc993aea8c Added CNavDTD.h
git-svn-id: svn://10.0.0.236/trunk@4918 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:21:53 +00:00
rickg
5ec2e184eb major improvements to parser API's; fixed a few bugs
git-svn-id: svn://10.0.0.236/trunk@4894 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 08:14:22 +00:00
jevering
26b3044dfc Use the new allocating ReplaceElementAt so that the context and style
stacks aren't sliding memory buffers all over the place (and over
allocating).


git-svn-id: svn://10.0.0.236/trunk@4859 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:29:59 +00:00
thom
eb30684bba Fixes for mac linux
git-svn-id: svn://10.0.0.236/trunk@4843 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:29:55 +00:00
rpotts
e6b61670d4 Changed nsIStreamListener to nsIStreamObserver...
git-svn-id: svn://10.0.0.236/trunk@4789 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:11:44 +00:00
rpotts
e608595a3f Changed nsIStreamListener to nsIStreamObserver. Added BeginParse(...) method for the DocumentLoader...
git-svn-id: svn://10.0.0.236/trunk@4788 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:11:05 +00:00
jevering
5edc77d9f9 Added the nsVoidArray support to the COtherDTD class.
git-svn-id: svn://10.0.0.236/trunk@4738 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:11:24 +00:00
jevering
e2038d6968 Changed the context stack and style stacks to be nsVoidArray to avoid
stack overflow.


git-svn-id: svn://10.0.0.236/trunk@4735 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 21:36:10 +00:00
jevering
bcf0aab923 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.


git-svn-id: svn://10.0.0.236/trunk@4715 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 18:23:21 +00:00
kipp
15cf5294da Condensed switch statement, treat sub/sup like other span tags
git-svn-id: svn://10.0.0.236/trunk@4662 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:08:57 +00:00
atotic
de5bb38c01 Added/removed some files
git-svn-id: svn://10.0.0.236/trunk@4636 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:47:08 +00:00
kipp
7f636c5180 Made blink act more like bold
git-svn-id: svn://10.0.0.236/trunk@4551 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 01:12:32 +00:00
vidur
cf184906ab Hooked up SCRIPT tag evaluation.
git-svn-id: svn://10.0.0.236/trunk@4537 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:26:20 +00:00
atotic
2f3716ca23 Making it compile on the Mac
git-svn-id: svn://10.0.0.236/trunk@4510 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:25:36 +00:00
atotic
5fc112b33b Keeping projects up to date
git-svn-id: svn://10.0.0.236/trunk@4507 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:01:28 +00:00
kipp
b99656a4f5 Init mSink
git-svn-id: svn://10.0.0.236/trunk@4487 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:58:46 +00:00
michaelp
c0d17b54f9 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.


git-svn-id: svn://10.0.0.236/trunk@4472 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 04:24:45 +00:00
michaelp
d68195318d fixed build.
git-svn-id: svn://10.0.0.236/trunk@4469 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 03:25:22 +00:00
jevering
210ccda853 Added the new debug file.
git-svn-id: svn://10.0.0.236/trunk@4458 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 01:58:55 +00:00
jevering
df9a6e8401 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.


git-svn-id: svn://10.0.0.236/trunk@4456 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 01:42:50 +00:00
michaelp
4f01298ca8 fixed build.
git-svn-id: svn://10.0.0.236/trunk@4281 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:26:58 +00:00
rickg
96fcb89fb0 fixed API mismatch
git-svn-id: svn://10.0.0.236/trunk@4260 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:35:25 +00:00
rickg
63134a16f2 added support for doc quality
git-svn-id: svn://10.0.0.236/trunk@4259 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:34:25 +00:00
rickg
f755281cca more API cleanup; home.netscape.com working again
git-svn-id: svn://10.0.0.236/trunk@4251 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 00:53:50 +00:00
rickg
1a752708f9 added support for empty (XML) tags
git-svn-id: svn://10.0.0.236/trunk@4178 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:12:10 +00:00
rickg
12eeecf8db fixed another containment bug; DTD's are very cool
git-svn-id: svn://10.0.0.236/trunk@4118 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 01:15:19 +00:00
rickg
3564703faa more bug fixes; changed nsHTMLParser to nsParser.
git-svn-id: svn://10.0.0.236/trunk@4110 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 01:00:27 +00:00
atotic
49772e50d5 Removed prstrm includes
git-svn-id: svn://10.0.0.236/trunk@4105 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 00:15:19 +00:00
jevering
4678cb1baa Forgot to check in the robot changes for new object.
git-svn-id: svn://10.0.0.236/trunk@4097 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:26:55 +00:00
jevering
ccd797086b 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.


git-svn-id: svn://10.0.0.236/trunk@4092 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:57:25 +00:00
scullin
7cb1ce6e45 Fix rickg's linux build bustage.
git-svn-id: svn://10.0.0.236/trunk@4047 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 01:04:46 +00:00
kipp
86b808a102 Disabled saving the source file cuz it crashes on windows
git-svn-id: svn://10.0.0.236/trunk@4029 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:02:36 +00:00
rickg
c430c0421c huge refactoring effort; transient style support; tables fixes, and more
git-svn-id: svn://10.0.0.236/trunk@4025 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 23:13:28 +00:00
atotic
af6ec95cfa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3925 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:39:13 +00:00
jevering
dacd85f8fd Hooked up the <BLINK> tag in the parser.
git-svn-id: svn://10.0.0.236/trunk@3851 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 01:15:56 +00:00
jevering
dd51e4bead 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.


git-svn-id: svn://10.0.0.236/trunk@3848 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:57:45 +00:00
atotic
0ce193c365 Removed class ifstream declaration.
git-svn-id: svn://10.0.0.236/trunk@3845 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:49:39 +00:00
jevering
f2d9d749bb Added prstrm.cpp to cpp file list.
git-svn-id: svn://10.0.0.236/trunk@3839 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:02:03 +00:00