cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com
61c90940c0
When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@188619 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 22:19:46 +00:00
cvshook%sicking.cc
cf43ff4e7d
Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
dbaron%dbaron.org
0b595c8ff6
Fix leak of content node. b=316775 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@184797 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 22:58:55 +00:00
peterv%propagandism.org
b64b04886f
Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
roc+%cs.cmu.edu
d225763725
Bug 300313. DeCOMtaminate linebreaker/wordbreaker, and access them directly as services rather than through a factory. r+sr=roc, patch by Joshua Welderson (thanks Joshua\!)
...
git-svn-id: svn://10.0.0.236/trunk@178583 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 03:00:06 +00:00
bryner%brianryner.com
1f319207af
Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg.
...
git-svn-id: svn://10.0.0.236/trunk@176571 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 22:09:39 +00:00
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 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