akkana%netscape.com
131d318ad4
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.
git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +00:00
ramiro%netscape.com
33921a846d
Set the timer lib flags in one place.
...
git-svn-id: svn://10.0.0.236/trunk@44294 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 14:54:59 +00:00
ftang%netscape.com
85eaada20b
add two new constant
...
git-svn-id: svn://10.0.0.236/trunk@44267 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 07:17:46 +00:00
nisheeth%netscape.com
0551dd45cf
Fixed a warning on Linux.
...
git-svn-id: svn://10.0.0.236/trunk@44264 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 06:47:11 +00:00
mccabe%netscape.com
0ee0c94bc4
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.
git-svn-id: svn://10.0.0.236/trunk@44059 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 13:26:18 +00:00
ramiro%netscape.com
1784612f6b
cleanup linking of libmozreg.
...
git-svn-id: svn://10.0.0.236/trunk@44002 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 15:41:53 +00:00
ramiro%netscape.com
2144a5f188
Fix for -lpref linking problems. Dont link with libpref, its not needed.
...
git-svn-id: svn://10.0.0.236/trunk@43431 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 00:27:50 +00:00
ramiro%netscape.com
4cc02629c5
Link in secfree dynamically only where needed.
...
git-svn-id: svn://10.0.0.236/trunk@43413 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-17 15:46:57 +00:00
ramiro%netscape.com
233f49736d
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.
git-svn-id: svn://10.0.0.236/trunk@43408 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-17 13:54:48 +00:00
ramiro%netscape.com
4517f5371f
Link expat and xmltok into the htmlparser statically. Not into the app.
...
git-svn-id: svn://10.0.0.236/trunk@43405 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-17 12:46:23 +00:00
sfraser%netscape.com
9ad6f45b0f
Part of fix for 11790, crash on quit. Need delete[] on an array. r dp, a chofmann
...
git-svn-id: svn://10.0.0.236/trunk@43322 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 23:27:54 +00:00
nisheeth%netscape.com
046dfd83a1
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.
...
git-svn-id: svn://10.0.0.236/trunk@43171 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 05:53:37 +00:00
akkana%netscape.com
2647b03d3a
11572: default do-header to FALSE, which fixes a bunch of copy/paste bugs
...
git-svn-id: svn://10.0.0.236/trunk@43117 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 01:42:31 +00:00
slamm%netscape.com
2125e5aafb
Add a newline to the end of the file.
...
git-svn-id: svn://10.0.0.236/trunk@43078 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 23:17:10 +00:00
harishd%netscape.com
0ed2af9017
Moved kLegalOpen from BODY to SCRIPT.
...
CanContain() now checks for kLegalOpen.
git-svn-id: svn://10.0.0.236/trunk@42811 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 21:28:24 +00:00
harishd%netscape.com
afe45386a9
Added code to handle "stray" block closer ( bug# 11365 ).
...
Did some cleanup..
git-svn-id: svn://10.0.0.236/trunk@42810 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 21:26:55 +00:00
nisheeth%netscape.com
a03e6e3036
Fix for bug 8607. DOCTYPE decls are now propagated from the XML tokenizer to the XML content sink.
...
git-svn-id: svn://10.0.0.236/trunk@42648 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 06:26:01 +00:00
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