575 Commits

Author SHA1 Message Date
waterson%netscape.com
8434a7ac0f Remove fstream.h to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@32249 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:45:50 +00:00
ftang%netscape.com
93add79105 fix misusage of nsAutoString w/ GetUnicode() method, which cause trouble in UNIX
git-svn-id: svn://10.0.0.236/trunk@32015 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:28:33 +00:00
ftang%netscape.com
58444d6efe remove meta charset hack. Add access function to nsParser to get the current charset and source. Add additional information to the nsIElementObserver
git-svn-id: svn://10.0.0.236/trunk@32002 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:30:21 +00:00
harishd%netscape.com
129dcefe6f 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.


git-svn-id: svn://10.0.0.236/trunk@32001 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:29:41 +00:00
harishd%netscape.com
0c5f09feb3 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


git-svn-id: svn://10.0.0.236/trunk@32000 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:26:21 +00:00
vidur%netscape.com
9cd00417bf Fix for bug 6232. Scripts were incorrectly being pushed out of tbody tags.
git-svn-id: svn://10.0.0.236/trunk@31976 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:40:25 +00:00
neeti%netscape.com
ed5c5c8621 Changed GetTagName api to return a tag for the index passed in.
This enables observers to register for more than one tag.


git-svn-id: svn://10.0.0.236/trunk@31913 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:00:58 +00:00
ftang%netscape.com
29825fb12c remove nsCharsetObserver. These two files have been change to nsMetaCharsetObserver and move into intl/chardet/src directory
git-svn-id: svn://10.0.0.236/trunk@31907 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:15:01 +00:00
rickg%netscape.com
f26602317c fixed bug 6107
git-svn-id: svn://10.0.0.236/trunk@31839 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 07:09:13 +00:00
rickg%netscape.com
8cc14193f7 final features for parsing engine (WIP); lots of bug fixes
git-svn-id: svn://10.0.0.236/trunk@31835 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 05:27:23 +00:00
ftang%netscape.com
54f37f92ee add nsIElementObserver.h
git-svn-id: svn://10.0.0.236/trunk@31691 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:23:41 +00:00
akkana%netscape.com
41cebfdb96 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.


git-svn-id: svn://10.0.0.236/trunk@31644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:47:10 +00:00
sspitzer%netscape.com
14400137ce make destructors virtual
git-svn-id: svn://10.0.0.236/trunk@31380 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:25:13 +00:00
sspitzer%netscape.com
521872a270 create a virtual destructor
git-svn-id: svn://10.0.0.236/trunk@31375 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:14:11 +00:00
sspitzer%netscape.com
29821c1907 make destructor virtual
git-svn-id: svn://10.0.0.236/trunk@31371 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:11:09 +00:00
vidur%netscape.com
19da06fec2 Added const-ness to IsValidFragment string.
git-svn-id: svn://10.0.0.236/trunk@31126 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:21:13 +00:00
jdunn%netscape.com
e002887b9e remove "#pragma" that is there for no reason
git-svn-id: svn://10.0.0.236/trunk@31095 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:48:12 +00:00
neeti%netscape.com
284fe20f2b Exporting NS_NewHTMLNullSink() and adding NS_INIT_REFCNT to the constructor.
git-svn-id: svn://10.0.0.236/trunk@30673 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:22:37 +00:00
harishd%netscape.com
bc43b1fffe Exporting nsIElementObserver.h
git-svn-id: svn://10.0.0.236/trunk@30672 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:18:37 +00:00
harishd%netscape.com
eef4c0b512 Added support to Notify PICS and CHARSET
git-svn-id: svn://10.0.0.236/trunk@30671 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:17:40 +00:00
harishd%netscape.com
a15328cfbc Enabled the RegisterObserver() to Create an Observer Dictionary.
git-svn-id: svn://10.0.0.236/trunk@30669 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:16:30 +00:00
harishd%netscape.com
9e5a91a649 Setting document key to the parsercontext.
git-svn-id: svn://10.0.0.236/trunk@30668 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:13:33 +00:00
harishd%netscape.com
545bc294b4 Modified the Notify() method. Changed nsString* to PRUnichar*.
git-svn-id: svn://10.0.0.236/trunk@30667 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:12:04 +00:00
sfraser%netscape.com
9d1696fc0b Fix for charset handling in HTML output (r kostello)
git-svn-id: svn://10.0.0.236/trunk@30666 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:03:48 +00:00
nisheeth%netscape.com
8bb7193651 Added a key as a parameter to all the different versions of the Parse method in nsIParser.
git-svn-id: svn://10.0.0.236/trunk@30489 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:48:56 +00:00
ftang%netscape.com
eb2533ba2d fix signed/unsigned problem, call Reset function when error occur
git-svn-id: svn://10.0.0.236/trunk@30449 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:53:49 +00:00
rickg%netscape.com
01d2a451f2 more WIP for DOM/paste API's
git-svn-id: svn://10.0.0.236/trunk@30308 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:55:54 +00:00
rickg%netscape.com
8d80cbcf98 temporarily unwind new comment handling -- I'll wait a week
git-svn-id: svn://10.0.0.236/trunk@30297 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:45:32 +00:00
rickg%netscape.com
37807ad3de small mods to parser API's for DOM/paste
git-svn-id: svn://10.0.0.236/trunk@30273 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:20:28 +00:00
ftang%netscape.com
acecffbcf4 change nsIElementObserver and nsCharsetObserver per harish request. We have not build w/ these three file yet.
git-svn-id: svn://10.0.0.236/trunk@30177 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:20:52 +00:00
ftang%netscape.com
70dca6cd03 better error handling in append method
git-svn-id: svn://10.0.0.236/trunk@30170 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:01:55 +00:00
rickg%netscape.com
fd0be64d4f wrong API, sorry
git-svn-id: svn://10.0.0.236/trunk@30078 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:49:48 +00:00
rickg%netscape.com
804e566231 update for bug 5544
git-svn-id: svn://10.0.0.236/trunk@30077 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:25:20 +00:00
rickg%netscape.com
845245bb71 fixed bug 5611
git-svn-id: svn://10.0.0.236/trunk@30076 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:24:24 +00:00
rickg%netscape.com
fc7fad7024 fixed bug 5846
git-svn-id: svn://10.0.0.236/trunk@30075 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:23:12 +00:00
rickg%netscape.com
d9084b8e80 added DOM interfaces for paste
git-svn-id: svn://10.0.0.236/trunk@30074 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:22:31 +00:00
kostello%netscape.com
b095432a67 Small update to fix for bug #5525. Approval for checkin: chofmann.
git-svn-id: svn://10.0.0.236/trunk@29973 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:16:14 +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
rickg%netscape.com
3d80de2210 fixed ABW in nsTagStack and updated to string2 API
git-svn-id: svn://10.0.0.236/trunk@29952 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-02 00:37:25 +00:00
harishd%netscape.com
c9629c2047 Fix for a crasher. Opening <BODY> in DidBuildModel()
for documents that that don't have an open <BODY> or
<FRAMESET>.
R=rickg A=chofmann


git-svn-id: svn://10.0.0.236/trunk@29826 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 01:52:38 +00:00
rickg%netscape.com
d492983b7a fixed bug 5606
git-svn-id: svn://10.0.0.236/trunk@29730 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:52:25 +00:00
bruce%cybersight.com
5078864b28 Remove -lnetlib from link lines. Not needed.
git-svn-id: svn://10.0.0.236/trunk@29691 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:30:09 +00:00
ftang%netscape.com
e593e4d54e add new constant for charset source
git-svn-id: svn://10.0.0.236/trunk@29579 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 23:32:50 +00:00
harishd%netscape.com
d4612198da Allowing form elements to be contained anywhere inside
a table.  Fix for bug 4322.


git-svn-id: svn://10.0.0.236/trunk@29570 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:56:27 +00:00
rickg%netscape.com
74b6adf904 fixed bugs 4482 and 5460
git-svn-id: svn://10.0.0.236/trunk@29268 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 22:49:04 +00:00
rickg%netscape.com
119eebea1c fixed bugs: 4482 and 5460
git-svn-id: svn://10.0.0.236/trunk@29267 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 22:48:07 +00:00
ftang%netscape.com
f9b3f0d574 add SetDocumentCharset method to nsIParser, move nsCharsetSource from nsScanner.h to nsIParser.h
git-svn-id: svn://10.0.0.236/trunk@29179 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:49:45 +00:00
bruce%cybersight.com
ed4fb79ac6 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.
git-svn-id: svn://10.0.0.236/trunk@29163 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 07:31:09 +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
bruce%cybersight.com
7a7bf03dcd Make destructor virtual (approved by rickg).
git-svn-id: svn://10.0.0.236/trunk@29148 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 22:01:14 +00:00