143 Commits

Author SHA1 Message Date
kipp%netscape.com
2f8faa4f89 Removed most of the static ctors
git-svn-id: svn://10.0.0.236/trunk@49058 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 20:05:51 +00:00
nisheeth%netscape.com
351d8f1643 Use NSPR logging rather than printf's for stopwatch output.
git-svn-id: svn://10.0.0.236/trunk@48975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
f622365890 Stop printing out the total time measurement in the parser. Do this measurement up in the webshell.
git-svn-id: svn://10.0.0.236/trunk@48971 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 07:14:42 +00:00
rickg%netscape.com
b5bb9a48c0 improve timer usage in parsing engine for more accurate report
git-svn-id: svn://10.0.0.236/trunk@48839 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 07:41:53 +00:00
rickg%netscape.com
001a404a26 added DEBUG timing code to parsing engine
git-svn-id: svn://10.0.0.236/trunk@48814 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 06:19:50 +00:00
nisheeth%netscape.com
4e29281319 - Stop the stopwatch *before* the reference to the parser is released!
- Include util.lib into the list of statically linked libraries


git-svn-id: svn://10.0.0.236/trunk@48523 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 06:23:10 +00:00
nisheeth%netscape.com
654347a177 Add a stopwatch to measure total time (parsing, content creation, frame creation, style resolution, and reflow) in the parser.
git-svn-id: svn://10.0.0.236/trunk@48418 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 22:24:33 +00:00
harishd%netscape.com
7fbf7d9dd3 Hooking up ISO doctypes [ These are mapped to strict DTD ].
git-svn-id: svn://10.0.0.236/trunk@47684 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 00:07:46 +00:00
harishd%netscape.com
10a9e27c68 Adding support for DOCTYPE.
Also, fix for bug 13566.


git-svn-id: svn://10.0.0.236/trunk@47593 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 17:54:23 +00:00
ftang%netscape.com
06fda7c308 add constant for byte order makr detection
git-svn-id: svn://10.0.0.236/trunk@46814 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:58:37 +00:00
warren%netscape.com
de60d2685c Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
harishd%netscape.com
404bb38877 Replacing ostream to nsStream in DebugDump methods.
git-svn-id: svn://10.0.0.236/trunk@45706 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:30:31 +00:00
kipp%netscape.com
4b348cc604 Use nsAutoString instead of nsString for temps
git-svn-id: svn://10.0.0.236/trunk@45699 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:13:07 +00:00
ftang%netscape.com
386d0ae649 change to newly registered IANA charset name
git-svn-id: svn://10.0.0.236/trunk@45408 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:17:11 +00:00
ftang%netscape.com
83734eae50 1. detect BOM, 2. Implement XML 1.0 Appendex F, 3. move hack from nsParser.cpp to nsScanner.cpp so we won't damage UCS2 data
git-svn-id: svn://10.0.0.236/trunk@45206 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:25:17 +00:00
rickg%netscape.com
6f7f47de92 corrected string usage errors and removed warning
git-svn-id: svn://10.0.0.236/trunk@45065 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 17:35:19 +00:00
rickg%netscape.com
efdfeda5e1 autogen content if onDataAvailable is never called
git-svn-id: svn://10.0.0.236/trunk@44446 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 03:47:37 +00:00
rickg%netscape.com
9a8d155dac removed warnings, unused debug code and a crufy comment
git-svn-id: svn://10.0.0.236/trunk@44439 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 03:10:47 +00:00
akkana%netscape.com
131d318ad4 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.


git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +00:00
harishd%netscape.com
fcd30e3c4e Fix for bug#s 10530, and 10596.
Conditioning the raw buffer by removing the unwanted null chars.


git-svn-id: svn://10.0.0.236/trunk@41738 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 20:16:30 +00:00
harishd%netscape.com
aa418dc7e3 Made EnableParse() to return nsresult. Used to return PRBool
git-svn-id: svn://10.0.0.236/trunk@41356 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:32:30 +00:00
harishd%netscape.com
5d3d91189e Fix for Bug# 3571.
Added Terminate() method in nsIDTD.


git-svn-id: svn://10.0.0.236/trunk@41187 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:54:46 +00:00
rickg%netscape.com
aed2a73b26 remove warnings, bug fixes, API enhancements
git-svn-id: svn://10.0.0.236/trunk@41054 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 17:23:24 +00:00
rickg%netscape.com
bb00524732 fixed bugs 10104 and 10107 -- also removed warnings
git-svn-id: svn://10.0.0.236/trunk@40247 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 06:58:01 +00:00
rickg%netscape.com
94ea0e1b16 switching to faster string APIs
git-svn-id: svn://10.0.0.236/trunk@40069 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:09:16 +00:00
harishd%netscape.com
37dab34213 Added Observernotification for XML PI, cleaned up some warnings.
git-svn-id: svn://10.0.0.236/trunk@39752 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 21:07:54 +00:00
nisheeth%netscape.com
77b04b9c0b Fix for bug 8703. We now display errors for incomplete XML files like "<b><c></c>". XML_Parse() was not being called with the isFinal parameter set to TRUE after the last chunk of data was passed to expat. Fixed.
git-svn-id: svn://10.0.0.236/trunk@39521 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 08:23:37 +00:00
mscott%netscape.com
afbb4fb824 NECKO change only --> if we failed to get a content type we would crash because we were executing code even if
the return value was failure that dependend on the content type ptr being valid.


git-svn-id: svn://10.0.0.236/trunk@38935 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 23:07:50 +00:00
rickg%netscape.com
c2aacff36d fixed bug 9386 and added Terminate() to parser API
git-svn-id: svn://10.0.0.236/trunk@38783 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 04:39:38 +00:00
warren%netscape.com
f165677628 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
git-svn-id: svn://10.0.0.236/trunk@38659 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:08:40 +00:00
rickg%netscape.com
1de3f3dd0a fix bugs 8523, 9127, parially fix 8803
git-svn-id: svn://10.0.0.236/trunk@38647 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 07:40:35 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
valeski%netscape.com
00f19d472d we need to watch the error code of content type
git-svn-id: svn://10.0.0.236/trunk@37493 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 23:26:11 +00:00
mscott%netscape.com
fddcf47e13 necko change: nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream.
git-svn-id: svn://10.0.0.236/trunk@37223 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 20:43:28 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
warren%netscape.com
7792abe2c0 Parser changes for necko.
git-svn-id: svn://10.0.0.236/trunk@36014 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 00:33:51 +00:00
ftang%netscape.com
b018cf10ce push SetParserFilter from nsParser.h to nsIParser.h
git-svn-id: svn://10.0.0.236/trunk@35517 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:29:54 +00:00
rickg%netscape.com
0bae0c1a04 faster viewing of text, bugs: 7889, 7892, 8047, 3795
git-svn-id: svn://10.0.0.236/trunk@35098 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 21:24:25 +00:00
harishd%netscape.com
56c5880014 Capturing parser STOP error.
Fix for bug# 5682


git-svn-id: svn://10.0.0.236/trunk@34680 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:22:37 +00:00
nhotta%netscape.com
1500892775 Bug fix #7715, removing the hack (rev 3.95).
git-svn-id: svn://10.0.0.236/trunk@34454 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:45:00 +00:00
akkana%netscape.com
5731d83f36 Vidur's initial implementation of Insert HTML Fragment
git-svn-id: svn://10.0.0.236/trunk@33637 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:38:38 +00:00
rickg%netscape.com
3ffa9ea51f small performance enhancement -- less searching
git-svn-id: svn://10.0.0.236/trunk@33114 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 07:14:08 +00:00
rickg%netscape.com
7efb6bc5b9 cleanup warnings
git-svn-id: svn://10.0.0.236/trunk@32932 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:57:22 +00:00
rickg%netscape.com
e725246f20 cleanup warnings
git-svn-id: svn://10.0.0.236/trunk@32931 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:53:29 +00:00
rickg%netscape.com
2b68d411fb fix bug 5094
git-svn-id: svn://10.0.0.236/trunk@32930 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:33:50 +00:00
rickg%netscape.com
84c1546321 fix bug 5094
git-svn-id: svn://10.0.0.236/trunk@32929 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:32:33 +00:00
rickg%netscape.com
3247092783 fix nsString2 link error
git-svn-id: svn://10.0.0.236/trunk@32923 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 07:29:33 +00:00
rickg%netscape.com
43d615affd Added IsValidFragment()
git-svn-id: svn://10.0.0.236/trunk@32922 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:44:44 +00:00
ftang%netscape.com
465fa2e874 fix bug 6740. approved by christ hofmann. reviewed by harish. This is a temp fix. ftang should move this hack out of parser after M6
git-svn-id: svn://10.0.0.236/trunk@32577 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 02:35:27 +00:00
rickg%netscape.com
1f82bdb300 fixed bug 6597 and added memory allocation conditioning
git-svn-id: svn://10.0.0.236/trunk@32284 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:01:46 +00:00