96 Commits

Author SHA1 Message Date
peterv%propagandism.org
aac2b47f2a Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
smontagu%smontagu.org
c4d0ac16d9 Fix for hang. Bug 288831, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171536 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 18:18:49 +00:00
smontagu%smontagu.org
183ec71cc6 Update transliterate.properties to Unicode 4.1.0 database. Bug 288137, r=jshin, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@171513 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 18:44:01 +00:00
bzbarsky%mit.edu
83d378bf95 Fix the HTML serializer to not do fancy linebreaking when "raw" output is
requested.  Use this in innerHTML.  Bug 89780, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@168919 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 17:24:05 +00:00
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
jst%mozilla.jstenback.com
c2e4b265b5 Backing out the fix for bug 73605 now that bug 17003 is fixed (was fixed quite some time ago). r=jonas@sicking.cc, sr=jst@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@164059 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 22:56:30 +00:00
cbiesinger%web.de
6486659657 Bug 254278 remove some *WithConversion in layout/content
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@160355 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 17:33:30 +00:00
cbiesinger%web.de
0ea9e9333c fixing bustage
git-svn-id: svn://10.0.0.236/trunk@159835 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-25 12:35:36 +00:00
cbiesinger%web.de
c05e6548ae Bug 252541 remove nsString::IsSpace and nsString::IsASCII
r=darin sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@159830 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-25 12:12:39 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
af7c69e56c Relanding, since backing out did not fix orange. Bug 232691.
git-svn-id: svn://10.0.0.236/trunk@156781 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
3594b59c19 Backing out to attempt to fix Mac orange. Bug 232691
git-svn-id: svn://10.0.0.236/trunk@156776 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
b500ffc684 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@156769 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 17:04:53 +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
peterv%propagandism.org
94b69cb574 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
peter%propagandism.org
e6ae01a399 Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@148687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 10:57:41 +00:00
sicking%bigfoot.com
ff5093b729 Bug 222667: Add newlines between root-nodes in serializer rather then encoder.
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@148328 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-23 22:24:21 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
b1387a710d Serialize attributes in the same order as they were parsed (and the opposite of
the order in which they were stored, which changed in bug 213347).

Bug 218919, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@147513 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 20:51:09 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
0147d8d4a6 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
brade%netscape.com
a474c12914 use atom version of parser method to reduce string usage; r/sr=dbaron, bug=213101
git-svn-id: svn://10.0.0.236/trunk@145016 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 13:12:11 +00:00
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
bzbarsky%mit.edu
50802bdf22 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +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
bzbarsky%mit.edu
636fa48493 Make some static data const in content. Bug 204532, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@142936 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 03:49:22 +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
alecf%netscape.com
cb42ed317c fix dumb mac bustage - cast sizeof() to PRUint32
git-svn-id: svn://10.0.0.236/trunk@140279 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 21:23:44 +00:00
akkana%netscape.com
cef0965205 145196: a warning fix from burpmaster@truffula.net and another one from me
git-svn-id: svn://10.0.0.236/trunk@140268 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 19:51:06 +00:00
alecf%netscape.com
f24ccb3da0 landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
jst%netscape.com
f18b61aff9 Fixing silly placement of '||'. No code change.
git-svn-id: svn://10.0.0.236/trunk@140033 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:24:57 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
59c2bfe187 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.


git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu
ea0fe56e05 IsJavascript should handle leading spaces. Bug 197345, patch by
bugzilla@jellycan.com (Brodie Thiesfield), r=brade, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@139624 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 23:18:57 +00:00
rbs%maths.uq.edu.au
2129932d47 Remiander of bug 169590. Hook a catch-all W3C entity converter and user-prefs for custom levels of entity-zation in the editor's '<HTML> Source' and 'Save As...'
git-svn-id: svn://10.0.0.236/trunk@135372 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 00:41:25 +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
peterv%netscape.com
3a3c75b9f7 Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +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
rbs%maths.uq.edu.au
7b0bce519f .innerHTML wasn't recovering &nbsp; and this was causing consumers such as View Selection Source to lose it, b=165686, r=jst, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134151 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 01:47:06 +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
akkana%netscape.com
f9a0b8ae70 126259: don't force a linebreak after img tags. Patch from burpmaster@truffula.net, r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@124051 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 00:04:53 +00:00
peterv%netscape.com
aab00646c0 Fix for bug 88761 (html code for selected and noshade (and other minimizable attributes) not w3c conformant). r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@122219 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 12:34:48 +00:00
jst%netscape.com
7b7411c3ef Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
akkana%netscape.com
a199243cff 46227: eliminate extra spaces inserted switching between normal and source modes of composer. Patch is from burpmaster@truffula.net, r=akk, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121580 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 00:32:40 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
alecf%netscape.com
61312b4eeb fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120220 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:29:54 +00:00