Commit Graph
565 Commits
Author SHA1 Message Date
vidur@netscape.com e6ca74e3d1 Added const-ness to IsValidFragment string. 1999-05-11 20:21:13 +00:00
jdunn@netscape.com efa84d84c0 remove "#pragma" that is there for no reason 1999-05-11 18:48:12 +00:00
neeti@netscape.com 37db9d8bc7 Exporting NS_NewHTMLNullSink() and adding NS_INIT_REFCNT to the constructor. 1999-05-07 05:22:37 +00:00
harishd@netscape.com a9d2375cdd Exporting nsIElementObserver.h 1999-05-07 05:18:37 +00:00
harishd@netscape.com 7915d309a0 Added support to Notify PICS and CHARSET 1999-05-07 05:17:40 +00:00
harishd@netscape.com fe88251b5c Enabled the RegisterObserver() to Create an Observer Dictionary. 1999-05-07 05:16:30 +00:00
harishd@netscape.com 518024f098 Setting document key to the parsercontext. 1999-05-07 05:13:33 +00:00
harishd@netscape.com 31cedfe2c6 Modified the Notify() method. Changed nsString* to PRUnichar*. 1999-05-07 05:12:04 +00:00
sfraser@netscape.com d3bb446251 Fix for charset handling in HTML output (r kostello) 1999-05-07 05:03:48 +00:00
nisheeth@netscape.com f2aac9205c Added a key as a parameter to all the different versions of the Parse method in nsIParser. 1999-05-06 01:48:56 +00:00
ftang@netscape.com 5c5602308f fix signed/unsigned problem, call Reset function when error occur 1999-05-05 23:53:49 +00:00
rickg@netscape.com 9a4309ada0 more WIP for DOM/paste API's 1999-05-05 00:55:54 +00:00
rickg@netscape.com 673d7e6501 temporarily unwind new comment handling -- I'll wait a week 1999-05-04 23:45:32 +00:00
rickg@netscape.com 32aa18f672 small mods to parser API's for DOM/paste 1999-05-04 23:20:28 +00:00
ftang@netscape.com aed97858ce change nsIElementObserver and nsCharsetObserver per harish request. We have not build w/ these three file yet. 1999-05-04 20:20:52 +00:00
ftang@netscape.com b49d7bddd6 better error handling in append method 1999-05-04 20:01:55 +00:00
rickg@netscape.com 2cc5e24f5e wrong API, sorry 1999-05-04 04:49:48 +00:00
rickg@netscape.com fb507170c8 update for bug 5544 1999-05-04 04:25:20 +00:00
rickg@netscape.com 9cdad5c957 fixed bug 5611 1999-05-04 04:24:24 +00:00
rickg@netscape.com e65b309be6 fixed bug 5846 1999-05-04 04:23:12 +00:00
rickg@netscape.com a98e98471a added DOM interfaces for paste 1999-05-04 04:22:31 +00:00
kostello@netscape.com 84242d2428 Small update to fix for bug #5525. Approval for checkin: chofmann. 1999-05-03 20:16:14 +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
harishd@netscape.com f8a7a68283 Fix for a crasher. Opening <BODY> in DidBuildModel()
for documents that that don't have an open <BODY> or
<FRAMESET>.
R=rickg A=chofmann
1999-04-30 01:52:38 +00:00
rickg@netscape.com c56d60120e fixed bug 5606 1999-04-28 06:52:25 +00:00
bruce@cybersight.com 0bd07e092b Remove -lnetlib from link lines. Not needed. 1999-04-28 05:30:09 +00:00
ftang@netscape.com 9d10e7b900 add new constant for charset source 1999-04-27 23:32:50 +00:00
harishd@netscape.com 52a5d11e04 Allowing form elements to be contained anywhere inside
a table.  Fix for bug 4322.
1999-04-27 22:56:27 +00:00
rickg@netscape.com bf2a35c194 fixed bugs 4482 and 5460 1999-04-26 22:49:04 +00:00
rickg@netscape.com 5249954a1e fixed bugs: 4482 and 5460 1999-04-26 22:48:07 +00:00
ftang@netscape.com ada254eb48 add SetDocumentCharset method to nsIParser, move nsCharsetSource from nsScanner.h to nsIParser.h 1999-04-26 17:49:45 +00:00
bruce@cybersight.com 40c2a6178b Fix for AIX build bustage: "../../../htmlparser/src/nsXIFDTD.cpp", line 1690.31: 1540-224: (S) Conversion from "nsString" to a reference to a non-const type "nsString&" requires a temporary. 1999-04-26 07:31:09 +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
bruce@cybersight.com 0afa460518 Make destructor virtual (approved by rickg). 1999-04-25 22:01:14 +00:00
harishd@netscape.com ac1a78886d Cleaned up HandleOmittedTag() and HandleSavedTokensAbove(). 1999-04-25 21:55:05 +00:00
rickg@netscape.com adb31c8177 more backout 1999-04-25 04:10:37 +00:00
rickg@netscape.com cc6c45d403 perf improvement for macaddict.com (and others) 1999-04-25 01:43:06 +00:00
rickg@netscape.com 8a85a793c9 removed dup identifier 1999-04-25 01:35:45 +00:00
nisheeth@netscape.com 1b04086df5 Fixed the error reporting code's math for the final time, hopefully. Also fixed the off by one error for the textual arrow that points out the error location. 1999-04-24 10:06:35 +00:00
nisheeth@netscape.com 02850fd3b4 Don't use XML_UNICODE_WCHAR_T (defines characters with the wchar_t data type whose size varies by platform) for strings in expat. Use XML_UNICODE (defines characters with the unsigned short data type whose size is the same across all platforms) instead. 1999-04-24 08:39:06 +00:00
rickg@netscape.com bb5a290346 tweak to dtd context 1999-04-24 00:57:42 +00:00
donm@netscape.com 85ca30b0d1 Rick Gessner helped unpretzel the logic here to get the
right answer, but suggests that this kind of math is
no longer necessary with nsString.
fixes build bustage.
1999-04-22 18:37:35 +00:00
nisheeth@netscape.com 4cb10645a9 Expat's switch to unicode buffers confused the error reporting code. Fixed. 1999-04-22 09:25:31 +00:00
nisheeth@netscape.com d89446e066 Fixing Mac build bustage. Expat has started returning wchar_t * (wide chars) because it supports Unicode buffers. Those wchar_t *s needed to be cast to PRUnichar *s. 1999-04-22 06:27:56 +00:00
nisheeth@netscape.com 974bb84a8b Fix for bug 4463. Expat now accepts unicode buffers. 1999-04-22 05:31:18 +00:00
ftang@netscape.com 56bca615cf remove PRBool* oContinue from the Notify method 1999-04-21 23:44:27 +00:00
ftang@netscape.com 6d5445f0cf add PRUint32 aDocumentID to the Notify method of nsIElementObserver interface 1999-04-21 21:04:39 +00:00
ftang@netscape.com ad4cfa2bb7 add new files for PICS and Charset observation, have not change makefile yet 1999-04-21 19:51:38 +00:00
rickg@netscape.com 83279cefad added observerdictionary 1999-04-21 05:36:47 +00:00