From 18d164d4d02753acb4605ce22a7bb301e5c84f81 Mon Sep 17 00:00:00 2001 From: benfry Date: Sat, 3 Feb 2007 21:05:31 +0000 Subject: [PATCH] organizing bugs and todo lists --- core/todo.txt | 192 ++++++++++++++++++++++++++++---------------------- todo.txt | 90 +++++++++++++---------- 2 files changed, 160 insertions(+), 122 deletions(-) diff --git a/core/todo.txt b/core/todo.txt index f5123cabf..fc688518d 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -23,18 +23,81 @@ X also chop off ? from url detritus X also just pass off to default createImage() if no extension available X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1165174666 X http://dev.processing.org/bugs/show_bug.cgi?id=500 +X 1.5.0_10 breaks jogl +X add error message to p5 about it +X http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6504460 +X http://www.javagaming.org/forums/index.php?topic=15439.0 +X upgrade to 1.5.0_11 or later: +X http://java.sun.com/javase/downloads/index_jdk5.jsp +X or downgrade to 1.5.0_09 +X http://java.sun.com/products/archive/j2se/5.0_09/index.html -_ modelX/Y/Z still having trouble -_ http://dev.processing.org/bugs/show_bug.cgi?id=486 +fixed earlier +o sketches often freeze when stop is hit on an HT machine +o need to test the examples cited on pardis' machine +o http://dev.processing.org/bugs/show_bug.cgi?id=232 +X debug NumberFormat InterruptedException on dual proc machine +X use notify() instead of interrupt()? +X or Thread.currentThread() should be checked first? -_ problems with depth buffer and createGraphics with P3D -_ http://dev.processing.org/bugs/show_bug.cgi?id=482 -_ ARGB problems with createGraphics -_ http://dev.processing.org/bugs/show_bug.cgi?id=160 -_ http://dev.processing.org/bugs/show_bug.cgi?id=428 +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . + + +gledgeflag +_ 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 +_ gl smoothing.. how to disable polygon but keep line enabled +_ or at least make a note of this? +_ leave smooth off, get the gl object, then enable line smooth + + +threading +_ 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! +_ http://dev.processing.org/bugs/show_bug.cgi?id=197 +_ things not showing up in linux +_ probably threading issue, 98 doesn't have any trouble +_ signs point to Runner or PApplet changes between 98 and 99 +_ commenting out applet.setupFrameResizeListener() +_ in line 307 from Runner.java solved the problem +_ http://dev.processing.org/bugs/show_bug.cgi?id=282 +_ alloc() stuff not fixed because of thread halting +_ problem where alloc happens inside setup(), so, uh.. +_ http://dev.processing.org/bugs/show_bug.cgi?id=369 +_ should instead create new buffer, and swap it in next time through +_ fix the internal file chooser so that people don't need to make their own +_ threading is a problem with inputFile() and inputFolder() +_ dynamically load swingworker? +_ sonia (and anything awt) is locking up on load in rev 91 +_ prolly something w/ the threading issues +_ paint is synchronized in 0091 +_ however this is a necessity, otherwise nasty flickering ensues +_ and using a "glock" object seems to completely deadlock +_ http://dev.processing.org/bugs/show_bug.cgi?id=46 +_ claim that things are much slower in 107 vs 92 +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Suggestions;action=display;num=1141763531 +_ need to move off anim off the main event thread +_ move away from using method like display +_ too much object creation in java2d +_ causes inconsistency/hiccups as the gc runs? +_ fix the flicker in java2d mode +_ http://dev.processing.org/bugs/show_bug.cgi?id=122 +_ framerate(30) is still flickery and jumpy.. +_ not clear what's happening here +_ appears to be much worse (unfinished drawing) on macosx +_ try turning off hw accel on the mac to see if that's the problem +_ framerate that's reported is out of joint with actual +_ http://dev.processing.org/bugs/show_bug.cgi?id=512 +_ 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 +_ http://dev.processing.org/bugs/show_bug.cgi?id=297 +_ perhaps add a hint(DISABLE_FRAMERATE_DAMPER) -_ hint(DISABLE_DEPTH_TEST) not behaving consistently -_ http://dev.processing.org/bugs/show_bug.cgi?id=483 point() _ gl point stuff is a problem @@ -61,14 +124,12 @@ 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 -_ Stroking a rect() leaves off the upper right pixel -_ http://dev.processing.org/bugs/show_bug.cgi?id=501 -_ modelX/Y/Z still not working -_ http://dev.processing.org/bugs/show_bug.cgi?id=486 +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . + _ no disk in drive error -_ was this something that changed with the java updates? +_ was this something that changed with the java updates? (1.5_10) _ problem was the floppy drive.. gak _ http://dev.processing.org/bugs/show_bug.cgi?id=478 @@ -79,6 +140,27 @@ _ java 1.5.0_10 breaks jogl _ rc1 update that will fix things _ https://jogl.dev.java.net/servlets/ProjectDocumentList?folderID=6624&;exp%20andFolder=6624&folderID=0 +_ loadBytes() and saveStream() functions badly need optimization! +_ don't bother using a buffering stream, just handle internally. gah! + +_ modelX/Y/Z still having trouble +_ http://dev.processing.org/bugs/show_bug.cgi?id=486 + +_ problems with depth buffer and createGraphics with P3D +_ http://dev.processing.org/bugs/show_bug.cgi?id=482 +_ ARGB problems with createGraphics +_ http://dev.processing.org/bugs/show_bug.cgi?id=160 +_ 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) @@ -122,6 +204,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 +_ http://dev.processing.org/bugs/show_bug.cgi?id=351 _ tint() and noTint() switching problem in P2D _ this should be a quick fix _ http://dev.processing.org/bugs/show_bug.cgi?id=222 @@ -153,25 +238,9 @@ _ does ENABLE_DEPTH_SORT not work with opengl? _ 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 - -_ threading issues are exhibited on bh140c PCs, test and fix! -_ things not showing up in linux -_ probably threading issue, 98 doesn't have any trouble -_ signs point to Runner or PApplet changes between 98 and 99 -_ commenting out applet.setupFrameResizeListener() -_ in line 307 from Runner.java solved the problem -_ http://dev.processing.org/bugs/show_bug.cgi?id=282 - -_ alloc() stuff not fixed because of thread halting -_ problem where alloc happens inside setup(), so, uh.. -_ http://dev.processing.org/bugs/show_bug.cgi?id=369 -_ should instead create new buffer, and swap it in next time through - -_ loadBytes() and saveStream() functions badly need optimization! -_ don't bother using a buffering stream, just handle internally. gah! - -_ keep track of internal lines in shapes -_ disable anti-aliasing for internal edges +_ 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) @@ -182,10 +251,6 @@ _ copy() sort of broken in JAVA2D _ example sketch posted with bug report _ http://dev.processing.org/bugs/show_bug.cgi?id=372 -_ fix the internal file chooser so that people don't need to make their own -_ threading is a problem with inputFile() and inputFolder() -_ dynamically load swingworker? - _ svg loader is on the list for 1.0 _ maybe include as part of PApplet (casey thinks so) _ svg output, make simple version of PGraphicsSVG based on PGraphicsPDF @@ -266,13 +331,6 @@ _ introduce calc() _ cmyk version of tiff encoder code? -_ 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 -_ gl smoothing.. how to disable polygon but keep line enabled -_ or at least make a note of this? -_ leave smooth off, get the gl object, then enable line smooth - _ get()/set() in PGraphicsJava don't bounds check _ add better error messages for all built-in renderers @@ -292,13 +350,6 @@ _ also textMode(SCREEN) _ when closing a sketch via the close box, make sure stop() getting called -_ sonia (and anything awt) is locking up on load in rev 91 -_ prolly something w/ the threading issues -_ paint is synchronized in 0091 -_ however this is a necessity, otherwise nasty flickering ensues -_ and using a "glock" object seems to completely deadlock -_ http://dev.processing.org/bugs/show_bug.cgi?id=46 - _ when an exception comes through during cameraEvent, not printed _ need to show an actual stack trace (InvocationTargetEx) _ because otherwise it's impossible to debug this stuff @@ -333,34 +384,6 @@ _ textFontNativeMetrics gives deprecation error _ getFontList stuff in PFont causes problems -threading mess -_ claim that things are much slower in 107 vs 92 -_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Suggestions;action=display;num=1141763531 -_ need to move off anim off the main event thread -_ move away from using method like display -X temporarily rolling back major thread changes -_ 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? -_ too much object creation in java2d -_ causes inconsistency/hiccups as the gc runs? -_ fix the flicker in java2d mode -_ http://dev.processing.org/bugs/show_bug.cgi?id=122 -_ framerate(30) is still flickery and jumpy.. -_ not clear what's happening here -_ appears to be much worse (unfinished drawing) on macosx -_ try turning off hw accel on the mac to see if that's the problem -_ framerate that's reported is out of joint with actual -_ 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 -_ sketches often freeze when stop is hit on an HT machine -_ need to test the examples cited on pardis' machine -_ http://dev.processing.org/bugs/show_bug.cgi?id=232 -_ debug NumberFormat InterruptedException on dual proc machine -_ use notify() instead of interrupt()? -_ or Thread.currentThread() should be checked first? - _ ArrayIndexOutOfBoundsException in PLine _ http://dev.processing.org/bugs/show_bug.cgi?id=246 _ http://dev.processing.org/bugs/show_bug.cgi?id=462 @@ -733,11 +756,6 @@ _ don't grab pixels of java2d images unless asked _ this is the difference between a lot of loadPixels() and not _ so important to have it in before beta if that's the change _ http://dev.processing.org/bugs/show_bug.cgi?id=356 -_ add ability to control jpeg compression level with save() and saveFrame() -_ http://dev.processing.org/bugs/show_bug.cgi?id=342 -_ also when drawing an image, sense whether drawn rotated -_ specifically, if drawn rotated 90 in either direction, or 180 -_ if just rotate/translate, then can use SCREEN_SPACE for fonts _ alpha not set on saveFrame, so can't be used in photoshop as a layer _ http://processing.org/discourse/yabb/YaBB.cgi?board=general;action=display;num=1078441623 _ should image i/o be moved into PImage? @@ -755,6 +773,12 @@ _ would also need to modify the tiff loading code, _ because the header would be different _ http://dev.processing.org/bugs/show_bug.cgi?id=343 +enhancements +_ add ability to control jpeg compression level with save() and saveFrame() +_ http://dev.processing.org/bugs/show_bug.cgi?id=342 +_ also when drawing an image, sense whether drawn rotated +_ specifically, if drawn rotated 90 in either direction, or 180 +_ if just rotate/translate, then can use SCREEN_SPACE for fonts CORE / Mac OS X diff --git a/todo.txt b/todo.txt index d71f42481..ae5569169 100644 --- a/todo.txt +++ b/todo.txt @@ -16,9 +16,39 @@ X deal with strange problem with KeyListener and {} on same line X http://dev.processing.org/bugs/show_bug.cgi?id=484 X copy custom applet.html file on "Save As" X http://dev.processing.org/bugs/show_bug.cgi?id=485 +o preferences file gone corrupt (on osx only?) +o changing font size, +o http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1160057791 +X http://dev.processing.org/bugs/show_bug.cgi?id=406 + + _ prev/next tab conflicting with typing brackets on french macs _ http://dev.processing.org/bugs/show_bug.cgi?id=480 + +classpath problems [1.0] +_ need to deal with classpath conflicts +_ avoid garbage that people have installed on their machines +_ antlr.jar in the classpath will cause trouble.. +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1138652326 +_ jogl jar files, or jogl install will cause trouble +_ /System/Library/Extensions or /Library/Extensions +_ when a conflicting library is found, need to report it +_ altho prolly only when it's actually different (md5hash it?) +_ this seems to be causing a lot of trouble with recent releases +_ (opengl changes and whatnot) +_ jar files like the bad aiexport plugin will cause serious problems +_ need to ignore processing.core classes showing up in other jar files +_ tougher than it looks, because it all depends on what java wants to use +_ i.e. even if not specified, the stuff will be in the classpath +_ need to make classpath code be less promiscuous +_ the order of adding libraries to classpath should be opposite +_ the important local libraries should be first in cp, user contrib later +_ 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) @@ -26,11 +56,6 @@ X look into javascript timers to see how they work _ also add interval("functionname", 40) _ and thread("functionname"); -_ ArticulatePrint-070103a.pde from ArticulatePrint-070103a loads ok -_ but when opening the sketch, it leaves out the file -_ because there's a dash in the name -_ and instead only loads StemCell.pde - _ can draw() not be run on awt event thread? _ look into opengl stuff for dealing with this @@ -47,9 +72,6 @@ _ don't reload sketch on "save as" _ this can result in loss of data _ http://dev.processing.org/bugs/show_bug.cgi?id=433 -_ put stdout/stderr into ~/Library/Logs -_ and have a .log extension so it can be browsed properly - _ 'code' folder being ignored on export to application _ http://dev.processing.org/bugs/show_bug.cgi?id=469 @@ -64,6 +86,8 @@ _ 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 _ so should make the external version use the actual sketch name not temp +_ can't use PApplet.this, doesn't seem to like that +_ instead, must pass variable to inner class _ make more fixes to the key bindings _ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc/html/atg_keyboardshortcuts.asp @@ -124,11 +148,6 @@ _ when drawing large video, the two triangles for the rect are out of sync _ only shows up in P3D -_ slow save/new because of large sketchbook -_ this is a total cluster, the rebuild is being called incessantly -_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1162801212 -_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1141126582 - processing wish list _ opening multiple versions of p5 at a time _ shouldn't actually be a big deal @@ -138,7 +157,7 @@ _ nor is it listed on the reference page _ so students can't find the ref for it _ needs to link TRIANGLE_STRIP to the beginShape() reference _ stop button not stopping anything -_ copy running from from /tmp/buildXXxxx on crash of p5 +_ copy running code from /tmp/buildXXxxx on crash of p5 _ should probably make a way to save/recover code _ code as columns (screen is wide, code is not) @@ -324,6 +343,8 @@ DOC / Examples or Hacks _ add to key reference a pointer to an example that tracks all keys _ write simple example that tracks all keys +_ also mention in keyPressed docs that ASCII key codes will not be coded +_ it's just how java is (maybe this is already in there?) _ how to grab the java2d object from PGraphics2D _ How do I move the mouse cursor to another location? (advanced.html) _ post a hack for this or a simple example @@ -544,6 +565,8 @@ _ need to check behavior for word and bbedit _ http://dev.processing.org/bugs/show_bug.cgi?id=348 _ implement emacs keybindings (list is at the bug report) _ http://dev.processing.org/bugs/show_bug.cgi?id=401 +_ implement better method of showing curly brace closure +_ http://dev.processing.org/bugs/show_bug.cgi?id=295 PDE / Editor Buttons @@ -678,24 +701,6 @@ _ add ability to set the display where present mode makes things start PDE / Runner -_ need to deal with classpath conflicts -_ avoid garbage that people have installed on their machines -_ antlr.jar in the classpath will cause trouble.. -_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1138652326 -_ jogl jar files, or jogl install will cause trouble -_ /System/Library/Extensions or /Library/Extensions -_ when a conflicting library is found, need to report it -_ altho prolly only when it's actually different (md5hash it?) -_ this seems to be causing a lot of trouble with recent releases -_ (opengl changes and whatnot) -_ jar files like the bad aiexport plugin will cause serious problems -_ need to ignore processing.core classes showing up in other jar files -_ tougher than it looks, because it all depends on what java wants to use -_ i.e. even if not specified, the stuff will be in the classpath -_ need to make classpath code be less promiscuous -_ the order of adding libraries to classpath should be opposite -_ the important local libraries should be first in cp, user contrib later -_ http://dev.processing.org/bugs/show_bug.cgi?id=321 _ make the p5 icon show up for the window (and in the dock) _ when launching a new sketch _ does closing the window call stop()? @@ -721,9 +726,17 @@ _ http://processing.org/bugs/show_bug.cgi?id=42 PDE / Sketch & Sketchbook +_ ArticulatePrint-070103a.pde from ArticulatePrint-070103a loads ok +_ but when opening the sketch, it leaves out the file +_ because there's a dash in the name +_ and instead only loads StemCell.pde _ show progress dialog during export and save -_ only rebuild sketchbook on "save as" or "rename" of sketch +_ slow save/new because of large sketchbook +_ only rebuild sketchbook on "save as" or "rename" of sketch _ currently it's rebuilding whenever "save" called too +_ this is a total cluster, the rebuild is being called incessantly +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1162801212 +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1141126582 _ http://dev.processing.org/bugs/show_bug.cgi?id=357 _ even more of a problem becase set modified set true all the time _ in rebuild sketch menu - disable subfolders working as libraries @@ -885,7 +898,10 @@ _ another code example that crashes _ http://dev.processing.org/bugs/show_bug.cgi?id=363 _ japanese characters in comments cause trouble with auto-format _ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1153505384 - +_ arrays are reformatted on each autoformat +_ http://dev.processing.org/bugs/show_bug.cgi?id=259 +_ crash on particular string +_ http://dev.processing.org/bugs/show_bug.cgi?id=363 TOOLS / Create Font @@ -1059,10 +1075,6 @@ _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs DIST / Mac OS X -_ preferences file gone corrupt (on osx only?) -_ changing font size, -_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1160057791 -_ http://dev.processing.org/bugs/show_bug.cgi?id=406 _ we're breaking some mac human interface guidelines _ should be using a menu factory to create menubar for all sub-windows _ http://developer.apple.com/technotes/tn/tn2042.html @@ -1076,6 +1088,8 @@ _ was missing the error about a package being gone _ can comment out /System/Library/ as a test _ mac standard key combinations for moving around in the editor _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1093116515 +_ put stdout/stderr into ~/Library/Logs +_ and have a .log extension so it can be browsed properly DIST / Linux