Commit Graph
802 Commits
Author SHA1 Message Date
nisheeth@netscape.com cd64df9c48 The HTML Content sink now generates content IDs for each of the content objects it creates. The IDs start at NS_CONTENT_ID_COUNTER_BASE, defined in nsIContentSink.h, and increase monotonically as content objects get created. 1999-08-31 11:17:26 +00:00
ftang@netscape.com a67a573850 1. detect BOM, 2. Implement XML 1.0 Appendex F, 3. move hack from nsParser.cpp to nsScanner.cpp so we won't damage UCS2 data 1999-08-30 22:25:17 +00:00
tao@netscape.com 3a075fc029 Fix a memory leak. 1999-08-29 20:29:07 +00:00
rickg@netscape.com 595cd1448a corrected string usage errors and removed warning 1999-08-29 17:35:19 +00:00
tao@netscape.com ccfcac2577 Patch to bug 11724. Fix suspec`ious buffer overrun problem. It prevents
double byte Ja texts in DTD being loaded correctly.
1999-08-27 21:11:35 +00:00
akkana@netscape.com 6786d2d46b cvsignore 1999-08-27 21:00:47 +00:00
akkana@netscape.com b100790ce8 Standalone test of output sinks. Builds, but doesn't quite work yet because the charset service isn't registered 1999-08-27 20:58:57 +00:00
akkana@netscape.com 8436e3f001 11249: add /body tag when writing body-only 1999-08-27 20:54:57 +00:00
beard@netscape.com 6dd573118d plugged some memory leaks. 1999-08-27 03:46:33 +00:00
ftang@netscape.com 82ef7926b6 add one more constant 1999-08-25 21:38:24 +00:00
harishd@netscape.com 0246e1df99 Minor adjustments in consuming attributes ( Tracking down '<'). 1999-08-25 21:27:43 +00:00
ramiro@netscape.com 0dde0f03ad Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
ramiro@netscape.com eac9647c63 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
rickg@netscape.com 254f4e8eb9 autogen content if onDataAvailable is never called 1999-08-25 03:47:37 +00:00
rickg@netscape.com 77c183f002 removed warnings, unused debug code and a crufy comment 1999-08-25 03:10:47 +00:00
jdunn@netscape.com 03f9726b25 Fix AIX compiler errors. 1999-08-25 01:14:11 +00:00
harishd@netscape.com c0bc93c376 Fix for bug#s 3737, 12062, 9059. 1999-08-24 22:14:13 +00:00
harishd@netscape.com 6e533091ce Fix for bug# 10609 and partial fix for 10593. 1999-08-24 18:35:05 +00:00
akkana@netscape.com c359aafe41 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
ramiro@netscape.com 5eccfa56a4 Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
ftang@netscape.com 7043386526 add two new constant 1999-08-24 07:17:46 +00:00
nisheeth@netscape.com e95761bddc Fixed a warning on Linux. 1999-08-24 06:47:11 +00:00
mccabe@netscape.com 915593e1ab NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
ramiro@netscape.com 090a0e36b4 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
ramiro@netscape.com a112436c2b Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro@netscape.com 68291b75ad Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro@netscape.com dfcc2d8df2 Dont link in the parser into the app. Link it in dynamically where needed.
This makes the link depenencies on unix be more like windows.  Makes it
easier to track dependency problems and simplifies makefiles.
1999-08-17 13:54:48 +00:00
ramiro@netscape.com 0b8fe59212 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
sfraser@netscape.com c2850d8484 Part of fix for 11790, crash on quit. Need delete[] on an array. r dp, a chofmann 1999-08-13 23:27:54 +00:00
nisheeth@netscape.com ba8554a3ed Fix for bug 8251. We needed to resolve relative URLs when we loaded external DTDs. This had been fixed earlier but the fix needed to get replicated for the Necko code path. 1999-08-11 05:53:37 +00:00
akkana@netscape.com be604160cc 11572: default do-header to FALSE, which fixes a bunch of copy/paste bugs 1999-08-11 01:42:31 +00:00
slamm@netscape.com 609d38c5ff Add a newline to the end of the file. 1999-08-10 23:17:10 +00:00
harishd@netscape.com 6287fd7caf Moved kLegalOpen from BODY to SCRIPT.
CanContain() now checks for kLegalOpen.
1999-08-09 21:28:24 +00:00
harishd@netscape.com 67b7f7cb37 Added code to handle "stray" block closer ( bug# 11365 ).
Did some cleanup..
1999-08-09 21:26:55 +00:00
nisheeth@netscape.com 609bb12eb7 Fix for bug 8607. DOCTYPE decls are now propagated from the XML tokenizer to the XML content sink. 1999-08-07 06:26:01 +00:00
akkana@netscape.com ee438e8dab Don't convert charset on nsStrings, as suggested in comments in bug 6672 1999-08-06 20:50:37 +00:00
rickg@netscape.com 2eabb87a1e fixed bug 6659 1999-08-06 09:20:42 +00:00
harishd@netscape.com 59904985ff Disabling RGESS_DEBUG which I had accidentally
checked in!!
1999-08-03 21:08:36 +00:00
harishd@netscape.com 6ee2fe4249 Hardcoding PI length in GetProcessingInstruction(). 1999-08-03 00:12:22 +00:00
harishd@netscape.com c81d7132b0 Tweaks... Removed an extra append call. 1999-08-03 00:07:58 +00:00
harishd@netscape.com 2509775a27 Partial fix of bug 10593. 1999-08-03 00:03:52 +00:00
harishd@netscape.com 9521157d51 Removed warning. mDTDState is of type nsresult 1999-08-03 00:03:00 +00:00
harishd@netscape.com 29ca12ccce Fix for bug# 11001. Allowing <P> to
contain <TABLE> - for backwards compatibility
1999-08-03 00:01:16 +00:00
harishd@netscape.com c26ddb7c50 Fix for bug#s 10530, and 10596.
Conditioning the raw buffer by removing the unwanted null chars.
1999-07-31 20:16:30 +00:00
akkana@netscape.com 6e3ec85916 Fix 10621: write NS_LINEBREAK when we see the html whitespace tag 1999-07-30 23:40:57 +00:00
nisheeth@netscape.com adc99abfd0 Fix for bug 10829. Removed an extra ADDREF to the content sink which was causing leakage of sinks and webshells. 1999-07-30 20:13:07 +00:00
mscott@netscape.com 4a56fbea13 fix build breakage by including config.mak 1999-07-29 02:39:17 +00:00
mscott@netscape.com 8ed596de2a include config.mak to fix build breakage. 1999-07-29 02:16:06 +00:00
briano@netscape.com 1e444cc3e9 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
harishd@netscape.com 39a62a5b50 Fixed sink addref bug [A] rickg, cyeh 1999-07-28 21:46:07 +00:00