[2007-08-16: VERSION 2.0.025] [FIXED] Fixed a ClassNotFoundException on start up -- ticket #26 [FIXED] Fixed a NullPointerException when creating Gradients, Patterns and Symbols -- ticket #27 [2007-08-16: VERSION 2.0.024] [FIXED] Solved memory leaks related to caching of Java object wrappers and circular references that did not allow wrapper objects to be garbage collected. This was the cause of all OutOfMemoryError: Java heap space exceptions [FIXED] Scriptographer cannot be loaded on System with Unicode characters in Plug-in folder name -- ticket #7 [NEW] Implement script.onStart / script.onStop hooks -- ticket #8 [FIXED] Illustrator crashes on shutdown -- ticket #9 [FIXED] Fixed text support issues that where causing leaks and did not reflect changes in text objects -- ticket #11 [FIXED] Tools are again displaying specific mouse cursors -- ticket #12 [NEW] Added Art#setClipMask and Art#isClipMask. Group#setClipped now calls setClipMask(true) on the first child when setting clipped to true -- ticket #22 [FIXED] Accessing text.bounds immediatelly after creating a TextFrame now returns correct results -- ticket #20 [NEW] Added Art#isEditable [NEW] Added new global objects: app, script, scriptographer [NEW] Dialog.prompt remembers previous values by storing them in the global script.perferences object [CHANGED] Renamed activeDocument to document. activeDocument is still supported but deprecated [CHANGED] Removed java.awt.geom inheritance from Point, Rectangle and Matrix. Point and Rectangle are mostly unchanged, but Matrix works differently now since not inheriting form java.awt.geom.AffineTransform any longer [NEW] Raster and PlacedItem can now be constructed by passing URLs to them. Downloading is handled behind the scenes [FIXED] Fixed problem with Art#transform and Art.TRANSFORM_DEEP. Use Art.TRANSFORM_CHILDREN instead [NEW] Various changes in ADM to make user interface handling more JS friendly. [CHANGED] Renamed Dialog#addToLayout to Dialog#addToContent [NEW] Added Dialog#content that can be set to a hash containing layout-hint -> item pairs, instead of calling Dialog#addToContent for each item [NEW] Added Path#toShape, returning a java.awt.geom.GeneralPath [NEW] Added Raster#getAverageColor, calculates the average color in the Raster below a given Shape or Path [FIXED] Fixed wrong pixel sequence in ADM Images on Intel platforms [NEW] Added Curve#isLinear, to check if the curve describes a simple line [CHANGED] Renamed Document#redraw(rect) to Document#invalidate(rect), since unlike Document#redraw() it does not cause an immediate update of the document