Граф коммитов

94 Коммитов

Автор SHA1 Сообщение Дата
sicking%bigfoot.com 6ac7779482 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 548b1d9ba5 Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron 2004-03-09 23:22:02 +00:00
sicking%bigfoot.com 1aef143832 Don't export non-existing file. Not part of build 2004-03-09 09:24:11 +00:00
sicking%bigfoot.com 98fc229cd5 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 565de27231 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 4fd7bf2f12 Bug 236612: Kill nsGenericContainerElement.
r/sr=jst
2004-03-05 23:13:50 +00:00
alex.fritze%crocodile-clips.com 234b03e787 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 c16352f313 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 0c688cf1c7 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 8fb0d9c6da 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 b26298f7c2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
sicking%bigfoot.com 955a4a45ec 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 20bef6960b 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 910659d1c9 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 075957d311 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 b73f7d8861 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
sicking%bigfoot.com 32a19f4b04 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 a135ce4d60 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 4ab234b8be 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 9c81944cb6 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 d76a4d1dd0 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 01968627d4 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 bcab4355a5 it's been a long day 2003-11-15 09:20:33 +00:00
bryner%brianryner.com 360d6d221d Fixing some SVG bustage 2003-11-15 08:53:35 +00:00
bryner%brianryner.com aae0d0f085 deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst. 2003-11-15 05:27:37 +00:00
bryner%brianryner.com cc7596e3f1 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 05d1dbab0a 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 08e8d2f39b 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 2319e1e03e 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 b3ef713aff Fixing bustage -- bryner forgot to update these files
Bug 222134
2003-10-22 06:41:30 +00:00
bzbarsky%mit.edu 321b58e88d 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 c9db7359a7 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 8801e97e8f 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 8aa7b563d2 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 7763db228d 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 577de49b39 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 9623ef4e04 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 7f4af2e0f9 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 50878e792b Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
bzbarsky%mit.edu 272e86c75d DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00
jaggernaut%netscape.com f1efc20ae6 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 1bcbfbb835 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 eb3194e32e Fix bustage. b=211308 2003-07-11 23:53:22 +00:00
dbaron%dbaron.org 92b921aca3 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 25471a836d 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 e5462134b5 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
bzbarsky%mit.edu 62064e4328 Seems to have no effect on Tp, so relanding. Who knows what btek is
thinking....
2003-06-22 06:34:08 +00:00
bzbarsky%mit.edu f03f48c524 Backing the rest of this out to see whether it affects Tp. 2003-06-22 03:33:33 +00:00
bzbarsky%mit.edu 36eb6c4539 Make sure to fire no mutation events or internal notifications on attribute
changes that don't change the attr value.  Bug 209634, r=caillon, sr=jst
2003-06-21 04:55:32 +00:00
caillon%returnzero.com 98bc31db62 Missing #include "nsReadableUtils.h" -- bustage fix from the recent checkin for bug 209699. 2003-06-21 04:05:10 +00:00