| fry | 
			
				Re: Processing 0149 is the phoenixReply #1 - Oct 15th, 2008, 2:42pm
 
			[ changes ] 
 + Changed how PGraphics objects are created for better consistency. Sadly,
 this will require any libraries that subclass PGraphics to be rebuilt
 for this release. (However, internally it's a great improvement.)
 Renderer library authors please read the reference for PGraphics:
 http://dev.processing.org/reference/core/javadoc/processing/core/PGraphics.html
 For library developers, a gritty list of the internal function changes
 can be found in processing/core/done.txt in the revision 0149 section under
 the heading "PGraphics API changes". (It's not poetic, but it's real.)
 
 + We've decided that vector geometry is as important as image data, so the
 Candy library has been removed, and replaced by a built-in loadShape()
 method in PApplet, which returns a PShape object. (Candy lives on as the
 PShapeSVG class, which is the PShape subclass created by loadShape.)
 A shape() command has been added (like the image() command for images).
 See the new SVG examples for more information. In the future, we'd like
 to support other vector formats (such as OBJ) with loadShape(), or
 provide a means for libraries to register themselves to load shape data.
 
 + The PShape object is just a container for now, but will someday provide
 methods for accessing actual vertex information.
 
 + Because of the SVG changes, the XML library is now built into the core.
 This means that processing.xml will be imported by default (no need for
 "import processing.xml" in your sketch). This also means that "XML"
 will no longer be seen in the "Import Library" menu.
 
 + Altered how createInput(), save(), and saveFrame() work so that they
 are more friendly to signed applets.
 
 + Implemented new error/warning system inside PGraphics so that errors
 are only shown once, and non-fatal errors do not shut down the sketch.
 
 + The unhint() method has been removed, see the hint() reference for changes.
 
 + Changed how match() works to bring back in line with other regexp
 implementations. Instead of only returning matching groups, match 0
 is the matching sequence, and array elements [1] and higher represent
 each of the groups (sequences found in parens). This brings us into
 compliance with how "everyone else" does it. Please direct complaints,
 jeers, or accolades to Dan Shiffman, who advocated the change.
 
 + Also starting in this release, the match() commands use multiline
 matching (Pattern.MULTILINE) and dotall mode (Pattern.DOTALL) by default
 so that ^ and $ match the beginning and end of any lines found in the
 source, and the . operator will also pick up newline characters.
 
 + The arraycopy() method is now arrayCopy(), for better consistency with
 the rest of the API (think framerate vs. frameRate). Because books have
 been printed with the lowercase version, we're keeping both, but in
 Java parlance, we've deprecated the lowercase version.
 
 + Removed MACOS9 constant from processing.core.PConstants. Bye bye 2001.
 
 + Deprecated the NORMALIZED constant, use NORMAL instead.
 
 + Removed some items from the default imports because they're 1) likely
 to cause naming collisions and 2) more likely to be used by advanced
 users (who can add 'em themselves anyway). The removed items include:
 javax.sound.midi,javax.sound.midi.spi,
 javax.sound.sampled,javax.sound.sampled.spi,
 javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,
 javax.xml.transform.sax,javax.xml.transform.stream,
 org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
 You can add default imports to your preferences.txt file by adding to
 the preproc.imports line. But keep in mind that this will make your
 code incompatible with Processing on any machine that doesn't have
 its preferences.txt mangled in the same manner.
 
 + Update Quaqua to 4.4.7 on Mac OS X (http://www.randelshofer.ch/quaqua/)
 
 + Disable abyssmally slow Sun renderer on OS X 10.5, by setting
 apple.awt.graphics.UseQuartz to true inside PApplet.main().
 
 |