getting close to finalizing rev 0124

This commit is contained in:
benfry
2007-02-03 22:59:24 +00:00
parent 62680ede57
commit 968c601f11
3 changed files with 179 additions and 99 deletions

View File

@@ -7,6 +7,88 @@ releases will be super crusty.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABOUT REV 0124 - 3 February 2007
Bug fix bonanza!
[ editor ]
+ Minor improvements to preprocessor and compiler error messages.
Did my best to suggest something more useful than things like
the "expected RCURLY" or "RPAREN" crap.
http://dev.processing.org/bugs/show_bug.cgi?id=12
http://dev.processing.org/bugs/show_bug.cgi?id=13
http://dev.processing.org/bugs/show_bug.cgi?id=15
+ Copy custom applet.html file on "Save As"
http://dev.processing.org/bugs/show_bug.cgi?id=485
+ Create the "Documents" folder on OS X if it doesn't exist already.
(Problem for some lab machines with strange home directory setups)
+ With the shift key pressed, handle next/prev line with up/down arrow
+ Fixed minor issue with { and } on the same line
http://dev.processing.org/bugs/show_bug.cgi?id=484
[ core & libraries ]
+ With smooth() turned off, shouldn't be smoothing image on resize.
This was inconsisten between OS X and Windows. Now fixed.
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Programs;action=display;num=1164753510
+ Speed up image drawing with JAVA2D (the default) renderer
+ ambientLight(r,g,b) no longer ambientLight(r,g,r)
http://dev.processing.org/bugs/show_bug.cgi?id=465
+ A fix from Dave Bollinger for the POSTERIZE filter (thanks Dave!)
http://dev.processing.org/bugs/show_bug.cgi?id=399
+ background(0, 0, 0, 0) was resetting stroke, smooth, etc.
+ OpenGL background() calls now work with begin/endRaw().
+ Fix QTSession.open/close problem in Capture.list()
http://dev.processing.org/bugs/show_bug.cgi?id=472
+ The default backgroundColor changed to #cccccc instead of #c0c0c0.
It was always intended to be CC, not sure how it got to be C0.
+ Show an error message when trying to use size(w, h, OPENGL)
with Java 1.5.0_10, which doesn't work with JOGL because of a Sun bug.
http://dev.processing.org/bugs/show_bug.cgi?id=513
+ Hopefully a fix for the "No disk in drive" error on some Windows machines
when the PDF library is used. I haven't been able to reproduce this
problem, so I can't gauge whether it's fixed.
http://dev.processing.org/bugs/show_bug.cgi?id=478
+ Fix bug in copy() that caused part of image to be replicated.
http://dev.processing.org/bugs/show_bug.cgi?id=372
[ features ]
+ smooth() now improves image smoothing when used with the JAVA2D renderer.
+ Change P3D to smooth images more nicely (bilinear was disabled)
+ Added a version of trim() that handles an entire array
+ Removed contract(), one can use expand() and subset() instead
+ Added optional second parameter to loadImage(), that can be used to
specify the file extension if it's not part of the URL.
i.e. loadImage("http://someserver.com/blah/fancy.cgi?234234", "jpg");
http://dev.processing.org/bugs/show_bug.cgi?id=500
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1165174666
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABOUT REV 0123 - 30 November 2006
Bug fixes for regressions found in 0122.

View File

@@ -36,6 +36,12 @@ X was this something that changed with the java updates? (1.5_10)
X doesn't seem to be, still not sure
X problem was the floppy drive.. gak
X http://dev.processing.org/bugs/show_bug.cgi?id=478
X copy() sort of broken in JAVA2D
X example sketch posted with bug report
X http://dev.processing.org/bugs/show_bug.cgi?id=372
o saveStrings(filename, strings, count)
o otherwise the save is kinda wonky
o or maybe that should just be done with the array fxns
fixed earlier
o sketches often freeze when stop is hit on an HT machine
@@ -46,12 +52,34 @@ X use notify() instead of interrupt()?
X or Thread.currentThread() should be checked first?
o svg loader is on the list for 1.0
o maybe include as part of PApplet (casey thinks so)
X using gl, lines don't show up in pdf with record (they're ok with p3d)
X http://dev.processing.org/bugs/show_bug.cgi?id=325
o with network connection
o download a copy of the source for 0069, get the renderer
o svn mv PGraphics2 PGraphicsJava
o version of BApplet that replaces g. with ai. or pdf.
out of our control, just waiting
_ jre 1.5.0_10 is still default at java.com.. blech
_ http://dev.processing.org/bugs/show_bug.cgi?id=513
should be fixed, but needs to be tested
_ saveFrame() produces a black background because bg not set correctly:
_ http://dev.processing.org/bugs/show_bug.cgi?id=421
_ jogl issues with some cards on linux, might be fixed with newer jogl
_ http://dev.processing.org/bugs/show_bug.cgi?id=367
_ 404 error because first searches applet directory in isometricblocks
_ "this file is named" errors don't like subdirectories
_ need to strip off past the file separator or something
_ figure out why 1024x768 image takes 3.5 seconds to load
_ would using a BufferedImage work better?
_ is the image actually a BufferedImage so PixelGrabber is a waste?
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
gledgeflag
gledgeflag [1.0]
_ when turning smoothing on, internal lines of shapes are visible
_ need to turn off smoothing for the interior of shapes
_ http://dev.processing.org/bugs/show_bug.cgi?id=200
@@ -60,7 +88,7 @@ _ or at least make a note of this?
_ leave smooth off, get the gl object, then enable line smooth
threading
threading [1.0]
_ major threading overhaul before 1.0 (compendium)
_ http://dev.processing.org/bugs/show_bug.cgi?id=511
_ 100x100 issues are exhibited on bh140c PCs, test and fix!
@@ -102,7 +130,7 @@ _ accuracy of frame timer is incorrect
_ seems to be aliasing effect of low resolution on millis()
_ so rates coming out double or half of their actual
_ probably need to integrate over a rolling array of 10 frames or so
_ framerate() speeds up temporarily if CPU load drops dramatically
_ frameRate() speeds up temporarily if CPU load drops dramatically
_ http://dev.processing.org/bugs/show_bug.cgi?id=297
_ perhaps add a hint(DISABLE_FRAMERATE_DAMPER)
@@ -130,17 +158,23 @@ for(int i=0; i<100; i++) {
}
As an aside, set() is at least 10x faster, and
perhaps should be used in these examples anyway.
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114204116;start=0
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114204116
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
_ textAlign(CENTER) with P3D and OPENGL produces messy result
_ probably rounding error with the images
_ http://dev.processing.org/bugs/show_bug.cgi?id=475
_ loadBytes() and saveStream() functions badly need optimization!
_ don't bother using a buffering stream, just handle internally. gah!
_ make version of loadBytes that checks length of the stream first
_ this might not be worth it
_ the number of cases where this works is small (half of url streams)
_ and who knows if the value returned will be correct
_ (i.e. will it be the uncompressed or compressed size of the data?)
_ modelX/Y/Z still having trouble
_ http://dev.processing.org/bugs/show_bug.cgi?id=486
@@ -154,18 +188,13 @@ _ http://dev.processing.org/bugs/show_bug.cgi?id=428
_ hint(DISABLE_DEPTH_TEST) not behaving consistently
_ http://dev.processing.org/bugs/show_bug.cgi?id=483
_ jre 1.5.0_10 is still default at java.com.. blech
_ http://dev.processing.org/bugs/show_bug.cgi?id=513
_ Stroking a rect() leaves off the upper right pixel
_ http://dev.processing.org/bugs/show_bug.cgi?id=501
_ make sure the docs include "beginShape() cannot be nested"
_ for PShape, need to be able to set the origin (flash people)
_ look into anti-aliasing on osx
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=OpenGL;action=display;num=1164236069
_ also add error messages to the renderers
_ also note that ellipse() et al use beginShape()
_ and that java2d should complain if people try it
_ 1.5.0_07 and 1.4.2_12 contain the -XX:+HeapDumpOnOutOfMemoryError switch
_ invaluable for tracking down memory leaks
@@ -174,14 +203,6 @@ _ an offscreen JAVA2D graphics needs loadPixels() before being drawn
_ i.e. offscreen JAVA2D, then image() with OPENGL renderer as main
_ needs to be marked as its cache needs an update, but not its pixels
_ in opengl mode, use its tesselator
_ because the vertex calls can just come right back to regular vertex calls
_ this way we can also implement breakShape() for opengl
_ with opengl optimizations via call lists..
_ watch out to make sure raw recording still works
_ (optimizations will have to be disabled to some extent)
_ look into using glu quadrics to handle shape geometries quickly
_ calling graphics.smooth(), graphics.colorMode() outside begin/endDraw
_ this causes everything to be reset once the draw occurs
_ kinda seems problematic and prone to errors?
@@ -193,9 +214,6 @@ _ http://dev.processing.org/bugs/show_bug.cgi?id=454
_ why aren't background() / defaults() being called for opengl?
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1118784331
_ using gl, lines don't show up in pdf with record (they're ok with p3d)
_ http://dev.processing.org/bugs/show_bug.cgi?id=325
_ gradients
_ use gradients in a class for the svg lib for now
_ don't add api to main p5 stuff (though maybe setPaint/noPaint api?)
@@ -204,8 +222,9 @@ _ java2d will do both line and fill, illusfarter only does fills
_ gradients not supported in java2d
_ http://dev.processing.org/bugs/show_bug.cgi?id=371
_ images with 0x00 in their high bits being drawn transparent
_ even though they're set to draw as RGB
_ an image marked RGB but with 0s for the alpha won't draw in JAVA2D
_ images with 0x00 in their high bits being drawn transparent
_ also if transparency set but RGB is setting, still honors transparency
_ http://dev.processing.org/bugs/show_bug.cgi?id=351
_ tint() and noTint() switching problem in P2D
_ this should be a quick fix
@@ -226,40 +245,20 @@ _ don't need to apply tint() to textures, supposed to use fill color
add to reference
_ also parseInt and parseFloat, how they can return another number or NaN
_ should the default be NaN or 0?
_ background() with an image ignores the tint.. it's basically like set()
_ get/set are faster way draw screen space images, but no tint, no translations
should be fixed, but needs to be tested
_ saveFrame() produces a black background because bg not set correctly:
_ http://dev.processing.org/bugs/show_bug.cgi?id=421
_ jogl issues with some cards on linux, might be fixed with newer jogl
_ http://dev.processing.org/bugs/show_bug.cgi?id=367
_ 404 error because first searches applet directory in isometricblocks
_ "this file is named" errors don't like subdirectories
_ need to strip off past the file separator or something
_ figure out why 1024x768 image takes 3.5 seconds to load
_ would using a BufferedImage work better?
_ is the image actually a BufferedImage so PixelGrabber is a waste?
_ what's up with stop() vs exit()?
_ need to get this straightened for p5 (i.e. bc has this problem)
_ make sure the main() doesn't exit until the applet has finished
_ i.e. problem with main calling itself multiple times in Alpheus
_ copy() sort of broken in JAVA2D
_ example sketch posted with bug report
_ http://dev.processing.org/bugs/show_bug.cgi?id=372
_ svg output, make simple version of PGraphicsSVG based on PGraphicsPDF
_ if exit() (or stop) is called, then System.exit() gets called,
_ even though the main() wants to keep going
_ cameraXYZ doesn't seem to actually be used for anything
_ since camera functions don't even look at it or set it
_ make version of loadbytes that checks length of the stream first
_ saveStrings(filename, strings, count)
_ otherwise the save is kinda wonky
_ or maybe that should just be done with the array fxns
_ some way to vertically center text
_ either by setting its middle vertical point
_ or by setting a top/bottom for the rectangle in which it should be placed
@@ -293,13 +292,6 @@ _ if (modified) don't loadPixels again, just ignore it
_ make a note that updatePixels() only sets a flag in PImage
_ (but not PGraphics, which does it immediately)
_ with network connection
_ download a copy of the source for 0069, get the renderer
_ svn mv PGraphics2 PGraphicsJava
_ for subclasses, make it easy to grab the structure of vertices
_ actually, just use PShape internally and this will be easier
_ add notes about fixing serial on the mac to the faq (and link to bug)
_ beginFrame()/beginDraw() and defaults()
@@ -317,18 +309,10 @@ _ textFont() is null on beginRecord
_ same would be the case for strokeWeight, background, etc.
_ http://dev.processing.org/bugs/show_bug.cgi?id=346
_ an image marked RGB but with 0s for the alpha won't draw in JAVA2D
_ also if transparency set but RGB is setting, still honors transparency
_ http://dev.processing.org/bugs/show_bug.cgi?id=351
_ image memory use.. how to handle lots of images
_ need to figure out exactly how they should/can unload
_
_ introduce calc()
_ cmyk version of tiff encoder code?
_ get()/set() in PGraphicsJava don't bounds check
_ get()/set() in PGraphicsJava2D don't bounds check
_ add better error messages for all built-in renderers
_ i.e. "import library -> pdf" when pdf is missing
@@ -338,13 +322,6 @@ _ lines will occlude tris and vice versa
_ will need to split each based on the other
_ sort issues will affect both
_ pixel operations are broken in opengl
_ get(), set(), copy(), blend(), loadPixels, updatePixels()
_ set(x, y, image) y reversed in openGL
_ background(image) also broken
_ http://dev.processing.org/bugs/show_bug.cgi?id=91
_ also textMode(SCREEN)
_ when closing a sketch via the close box, make sure stop() getting called
_ when an exception comes through during cameraEvent, not printed
@@ -808,6 +785,21 @@ _ http://dev.processing.org/bugs/show_bug.cgi?id=127
PGraphicsOpenGL
_ pixel operations are broken in opengl
_ get(), set(), copy(), blend(), loadPixels, updatePixels()
_ set(x, y, image) y reversed in openGL
_ background(image) also broken
_ http://dev.processing.org/bugs/show_bug.cgi?id=91
_ also textMode(SCREEN)
_ look into jogl anti-aliasing on osx
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=OpenGL;action=display;num=1164236069
_ in opengl mode, use its tesselator
_ because the vertex calls can just come right back to regular vertex calls
_ this way we can also implement breakShape() for opengl
_ with opengl optimizations via call lists..
_ watch out to make sure raw recording still works
_ (optimizations will have to be disabled to some extent)
_ look into using glu quadrics to handle shape geometries quickly
_ optimizations to opengl
_ disabling error reporting (what's taking it so long?)
_ maybe use a hint() to enable it? or a getError() function?
@@ -887,7 +879,6 @@ _ even if not actually working properly.. just in naming of things
_ sorting of polygons/lines on simple painters algorithm
_ better lighting model to show darkness at various depths
_ maybe just ultra-high res bitmaps from gl
o version of BApplet that replaces g. with ai. or pdf.
PGraphicsPDF
@@ -898,17 +889,31 @@ _ seems to be working fine on windows
_ http://dev.processing.org/bugs/show_bug.cgi?id=345
PShape
_ for subclasses, make it easy to grab the structure of vertices
_ actually, just use PShape internally and this will be easier
_ for PShape, need to be able to set the origin (flash people)
LATER
because 'color' isn't a real data type
_ should fill(c) instead be fillColor(c)?
_ should color(123, 4, 99) instead be createColor()?
_ setting a gray that's greater than the colorMode() can produce strange colors
_ http://dev.processing.org/bugs/show_bug.cgi?id=432
_ color(0, 0, 0, 0) produces black
_ although fill(0, 0, 0, 0) does the right thing
_ also, rgb255 not getting set
_ http://dev.processing.org/bugs/show_bug.cgi?id=382
other
_ file for 2.0.. stroke on type
_ add a timer("functionname", 45) method
_ this can be used to schedule something to happen at a specific time
_ or import the swing timer (for actionPerformed)
X look into javascript timers to see how they work
_ also add interval("functionname", 40)
_ and thread("functionname");
_ introduce calc()
_ cmyk version of tiff encoder code?
_ because 'color' isn't a real data type
_ color(0, 0, 0, 0) produces black
_ because color(0, 0, 0, 0) creates an int that is simply '0'
_ although fill(0, 0, 0, 0) does the right thing
_ also, rgb255 not getting set
_ http://dev.processing.org/bugs/show_bug.cgi?id=382
_ should fill(c) instead be fillColor(c)?
_ should color(123, 4, 99) instead be createColor()?
_ gray that's greater than the colorMode() can produce strange colors
_ http://dev.processing.org/bugs/show_bug.cgi?id=432
_ add stroke() to type
_ more for doing outlines-only and that sort of business

View File

@@ -26,7 +26,13 @@ _ prev/next tab conflicting with typing brackets on french macs
_ http://dev.processing.org/bugs/show_bug.cgi?id=480
classpath problems [1.0]
libraries and classpaths [1.0]
_ add control for dependencies (i.e. svg needs xml), needed for export
_ add "pretty menu name" to the export.txt file
_ more export.txt to xml? (nah, it's only flat information)
_ need better platform designation setup for libs
_ library installation should use the sketchbook folder, not the p5 folder
_ actually enforce this, give users a warning about other libs
_ need to deal with classpath conflicts
_ avoid garbage that people have installed on their machines
_ antlr.jar in the classpath will cause trouble..
@@ -49,13 +55,6 @@ _ http://dev.processing.org/bugs/show_bug.cgi?id=321
_ stop button needs to update itself and work properly [1.0]
_ http://dev.processing.org/bugs/show_bug.cgi?id=396
_ add a timer("functionname", 45) method
_ this can be used to schedule something to happen at a specific time
_ or import the swing timer (for actionPerformed)
X look into javascript timers to see how they work
_ also add interval("functionname", 40)
_ and thread("functionname");
_ can draw() not be run on awt event thread?
_ look into opengl stuff for dealing with this
@@ -75,13 +74,6 @@ _ http://dev.processing.org/bugs/show_bug.cgi?id=433
_ 'code' folder being ignored on export to application
_ http://dev.processing.org/bugs/show_bug.cgi?id=469
libraries
_ add control for dependencies (i.e. svg needs xml), needed for export
_ add "pretty menu name" to the export.txt file
_ more export.txt to xml? (nah, it's only flat information)
_ need better platform designation setup for libs
_ library installation should use the sketchbook folder, not the p5 folder
_ PApplet.this doesn't work (does it work in javac?)
_ sketchname.this also doesn't work, because Temporary_NNNN used for name
_ but since it's another tab/class, will run externally
@@ -1103,3 +1095,4 @@ _ computationally intensive stuff runs really slow inside p5
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1116872745
_ some reports of it not quitting properly, but not confirmed
_ splash screen