28 Commits

Author SHA1 Message Date
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
bzbarsky%mit.edu
25c459209d Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
bzbarsky%mit.edu
755660d2d2 Don't construct unneeded autostring. Bug 362316, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@216217 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 04:44:57 +00:00
cvshook%sicking.cc
028356e1b5 Bug 355754: Add nsTPtrArray. r=darin sr=bz
git-svn-id: svn://10.0.0.236/trunk@213758 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-17 21:40:07 +00:00
cvshook%sicking.cc
279a5e2acb backout of previous patch due to redness and warnings
git-svn-id: svn://10.0.0.236/trunk@213558 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-12 19:08:45 +00:00
cvshook%sicking.cc
86fa6ffcf7 Bug 355754: Add nsTPtrArray and nsTConstPtrArray. r=darin/bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@213556 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-12 18:35:12 +00:00
bzbarsky%mit.edu
79c2bd2cd6 Add some comments explaining what these files do. rs=jst
git-svn-id: svn://10.0.0.236/trunk@193256 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 08:03:04 +00:00
jim_nance%yahoo.com
7024c6d017 Fix for bug #283811 - Work around for an optimizer problem with gcc on
Fedora Core 3.  Code would hang if compiled with certain optimizer settings.
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185080 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 21:05:32 +00:00
bryner%brianryner.com
391fc878cf Speed up matching class rules by caching the class attribute, rather than looking it up for each rule. Remove HasClass now that it's no longer needed. Bug 310236, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@181826 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 23:06:27 +00:00
bzbarsky%mit.edu
06a3695338 Implement an AttrValueIs method on nsIContent which can be used to quickly
check whether a given attribute has a given value.  Use it in
nsContentList::NamedItem.  Bug 307600, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@179995 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 19:20:08 +00:00
cvshook%sicking.cc
f5b376634f Bug 280921: Kill nsCheapStringBufferUtils
r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@168770 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:49:13 +00:00
darin%meer.net
0127985b17 landing content patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@168729 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 22:58:01 +00:00
cvshook%sicking.cc
12f074b44e Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@168269 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 00:02:58 +00:00
alex%croczilla.com
37b579b5ed Bug#274925: Fix SVG attribute leaks. r=sicking, sr=jst. SVG only - not part of default builds.
git-svn-id: svn://10.0.0.236/trunk@168057 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 12:19:16 +00:00
cbiesinger%web.de
9ab54454e8 Bug 113243 Get rid of (Compare|Equals)WithConversion
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@159612 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 20:18:39 +00:00
sicking%bigfoot.com
47f13fc6ed Bug 241272: Reset so that the old value isn't leaked.
r/sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@155782 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 22:05:55 +00:00
jst%mozilla.jstenback.com
c9afa6b26b Checking in for trev@gtchat.de. Fixing bug 238409. Regression in attribute parsing. r=bugmail@sicking.cc, sr=jst@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@154283 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-26 01:44:44 +00:00
bzbarsky%mit.edu
8de1fe9d5a Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153777 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 23:22:02 +00:00
sicking%bigfoot.com
381f47544b Bug 236491: Make svg use new attribute-code.
r=afri on svg-changes (not part of build)
r/sr=jst on nsAttrValue changes (ifdef MOZ_SVG)


git-svn-id: svn://10.0.0.236/trunk@153739 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 08:44:53 +00:00
sicking%bigfoot.com
1f7257f16e Bug 236619: Fix serializing style-attributes.
r/sr=bryner


git-svn-id: svn://10.0.0.236/trunk@153712 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 00:51:56 +00:00
sicking%bigfoot.com
f05e9b4f7b Bug 236472: Fix 3 warnings.
r/sr=tor


git-svn-id: svn://10.0.0.236/trunk@153528 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 18:04:29 +00:00
sicking%bigfoot.com
54dedbc659 Try to fix bustage by casting through PRUint16
git-svn-id: svn://10.0.0.236/trunk@153513 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 03:00:25 +00:00
sicking%bigfoot.com
d706565d96 Bug 232706: Make nsAttrValue able to directly store all needed datatypes without using nsHTMLValue. Move parsing of various types from nsHTMLValue to nsAttrValue. Rename StringToAttribute to ParseAttribute and make it return a PRBool, as well as make a couple of minor fixes in the ParseAttribute code.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@153510 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 02:06:28 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
sicking%bigfoot.com
c702ec4334 Final patch for bug 195350. Make XUL use new nsAttrAndChildren class. Kill nsXULAttributeValue and nsXULAttributes in favour of nsAttrValue resp. nsDOMAttributeMap. Should fix a few bugs, improve performance and reduce bloat.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@152585 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 09:08:06 +00:00
sicking%bigfoot.com
c47b780108 Bug 231199: Make hashing of mapped-attributes be case sensitive to improve performance, and enable possible codesharing with xul and svg in the future.
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@152180 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:00:36 +00:00
sicking%bigfoot.com
2d7b04ac1f More bug 195350 work: Make html use new nsAttrAndChildArray class.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@151849 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 19:22:05 +00:00
sicking%bigfoot.com
737987f531 Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@151370 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 17:07:27 +00:00