Commit Graph

25 Commits

Author SHA1 Message Date
bugzilla%arlen.demon.co.uk
ec5d09357e Bug 113580 switch uses of getAttribute to hasAttributeValue whenever possible
p=bugmail@q1n.org r=dbaron sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@167123 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 00:41:58 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
alecf%flett.org
1c89787dc0 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
kaie%netscape.com
f1974072cc b=200582 No line wrap for text without spaces in nsHTMLContentSerializer.cpp
r=jst sr=peterv a=asa


git-svn-id: svn://10.0.0.236/trunk@142799 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 05:59:56 +00:00
peterv%netscape.com
c96c6fa64f Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00
rbs%maths.uq.edu.au
76ce811794 Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst
git-svn-id: svn://10.0.0.236/trunk@135264 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 22:12:10 +00:00
bratell%lysator.liu.se
d8c86a7ceb Bug 165893 - use cached nsParserService pointer instead of looking up the service everywhere. r=jst, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134326 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 12:20:05 +00:00
akkana%netscape.com
3fa55ef291 145196: prevent creation of extra blank lines. Fix from burpmaster@truffula.net, r=akkana, sr=jag, a=rjesup
git-svn-id: svn://10.0.0.236/trunk@131984 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 22:07:48 +00:00
heikki%netscape.com
fbe40219c9 Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@127185 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 18:41:16 +00:00
heikki%netscape.com
d18deb1faa Bug 126669, we need to pass in aHasChildren parameter to the start tag serializing function because the node that is passed in may be a shallow copy, thereby making it impossible to determine if it originally had children, in the method itself. This fixes case where saving XHTML produces non-wellformed output. r=akkana,tmutreja, sr=jst, a=asa,ADT.
git-svn-id: svn://10.0.0.236/trunk@117951 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 21:12:51 +00:00
dbaron%fas.harvard.edu
c43a97f1d5 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117353 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:54:46 +00:00
badami%netscape.com
9bb0081936 Support start number for lists in plain text output
bug 62188 r=bratell sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@116380 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 08:21:51 +00:00
sfraser%netscape.com
ff5c1dcc81 Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110494 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:10:42 +00:00
peterv%netscape.com
d1911c6d0a Fix for bug 108024 (missing carriage returns when copying PRE tag content to clipboard). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@109213 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:19:30 +00:00
gerv%gerv.net
ed9b258739 License changes, take 2. Bug 98089. mozilla/content/.
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
brade%netscape.com
370f7f2d43 remaining portions of fix for bug #68167 (not mangling javascript: urls in href/src attributes) and Naoki's fix for bug #92271; r=nhotta; sr=kin
git-svn-id: svn://10.0.0.236/trunk@100098 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 13:39:46 +00:00
nhotta%netscape.com
eb5eb7ae16 Changed html serializer to escape URI, bug 74137, r=ftang, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@94539 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 00:27:03 +00:00
nhotta%netscape.com
2dd996accf Changed to control entity (CER) generation by a document charset, bug 65324, r=jst, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@86864 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 01:00:14 +00:00
harishd%netscape.com
213c0b36dc 56501 - Serializer changes in dealing with NOSCRIPT ( checkin for jst )
r=me
sr=scc


git-svn-id: svn://10.0.0.236/trunk@81236 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 17:33:11 +00:00
jst%netscape.com
9870b6af65 Fixing rtm++ bug 56212. The new serializers were a bit too eager about what characters to encode as entities, this caused bad things when sending email that contained double quotes and also when writing a message containing quotes in AIM. sr=vidur, r=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@81129 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 11:06:05 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
vidur%netscape.com
10f0ce919d Better factoring of code. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78687 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 22:22:58 +00:00
jst%netscape.com
097b684218 Getting the serializers up to par. This is not part of the build
git-svn-id: svn://10.0.0.236/trunk@78680 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 19:36:22 +00:00
vidur%netscape.com
ff44f08b64 Pretty printing in HTML. Much code lifted from nsHTMLContentSinkStream. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78659 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:44:06 +00:00
vidur%netscape.com
b455ce717d New HTML and XML serializers. This is not part of the build
git-svn-id: svn://10.0.0.236/trunk@78649 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 02:17:54 +00:00