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

570 Коммитов

Автор SHA1 Сообщение Дата
nisheeth%netscape.com dd405edfef 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 6c8c4fcd61 fix signed/unsigned problem, call Reset function when error occur 1999-05-05 23:53:49 +00:00
rickg%netscape.com b3694fe3dc more WIP for DOM/paste API's 1999-05-05 00:55:54 +00:00
rickg%netscape.com cff192b99a temporarily unwind new comment handling -- I'll wait a week 1999-05-04 23:45:32 +00:00
rickg%netscape.com 750d67460f small mods to parser API's for DOM/paste 1999-05-04 23:20:28 +00:00
ftang%netscape.com 4e2ff8cb61 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 f2edb07e8b better error handling in append method 1999-05-04 20:01:55 +00:00
rickg%netscape.com b29e0ac0b3 wrong API, sorry 1999-05-04 04:49:48 +00:00
rickg%netscape.com 68f133bcda update for bug 5544 1999-05-04 04:25:20 +00:00
rickg%netscape.com 65b89aa8fd fixed bug 5611 1999-05-04 04:24:24 +00:00
rickg%netscape.com e37cf293db fixed bug 5846 1999-05-04 04:23:12 +00:00
rickg%netscape.com 57f2a5269e added DOM interfaces for paste 1999-05-04 04:22:31 +00:00
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
nisheeth%netscape.com 05fd11add0 We are not using the XML_UNICODE_WCHAR_T define on any platform. So, no need to define it. 1999-04-24 08:34:43 +00:00
nisheeth%netscape.com ff3942fd19 Fix for bug 5447. Check for #define XML_UNICODE_WCHAR_T before using the data type wchar_t. 1999-04-24 08:33:34 +00:00
rickg%netscape.com 41ef3b8a63 tweak to dtd context 1999-04-24 00:57:42 +00:00
bruce%cybersight.com 1d9625fd25 This file is compiled by a C compiler. C++ comments are off-limits!! Permission to checkin granted by shaver. 1999-04-23 04:33:28 +00:00
shaver%netscape.com 9087fd768f XML_UNICODE_WCHAR_T is not suitable for use where sizeof(wchar_t) != 2. That includes Linux at least, so let's just not do this on Unix at all for now. a=donm 1999-04-22 20:51:47 +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
nisheeth%netscape.com 6e5d4b7e87 Turning on unicode chars in expat. 1999-04-22 05:27:16 +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
nisheeth%netscape.com 97a3451764 Patch to get expat to compile on SGI. Many thanks to Tim Rowley (tor@cs.brown.edu) for doing all the work on this. I am simply checking it in for him. 1999-04-19 22:43: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