80 Commits

Author SHA1 Message Date
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
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
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
jevering
c5c8aef9b7 Fixed a few memory leaks.
git-svn-id: svn://10.0.0.236/trunk@3752 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 02:20:04 +00:00
jevering
2687956d1e Fixing my Unix bustage. use PR_MkDir instead of mkdir
git-svn-id: svn://10.0.0.236/trunk@3707 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 02:27:25 +00:00
jevering
529ef6d19a Removed _MAX_PATH to fix builds on Irix and Linux.
git-svn-id: svn://10.0.0.236/trunk@3706 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 02:14:18 +00:00
jevering
b44966774c 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.


git-svn-id: svn://10.0.0.236/trunk@3701 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:34:49 +00:00
kipp
030a9a7fd5 Fixed bug where &'s followed by whitespace were losing the whitespace
git-svn-id: svn://10.0.0.236/trunk@3390 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:20:21 +00:00
kipp
1451adbd34 Added spacer tag to the list of things that are containable
git-svn-id: svn://10.0.0.236/trunk@3348 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:56:31 +00:00
rpotts
f9515f9806 Minor changes to nsIStreamListener interface... OnStartBinding(...) now passes out the stream content-type. User visible strings are now nsString arguments (for subsequent i18n)
git-svn-id: svn://10.0.0.236/trunk@3160 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:09:32 +00:00
kipp
161881f7ea Adjust count of data to append by offset when offset is non-zero
git-svn-id: svn://10.0.0.236/trunk@3082 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:29:43 +00:00
kipp
7c943247ed Poke stream listener after finishing the parse
git-svn-id: svn://10.0.0.236/trunk@3030 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:38:57 +00:00
kipp
61a25c7c1d Changed Parse to take an nsIStreamListener to pass notifications too; changed parser to pass them on
git-svn-id: svn://10.0.0.236/trunk@2823 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:51:52 +00:00
rickg
f7bb7a3928 added support for NOBR and fixed MAP and AREA behavior
git-svn-id: svn://10.0.0.236/trunk@2729 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:14:55 +00:00
rickg
a53de4875b fixed 2 bugs that prevented home.netscape.com from loading. WIP.
git-svn-id: svn://10.0.0.236/trunk@2565 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:14:27 +00:00
rickg
d26713dc46 modest improvements to push, and various bug fixes
git-svn-id: svn://10.0.0.236/trunk@2489 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 07:12:08 +00:00
jevering
354c2123f5 Unwhack Rick's change.
git-svn-id: svn://10.0.0.236/trunk@2450 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:57:25 +00:00
jevering
21f4b2f1e9 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.


git-svn-id: svn://10.0.0.236/trunk@2439 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:21:34 +00:00
rickg
8da56df062 fixed bug in form -- form flag was never being set to true
git-svn-id: svn://10.0.0.236/trunk@2204 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 19:31:38 +00:00
rickg
f2f5d28308 incremental parsing; xml support; token handler dispatching; performance
git-svn-id: svn://10.0.0.236/trunk@2126 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 20:38:32 +00:00
jevering
e5cf6a5951 Broke release build. Fixed.
git-svn-id: svn://10.0.0.236/trunk@2065 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 23:08:12 +00:00
jevering
1a4bf77fe2 Debug Robot work.
git-svn-id: svn://10.0.0.236/trunk@1962 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 19:06:59 +00:00
thom
dc472ffeb0 Commented out forward class declaration that was choking code warrior
git-svn-id: svn://10.0.0.236/trunk@1859 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 22:45:00 +00:00
jevering
03e1d6d1b3 Dont crash (at least in debug mode) when a stream cannot be opened.
git-svn-id: svn://10.0.0.236/trunk@1756 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 18:16:39 +00:00
rpotts
fff42d31c8 Added status arguments to OnStopBinding(...)
git-svn-id: svn://10.0.0.236/trunk@1731 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:46:51 +00:00
rpotts
a8ce21f5fc Fixed IRIX build bustage... Added status arguments to OnStopBinding(...)
git-svn-id: svn://10.0.0.236/trunk@1730 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 09:46:42 +00:00
rpotts
32c056bbbd fix for the IRIX build...
git-svn-id: svn://10.0.0.236/trunk@1713 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 08:51:48 +00:00
rickg
4e262a1fe0 WIP for push based tokenization
git-svn-id: svn://10.0.0.236/trunk@1683 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-14 22:19:08 +00:00
rickg
e8f3b719cd made comments more complete
git-svn-id: svn://10.0.0.236/trunk@1429 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 01:11:50 +00:00
rickg
c9a40cc270 updated comments
git-svn-id: svn://10.0.0.236/trunk@1428 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-12 00:59:32 +00:00
rickg
d279bd9b90 fixed numeric entities
git-svn-id: svn://10.0.0.236/trunk@1424 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-11 23:28:01 +00:00
rickg
cb2d8b8eb8 MUCH better support for auto-closing tags.
git-svn-id: svn://10.0.0.236/trunk@1363 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-09 00:42:33 +00:00
rickg
683ffd3d1f changed OPTION tag from leaf to container node
git-svn-id: svn://10.0.0.236/trunk@1350 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 22:36:15 +00:00
rickg
73cdf7b056 new contentsink api's for kipp
git-svn-id: svn://10.0.0.236/trunk@1243 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 21:11:07 +00:00