From f7b9b92b47950c204bec857a084ddea1d63e2c0c Mon Sep 17 00:00:00 2001 From: benfry Date: Fri, 26 Oct 2007 18:26:46 +0000 Subject: [PATCH] starting rev 0134 --- app/src/processing/app/Base.java | 10 +-- core/done.txt | 116 +++++++++++++++++++++++++++++++ core/todo.txt | 115 +----------------------------- done.txt | 15 ++++ todo.txt | 15 +--- 5 files changed, 139 insertions(+), 132 deletions(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 37db9fb5c..86dc67f02 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -44,8 +44,8 @@ import processing.core.*; * files and images, etc) that comes from that. */ public class Base { - static final int VERSION = 133; - static final String VERSION_NAME = "0133 Beta"; + static final int VERSION = 134; + static final String VERSION_NAME = "0134 Beta"; // set to true after the first time it's built. // so that the errors while building don't show up again. @@ -505,8 +505,8 @@ public class Base { // Actually replace things handleNewReplaceImpl(); } - - + + protected void handleNewReplaceImpl() { try { String path = createNewUntitled(); @@ -674,7 +674,7 @@ public class Base { // } Editor editor = new Editor(this, path, location); - + // Make sure that the sketch actually loaded if (editor.sketch == null) { return null; // Just walk away quietly diff --git a/core/done.txt b/core/done.txt index 85234c0bb..f20aa303a 100644 --- a/core/done.txt +++ b/core/done.txt @@ -1,3 +1,119 @@ +0133 core +X fix problem with "export to application" and opengl +X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=OpenGL;action=display;num=1193142573 +X add focus requests so that better chance of keys etc working +X http://dev.processing.org/bugs/show_bug.cgi?id=645 +X argh, these make things worse (P3D run internal) +X add stuff about classversionerrors to the reference +X also update the libraries page +X fix background() with P3D and beginRaw() +X endRaw() has a problem with hint(ENABLE_DEPTH_SORT) +X because the triangles won't be rendered by the time endRaw() is called +X force depth sorted triangles to flush +X is mousePressed broken with noLoop() or redraw()? +X sort of but not really, add notes to reference about it + +cleaning +o calling graphics.smooth(), graphics.colorMode() outside begin/endDraw +o this causes everything to be reset once the draw occurs +o kinda seems problematic and prone to errors? +X nope, just need to say to do all commands inside begin/endDraw +o finish implementation so 1.1 support can return +X http://dev.processing.org/bugs/show_bug.cgi?id=125 +o check into ricard's problems with beginRecord() +X i believe these were caused by linux java2d issues +X beginFrame()/beginDraw() and defaults() +X when should these be called, when not? +X seems as though the begin/end should happen inside beginRaw/Record +X defaults() gets called by the size() command in PApplet +o would be cool if could sort w/o the sort class.. +o meaning use reflection to sort objects, just by implementing a few methods +o would be much simpler and less confusing than new Sort() etc +o or would it be ridiculously slow? +X just using Comparator instead, since moving to Java 1.4 +X make a PException that extends RuntimeException but packages an ex? +X http://java.sun.com/docs/books/tutorial/essential/exceptions/runtime.html +X no, not necessary, and exceptions suck +o need to write an error if people try to use opengl with 1.3 (i.e. on export) +o don't let users with java < 1.4 load OPENGL +o http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1114368123;start=3 +o catch security exceptions around applet i/o calls +o not just for saving files, but provide better error msgs when +o attempting to download from another server +X nope, just cover this in the reference +o files not in the data folder (works in env, not in sketch) +X mentioned repeatedly in the docs +o fix link() to handle relative URLs +o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081710684 +X more trouble (and bug-worthy) than it's worth +o put SecurityException things around file i/o for applets +o rather than checking online(), since applets might be signed +X no, better to let errors come through +o slow on java2d, fast on p3d +o http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115276250;start=3 + +ancient +o strokeWeight is still broken +o setting stroke width on circle makes odd patterns +o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1077013848 +o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1080347160 +o more weirdness with stroke on rect, prolly not alpha +o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1085799526 +o rect is not getting it's stroke color set +o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1073582391;start=0 +o weird problem with drawing/filling squares +o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1077226984 +o alpha of zero still draws boogers on screen +o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1073329613;start=0 +o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1080342288;start=0 +o break apart functions into local (placement) and override (blitting) +o just have a "thin_flat_line" option in opengl code +o is quad strip broken or not behaving as expected? +X may be correct, it worked for nik +X inside draw() mode, delay() does nothing +X delay might be a good way to signal drawing to the screen/updating +X set(x, y, image) x, y not setting with processing + +fixed earlier +X is the texture[] array in PGraphics3D causing the problems with memory? +X actually it's a PGraphicsGL problem.. +X maybe the image binding not getting unbound? +o should image i/o be moved into PImage? +o still needs applet object, so it's not like this is very useful +o external PImage methods could take stream, i suppose.. +X relevant parts were moved in, others not +o loadImage() using spaces in the name +o if loadImage() with spaces when online(), throw an error +o get tiff exporter for p5 to support argb and gray +X would also need to modify the tiff loading code, +X because the header would be different +X http://dev.processing.org/bugs/show_bug.cgi?id=343 +X map() is not colored, neither is norm +X image outofmemoryerror for casey's students +X http://dev.processing.org/bugs/show_bug.cgi?id=355 +X this may be related to a ton of other memory bugs +X 1.5.0_07 and 1.4.2_12 contain the -XX:+HeapDumpOnOutOfMemoryError switch +X invaluable for tracking down memory leaks +X can't replicate anymore +X texture mapping +X very odd, "doom era" stuff +X would it be possible to have a 'slow but accurate' mode? +X http://dev.processing.org/bugs/show_bug.cgi?id=103 +X fixed in release 0125 +X add hint() and unhint() +X also add unhint() to the keywords file +X and maybe remove hint() from keywords_base? +o present mode is flakey.. applet doesn't always come up +o seems like hitting stop helps shut it down? +o is full screen window not being taken down properly? +o has this fixed itself, or is it an issue with launching externally? +X seems to be fixed in later java versions +X rewrite getImpl/setImpl inside opengl +X placement of 100x100 items is odd +X happens with P3D and maybe also P2D? +X http://dev.processing.org/bugs/show_bug.cgi?id=128 + + 0132 core X an image marked RGB but with 0s for the alpha won't draw in JAVA2D X images with 0x00 in their high bits being drawn transparent diff --git a/core/todo.txt b/core/todo.txt index 85a8a7c98..bc879896e 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,117 +1,4 @@ -0133 core -X fix problem with "export to application" and opengl -X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=OpenGL;action=display;num=1193142573 -X add focus requests so that better chance of keys etc working -X http://dev.processing.org/bugs/show_bug.cgi?id=645 -X argh, these make things worse (P3D run internal) -X add stuff about classversionerrors to the reference -X also update the libraries page -X fix background() with P3D and beginRaw() -X endRaw() has a problem with hint(ENABLE_DEPTH_SORT) -X because the triangles won't be rendered by the time endRaw() is called -X force depth sorted triangles to flush -X is mousePressed broken with noLoop() or redraw()? -X sort of but not really, add notes to reference about it - -cleaning -o calling graphics.smooth(), graphics.colorMode() outside begin/endDraw -o this causes everything to be reset once the draw occurs -o kinda seems problematic and prone to errors? -X nope, just need to say to do all commands inside begin/endDraw -o finish implementation so 1.1 support can return -X http://dev.processing.org/bugs/show_bug.cgi?id=125 -o check into ricard's problems with beginRecord() -X i believe these were caused by linux java2d issues -X beginFrame()/beginDraw() and defaults() -X when should these be called, when not? -X seems as though the begin/end should happen inside beginRaw/Record -X defaults() gets called by the size() command in PApplet -o would be cool if could sort w/o the sort class.. -o meaning use reflection to sort objects, just by implementing a few methods -o would be much simpler and less confusing than new Sort() etc -o or would it be ridiculously slow? -X just using Comparator instead, since moving to Java 1.4 -X make a PException that extends RuntimeException but packages an ex? -X http://java.sun.com/docs/books/tutorial/essential/exceptions/runtime.html -X no, not necessary, and exceptions suck -o need to write an error if people try to use opengl with 1.3 (i.e. on export) -o don't let users with java < 1.4 load OPENGL -o http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Contribution_3DOpenGL;action=display;num=1114368123;start=3 -o catch security exceptions around applet i/o calls -o not just for saving files, but provide better error msgs when -o attempting to download from another server -X nope, just cover this in the reference -o files not in the data folder (works in env, not in sketch) -X mentioned repeatedly in the docs -o fix link() to handle relative URLs -o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081710684 -X more trouble (and bug-worthy) than it's worth -o put SecurityException things around file i/o for applets -o rather than checking online(), since applets might be signed -X no, better to let errors come through -o slow on java2d, fast on p3d -o http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115276250;start=3 - -ancient -o strokeWeight is still broken -o setting stroke width on circle makes odd patterns -o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1077013848 -o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1080347160 -o more weirdness with stroke on rect, prolly not alpha -o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1085799526 -o rect is not getting it's stroke color set -o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1073582391;start=0 -o weird problem with drawing/filling squares -o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1077226984 -o alpha of zero still draws boogers on screen -o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1073329613;start=0 -o http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1080342288;start=0 -o break apart functions into local (placement) and override (blitting) -o just have a "thin_flat_line" option in opengl code -o is quad strip broken or not behaving as expected? -X may be correct, it worked for nik -X inside draw() mode, delay() does nothing -X delay might be a good way to signal drawing to the screen/updating -X set(x, y, image) x, y not setting with processing - -fixed earlier -X is the texture[] array in PGraphics3D causing the problems with memory? -X actually it's a PGraphicsGL problem.. -X maybe the image binding not getting unbound? -o should image i/o be moved into PImage? -o still needs applet object, so it's not like this is very useful -o external PImage methods could take stream, i suppose.. -X relevant parts were moved in, others not -o loadImage() using spaces in the name -o if loadImage() with spaces when online(), throw an error -o get tiff exporter for p5 to support argb and gray -X would also need to modify the tiff loading code, -X because the header would be different -X http://dev.processing.org/bugs/show_bug.cgi?id=343 -X map() is not colored, neither is norm -X image outofmemoryerror for casey's students -X http://dev.processing.org/bugs/show_bug.cgi?id=355 -X this may be related to a ton of other memory bugs -X 1.5.0_07 and 1.4.2_12 contain the -XX:+HeapDumpOnOutOfMemoryError switch -X invaluable for tracking down memory leaks -X can't replicate anymore -X texture mapping -X very odd, "doom era" stuff -X would it be possible to have a 'slow but accurate' mode? -X http://dev.processing.org/bugs/show_bug.cgi?id=103 -X fixed in release 0125 -X add hint() and unhint() -X also add unhint() to the keywords file -X and maybe remove hint() from keywords_base? -o present mode is flakey.. applet doesn't always come up -o seems like hitting stop helps shut it down? -o is full screen window not being taken down properly? -o has this fixed itself, or is it an issue with launching externally? -X seems to be fixed in later java versions -X rewrite getImpl/setImpl inside opengl -X placement of 100x100 items is odd -X happens with P3D and maybe also P2D? -X http://dev.processing.org/bugs/show_bug.cgi?id=128 +0134 core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . diff --git a/done.txt b/done.txt index cc0b73b80..39c1e4f88 100644 --- a/done.txt +++ b/done.txt @@ -1,3 +1,18 @@ +0133 pde +X fix problem with 'cancel' on "move sketch, create folder, continue"? msg +X http://dev.processing.org/bugs/show_bug.cgi?id=658 +o archive sketch shouldn't include applet or application dirs +o or should it? this was how projects were being uploaded for class... +X ESC won't cancel rename +X cmd-w doesn't close window of opened applet +X both when running inside p5, or elsewhere +X add variable 'external' set to true when running tethered +X make note of new/open behavior (and toolbar) in the getting started ref +o make more fixes to the key bindings +o http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc/html/atg_keyboardshortcuts.asp +o http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGUserInput/chapter_11_section_3.html#//apple_ref/doc/uid/TP30000361-TPXREF61 + + 0132 pde X sketch marked as untitled if opened into an untitled window from toolbar X when renaming an untitled sketch, need to save diff --git a/todo.txt b/todo.txt index e960e7d48..4e1096615 100644 --- a/todo.txt +++ b/todo.txt @@ -1,16 +1,5 @@ -0133 pde -X fix problem with 'cancel' on "move sketch, create folder, continue"? msg -X http://dev.processing.org/bugs/show_bug.cgi?id=658 -o archive sketch shouldn't include applet or application dirs -o or should it? this was how projects were being uploaded for class... -X ESC won't cancel rename -X cmd-w doesn't close window of opened applet -X both when running inside p5, or elsewhere -X add variable 'external' set to true when running tethered -X make note of new/open behavior (and toolbar) in the getting started ref -o make more fixes to the key bindings -o http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc/html/atg_keyboardshortcuts.asp -o http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGUserInput/chapter_11_section_3.html#//apple_ref/doc/uid/TP30000361-TPXREF61 +0134 pde +_ deal with opengl applet export changes _ fix syntax highlighting of focusGained and others