harishd@netscape.com
6050cf9948
Fix for bugs 13498, 14199, 8389, 13640.
1999-09-21 00:24:28 +00:00
harishd@netscape.com
52cc26003f
Adding support for DOCTYPE.
...
Also, fix for bug 13566.
1999-09-15 17:54:23 +00:00
akkana@netscape.com
b5c7b660ba
Backing out change to write the override charset in a meta tag.
...
The charset menu should be changing the meta tag in the document,
which the output sink will pick up automatically without needing
any special code. See bugs 12085 (on seeing two meta charset tags)
and 7849 (that the charset menu should change the actual meta tag
in the document).
1999-09-10 22:32:32 +00:00
akkana@netscape.com
27e2dcd350
12085: Add meta tag to specify charset
1999-09-01 23:36:57 +00:00
akkana@netscape.com
8436e3f001
11249: add /body tag when writing body-only
1999-08-27 20:54:57 +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
akkana@netscape.com
ee438e8dab
Don't convert charset on nsStrings, as suggested in comments in bug 6672
1999-08-06 20:50:37 +00:00
akkana@netscape.com
6e3ec85916
Fix 10621: write NS_LINEBREAK when we see the html whitespace tag
1999-07-30 23:40:57 +00:00
nisheeth@netscape.com
fd67f88e34
Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
1999-07-28 06:56:05 +00:00
nisheeth@netscape.com
d162e65cd8
- 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.
1999-07-26 05:40:25 +00:00
rickg@netscape.com
cdf172d570
substitute calls to deprecated string API
1999-07-26 00:24:02 +00:00
scc@netscape.com
e2ea20873d
explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs
1999-07-22 05:25:17 +00:00
akkana@netscape.com
671f1bc9ae
Bug 9749: insert a newline after a PRE tag even if mode isn't formatted
1999-07-20 20:54:46 +00:00
akkana@netscape.com
d738a9cc00
Oops, #else in wrong place
1999-07-19 23:09:50 +00:00
akkana@netscape.com
1e5679e724
Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication
1999-07-19 22:41:49 +00:00
peterl@netscape.com
afeb6760cf
changed to preprocessor for code generation for tag & entity tables
...
cleanup tag and entity lookup apis
1999-07-18 00:12:32 +00:00
rickg@netscape.com
a71f2cb74d
fix bugs 8523, 9127, parially fix 8803
1999-07-07 07:40:35 +00:00
akkana@netscape.com
4710f19bb0
5924: Fix XIF handling of HTML comments, and also pass through the document's original formatting whitespace
1999-06-24 20:15:52 +00:00
akkana@netscape.com
c0cf9d6c21
Use NS_LINEBREAK from nsCRT.h
1999-06-22 22:05:12 +00:00
akkana@netscape.com
1051525d1b
Oh, drat. Previous fix for const problem also threw away the result
...
of UnicodeToHTMLString. This fixes that.
1999-06-16 00:52:47 +00:00
akkana@netscape.com
2c2515d234
Fix const problem
1999-06-15 23:56:44 +00:00
akkana@netscape.com
2550bbc81c
6671: map dom codes back to entity form on output
1999-06-15 23:26:13 +00:00
bruce@cybersight.com
991b746307
Fix HP build bustage. Must comment out text after an #endif
1999-06-15 13:38:14 +00:00
akkana@netscape.com
662198c55b
6180: Use proper Mac linebreaks on Mac; 6083: Don't output '=value' in attributes unless there is a value
1999-06-15 01:42:16 +00:00
akkana@netscape.com
71f5908213
Change NS_ASSERTION to NS_VERIFY -- not a fatal condition
1999-06-14 23:00:50 +00:00
rickg@netscape.com
ee6a76ab97
oops -- I didn't mean to update these -- backing out
1999-05-29 03:04:16 +00:00
rickg@netscape.com
9d240d8863
fixed nsString2 usage error introduced by observerlist change
1999-05-29 03:01:22 +00:00
rickg@netscape.com
fc107fc38c
fixed bug 6597 and added memory allocation conditioning
1999-05-19 05:01:46 +00:00
sfraser@netscape.com
d3bb446251
Fix for charset handling in HTML output (r kostello)
1999-05-07 05:03:48 +00:00
kostello@netscape.com
4d87205652
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. :)
1999-05-03 18:41:23 +00:00
rickg@netscape.com
101270bec1
fixed ABW in nsTagStack and updated to string2 API
1999-05-02 00:37:25 +00:00
kostello@netscape.com
5546a883ef
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
1999-04-26 06:16:49 +00:00
rickg@netscape.com
93b02e8dd9
sync with new nsString2 API
1999-04-21 04:02:14 +00:00
harishd@netscape.com
251ceea27a
Added Methods BeginContext() and EndContext()
...
to handle illegal-contents in tables
1999-04-15 20:08:04 +00:00
ramiro@netscape.com
1ec34f6987
delete vs. delete[] vs. free fixes.
...
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.
1999-03-30 05:26:59 +00:00
kostello@netscape.com
6d25e906e0
Fix build bustage. Move entity code to nsHTMLContentSinkStream until
...
this can be correctly addressed.
1999-03-15 19:19:01 +00:00
kostello@netscape.com
811ff5d060
Added nsIHTMLContentSink::DoFragment() method.
...
Added support for conversion of HTML entities in output
1999-03-15 05:08:36 +00:00
nisheeth@netscape.com
95cc9f6f8a
Changed nsIContentSink->NotifyError() to accept an nsParserError argument.
...
This change is needed for propagating errors from the new
expat parser.
1999-03-06 01:48:11 +00:00
kostello@netscape.com
4012fe7c40
Added new sink that outputs a Text stream instead of
...
an HTML stream.
1999-03-04 21:52:57 +00:00
brade@netscape.com
54496f0bf4
add static to 4 functions to reduce Macintosh compiler warnings
1999-03-03 14:44:02 +00:00
kostello@netscape.com
5a86245b1d
Added NS_INIT_REFCNT in the constructors
1999-02-10 16:38:10 +00:00
rickg@netscape.com
d596efe232
A wad of changes to the parser. See my update
1999-01-09 01:09:02 +00:00
vidur@netscape.com
1257b18f81
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.
1998-12-11 17:02:37 +00:00
vidur@netscape.com
08119650b3
Added XML display support. Added NotifyError method to nsIContentSink
1998-11-11 22:04:42 +00:00
rickg@netscape.com
caca79a694
changed contentsink API to support XML
1998-11-10 04:20:40 +00:00
kipp@netscape.com
13c7864250
Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros
1998-09-12 19:33:48 +00:00
kipp@netscape.com
c638587fef
Removed the PushMark method
1998-08-28 16:18:14 +00:00
kostello@netscape.com
e41aa53ebc
Moved pretty printing interfaces inside implementation of nsHTMLContentSinkStream
...
Added interfaces to turn pretty printing on/off -- support for copy/paste
1998-07-27 18:16:01 +00:00
rickg@netscape.com
11ed2d68b5
warning removal
1998-07-25 02:11:02 +00:00
rickg@netscape.com
b0e2b21712
table bug fixes, heading fixes, performance, docs
1998-07-23 08:21:02 +00:00