Commit Graph

98 Commits

Author SHA1 Message Date
sicking%bigfoot.com
4b79878cda Bug 238450: Forgot to add file. Not part of build
r=afri
2004-04-13 01:47:40 +00:00
sicking%bigfoot.com
752f5d34fd Bug 238450: Implement nsIDOMSVGStylable and make class-selectors work for svg-elements.
r/sr=jst for classinfo changes
r=afri for the rest  (not part of build)
2004-04-12 23:48:42 +00:00
sicking%bigfoot.com
9614803598 Bug 238327: Implement the svg:style element.
Changes to svg-only files r=afri  (not part of build)
Changes to transformiix files r=peterv sr=jst
Changes to other files r/sr=jst
2004-04-12 23:21:42 +00:00
dbaron%dbaron.org
c905b0dbe6 Fix SVG bustage. b=239008 2004-04-12 22:14:16 +00:00
sicking%bigfoot.com
4684b55593 Bug 237291: Make Init() on svg-elements take a nodeinfo so that we only have one Init callchain. Not part of build.
r=afri a=tor
2004-03-15 22:27:14 +00:00
bzbarsky%mit.edu
655abf48ad Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron 2004-03-09 23:22:02 +00:00
sicking%bigfoot.com
6d60df7100 Don't export non-existing file. Not part of build 2004-03-09 09:24:11 +00:00
sicking%bigfoot.com
9327ac95b0 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)
2004-03-09 08:44:53 +00:00
sicking%bigfoot.com
e420cc4a1e Bug 233111: Make nsIDOMSVGElement only be inherited by leafclasses.
SVG only, not part of build.

r=afri
2004-03-08 17:32:16 +00:00
sicking%bigfoot.com
a24b8a0c5a Bug 236612: Kill nsGenericContainerElement.
r/sr=jst
2004-03-05 23:13:50 +00:00
alex.fritze%crocodile-clips.com
82ae6fe639 Fix for bug #233419: Communicate parent chain changes on svg element to full child tree; use appropriate default values for missing context in nsSVGLength. Not part of default builds - SVG only. 2004-02-27 01:00:33 +00:00
alex.fritze%crocodile-clips.com
1a02395585 Implement nsSVGTransform::GetValueString() for nsIDOMSVGTransform::SVG_TRANSFORM_MATRIX case. Not part of default build - SVG only. 2004-02-26 15:44:32 +00:00
alex.fritze%crocodile-clips.com
81c465a1ec Make sure path segs get deleted from correct array on parse failure. Not part of default builds - svg only. 2004-02-25 22:28:23 +00:00
dbaron%dbaron.org
f016bec80e Improve comments and function names related to attribute mapping and HasAttributeDependentStyle. b=235342 r+sr=jst 2004-02-25 21:04:50 +00:00
bryner%brianryner.com
92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
sicking%bigfoot.com
99077ffa6f Bug 232480: Make nsGenericHTMLElement inherit nsGenericContainerElement and kill the concept of leaf vs. container elements. Also remove unused argument to CopyInnerOf
r=peterv sr=jst
2004-02-10 19:36:43 +00:00
bzbarsky%mit.edu
7077fb69a1 Make SVG use the normal attribute mapping codepath (via HasAttributeDependence)
by pushing the relevant helpers up to nsGenericElement..  Remove referrer code
in nsSVGDocument, since nsDocument handles that.  Bug 233370,
r=alex@croczilla.com, sr=jst
2004-02-09 20:48:20 +00:00
alex.fritze%crocodile-clips.com
5c676d4a47 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
jst%mozilla.jstenback.com
cb45f84bb7 Fixing bug 197427. Making insertBefore, appendChild, replaceChild, and removeChild() work correctly on XUL elements by sharing the implementation with nsGenericElement. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2004-02-05 06:48:30 +00:00
peterv%propagandism.org
379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
sicking%bigfoot.com
7dae6dd93c 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
2004-01-15 17:07:27 +00:00
bryner%brianryner.com
2bddef83ba Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bryner%brianryner.com
e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
caillon%returnzero.com
319d92fa7d Bug 226375
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers.  Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many  QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
 CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
alex.fritze%crocodile-clips.com
0134fc2c4a Fix style attribute, broken by bug #7639 checkin. (SVG only - not switched on in default builds) 2003-11-15 11:08:07 +00:00
bryner%brianryner.com
734ba628fe it's been a long day 2003-11-15 09:20:33 +00:00
bryner%brianryner.com
5de6eefad3 Fixing some SVG bustage 2003-11-15 08:53:35 +00:00
bryner%brianryner.com
823f2f2aa7 deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst. 2003-11-15 05:27:37 +00:00
bryner%brianryner.com
78bc7f6016 Inline nsIContent::GetParent() and GetDocument(). Also, remove unused return value on SetParent(). Bug 224331, r=sicking, sr=jst. 2003-11-07 09:47:23 +00:00
bzbarsky%mit.edu
0fc82ad629 Refactor child element handling such that we don't duplicate event-firing code
all over (now we just do it in nsGenericElement and nsXULElement).  Bug 223349,
r=sicking, sr=peterv
2003-11-04 02:15:28 +00:00
peter%propagandism.org
e9bdf0c636 Fix for bug 126765 (Change NormalizeAttrString to GetAttrWithName). Original fix by Daniel Bratell and sicking, r=sicking, sr=jst. 2003-10-30 13:47:29 +00:00
dbaron%dbaron.org
ec0bfea4ea Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky 2003-10-30 01:40:33 +00:00
caillon%returnzero.com
712c1fa5fa Fixing bustage -- bryner forgot to update these files
Bug 222134
2003-10-22 06:41:30 +00:00
bzbarsky%mit.edu
44da342b5c Fix handling of id attrs to not assume that they are named "id" as much. Bug
208744, r=caillon, sr=peterv
2003-10-21 16:16:42 +00:00
bzbarsky%mit.edu
f384166efa Create a mozAutoDocUpdate class to handle automatically calling
BeginUpdate/EndUpdate on documents.  Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns.  Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
bzbarsky%mit.edu
a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
jst%mozilla.jstenback.com
5037b2a4a2 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. 2003-09-27 04:18:26 +00:00
peter%propagandism.org
9269335d2c Fix for bug 219819 (.nodeValue shouldn't throw NO_MODIFICATION_ALLOWED_ERR for documents and elements). r/sr=jst. 2003-09-23 13:45:02 +00:00
bryner%brianryner.com
00aafbfddd Use typeof() to implement NS_STDCALL_FUNCPROTO so that pointer-to-member types using stdcall work on mingw gcc. Bug 203137, r=cls, sr=dbaron. 2003-09-15 04:20:20 +00:00
dbaron%dbaron.org
680cc9d0d8 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). a=brendan 2003-09-08 19:35:05 +00:00
bryner%brianryner.com
2fcdb4e2d5 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
roc+%cs.cmu.edu
0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
bzbarsky%mit.edu
e2dae4d2f9 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00
jaggernaut%netscape.com
95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
caillon%returnzero.com
ec640a5d82 Bug 213341 - Use smart pointer classes for long lived strong references in nsGenericElement and friends.
r=bzbarsky@mit.edu sr=jst@netscape.com
2003-07-24 20:38:08 +00:00
dbaron%dbaron.org
2c2bbdbe8e Fix bustage. b=211308 2003-07-11 23:53:22 +00:00
dbaron%dbaron.org
d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu
0b0c3f7646 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
bzbarsky%mit.edu
938220298d Add asserts on people attempting to fetch attributes in the
kNamespaceID_Unknown namespace or call HasAttr on such.  Bug 210314, r+sr=jst
2003-06-24 06:45:34 +00:00