minor tweaks / notes

This commit is contained in:
benfry
2007-10-04 22:41:57 +00:00
parent 82e385bf19
commit 34d0541b23
2 changed files with 15 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ public interface PConstants {
static final String OPENGL = "processing.opengl.PGraphicsOpenGL";
static final String PDF = "processing.pdf.PGraphicsPDF";
static final String DXF = "processing.dxf.RawDXF";
//static final String SVG = "processing.dxf.PGraphicsSVG";
//static final String SVG = "processing.svg.PGraphicsSVG";
// platform IDs for PApplet.platform
@@ -81,7 +81,7 @@ public interface PConstants {
/** Largest possible (positive) integer value */
static final int MAX_INT = Integer.MAX_VALUE;
/** Smallest possible (negative) integer value */
static final int MIN_INT = Integer.MAX_VALUE;
static final int MIN_INT = Integer.MIN_VALUE;
// useful goodness

View File

@@ -5,19 +5,27 @@ X bug in osx java 1.4 vs 1.5
X fix bug in str() methods that take arrays
X method was not working properly, was using the object reference
X new version of saveStream()
X some auto-gunzip implemented
_ need to finish auto-gunzip
X implement auto-gzip and gunzip
X fix bug where sort() on 0 length array would return null
X instead, returns an array
X unregisterXxxx() calls to remove methods from libs
X http://dev.processing.org/bugs/show_bug.cgi?id=312
X implemented by ewjordan
X sort() on strings ignores case
_ mention the change in the reference
X mention the change in the reference
X added MIN_FLOAT, MAX_FLOAT, MIN_INT, MAX_INT to PConstants
_ add them to the syntax highlighting
X throw AIOOBE when min() or max() called on zero length array
_ fix lerpColor() to take the shortest route around the HSB scale
o fix lerpColor() to take the shortest route around the HSB scale
o loadBytes() doesn't do auto gunzip? but loadStrings and createReader do?
X this might be a good solution for dealing with the differences
o with loadBytes(), they can use gzipInput (or loadBytesGZ?)
o although what does openStream do? (doesn't do auto?)
X auto-gunzip on createReader()
o add auto-gunzip to loadStrings()
X others for auto-gunzip?
X do the same for createWriter() et al
X disable mipmaps in 0126
X http://dev.processing.org/bugs/show_bug.cgi?id=610
_ PGraphics problem with fillColor
_ http://dev.processing.org/bugs/show_bug.cgi?id=468
@@ -45,15 +53,6 @@ _ 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?)
_ loadBytes() doesn't do auto gunzip? but loadStrings and createReader do?
X this might be a good solution for dealing with the differences
_ with loadBytes(), they can use gzipInput (or loadBytesGZ?)
_ although what does openStream do? (doesn't do auto?)
X auto-gunzip on createReader()
_ add auto-gunzip to loadStrings()
_ others for auto-gunzip?
_ do the same for createWriter() et al
_ update the reference to cover parseXxxx() stuff
_ also add notes about parseInt/Float(blah, otherwise)