Commit Graph
579 Commits
Author SHA1 Message Date
ftang@netscape.com ad85e43962 fix misusage of nsAutoString w/ GetUnicode() method, which cause trouble in UNIX 1999-05-18 02:28:33 +00:00
ftang@netscape.com 98362ca66c remove meta charset hack. Add access function to nsParser to get the current charset and source. Add additional information to the nsIElementObserver 1999-05-18 01:30:21 +00:00
harishd@netscape.com 7803f53c9f Removed eHTMLTag_script from gTBodyKids. This is because
<SCRIPT> tag can be contained anywhere in a document and it is
not necessary for <TBODY> to treat <SCRIPT> differently.
1999-05-18 01:29:41 +00:00
harishd@netscape.com a88f06fcc3 Using CNavDTD::CanContain() in CanOmit().
Added a check for SCRIPT tag in CNavDTD::CanContain()
that would allow <SCRIPT> tag to be contained anywhere
in a document
1999-05-18 01:26:21 +00:00
vidur@netscape.com 886f6db492 Fix for bug 6232. Scripts were incorrectly being pushed out of tbody tags. 1999-05-17 23:40:25 +00:00
neeti@netscape.com 7e65b72865 Changed GetTagName api to return a tag for the index passed in.
This enables observers to register for more than one tag.
1999-05-17 20:00:58 +00:00
ftang@netscape.com f64ae224c4 remove nsCharsetObserver. These two files have been change to nsMetaCharsetObserver and move into intl/chardet/src directory 1999-05-17 19:15:01 +00:00
rickg@netscape.com 8588158d52 fixed bug 6107 1999-05-16 07:09:13 +00:00
rickg@netscape.com 4f3a22f635 final features for parsing engine (WIP); lots of bug fixes 1999-05-16 05:27:23 +00:00
ftang@netscape.com de1c55f260 add nsIElementObserver.h 1999-05-14 23:23:41 +00:00
akkana@netscape.com fb039b7769 5663: Fix copy/paste of entities.
mUnicodeEncoder isn't getting initialized properly, at least on Linux.
Also fixed some compiler warnings while I'm here.
1999-05-14 19:47:10 +00:00
sspitzer@netscape.com c0446a9d7f make destructors virtual 1999-05-13 02:25:13 +00:00
sspitzer@netscape.com 2d6aeda4f0 create a virtual destructor 1999-05-13 02:14:11 +00:00
sspitzer@netscape.com d6c0ada379 make destructor virtual 1999-05-13 02:11:09 +00:00
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