27 Commits

Author SHA1 Message Date
nisheeth%netscape.com
4aa16e828e Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
git-svn-id: svn://10.0.0.236/trunk@41447 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 06:56:05 +00:00
nisheeth%netscape.com
0069328861 - Move AddDocTypeDecl method from nsIXMLContentSink to nsIContentSink.
- Fix bug 8607 by passing the XML decl and the doctype decl from the expat tokenizer to the XML DTD.


git-svn-id: svn://10.0.0.236/trunk@41106 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 05:40:25 +00:00
akkana%netscape.com
4ab5c89c92 Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication
git-svn-id: svn://10.0.0.236/trunk@40176 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:41:49 +00:00
akkana%netscape.com
2787dec93c 5924: Fix XIF handling of HTML comments, and also pass through the document's original formatting whitespace
git-svn-id: svn://10.0.0.236/trunk@36697 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 20:15:52 +00:00
akkana%netscape.com
6d203047f2 Fix const problem
git-svn-id: svn://10.0.0.236/trunk@35551 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:56:44 +00:00
akkana%netscape.com
245bf1d96e 6671: map dom codes back to entity form on output
git-svn-id: svn://10.0.0.236/trunk@35507 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:26:13 +00:00
ramiro%netscape.com
1337494985 Port to KCC.
git-svn-id: svn://10.0.0.236/trunk@34405 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:09:47 +00:00
rickg%netscape.com
bf2176589a oops -- I didn't mean to update these -- backing out
git-svn-id: svn://10.0.0.236/trunk@33225 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 03:04:16 +00:00
rickg%netscape.com
4cf139826e fixed nsString2 usage error introduced by observerlist change
git-svn-id: svn://10.0.0.236/trunk@33224 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 03:01:22 +00:00
kostello%netscape.com
472d53575b Added support to encode the document as either a nsString or an nsIOutputStream.
In the case of the stream, the document is encoded using the document defined charset
or the user may override the charset.

Added constructors for creating a sink using a nsIOutputStream or an nsString.

Removed all HTML and TEXT encoding which relied on references to ostream. Using John McMullen's
platform independent streaming code in its place. :)


git-svn-id: svn://10.0.0.236/trunk@29963 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:41:23 +00:00
kostello%netscape.com
1a6701bd85 Added support to use the specified document charset when encoding a
document to HTML to Text. The charset information is first encoded
in XIF and then that information is used when interpretting the unicode
for output.

Added support to output character entity information which should address
bug 4709


git-svn-id: svn://10.0.0.236/trunk@29162 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 06:16:49 +00:00
harishd%netscape.com
3b1e086b68 Added Methods BeginContext() and EndContext()
to handle illegal-contents in tables


git-svn-id: svn://10.0.0.236/trunk@27615 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:08:04 +00:00
kostello%netscape.com
212c5568d0 Added nsIHTMLContentSink::DoFragment() method.
Added support for conversion of HTML entities in output


git-svn-id: svn://10.0.0.236/trunk@24161 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:08:36 +00:00
nisheeth%netscape.com
5016ed7684 Changed nsIContentSink->NotifyError() to accept an nsParserError argument.
This change is needed for propagating errors from the new
expat parser.


git-svn-id: svn://10.0.0.236/trunk@23028 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:48:11 +00:00
vidur%netscape.com
b0dbe3d498 Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser.
git-svn-id: svn://10.0.0.236/trunk@16261 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 17:02:37 +00:00
vidur%netscape.com
38bf6d6724 Added XML display support. Added NotifyError method to nsIContentSink
git-svn-id: svn://10.0.0.236/trunk@14466 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:04:42 +00:00
rickg%netscape.com
a7c873a99e changed contentsink API to support XML
git-svn-id: svn://10.0.0.236/trunk@14325 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:20:40 +00:00
kipp%netscape.com
22faac0a08 Removed the PushMark method
git-svn-id: svn://10.0.0.236/trunk@8706 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:18:14 +00:00
pierre%netscape.com
f02b246974 fix build breakage from previous checkin
git-svn-id: svn://10.0.0.236/trunk@6618 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 05:31:01 +00:00
pierre%netscape.com
2814f6638f fix Mac build: include <iosfwd.h>
git-svn-id: svn://10.0.0.236/trunk@6612 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:14:58 +00:00
kostello%netscape.com
d4d89af1ef Moved pretty printing interfaces inside implementation of nsHTMLContentSinkStream
Added interfaces to turn pretty printing on/off -- support for copy/paste


git-svn-id: svn://10.0.0.236/trunk@6545 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:16:01 +00:00
rickg%netscape.com
1988983aeb table bug fixes, heading fixes, performance, docs
git-svn-id: svn://10.0.0.236/trunk@6238 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 08:21:02 +00:00
kipp%netscape.com
04161762b4 Revised sink API's and others to be more xpcom'ish
git-svn-id: svn://10.0.0.236/trunk@5652 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:30:39 +00:00
rickg
c02241edaa fixed a tinderbox problem introduced in latest contentsinkstream
git-svn-id: svn://10.0.0.236/trunk@5540 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:21:39 +00:00
kostello
4a76768a22 Added XIF Support. XIF is a Netscape internal XML format which is
designed to allow for easy conversion from the NGLayoutContent model
to other formats. It's primary focus is to allow easy conversion to
HTML3.2 and HTML4.0 formats. Other formats may be supported in the future.


git-svn-id: svn://10.0.0.236/trunk@5523 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:37:51 +00:00
rickg
434bedca96 added WIP support for reentrancy in the parser
git-svn-id: svn://10.0.0.236/trunk@5413 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:13:09 +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