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

1356 Коммитов

Автор SHA1 Сообщение Дата
alex.fritze%crocodile-clips.com dbe5e5231e Bug 244292: Implement createSVGTransformFromMatrix(). Patch by <jonathan.watt@strath.ac.uk>. SVG only - not part of default build. 2004-05-25 09:04:58 +00:00
jst%mozilla.jstenback.com 2416426a01 Fixing bug 241058 the 'real' way. Eliminating nsGenericElement::Init() in favor of passing the nsINodeInfo to the element constructors. Replacing near-duplicated code with some macros for easier maintentance. r+sr=bzbarsky@mit.edu 2004-05-18 20:58:12 +00:00
roc+%cs.cmu.edu 06385ed7e9 Fixing bustage in content/svg/document/src 2004-04-30 01:18:34 +00:00
gerv%gerv.net f534a92d25 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 13:54:27 +00:00
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
sicking%bigfoot.com 2147544055 Forgot to fix copy'n'paste license-errors from bug 238327. Not part of default build. 2004-04-14 16:52:48 +00:00
sicking%bigfoot.com 9c1ffd638d Fix typo in checkin for bug 238327. Not part of default build. 2004-04-14 16:43:57 +00:00
sicking%bigfoot.com 31eea698db Bug 238450: Remove files no longer used. Not part of build 2004-04-13 02:07:02 +00:00
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
bzbarsky%mit.edu 8d87ec2250 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 16ff7adf5e Backing the rest of this out to see whether it affects Tp. 2003-06-22 03:33:33 +00:00
bzbarsky%mit.edu 1ba227c7d1 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 e4c1e68fee Missing #include "nsReadableUtils.h" -- bustage fix from the recent checkin for bug 209699. 2003-06-21 04:05:10 +00:00
jst%netscape.com 947ba67a9d Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org. 2003-06-21 00:26:28 +00:00
dbaron%dbaron.org 4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
caillon%returnzero.com 2df173e9c8 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
2003-06-13 20:10:01 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
caillon%returnzero.com ce0d95233e 206835 - debug code should be #ifdef DEBUG
r=timeless sr=jst
2003-05-23 21:59:08 +00:00
heikki%netscape.com 8609aff734 Backing out makefile changes in svg to fix build bustage. 2003-04-03 23:03:19 +00:00
heikki%netscape.com b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
alecf%netscape.com c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
alecf%netscape.com 8c50d0242a 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
2003-03-25 18:55:59 +00:00
cls%seawood.org d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
peterv%netscape.com bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
timeless%mozdev.org 51b1da374a Bug 133711 Unreachable statement (duplicate return) in nsXULAttribute and nsSVGAttributes (Bugs found via linting....)
patch by riceman+bmo@mail.rit.edu r=timeless sr=bz
2003-03-05 02:35:27 +00:00
dbaron%dbaron.org ea93b55cc8 Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
dbaron%dbaron.org 098bd15103 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
dbaron%dbaron.org 48544669f3 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
peterv%netscape.com d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
roc+%cs.cmu.edu cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu d4cc4f7061 Handle style attribute changes in XUL through the normal style change mechanism rather than forcing a reframe. Change nsIStyledContent::WalkInlineStyleRules to nsIStyledContent::GetInlineStyleRule to simplify nsCSSFrameConstructor::AttributeChanged. b=156971 sr=hyatt r=bzbarsky 2002-08-16 11:29:20 +00:00
jst%netscape.com 5707cc67d2 Fixing bug 156364. Laying the groundwork for associating more info with elements in the DOM, and moving event listener managers and range lists out of nsGenericElement slots. This change cuts down on the size of nsGenericElement. r=sicking@bigfoot.com, sr=rpotts@netscape.com 2002-08-13 00:50:50 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com 301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
dbaron%fas.harvard.edu b4de133022 Propagate |aNotify| parameter through XBL to attribute changes of XBL-inherited attributes. b=156547 sr=hyatt r=bryner 2002-08-06 13:39:22 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
peterv%netscape.com 1773dac99b Remove unnecessary includes. 2002-06-20 14:35:17 +00:00
dougt%netscape.com 333512db88 Fixing svg build bustage 2002-05-15 21:21:07 +00:00
alex.fritze%crocodile-clips.com a9c5405132 [SVG build only] Bug#137973: Use SafeElementAt instead of
ElementAt. Patch by <paul.golz@crocodile-clips.com>.
2002-04-18 21:53:53 +00:00
hwaara%chello.se 34c91fa45e #137382, cleanup handling of SVG namespace, and remove old bogus namespace.
r=afri (not part of default build)
2002-04-16 18:13:13 +00:00
hyatt%netscape.com 08d1853958 Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa 2002-04-05 08:05:33 +00:00
dbaron%fas.harvard.edu f6d744b58b Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:31:50 +00:00
darin%netscape.com db147304c7 fixes SVG bustage, b=128508 2002-03-21 01:43:51 +00:00
darin%netscape.com 488660f546 fixes SVG bustage 2002-03-21 01:10:18 +00:00
darin%netscape.com 0d200ac324 fixes SVG bustage related to my checkin for bug 124042 2002-03-06 09:03:38 +00:00
peterv%netscape.com f7ff160c45 Bustage fix. 2002-03-04 03:08:17 +00:00
peterv%netscape.com 9bfe5c5491 Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa. 2002-03-04 02:25:08 +00:00
bzbarsky%mit.edu ca547b257b Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
jdunn%netscape.com 1d98686aac fix xlC 5.x compiler bustage
r=bbaetz@@student.usyd.edu.au
r=dbaron@fas.harvard.edu (sort of)
# 119304
2002-01-14 13:43:10 +00:00
alex.fritze%crocodile-clips.com b75fe3f870 [SVG only] Fix locale-related problems (bug 99771).
Patch by <daniele@grinta.net>
2002-01-10 15:28:15 +00:00
seawood%netscape.com 0fc2bb23f2 s/nsCheapVoidArray/nsSmallVoidArray/
Fixing tinderbox bustage caused by bug 96108
2001-12-21 05:00:29 +00:00
bbaetz%cs.mcgill.ca 6f64e775da dos2unix line endings. Should fix build bustage, not part of default
build.
2001-12-12 11:05:25 +00:00
bbaetz%cs.mcgill.ca 905c4ab656 Bug 80142 - left this out 2001-12-12 08:22:52 +00:00
bbaetz%cs.mcgill.ca b5afdc8b72 Bug 80142 - left these out. 2001-12-12 08:21:33 +00:00
bbaetz%cs.mcgill.ca 5c8cc975a2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00