vidur@netscape.com
13e2eeacbb
Converted parser into a module. NS_NewFoo routines are temporarily inlined to call component manager. Introduced nsIParserService for temporary replacement of nsHTMLTags and nsHTMLEntities static methods. RickG to do complete review.
1999-09-30 22:01:48 +00:00
rickg@netscape.com
8ca3fde4d4
performance and bug fixes: r=buster a=chofmann
1999-09-30 04:04:53 +00:00
kipp@netscape.com
88d0b9d790
Removed most of the static ctors
1999-09-25 20:05:51 +00:00
nisheeth@netscape.com
e99f7f9cef
Use NSPR logging rather than printf's for stopwatch output.
1999-09-24 08:57:36 +00:00
nisheeth@netscape.com
6cc5f47f18
Stop printing out the total time measurement in the parser. Do this measurement up in the webshell.
1999-09-24 07:14:42 +00:00
rickg@netscape.com
e1b034d38b
improve timer usage in parsing engine for more accurate report
1999-09-22 07:41:53 +00:00
rickg@netscape.com
f4bcbe75f9
added DEBUG timing code to parsing engine
1999-09-22 06:19:50 +00:00
nisheeth@netscape.com
bbc55b977b
- Stop the stopwatch *before* the reference to the parser is released!
...
- Include util.lib into the list of statically linked libraries
1999-09-21 06:23:10 +00:00
nisheeth@netscape.com
4f0732cd69
Add a stopwatch to measure total time (parsing, content creation, frame creation, style resolution, and reflow) in the parser.
1999-09-20 22:24:33 +00:00
harishd@netscape.com
23377df331
Hooking up ISO doctypes [ These are mapped to strict DTD ].
1999-09-16 00:07:46 +00:00
harishd@netscape.com
52cc26003f
Adding support for DOCTYPE.
...
Also, fix for bug 13566.
1999-09-15 17:54:23 +00:00
ftang@netscape.com
f2c9492db3
add constant for byte order makr detection
1999-09-10 18:58:37 +00:00
warren@netscape.com
c051b946f8
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.
1999-09-09 22:05:05 +00:00
harishd@netscape.com
00d70e7128
Replacing ostream to nsStream in DebugDump methods.
1999-09-02 18:30:31 +00:00
kipp@netscape.com
0ccb6d6297
Use nsAutoString instead of nsString for temps
1999-09-02 18:13:07 +00:00
ftang@netscape.com
64ce0e8e18
change to newly registered IANA charset name
1999-09-01 01:17:11 +00:00
ftang@netscape.com
a67a573850
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
1999-08-30 22:25:17 +00:00
rickg@netscape.com
595cd1448a
corrected string usage errors and removed warning
1999-08-29 17:35:19 +00:00
rickg@netscape.com
254f4e8eb9
autogen content if onDataAvailable is never called
1999-08-25 03:47:37 +00:00
rickg@netscape.com
77c183f002
removed warnings, unused debug code and a crufy comment
1999-08-25 03:10:47 +00:00
akkana@netscape.com
c359aafe41
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.
1999-08-24 18:30:19 +00:00
harishd@netscape.com
c26ddb7c50
Fix for bug#s 10530, and 10596.
...
Conditioning the raw buffer by removing the unwanted null chars.
1999-07-31 20:16:30 +00:00
harishd@netscape.com
75de55d1d9
Made EnableParse() to return nsresult. Used to return PRBool
1999-07-27 23:32:30 +00:00
harishd@netscape.com
51fb0d3d0b
Fix for Bug# 3571.
...
Added Terminate() method in nsIDTD.
1999-07-27 00:54:46 +00:00
rickg@netscape.com
a30817a6cc
remove warnings, bug fixes, API enhancements
1999-07-25 17:23:24 +00:00
rickg@netscape.com
20f71c56fd
fixed bugs 10104 and 10107 -- also removed warnings
1999-07-20 06:58:01 +00:00
rickg@netscape.com
da8cf67c82
switching to faster string APIs
1999-07-19 03:09:16 +00:00
harishd@netscape.com
14d1666156
Added Observernotification for XML PI, cleaned up some warnings.
1999-07-16 21:07:54 +00:00
nisheeth@netscape.com
8e8039847c
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.
1999-07-15 08:23:37 +00:00
mscott@netscape.com
e933fee4bb
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.
1999-07-09 23:07:50 +00:00
rickg@netscape.com
2eff8a305e
fixed bug 9386 and added Terminate() to parser API
1999-07-08 04:39:38 +00:00
warren@netscape.com
489c1d2df9
Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
1999-07-07 08:08:40 +00:00
rickg@netscape.com
a71f2cb74d
fix bugs 8523, 9127, parially fix 8803
1999-07-07 07:40:35 +00:00
warren@netscape.com
1496c3eec1
Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
1999-07-01 19:30:20 +00:00
valeski@netscape.com
d4395ac12b
we need to watch the error code of content type
1999-06-29 23:26:11 +00:00
mscott@netscape.com
c418673639
necko change: nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream.
1999-06-28 20:43:28 +00:00
warren@netscape.com
753ac43fff
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
warren@netscape.com
823f2d25cb
Parser changes for necko.
1999-06-21 00:33:51 +00:00
ftang@netscape.com
294861f969
push SetParserFilter from nsParser.h to nsIParser.h
1999-06-15 23:29:54 +00:00
rickg@netscape.com
4acdab38c3
faster viewing of text, bugs: 7889, 7892, 8047, 3795
1999-06-13 21:24:25 +00:00
harishd@netscape.com
6dcd2b06ed
Capturing parser STOP error.
...
Fix for bug# 5682
1999-06-10 23:22:37 +00:00
nhotta@netscape.com
c897893f80
Bug fix #7715 , removing the hack (rev 3.95).
1999-06-09 19:45:00 +00:00
akkana@netscape.com
e261b02a0e
Vidur's initial implementation of Insert HTML Fragment
1999-06-03 22:38:38 +00:00
rickg@netscape.com
654d446ef4
small performance enhancement -- less searching
1999-05-28 07:14:08 +00:00
rickg@netscape.com
040202d93b
cleanup warnings
1999-05-27 10:57:22 +00:00
rickg@netscape.com
1bd79dde7e
cleanup warnings
1999-05-27 10:53:29 +00:00
rickg@netscape.com
0b2d388bd2
fix bug 5094
1999-05-27 10:33:50 +00:00
rickg@netscape.com
d2a85a77c6
fix bug 5094
1999-05-27 10:32:33 +00:00
rickg@netscape.com
960647d9a3
fix nsString2 link error
1999-05-27 07:29:33 +00:00
rickg@netscape.com
7523c4a989
Added IsValidFragment()
1999-05-27 06:44:44 +00:00