starting release 0126

This commit is contained in:
benfry
2007-07-15 18:16:39 +00:00
parent 2a36d4b674
commit a19ceb7777
6 changed files with 213 additions and 201 deletions
+2 -2
View File
@@ -50,8 +50,8 @@ import processing.core.*;
* files and images, etc) that comes from that.
*/
public class Base {
static final int VERSION = 125;
static final String VERSION_NAME = "0125 Beta";
static final int VERSION = 126;
static final String VERSION_NAME = "0126 Beta";
/**
* Path of filename opened on the command line,
+6
View File
@@ -7,6 +7,12 @@ releases will be super crusty.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABOUT REV 0126 - XX July 2007
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABOUT REV 0125 - 15 July 2007
Enormous number of bug fixes and additions. Many thanks to ewjordan
+124
View File
@@ -1,3 +1,127 @@
0125 core
X more blend() modes (the five listed on the thread below?)
X http://dev.processing.org/bugs/show_bug.cgi?id=132
X figure out what the modes should actually be:
X photoshop: normal, dissolve; darken, multiply, color burn,
X linear burn; lighten, screen, color dodge, linear
X dodge; overlay, soft light, hard light, vivid light,
X linear light, pin light, hard mix; difference,
X exclusion; hue, saturation, color, luminosity
X illustrator: normal; darken, multiply, color burn; lighten,
X screen, color dodge; overlay, soft light, hard light;
X difference, exclusion; hue, sat, color, luminosity
X director: Copy, Transparent, Reverse, Ghost, Not copy,
X Not transparent, Not reverse, Not ghost, Matte, Mask;
X (below seems more useful:
X Blend, Add pin, Add, Subtract pin, Background transparent,
X Lightest, Subtract, Darkest, Lighten, Darken
X flash:
X DIFFERENCE: C = abs(A-B);
X MULTIPLY: C = (A * B ) / 255
X SCREEN: C= 255 - ( (255-A) * (255-B) / 255 )
X OVERLAY: C = B < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
X HARD_LIGHT: C = A < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
X SOFT_LIGHT: C = B < 128 ? 2*((A>>1)+64)*B/255 : 255-(2*(255-((A>>1)+64))*(255-B)/255)
X jre 1.5.0_10 is still default at java.com.. blech
X http://dev.processing.org/bugs/show_bug.cgi?id=513
X constant CENTER_RADIUS will be changed to just RADIUS
X CENTER_RADIUS is being deprecated, not removed
X remove CENTER_RADIUS from any p5 code (i.e. examples)
X split() inconsistency (emailed casey, will discuss later)
X make split(String, String) behave like String.split(String)
X and make current split(String) into splitTokens(String)
X that means split(String) no longer exists
o add splitTokens() documentation
o document new version of split() and regexp
o should we mention String.split?
X ironed out more of the preproc parseXxxx() functions
X deal with targa upside-down and non-rle encoding for tga images
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1171576234
X change println(array) to be useful
o document using join() for old method
X remove print(array) since it's silly?
X make sure it's not in the reference
X [0] "potato", [1] "tomato", [2] "apple"
X fix filter(GRAY) on an ALPHA image to produce a good RGB image
0125p2
X updatePixels ref is wrong
X has x/y/w/h version
X the reference is also cut off
X make ENTER, TAB, etc all into char values (instead of int)
X some way to vertically center text
X either by setting its middle vertical point
X or by setting a top/bottom for the rectangle in which it should be placed
o maybe textAlign(CENTER | VERTICAL_CENTER);
X or TOP, MIDDLE, and BOTTOM
o textAlign(CENTER | TOP);
o could even have textAlign(CENTER) and textAlign(TOP) not replace each other
X or textAlign(LEFT, MIDDLE); -> this one seems best
X add reference for new param, and update keywords.txt
X given to andy
0125p3
X PImage.save() method is not working with get()
X http://dev.processing.org/bugs/show_bug.cgi?id=558
X NullPointerException in Create Font with "All Characters" enabled
X http://dev.processing.org/bugs/show_bug.cgi?id=564
X added min() and max() for float and int arrays
X need to update reference
X moved around min/max functions
X opengl image memory leaking
X when creating a new PImage on every frame, slurps a ton of memory
X workaround is to write the code properly, but suggests something bad
X http://dev.processing.org/bugs/show_bug.cgi?id=150
X opengl keeping memory around..
X could this be in vertices that have an image associated
X or the image buffer used for textures
X that never gets cleared fully?
X registerSize() was registering as pre() instead
X http://dev.processing.org/bugs/show_bug.cgi?id=582
X set() doesn't bounds check
X this shouldn't actually be the case
X http://dev.processing.org/bugs/show_bug.cgi?id=522
X get()/set() in PGraphicsJava2D don't bounds check
X was actually a dumb error in setDataElements()
X set modified to true on endDraw() so that image updates properly
X http://dev.processing.org/bugs/show_bug.cgi?id=526
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1171574044
0125p4 (in progress)
X significant improvement to text and images in opengl
X now using mipmaps to interpolate large and small images
X fix bug with mipmapping on radeon 9700
X things not showing up in linux
X this may be fixed along with bug #341
X probably threading issue, 98 doesn't have any trouble
X signs point to Runner or PApplet changes between 98 and 99
X commenting out applet.setupFrameResizeListener()
X in line 307 from Runner.java solved the problem
X http://dev.processing.org/bugs/show_bug.cgi?id=282
X size of sketch different in setup() and draw() on linux
X make sure that the sketch isn't being sized based on bad insets
X problem with resizing the component when the frame wasn't resizable
X http://dev.processing.org/bugs/show_bug.cgi?id=341
X major rework of the open() command
X add gnome-open/kde-open for with PApplet.open()
X add open (-a?) on osx to the open() command
X make changes in the javadoc and reference
X opengl crashes when depth sorting more than two textured shapes
X http://dev.processing.org/bugs/show_bug.cgi?id=560
ewjordan stuff (changes checked in)
X rect() changes size as it changes position
X http://dev.processing.org/bugs/show_bug.cgi?id=95
X strange texture warping in P3D
X hint(ENABLE_ACCURATE_TEXTURES)
X http://dev.processing.org/bugs/show_bug.cgi?id=103
X lines skip on 200x200 surface because of fixed point rounding error
X http://dev.processing.org/bugs/show_bug.cgi?id=267
X this may be same as 95
X Polygons parallel to z-axis not always filling with nonzero x or y
X http://dev.processing.org/bugs/show_bug.cgi?id=547
0124 core
X with smooth() turned off, shouldn't be smoothing image on resize
X but on osx, apple defaults the image smoothing to true
+1 -122
View File
@@ -1,125 +1,4 @@
0125 core
X more blend() modes (the five listed on the thread below?)
X http://dev.processing.org/bugs/show_bug.cgi?id=132
X figure out what the modes should actually be:
X photoshop: normal, dissolve; darken, multiply, color burn,
X linear burn; lighten, screen, color dodge, linear
X dodge; overlay, soft light, hard light, vivid light,
X linear light, pin light, hard mix; difference,
X exclusion; hue, saturation, color, luminosity
X illustrator: normal; darken, multiply, color burn; lighten,
X screen, color dodge; overlay, soft light, hard light;
X difference, exclusion; hue, sat, color, luminosity
X director: Copy, Transparent, Reverse, Ghost, Not copy,
X Not transparent, Not reverse, Not ghost, Matte, Mask;
X (below seems more useful:
X Blend, Add pin, Add, Subtract pin, Background transparent,
X Lightest, Subtract, Darkest, Lighten, Darken
X flash:
X DIFFERENCE: C = abs(A-B);
X MULTIPLY: C = (A * B ) / 255
X SCREEN: C= 255 - ( (255-A) * (255-B) / 255 )
X OVERLAY: C = B < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
X HARD_LIGHT: C = A < 128 ? (2*A*B/255) : 255-2*(255-A)*(255-B)/255
X SOFT_LIGHT: C = B < 128 ? 2*((A>>1)+64)*B/255 : 255-(2*(255-((A>>1)+64))*(255-B)/255)
X jre 1.5.0_10 is still default at java.com.. blech
X http://dev.processing.org/bugs/show_bug.cgi?id=513
X constant CENTER_RADIUS will be changed to just RADIUS
X CENTER_RADIUS is being deprecated, not removed
X remove CENTER_RADIUS from any p5 code (i.e. examples)
X split() inconsistency (emailed casey, will discuss later)
X make split(String, String) behave like String.split(String)
X and make current split(String) into splitTokens(String)
X that means split(String) no longer exists
o add splitTokens() documentation
o document new version of split() and regexp
o should we mention String.split?
X ironed out more of the preproc parseXxxx() functions
X deal with targa upside-down and non-rle encoding for tga images
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1171576234
X change println(array) to be useful
o document using join() for old method
X remove print(array) since it's silly?
X make sure it's not in the reference
X [0] "potato", [1] "tomato", [2] "apple"
X fix filter(GRAY) on an ALPHA image to produce a good RGB image
0125p2
X updatePixels ref is wrong
X has x/y/w/h version
X the reference is also cut off
X make ENTER, TAB, etc all into char values (instead of int)
X some way to vertically center text
X either by setting its middle vertical point
X or by setting a top/bottom for the rectangle in which it should be placed
o maybe textAlign(CENTER | VERTICAL_CENTER);
X or TOP, MIDDLE, and BOTTOM
o textAlign(CENTER | TOP);
o could even have textAlign(CENTER) and textAlign(TOP) not replace each other
X or textAlign(LEFT, MIDDLE); -> this one seems best
X add reference for new param, and update keywords.txt
X given to andy
0125p3
X PImage.save() method is not working with get()
X http://dev.processing.org/bugs/show_bug.cgi?id=558
X NullPointerException in Create Font with "All Characters" enabled
X http://dev.processing.org/bugs/show_bug.cgi?id=564
X added min() and max() for float and int arrays
X need to update reference
X moved around min/max functions
X opengl image memory leaking
X when creating a new PImage on every frame, slurps a ton of memory
X workaround is to write the code properly, but suggests something bad
X http://dev.processing.org/bugs/show_bug.cgi?id=150
X opengl keeping memory around..
X could this be in vertices that have an image associated
X or the image buffer used for textures
X that never gets cleared fully?
X registerSize() was registering as pre() instead
X http://dev.processing.org/bugs/show_bug.cgi?id=582
X set() doesn't bounds check
X this shouldn't actually be the case
X http://dev.processing.org/bugs/show_bug.cgi?id=522
X get()/set() in PGraphicsJava2D don't bounds check
X was actually a dumb error in setDataElements()
X set modified to true on endDraw() so that image updates properly
X http://dev.processing.org/bugs/show_bug.cgi?id=526
X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1171574044
0125p4 (in progress)
X significant improvement to text and images in opengl
X now using mipmaps to interpolate large and small images
X fix bug with mipmapping on radeon 9700
X things not showing up in linux
X this may be fixed along with bug #341
X probably threading issue, 98 doesn't have any trouble
X signs point to Runner or PApplet changes between 98 and 99
X commenting out applet.setupFrameResizeListener()
X in line 307 from Runner.java solved the problem
X http://dev.processing.org/bugs/show_bug.cgi?id=282
X size of sketch different in setup() and draw() on linux
X make sure that the sketch isn't being sized based on bad insets
X problem with resizing the component when the frame wasn't resizable
X http://dev.processing.org/bugs/show_bug.cgi?id=341
X major rework of the open() command
X add gnome-open/kde-open for with PApplet.open()
X add open (-a?) on osx to the open() command
X make changes in the javadoc and reference
X opengl crashes when depth sorting more than two textured shapes
X http://dev.processing.org/bugs/show_bug.cgi?id=560
ewjordan stuff (changes checked in)
X rect() changes size as it changes position
X http://dev.processing.org/bugs/show_bug.cgi?id=95
X strange texture warping in P3D
X hint(ENABLE_ACCURATE_TEXTURES)
X http://dev.processing.org/bugs/show_bug.cgi?id=103
X lines skip on 200x200 surface because of fixed point rounding error
X http://dev.processing.org/bugs/show_bug.cgi?id=267
X this may be same as 95
X Polygons parallel to z-axis not always filling with nonzero x or y
X http://dev.processing.org/bugs/show_bug.cgi?id=547
0126 core
_ update the reference to cover parseXxxx() stuff
+79
View File
@@ -1,3 +1,82 @@
0125 pde
X prev/next tab conflicting with typing brackets on french macs
X http://dev.processing.org/bugs/show_bug.cgi?id=480
X update javadoc reference to include xml, candy, etc
X update to 1.4.2_12 on linux and windows
X export to web, wrong character encoding in html
X http://dev.processing.org/bugs/show_bug.cgi?id=474
X generate xhtml-1.0-strict (standards compliant) code for exported applets
X http://dev.processing.org/bugs/show_bug.cgi?id=490
X add auto-install of cab file inside applet.html
X http://dev.processing.org/bugs/show_bug.cgi?id=181
X http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html
X http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/launch.html#creating
X http://java.sun.com/update/1.4.2/jinstall-1_4_2_09-windows-i586.cab
X or the 1.5 versions:
X http://java.sun.com/update/1.5.0/jinstall-1_5_0_03-windows-i586.cab
X PDE does not refresh code when using an External Editor
X http://dev.processing.org/bugs/show_bug.cgi?id=515
X preprocessor cannot handle L or l added to 'long' values
X http://dev.processing.org/bugs/show_bug.cgi?id=492
X change constructors for Capture, also framerate to frameRate
X need to update reference
X need to update example to use proper ordering
X re-architect svg to properly inherit fill/stroke/etc from parents
X <g> object can specify fill/stroke for everyone below
X need to discern between having a fill specified and one not being present
0125p3
X moviemaker
X moved around constructors (to be on par with other video lib stuff)
X cleaned up constant names (i.e. MSVideo -> MS_VIDEO)
X added constant for h264 encoding
X though it doesn't seem to actually work... oh well
X add documentation
X add() or addFrame()?
X find/replace - replace should do auto find next(?)
X or have a replace & find button
X placing "replace" next to "find" ... (hitting "replace all" by accident)
X have a button "replace & find next"
X http://dev.processing.org/bugs/show_bug.cgi?id=68
X only rebuild sketchbook on "save as" or "rename" of sketch
X currently it's rebuilding whenever "save" called too
X http://dev.processing.org/bugs/show_bug.cgi?id=357
X ignore ._ files when reading jar and zip
X Ignoring /Users/fry/coconut/processing/build/macosx/work/libraries/opengl/library/._jogl-natives-linux-i586.jar (error in opening zip file)
X look into deleting from p5 bugs db
X stop button kills the sketch window when running externally
X in Capture, if user cancels prompt, throws a '-128,userCanceledErr'
X in which case, need to return null (or ""?) for the prompt
X which will also just give you the last camera
X should it be new Camera(PROMPT);
o when passing in 'null' as the capture, dialog pops up fine
o but the applet craps out after a few seconds (pinwheel spin)
X can't confirm this one
X no longer default to sketchbook folder on open
0125p4 (in progress)
X general issue when reference not found, going to 'null' reference
X do a trim() on the selection for find in reference
X reorganize find in reference commands
X add setDTR() method from tom hulbert
X moviemaker is broken
X updatePixels reference was cut off
X double-check this after rebuild of reference
X examples
X animated sprite example should use tabs
X reworked all video examples
X "Object" example isn't using tabs.. others?
o object example is also much too complicated
X also need the "find in reference" to work on linux
o find in ref is prolly also why +x may be required for .html on osx
X make "show sketch folder" work on linux
X add for "show sketch folder" option
X show the menu but dim if the command is not available
X gnome-open, kde-open, "kfmclient exec blah"
o file bug re: qtjava being compiled for 1.5 on the intel macs
o because 1.4 isn't available on 10.3.9, this is ridiculous
0124 pde
X handle next/prev line with up/down arrow, with/without shift down
X properly go to the beginning or ending of the document
+1 -77
View File
@@ -1,80 +1,4 @@
0125 pde
X prev/next tab conflicting with typing brackets on french macs
X http://dev.processing.org/bugs/show_bug.cgi?id=480
X update javadoc reference to include xml, candy, etc
X update to 1.4.2_12 on linux and windows
X export to web, wrong character encoding in html
X http://dev.processing.org/bugs/show_bug.cgi?id=474
X generate xhtml-1.0-strict (standards compliant) code for exported applets
X http://dev.processing.org/bugs/show_bug.cgi?id=490
X add auto-install of cab file inside applet.html
X http://dev.processing.org/bugs/show_bug.cgi?id=181
X http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html
X http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/launch.html#creating
X http://java.sun.com/update/1.4.2/jinstall-1_4_2_09-windows-i586.cab
X or the 1.5 versions:
X http://java.sun.com/update/1.5.0/jinstall-1_5_0_03-windows-i586.cab
X PDE does not refresh code when using an External Editor
X http://dev.processing.org/bugs/show_bug.cgi?id=515
X preprocessor cannot handle L or l added to 'long' values
X http://dev.processing.org/bugs/show_bug.cgi?id=492
X change constructors for Capture, also framerate to frameRate
X need to update reference
X need to update example to use proper ordering
X re-architect svg to properly inherit fill/stroke/etc from parents
X <g> object can specify fill/stroke for everyone below
X need to discern between having a fill specified and one not being present
0125p3
X moviemaker
X moved around constructors (to be on par with other video lib stuff)
X cleaned up constant names (i.e. MSVideo -> MS_VIDEO)
X added constant for h264 encoding
X though it doesn't seem to actually work... oh well
X add documentation
X add() or addFrame()?
X find/replace - replace should do auto find next(?)
X or have a replace & find button
X placing "replace" next to "find" ... (hitting "replace all" by accident)
X have a button "replace & find next"
X http://dev.processing.org/bugs/show_bug.cgi?id=68
X only rebuild sketchbook on "save as" or "rename" of sketch
X currently it's rebuilding whenever "save" called too
X http://dev.processing.org/bugs/show_bug.cgi?id=357
X ignore ._ files when reading jar and zip
X Ignoring /Users/fry/coconut/processing/build/macosx/work/libraries/opengl/library/._jogl-natives-linux-i586.jar (error in opening zip file)
X look into deleting from p5 bugs db
X stop button kills the sketch window when running externally
X in Capture, if user cancels prompt, throws a '-128,userCanceledErr'
X in which case, need to return null (or ""?) for the prompt
X which will also just give you the last camera
X should it be new Camera(PROMPT);
o when passing in 'null' as the capture, dialog pops up fine
o but the applet craps out after a few seconds (pinwheel spin)
X can't confirm this one
X no longer default to sketchbook folder on open
0125p4 (in progress)
X general issue when reference not found, going to 'null' reference
X do a trim() on the selection for find in reference
X reorganize find in reference commands
X add setDTR() method from tom hulbert
X moviemaker is broken
X updatePixels reference was cut off
X double-check this after rebuild of reference
X examples
X animated sprite example should use tabs
X reworked all video examples
X "Object" example isn't using tabs.. others?
o object example is also much too complicated
X also need the "find in reference" to work on linux
o find in ref is prolly also why +x may be required for .html on osx
X make "show sketch folder" work on linux
X add for "show sketch folder" option
X show the menu but dim if the command is not available
X gnome-open, kde-open, "kfmclient exec blah"
o file bug re: qtjava being compiled for 1.5 on the intel macs
o because 1.4 isn't available on 10.3.9, this is ridiculous
0126 pde
_ move reference folder around so that it matches site organization