761 Commits

Author SHA1 Message Date
akkana%netscape.com
ccf4e538ba Don't convert charset on nsStrings, as suggested in comments in bug 6672
git-svn-id: svn://10.0.0.236/trunk@42532 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 20:50:37 +00:00
rickg%netscape.com
f80c94e310 fixed bug 6659
git-svn-id: svn://10.0.0.236/trunk@42431 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 09:20:42 +00:00
harishd%netscape.com
0b5f28b9f6 Disabling RGESS_DEBUG which I had accidentally
checked in!!


git-svn-id: svn://10.0.0.236/trunk@42021 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 21:08:36 +00:00
harishd%netscape.com
d19e4cebb8 Hardcoding PI length in GetProcessingInstruction().
git-svn-id: svn://10.0.0.236/trunk@41894 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:12:22 +00:00
harishd%netscape.com
4991bec52e Tweaks... Removed an extra append call.
git-svn-id: svn://10.0.0.236/trunk@41893 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:07:58 +00:00
harishd%netscape.com
8fa5cb6d88 Partial fix of bug 10593.
git-svn-id: svn://10.0.0.236/trunk@41891 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:03:52 +00:00
harishd%netscape.com
4e43438e4e Removed warning. mDTDState is of type nsresult
git-svn-id: svn://10.0.0.236/trunk@41889 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:03:00 +00:00
harishd%netscape.com
8b7a6944dd Fix for bug# 11001. Allowing <P> to
contain <TABLE> - for backwards compatibility


git-svn-id: svn://10.0.0.236/trunk@41888 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:01:16 +00:00
harishd%netscape.com
fcd30e3c4e Fix for bug#s 10530, and 10596.
Conditioning the raw buffer by removing the unwanted null chars.


git-svn-id: svn://10.0.0.236/trunk@41738 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 20:16:30 +00:00
akkana%netscape.com
2b020f827c Fix 10621: write NS_LINEBREAK when we see the html whitespace tag
git-svn-id: svn://10.0.0.236/trunk@41618 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 23:40:57 +00:00
nisheeth%netscape.com
fb004bfa97 Fix for bug 10829. Removed an extra ADDREF to the content sink which was causing leakage of sinks and webshells.
git-svn-id: svn://10.0.0.236/trunk@41599 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 20:13:07 +00:00
mscott%netscape.com
ab177da65c fix build breakage by including config.mak
git-svn-id: svn://10.0.0.236/trunk@41517 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 02:39:17 +00:00
mscott%netscape.com
b410e3546d include config.mak to fix build breakage.
git-svn-id: svn://10.0.0.236/trunk@41514 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 02:16:06 +00:00
briano%netscape.com
2087356d68 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@41509 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 01:18:12 +00:00
harishd%netscape.com
2a7485fb4a Fixed sink addref bug [A] rickg, cyeh
git-svn-id: svn://10.0.0.236/trunk@41491 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:46:07 +00:00
nisheeth%netscape.com
4aa16e828e Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
git-svn-id: svn://10.0.0.236/trunk@41447 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 06:56:05 +00:00
nisheeth%netscape.com
7334ff2ea7 More work to fix bug 8607. This is still not enabled at run-time because one of the XML tests isn't displaying properly. XML decls and DOCTYPE decls will be passed up to the content sink once this is enabled.
git-svn-id: svn://10.0.0.236/trunk@41380 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 01:21:54 +00:00
harishd%netscape.com
aa418dc7e3 Made EnableParse() to return nsresult. Used to return PRBool
git-svn-id: svn://10.0.0.236/trunk@41356 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:32:30 +00:00
briano%netscape.com
684f6b2907 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568.
git-svn-id: svn://10.0.0.236/trunk@41354 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:27:44 +00:00
bruce%cybersight.com
4e78218d9d Add newlines for unix compilers.
git-svn-id: svn://10.0.0.236/trunk@41305 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 20:31:21 +00:00
harishd%netscape.com
5d3d91189e Fix for Bug# 3571.
Added Terminate() method in nsIDTD.


git-svn-id: svn://10.0.0.236/trunk@41187 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:54:46 +00:00
harishd%netscape.com
82f6dccd4b Fixed a bug in DidBuildModel().
Approved by: rickg and chofmann.


git-svn-id: svn://10.0.0.236/trunk@41159 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 21:07:26 +00:00
nisheeth%netscape.com
f1eb6fcb89 Don't set the default handler for now. It might be causing the Linux build to go orange.
git-svn-id: svn://10.0.0.236/trunk@41122 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 08:22:35 +00:00
nisheeth%netscape.com
0069328861 - Move AddDocTypeDecl method from nsIXMLContentSink to nsIContentSink.
- Fix bug 8607 by passing the XML decl and the doctype decl from the expat tokenizer to the XML DTD.


git-svn-id: svn://10.0.0.236/trunk@41106 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 05:40:25 +00:00
rickg%netscape.com
d24bcf85fd substitute calls to deprecated string API
git-svn-id: svn://10.0.0.236/trunk@41074 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 00:24:02 +00:00
rickg%netscape.com
aed2a73b26 remove warnings, bug fixes, API enhancements
git-svn-id: svn://10.0.0.236/trunk@41054 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 17:23:24 +00:00
peterl%netscape.com
5b7693afd3 remove warning
git-svn-id: svn://10.0.0.236/trunk@40986 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 18:58:48 +00:00
harishd%netscape.com
3b06f359e0 Tweaked my previous checkin in fixing
bug# 7548.  Changed Sanitize() method to
SanitizeKey().


git-svn-id: svn://10.0.0.236/trunk@40722 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 22:30:13 +00:00
harishd%netscape.com
830f6f3a3f Fix for bug# 7548.
Added a Sanitize() method for attribute tokens that
would remove non-alpha-non-digit characters from the
end of a string ( could be a "key" or "value")


git-svn-id: svn://10.0.0.236/trunk@40668 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 18:06:00 +00:00
sspitzer%netscape.com
a3c086765e this pragma is only for windows
git-svn-id: svn://10.0.0.236/trunk@40665 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 17:44:19 +00:00
sspitzer%netscape.com
fd0969195a prevent crash on startup.
git-svn-id: svn://10.0.0.236/trunk@40637 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 07:42:37 +00:00
scc%netscape.com
b498e2909d explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs
git-svn-id: svn://10.0.0.236/trunk@40614 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 05:25:17 +00:00
nisheeth%netscape.com
447fb46f75 Fix Necko build bustage. Rename local variable ret to rv.
git-svn-id: svn://10.0.0.236/trunk@40504 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 20:20:50 +00:00
nisheeth%netscape.com
647e7ff1b9 Fix for bugs 10259 and 8251. We resolve relative urls to absolute urls when loading up external DTDs in the XML parser. We no longer crash if a non-existent DTD is specified.
git-svn-id: svn://10.0.0.236/trunk@40459 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 19:48:14 +00:00
jfrancis%netscape.com
2adf4e7a7e adding nsExpatDTD.cpp to mac build
git-svn-id: svn://10.0.0.236/trunk@40353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 23:28:06 +00:00
nisheeth%netscape.com
4253e75eca Adding nsExpat.dtd to the Unix build.
git-svn-id: svn://10.0.0.236/trunk@40335 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 22:20:43 +00:00
sspitzer%netscape.com
7fc2a6bf52 fix warnings
git-svn-id: svn://10.0.0.236/trunk@40325 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 21:12:28 +00:00
akkana%netscape.com
adcff9de66 Bug 9749: insert a newline after a PRE tag even if mode isn't formatted
git-svn-id: svn://10.0.0.236/trunk@40322 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 20:54:46 +00:00
rickg%netscape.com
bb00524732 fixed bugs 10104 and 10107 -- also removed warnings
git-svn-id: svn://10.0.0.236/trunk@40247 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 06:58:01 +00:00
jfrancis%netscape.com
61a0d52ece fixing build bustage - why is nsExpatDTD not built on mac?
git-svn-id: svn://10.0.0.236/trunk@40194 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 23:35:33 +00:00
akkana%netscape.com
eb9a480bb8 Oops, #else in wrong place
git-svn-id: svn://10.0.0.236/trunk@40188 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 23:09:50 +00:00
jfrancis%netscape.com
744e1a0e4c assorted work to expose nav html dtd to editor
git-svn-id: svn://10.0.0.236/trunk@40185 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:52:48 +00:00
jfrancis%netscape.com
d4d1113f4f assorted work to expose nav html dtd to the editor
git-svn-id: svn://10.0.0.236/trunk@40179 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:49:21 +00:00
akkana%netscape.com
4ab5c89c92 Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication
git-svn-id: svn://10.0.0.236/trunk@40176 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:41:49 +00:00
rickg%netscape.com
75d0feca26 fixed stupidity in scanner. Sorry folks
git-svn-id: svn://10.0.0.236/trunk@40087 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 08:06:24 +00:00
rickg%netscape.com
d490516f26 fixed bug 9421
git-svn-id: svn://10.0.0.236/trunk@40078 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 06:21:52 +00:00
rickg%netscape.com
0db543897b fix bug 10109
git-svn-id: svn://10.0.0.236/trunk@40077 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 05:30:49 +00:00
rickg%netscape.com
94ea0e1b16 switching to faster string APIs
git-svn-id: svn://10.0.0.236/trunk@40069 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:09:16 +00:00
rickg%netscape.com
20e21e266e post-process fix to unicode library error
git-svn-id: svn://10.0.0.236/trunk@40052 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 23:43:52 +00:00
rickg%netscape.com
344a56d54d fixed bug 9905
git-svn-id: svn://10.0.0.236/trunk@39974 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 03:46:21 +00:00