0.5.15 (March 16th, 2018)
0.5.14 (Nov 26th, 2017)
0.5.13 (May 11th, 2017)
0.5.12 (October 28th, 2016)
0.5.11 (January 26th, 2016)
0.5.10 (November 21st, 2014)
0.5.9 (February 9th, 2014)
0.5.8 (November 11th, 2013)
0.5.7 (November 15th, 2012)
0.5.6 (May 15th, 2012)
0.5.5 (Feb 10th, 2012)
0.5.4 (Nov 2nd, 2011)
0.5.3 (Sept 10th, 2011)
0.5.2 (May 6th, 2011)
0.5.1 (Feb 22nd, 2011)
0.5.0 (Nov 1st, 2010)
0.4.9 (Oct 3rd, 2010)
0.4.7 and 0.4.8 (July 2nd, 2010)
0.4.6 (June 10th, 2010)
0.4.5 (April 21st, 2010)
0.4 (March 28th, 2010)
0.3.1 (March 17th, 2010)
0.3 (March 9th, 2010)
0.2 (Feb 7th, 2010)
0.0.1 (Dec 18th, 2009)
0.5.15 (March 16th, 2018)
Global modifications:
- Restored compatibility with Firefox 59+ after Firefox dropped support for SVG1.1 mutable path features (see Remove the WebIDL methods for creating and mutating SVG path data) by upgrading the polyfill by Philip Rogers to version 1.2.0.
0.5.14 (Nov 26th, 2017)
Global modifications:
- Migration to GWT-2.8.2 and gwt-maven-plugin 2.8.2.
0.5.13 (May 11th, 2017)
Global modifications:
- Migration to GWT-2.8.1 and gwt-maven-plugin 2.8.1.
Bug fixes:
- DashArrayParser depends from html-unit (broken compilation as result)
- Scheduler problems with lib-gwt-svg
0.5.12 (October 28th, 2016)
Global modifications:
- Migration to GWT-2.8.0 and gwt-maven-plugin 2.8.0.
0.5.11 (January 26th, 2016)
Global modifications:
- Restored compatibility with Chrome 48+ after Chrome dropped support for several SVG1.1 key features (see SVGPathSeg interfaces (removed) and Deprecate/Remove SVGGraphicsElement.getTransformToElement (removed)) by integrating the following polyfills by David Durman and Philip Rogers.
0.5.10 (November 21st, 2014)
Global modifications:
- Migration to GWT-2.7.0 and gwt-maven-plugin 2.7.0.
Bug fixes:
- Fixed NPE in ISVGLocatable.getNearestViewportElement, ISVGLocatable.getFarthestViewportElement and OMDocument.getElementById when the native JS method returns null.
0.5.9 (February 9th, 2014)
Global modifications:
- Migration to GWT-2.6.0 and gwt-maven-plugin 2.6.0.
- Migration to Java 7u45.
- The compatibility with IE has been redesigned. Indeed, GWT 2.6.0 does not work correctly with IE 11 (the firefox permutation is selected instead of the IE10 permutation, see issue 8228). Thus IE compatibility code is now embedded in all versions of lib-gwt-svg and activated based on feature detection, Ã la Modernizr
- Dropped legcay Opera support (new Opera versions are now webkit based).
package com.google.gwt.resources.css
SubstitutionReplacer
Duplicated this class to circumvent a regression on DataResource subclasses in 2.6.0, see Issue 8564
package com.google.gwt.resources.css
DOMHelperImplIE, SVGParserImplIE, SVGParserImplOpera
Removal
0.5.8 (November 11th, 2013)
Global modifications:
- Migration to GWT-2.5.1 and gwt-maven-plugin 2.5.1.
Bug fixes:
- Added workaround for to repare OMSVGSVGElement.setViewBox to accommodate the following change in firefox 22+
0.5.7 (November 15th, 2012)
Global modifications:
- Migration to GWT-2.5.0 and gwt-maven-plugin 2.5.0.
- Scripts embedded in SVG files loaded using OMSVGParser.parse are now enabled by default. A new method overload has been added to load the files with script disabled.
package org.vectomatic.dom.svg.utils
OMSVGParser
Added the following methods:
0.5.6 (May 15th, 2012)
Global modifications:
- Added support for native drag-and-drop events.
- Rewrote event-handling code.
- SVGResource can now be used as CSS/SVG backgrounds.
Bug fixes:
- On firefox, added workaround for bug https://bugzilla.mozilla.org/show_bug.cgi?id=752231
package org.vectomatic.dom.svg
OMSVGAElement, OMSVGAnimationElement, OMSVGCircleElement, OMSVGDefsElement, OMSVGEllipseElement, OMSVGForeignObjectElement, OMSVGGElement, OMSVGImageElement, OMSVGLineElement, OMSVGPathElement, OMSVGPolygonElement, OMSVGPolylineElement, OMSVGRectElement, OMSVGSVGElement, OMSVGSwitchElement, OMSVGSymbolElement, OMSVGTextContentElement, OMSVGUseElement
Added touch event handler registration methods:
OMSVGLength
Added the following methods:
package org.vectomatic.dom.svg.events
HasGraphicalHandlers
The interface extends the following additional interface: HasAllDragAndDropHandlers
package org.vectomatic.dom.svg.impl
DOMEventBus
Creation
DOMHelperImpl
Removed the following constants:EVT_FOCUSIN, EVT_FOCUSOUT, EVT_MOUSEDOWN, EVT_MOUSEUP, EVT_MOUSEOVER, EVT_MOUSEOUT, EVT_MOUSEMOVE, EVT_ACTIVATE, EVT_CLICK, EVT_LOAD, EVT_BEGIN, EVT_END, EVT_REPEAT, EVT_UNLOAD, EVT_ABORT, EVT_ERROR, EVT_RESIZE, EVT_SCROLL, EVT_ZOOM, EVT_LOOSECAPTURE, EVT_TOUCHSTART, EVT_TOUCHEND, EVT_TOUCHMOVE, EVT_TOUCHCANCEL, EVT_GESTURESTART, EVT_GESTURECHANGE, EVT_GESTUREEND
Removed the following methods:
Added the following methods:
package org.vectomatic.dom.svg.ui
SVGResource
Class now derives from DataResource instead of ResourcePrototype.
package org.vectomatic.dom.svg.utils
DOMHelperImpl
Added the following methods:
Deprecated the following method:
SVGImage
Made SVGImage implement drag-and-drop handler registration methods.
SVGConstants
Added the following constants:
0.5.5 (Feb 10th, 2012)
Global modifications:
- Added support for touch events and gestures.
Bug fixes:
- Applied patch submitted by Robert Mollitor to OMSVGRect.union
- OMCSSPrimitiveValue: fixed infinite loops in getStringValue(), setStringValue() and getRGBColorValue().
package org.vectomatic.dom.svg
OMSVGAElement, OMSVGAnimationElement, OMSVGCircleElement, OMSVGDefsElement, OMSVGEllipseElement, OMSVGForeignObjectElement, OMSVGGElement, OMSVGImageElement, OMSVGLineElement, OMSVGPathElement, OMSVGPolygonElement, OMSVGPolylineElement, OMSVGRectElement, OMSVGSVGElement, OMSVGSwitchElement, OMSVGSymbolElement, OMSVGTextContentElement, OMSVGUseElement
Added touch event handler registration methods:
OMCSSPrimitiveValue
Added the following helper constructor:
package org.vectomatic.dom.svg.events
HasGraphicalHandlers
The interface extends the following additional interface: HasAllTouchHandlers
package org.vectomatic.dom.svg.impl
DashArrayParser
Changed return type of method parse() from OMCSSValueList to OMCSSValue in order to be able to represent “none” and “inherit” values
SVGPaintParser
Added constant INHERIT to represent the “inherit” paint value.
package org.vectomatic.dom.svg.utils
OMSVGParser
Changed return type of method parseDashArray() from OMCSSValueList to OMCSSValue in order to be able to represent “none” and “inherit” values.
SVGConstants
Added the following constant:
DOMHelper
Added a method to detect SVG touch event support:
SVGImage
Made SVGImage implement touch handler registration methods.
package org.vectomatic.dom.svg
DOMHelperImpl
Added Michael Baranov’s patch for low-level gesture events handling (no API change)
CSSHelper
Creation
CSSHelperWebkit
Creation
0.5.4 (Nov 2nd, 2011)
Global modifications:
- Added support for XPaths on IE, courtesy of xpath.js by Cameron McCormack.
- Added better error detection in OMSVGParser, which now throws a ParserException if the parsed text is not well-formed or is not an SVG document.
Bug fixes:
- Fixed NPE in org.vectomatic.dom.svg.OMNode.insertBefore
- Found a workaround for the following IE9 problem: styles embedded in dynamically parsed SVGs are ignored by IE9.
- Found a workaround for the following Opera problem: CSS styles embedded in dynamically parsed SVGs and containing an xlink:href get corrupted.
package org.vectomatic.dom.svg
OMSVGCircleElement
Added the following helper constructor:
OMSVGDescElement
Added the following helper constructor:
OMSVGEllipseElement
Added the following helper constructor:
OMSVGImageElement
Added the following helper constructor:
OMSVGLineElement
Added the following helper constructors:
OMSVGRectElement
Added the following helper constructors:
OMSVGTextElement
Added the following helper constructor:
OMSVGTitleElement
Added the following helper constructor:
OMText
Added the following helper constructor:
package org.vectomatic.dom.svg.utils
ParserException
Creation
package org.vectomatic.dom.svg.impl
DOMHelperImplIE
Creation
SVGParserImpl
Changed the return type from OMSVGSVGElement to SVGSVGElement in:
SVGParserImplIE
Creation
SVGParserImplWebkit
Creation
0.5.3 (Sept 10th, 2011)
Global modifications:
- Migration to GWT 2.4.0
- The relationship between wrapper types and overlay types is now changed in the following manner: all overlay types now have a back reference to the wrapper type representing the SVG element in GWT. Thus, conversions from overlay types to wrapper types now always return the same wrapper type, instead of instantiating a new one every time. This lets wrapper types contain a state of their own and enables subclassing. It is expected that browsers which will execute lib-gwt-svg will be able to cope with the resulting javascript object-dom object cycle reference and collect unused ones to avoid memory leaks.
- All wrapper types which represent an element now have a no-arg constructor and can be instantiated directly, instead of using OMSVGDocument as a factory for these types. Subclasses can be created without having to implement a dedicated constructor.
New features:
- Added support for parsing SVG paint values
- Added support for parsing SVG dash-array values
Bug fixes
- Fixed the value of org.vectomatic.dom.svg.utils.SVGConstants.CSS_CURRENTCOLOR_VALUE
package org.vectomatic.dom.svg
OMCSSValue
Creation
OMSVGAElement, OMSVGAltGlyphDefElement, OMSVGAltGlyphElement, OMSVGAltGlyphItemElement, OMSVGAnimateColorElement, OMSVGAnimateElement, OMSVGAnimateMotionElement, OMSVGAnimateTransformElement, OMSVGCircleElement, OMSVGClipPathElement, OMSVGColorProfileElement, OMSVGComponentTransferFunctionElement, OMSVGCursorElement, OMSVGDefsElement, OMSVGDescElement, OMSVGEllipseElement, OMSVGFEBlendElement, OMSVGFEColorMatrixElement, OMSVGFECompositeElement, OMSVGFEConvolveMatrixElement, OMSVGFEDiffuseLightingElement, OMSVGFEDisplacementMapElement, OMSVGFEDistantLightElement, OMSVGFEFloodElement, OMSVGFEFuncAElement, OMSVGFEFuncBElement, OMSVGFEFuncGElement, OMSVGFEFuncRElement, OMSVGFEGaussianBlurElement, OMSVGFEImageElement, OMSVGFEMergeElement, OMSVGFEMergeNodeElement, OMSVGFEMorphologyElement, OMSVGFEOffsetElement, OMSVGFEPointLightElement, OMSVGFESpecularLightingElement, OMSVGFESpotLightElement, OMSVGFETileElement, OMSVGFETurbulenceElement, OMSVGFilterElement, OMSVGFontElement, OMSVGFontFaceElement, OMSVGFontFaceFormatElement, OMSVGFontFaceNameElement, OMSVGFontFaceSrcElement, OMSVGFontFaceUriElement, OMSVGForeignObjectElement, OMSVGGElement, OMSVGGlyphElement, OMSVGGlyphRefElement, OMSVGHKernElement, OMSVGImageElement, OMSVGLinearGradientElement, OMSVGLineElement, OMSVGMarkerElement, OMSVGMaskElement, OMSVGMetadataElement, OMSVGMissingGlyphElement, OMSVGMPathElement, OMSVGPathElement, OMSVGPatternElement, OMSVGPolygonElement, OMSVGPolylineElement, OMSVGRadialGradientElement, OMSVGRectElement, OMSVGScriptElement, OMSVGSetElement, OMSVGStopElement, OMSVGStyleElement, OMSVGSVGElement, OMSVGSwitchElement, OMSVGSymbolElement, OMSVGTextElement, OMSVGTextPathElement, OMSVGTitleElement, OMSVGTRefElement, OMSVGTSpanElement, OMSVGUseElement, OMSVGViewElement, OMSVGVKernElement
Added an arg-less constructor to all of these classes
OMCSSValue
Creation
OMCSSPrimitiveValue
Creation
OMCSSValueList
Creation
OMRGBColor
Creation
OMSVGColor
Creation
OMSVGMatrix
Added the following methods:
OMSVGPaint
Creation
OMSVGAnimatedEnumeration
Added the following constants:
OMSVGStyle
Added the following method:
package org.vectomatic.dom.svg.impl
DashArrayParser
Creation
SVGPaintParser
Creation
package org.vectomatic.dom.svg.utils
OMSVGStyle
Added the following methods:
0.5.2 (May 6th, 2011)
Global modifications:
- Migration to GWT 2.3.0
- Support for IE9
New features:
- Added interface and classes to load external SVG resources either through XmlHttpRequest (for webtop apps) or through IFrames (for plasmoids)
Bug fixes
- Fixed bug in org.vectomatic.dom.svg.OMSVGStyle.clearSVGProperty(String)
package org.vectomatic.dom.svg.utils
AsyncXmlLoader
Creation
AsyncXmlLoaderCallback
Creation
HttpRequestXmlLoader
Creation
IFrameXmlLoader
Creation
0.5.1 (Feb 22nd, 2011)
Global modifications:
- Migration to GWT 2.2.0
- Transformation of the event handling code (migration to SimpleEventBus). There is now a shared EventBus for all SVG objects instead of an instance of HandlerManager per SVG objects. Thus, the extra __hm property which was added to each SVG object managing event handlers has been removed.
- Changed the output of OMSVGTransform.getDescription() to output a description which matches the format of the transform attribute (http://www.w3.org/TR/SVG/coords.html#TransformAttribute)
- POM changes to allow the use of the Maven release plugin
- Wrapper classes now implement equals and hashCode with the following semantic: two wrapper instances are considered equal if they wrap the same JavaScriptObject. They also have the same hash value (the hash value of the wrapped JavaScriptObject object).
New features:
- Added methods to OMSVGLength to support conversion to com.google.gwt.dom.client.Style.Unit.
- Completed many root classes to add better DOM level 2 operation support (notably, namespace support, DOM attribute nodes, named node maps).
- Add support to compute the distance from a point to a line.
Bug fixes:
- Improved implementation of getMarkup() to use XMLSerializer instead of innerHTML.
- Fixed incorrect IDL to GWT mapping: SVGAnimatedPoints was incorrectly modeled as a wrapper type instead of an interface
- Fixed issue http://code.google.com/p/lib-gwt-svg/issues/detail?id=1 in OMSVGRect
- Fixed problem in SVG validation when dealing with <title>, <desc> and <metadata> tags.
- Fixed event handler registration on SMIL animation event. SMIL events now work correctly with browsers which support them (Opera, FF4).
- Improved behavior of SVG buttons: they now catch click events and swallow them silently, which removes a bug in Chrome (where clicking rapidly on a button would cause click events to bubble up to the parent containers an trigger text selection in the parent containers). They also call event.stopPropagation() and event.preventDefault(). SVG buttons no longer keep a reference to old mouseDown events to implement repeat; they fire a fresh dynamically generated event every time.
package org.vectomatic.dom.svg
OMDocument
Added the following methods:
OMElement
Added the following methods:
OMNamedNodeMap
Added the following method:
OMNode
Added the following methods:
OMSVGDocument
Added the following helper methods:
OMNode
Added the following helper methods:
OMSVGLineElement
Added the following helper methods:
OMSVGSVGElement
Added the following helper methods:
OMText
Added the following method:
package org.vectomatic.dom.svg.ui
OMSVGButtonBase
Added the following method:
package org.vectomatic.dom.svg.utils
DOMHelper
Added the following methods:
0.5.0 (Nov 1st, 2010)
Global modifications:
- The API has been migrated to include the lastest update from the SVG specification (SVG 1.1 second edition, W3C Working Draft 22 June 2010). This causes many interfaces to be slightly modified, see below for details.
- Documentation captured from the SVG specification has been translated to javadoc and injected everywhere in the API.
- Exceptions declared in the specification have been mapped to java exceptions and the corresponding throws clause have been added to the specification.
- Many new helper methods have been introduced (xpath utilities, DOM-level 2 related methods, graphical methods).
- An SVG validator has been integrated. It is enabled by default and checks at build-time all the SVG passed as SVGResource, ExternalSVGResource and inlined in UiBinder templates. The SVG validator is based on the experimental XML schema provided at W3C with custom fixes and improvements. It is possible to disable validation with the proper annotation or UiBinder attribute.
- The library is now based on the GWT 2.1 final release.
org.vectomatic.dev.svg.impl.gen
SVGValidator
Creation
package org.vectomatic.dom.svg.impl
Attr
Added the following method:
SVGFEConvolveMatrixElement
Added the following method:
Changed the return type from OMSVGAnimatedLength to OMSVGAnimatedNumber in the following methods:
SVGFEDiffuseLightingElement
Added the following methods:
SVGFEImageElement
Added the following method:
SVGFEMorphologyElement
Changed the return type from OMSVGAnimatedLength to OMSVGAnimatedNumber in the following methods:
SVGFESpecularLightingElement
Added the following methods:
SVGStyleElement
Added the following methods:
SVGSVGElement
Removed the following method:
package org.vectomatic.dom.svg
OMNode
Changed the return type of getOwnerDocument from OMSVGDocument to OMDocument.
OMSVGFEConvolveMatrixElement
Added the following method:
Changed the return type from OMSVGAnimatedLength to OMSVGAnimatedNumber in the following methods:
OMSVGFEDiffuseLightingElement
Added the following methods:
OMSVGFEImageElement
Added the following method:
OMSVGFEMorphologyElement
Changed the return type from OMSVGAnimatedLength to OMSVGAnimatedNumber in the following methods:
OMSVGFESpecularLightingElement
Added the following methods:
OMSVGRect
Added the following methods:
OMSVGStyleElement
The class now implements the ISVGLangSpace interface.
OMSVGSVGElement
Removed the following method:
package org.vectomatic.dom.svg.itf
ISVGGraphicsElement
Creation
ISVGContainerElement
Creation
package org.vectomatic.dom.svg.ui
ExternalSVGResource
Added validated annotation attribute for methods which define SVG resources and want to explicitly turn validation on or off.
SVGResource
Added validated annotation attribute for methods which define SVG resources and want to explicitly turn validation on or off.
package org.vectomatic.dom.svg.utils
DOMHelper
Added the following methods:
SVGPrefixResolver
Added the following static field
0.4.9 (Oct 3rd, 2010)
package org.vectomatic.dom.svg
OMAttr
Creation
OMNamedNodeMap
Creation
OMNode
Improved convert() so that OMText, OMDocument, OMAttr can be returned.
OMElement
Fixed constructor signature
OMDocument
Fixed constructor signature
OMSVGPoint
Added the following methods:
package org.vectomatic.dom.svg.impl
Attr
Creation
NamedNodeMap
Creation
package org.vectomatic.dom.svg.utils
DOMHelper
made the signature of evaluateXPath more generic (requires a root OMElement instead of a root OMSVGElement)
Added the following methods:
package org.vectomatic.dom.svg.ui
SVGImage
- now implements ISVGStylable
- removed unnecessary cloneNode in setSvgElement
- rolled back on the modification which put <svg> element wrapped by SVGImage is now put into a <div> (bad idea)
SVGButtonBase
- now implements ISVGStylable
- removed unnecessary cloneNode in setSvgElement
- rolled back on the modification which put <svg> element wrapped by SVGImage is now put into a <div> (bad idea)
SVGButtonBase
0.4.7 and 0.4.8 (July 2nd, 2010)
This is just a maintenance release, to keep up with the latest upgrade of GWT. There are no new functionalities. If you use GWT 2.0.3, use lib-gwt-svg 0.4.6. If you use GWT 2.0.4, use lib-gwt-svg 0.4.7. Finally if you use GWT 2.1.0M1, use lib-gwt-svg 0.4.8.
0.4.6 (June 10th, 2010)
package org.vectomatic.dom.svg.ui
SVGImage
The class now implements HasAllMouseHandlers. The <svg> element wrapped by SVGImage is now put into a <div> element, which improves the integration with other GWT widgets and libraries
package org.vectomatic.dom.svg
- Changed many APIs to make better use of generics
- Changed all the DOM list API to make them real iterable Java collections: OMNodeList, OMSVGLengthList, OMSVGNumberList, OMSVGPathSegList, OMSVGPointList, OMSVGStringList, OMSVGTransformList. This means they are no longer implemented as overlay types, but as wrapper objects which implement Iterable<T>
- Added more helper methods to OMSVGPoint, OMSVGRect and OMSVGTransform
- Changed the way wrappers manage event handlers. The underlying HandlerManager is no longer stored in the wrapper, but in the overlay type itself. This makes the wrappers truly “transparent” and removes the risk of incorrect behavior due to several HandlerManagers being instantiated for the same SVG object by calls which create wrappers (getElementById(), getFirstChild(), …)
OMNodeList
Added the following method
OMSVGLengthList
Added the following method
OMSVGNumberList
Added the following method
OMSVGPathSegList
Added the following method
OMSVGPointList
Added the following method
OMSVGStringList
Added the following method
OMSVGTransformList
Added the following method
OMSVGPoint
Added the following methods
OMSVGRect
Added the following methods
OMSVGTransform
Added the following method
package org.vectomatic.dom.svg.ui
- Added classes and methods to support XPath queries on the SVG DOM
DOMHelper
Added the following method
SVGPrefixResolver
Creation
XPathPrefixResolver
Creation
SVGConstants
Added the CSS_TYPE constant
0.4.5 (April 21st, 2010)
package org.vectomatic.dom.svg
OMElement
Added a method to manage DOM attributes
OMSVGRect
Added the following methods
package org.vectomatic.dom.svg.ui
- Improved javadoc
- Added classes to implement SVG push buttons and toggle buttons
- Added support for external SVG resources in client bundles
- Improved the widgets sample in lib-gwt-svg-samples to demonstrate SVG buttons
- Added a new sample in lib-gwt-svg-samples to demonstrate SVG SMIL animations
SVGButtonBase
Creation
SVGPushButton
Creation
SVGToggleButton
Creation
SVGExternalResource
Creation
package org.vectomatic.dom.svg.utils
DOMHelper
Added a method to manage DOM attributes
package org.vectomatic.dom.svg
package org.vectomatic.dom.svg.events
- Added several custom events classes to represent the following svg events: focusin, focusout, activate
- Fixed the SVG element classes (removed incorrect handler hooks for focus and blur events and added new hooks for focusin, focusout, activate events)
- Added @Tag annotations to all element classes for UiBinder integration
FocusInEvent
Creation
FocusInHandler
Creation
HasFocusInHandlers
Creation
FocusOutEvent
Creation
FocusOutHandler
Creation
HasFocusOutHandlers
Creation
ActivateEvent
Creation
ActivateHandler
Creation
HasActivateHandlers
Creation
package org.vectomatic.dom.svg.ui
- Added a SVG widget hierarchy to make use of SVG simpler and to provide integration with UiBinder
- Added a resource bundle dedicated SVG type
SVGWidget
Creation
SVGImage
Creation
SVGResource
Creation
- Renamed the project from libgwtsvg to lib-gwt-svg for SEO
- Added a new sample to lib-gwt-svg-samples to demonstrate SVG feature names
package org.vectomatic.dom.svg.utils
SVGConstants
Added constants for SVG feature names
DOMHelper
Added a method to test SVG features
package org.vectomatic.dom.svg
OMElement
Added methods to manage DOM attributes
OMNode
Fix bug in
OMSVGDocument
Added helper methods to simplify basic shape creation
OMSVGElement
Added method to serialize SVG nodes to XML
OMSVGFilterElement
Added constants for filter inputs
OMSVGNumberList
Added helper methods to simplify number list creation
OMSVGPoint
Added helper methods to provide basic geometric operations on points
OMSVGRectElement
Added helper methods to deal with rect center
OMSVGStyle
Added method to clear a property
OMSVGSVGElement
Added helper methods to set the width, height and viewBox of an SVG element
package org.vectomatic.dom.svg.impl
DOMHelperImpl
Implementation of the capability to redirect events to a capturing element
SVGElement
Implementation of XML serialisation
package org.vectomatic.dom.svg.utils
DOMHelper
Added the methods to provide capability to redirect events to a capturing element
Added helper method to compute a xlink URL
- The generated code is now based on W3C IDLs instead of XPCOM IDLs. This provides a more standard-compliant / complete input (SVGElementInstance and SVGElementInstanceList are now present). Being pure OMG IDLs, they are also easier to parse than XPCOM IDLs which have a mutated grammar.
- From the end-user point of view, the main difference is that there is now a separation between API (org.vectomatic.dom.svg package) and implementation (org.vectomatic.dom.svg.impl). Wrapper objects are used where implementing interfaces or providing browser-dependent implementations is required (mostly Element objects). SVG interfaces are now provided on wrapper types for polymorphic code. Overlay types are used for the implementation and are sometimes exposed directly for well standardized objects (like OMSVGRect, OMSVGPoint, OMSVGPathSeg).
- The event model has been revamped (the work is not yet terminated). The low-level code does not rely on existing GWT code (since it is ill-suited to SVG). The high-level code relies on the new GWT event system
- The generated packages dealing with stylesheet have been removed and replaced by an integration with the GWT style APIs
- DOM integration has been improved. The library automatically manages DOM element imports. Wrapper types support DOM tree operations (like appendChild or getElementById) directly
- Initial release