From 34d0541b231020946cf84ae055fa9db818fbf78f Mon Sep 17 00:00:00 2001 From: benfry Date: Thu, 4 Oct 2007 22:41:57 +0000 Subject: [PATCH] minor tweaks / notes --- core/src/processing/core/PConstants.java | 4 ++-- core/todo.txt | 27 ++++++++++++------------ 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/core/src/processing/core/PConstants.java b/core/src/processing/core/PConstants.java index b2a8c9702..52a65fa6e 100644 --- a/core/src/processing/core/PConstants.java +++ b/core/src/processing/core/PConstants.java @@ -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 diff --git a/core/todo.txt b/core/todo.txt index d39881fd1..283ed1fe2 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -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)