dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
cls%seawood.org
3e1a9ca95a
Removed unused NECKO ifdefs.
...
a=leaf
git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
harishd%netscape.com
3d1723b618
Fix for bugs
...
1312 - Mapped all HTML 4.0x FPIs to NOQUIRKS mode.
2749 - Tweaked strict comment handling code. -> r=rickg
17148 - Making sure that BeginContext() is ended only by EndContext()
17113, 1262 - Made AddLeaf(), in DTD, to be cautious in handling text tokens.
Using bit-wise search for IsContainer() instead of looping. ( nsElementTable )
Fixed warnings.
r=pollmann
git-svn-id: svn://10.0.0.236/trunk@52148 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 23:25:59 +00:00
rickg%netscape.com
7d94513269
fixed bug17387 (pre-constructing DTD's). r=warren
...
git-svn-id: svn://10.0.0.236/trunk@52075 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 09:26:19 +00:00
rickg%netscape.com
b14a509c76
fixed bug17388, dtd leak; r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@52069 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 07:53:21 +00:00
nisheeth%netscape.com
b7fab4e31c
Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
...
git-svn-id: svn://10.0.0.236/trunk@51196 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:27:20 +00:00
nisheeth%netscape.com
c916cc6da1
Changes do not get built in regular build. Fix timing hooks in the parser.
...
git-svn-id: svn://10.0.0.236/trunk@50896 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:42:09 +00:00
harishd%netscape.com
77f9635cce
Fix for Bugs
...
13640, 13736 - Memory leaks - R=rickg
1312 - Hooked up XHTML DOCTYPE - R=rickg
7590 - Prematuredly closing <SCRIPT> on seeing </SCRIPTERR>
2749 - Strict comment handling for noquirks mode - R=rickg
14955 - LEGEND inside FIELDSET was causing infinite looping - R=rickg,pollmann
14952 - LABEL got closed on seeing SPAN (LABEL can contain SPAN ) - R=pollmann
15381 - comment handling for XIF and HTML - R=akkana
15346 - Stray end tag caused loading blank document - R=rickg,pollmann
git-svn-id: svn://10.0.0.236/trunk@49988 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:04:29 +00:00
rickg%netscape.com
685d8d596e
fixed bug 15290; eliminated a leak; r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@49805 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:54:53 +00:00
vidur%netscape.com
30b1f0a71b
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.
...
git-svn-id: svn://10.0.0.236/trunk@49499 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:01:48 +00:00
rickg%netscape.com
447e168990
performance and bug fixes: r=buster a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@49400 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 04:04:53 +00:00
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