Граф коммитов

544 Коммитов

Автор SHA1 Сообщение Дата
kostello%netscape.com be34900dd6 Small update to fix for bug #5525. Approval for checkin: chofmann. 1999-05-03 20:16:14 +00:00
kostello%netscape.com 98af52ae10 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 54a4c5e1ef fixed ABW in nsTagStack and updated to string2 API 1999-05-02 00:37:25 +00:00
harishd%netscape.com f4c399a6e8 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 24f1fa110d fixed bug 5606 1999-04-28 06:52:25 +00:00
bruce%cybersight.com b375ec7b75 Remove -lnetlib from link lines. Not needed. 1999-04-28 05:30:09 +00:00
ftang%netscape.com 3bae54266f add new constant for charset source 1999-04-27 23:32:50 +00:00
harishd%netscape.com bade4c20ca 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 64e541ea9a fixed bugs 4482 and 5460 1999-04-26 22:49:04 +00:00
rickg%netscape.com 446b90baec fixed bugs: 4482 and 5460 1999-04-26 22:48:07 +00:00
ftang%netscape.com b3da03c3a6 add SetDocumentCharset method to nsIParser, move nsCharsetSource from nsScanner.h to nsIParser.h 1999-04-26 17:49:45 +00:00
bruce%cybersight.com 02e00d4233 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 65091e3762 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 31a55387fd Make destructor virtual (approved by rickg). 1999-04-25 22:01:14 +00:00
harishd%netscape.com e2cbce8ed5 Cleaned up HandleOmittedTag() and HandleSavedTokensAbove(). 1999-04-25 21:55:05 +00:00
rickg%netscape.com 1c793fbfc5 more backout 1999-04-25 04:10:37 +00:00
rickg%netscape.com 0271f3862c perf improvement for macaddict.com (and others) 1999-04-25 01:43:06 +00:00
rickg%netscape.com b76d7a28de removed dup identifier 1999-04-25 01:35:45 +00:00
nisheeth%netscape.com 220c6bd2b7 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 5d7a1c2979 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 41ef3b8a63 tweak to dtd context 1999-04-24 00:57:42 +00:00
donm%netscape.com 2166cc7fcc 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 9c2710ee8c Expat's switch to unicode buffers confused the error reporting code. Fixed. 1999-04-22 09:25:31 +00:00
nisheeth%netscape.com 6e7aeaad28 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 2c9af25208 Fix for bug 4463. Expat now accepts unicode buffers. 1999-04-22 05:31:18 +00:00
ftang%netscape.com ae98c15599 remove PRBool* oContinue from the Notify method 1999-04-21 23:44:27 +00:00
ftang%netscape.com c31e3b5a66 add PRUint32 aDocumentID to the Notify method of nsIElementObserver interface 1999-04-21 21:04:39 +00:00
ftang%netscape.com 2c0df0dda1 add new files for PICS and Charset observation, have not change makefile yet 1999-04-21 19:51:38 +00:00
rickg%netscape.com c2a4448f98 added observerdictionary 1999-04-21 05:36:47 +00:00
rickg%netscape.com 26f04dff54 sync with new nsString2 API 1999-04-21 04:02:14 +00:00
harishd%netscape.com 8148d91e61 Fix for build breakage 1999-04-15 20:59:41 +00:00
harishd%netscape.com 81f23aa0f7 Fix for the build breakage. 1999-04-15 20:57:23 +00:00
harishd%netscape.com 79332a294b For handling illegal-contents in tables 1999-04-15 20:16:24 +00:00
harishd%netscape.com 85d9bd9323 Added method for popping attribute tokens 1999-04-15 20:14:59 +00:00
harishd%netscape.com 64e4d69a1e Adding support for handling illegal-contents in table 1999-04-15 20:14:05 +00:00
harishd%netscape.com 2316a672cb Adding method HandleSavedTokens(). 1999-04-15 20:13:38 +00:00
harishd%netscape.com 79990fee59 Added methods to support illegal-contents 1999-04-15 20:12:41 +00:00
harishd%netscape.com 459970ff71 Replaced eHTMLTags stack to nsDeque and
Added methods to support bad-contents.
1999-04-15 20:11:46 +00:00
harishd%netscape.com e5fef7d662 Setting Bit kBadContentWatch for table related
tags.
1999-04-15 20:10:11 +00:00
harishd%netscape.com 6f07ace38e Added Bit kBadContentWatch 1999-04-15 20:09:40 +00:00
harishd%netscape.com f4cdfc723d *** empty log message *** 1999-04-15 20:08:49 +00:00
harishd%netscape.com b6cb6be656 Added Methods BeginContext() and EndContext()
to handle illegal-contents in tables
1999-04-15 20:08:04 +00:00
vidur%netscape.com b51288bae2 Fixes for bugs 4783 and 2243. Content can now be added via the DOM during document loading. document.written content can also cause the parser to block. 1999-04-13 22:22:51 +00:00
nisheeth%netscape.com d0585c1411 Correcting logic for enabling expat by default on the Mac. Approved by chofmann. 1999-04-09 02:17:00 +00:00
rickg%netscape.com a5c27c4761 fixed token bug in parser that caused script error 1999-04-08 11:37:00 +00:00
rickg%netscape.com bc0e95071f fixed token bug in parser that caused script error 1999-04-08 11:36:29 +00:00
nisheeth%netscape.com 113c060f61 - Enable expat by default. If you run into problems, you can disable expat at run-time by setting NOEXPAT=1 in your environment on Windows and UNIX.
On Mac, create a file called NOEXPAT in the directory from which you run the browser.

- Changed nsExpatTokenizer so that it stops parsing buffers once it sees an XML well-formedness error.
1999-04-08 09:21:16 +00:00
rickg%netscape.com 9c6e76138e fixed mail/news crash and bug 4606 1999-04-07 21:05:19 +00:00
scc%netscape.com f736e9f514 generalize fstreams to our own input streams, this is the first part of a change to allow XUL from streams 1999-04-06 20:39:11 +00:00
ftang%netscape.com ab0f619a88 temp fix bug 4463 untill the nsParser SetDefaultCharset defined 1999-04-06 18:50:22 +00:00