From 3ff55d32424d130dfc3be6db5339d7d35d5ea582 Mon Sep 17 00:00:00 2001 From: benfry Date: Sun, 24 Apr 2005 21:09:16 +0000 Subject: [PATCH] more info for the faq and a bunch of todo items --- processing/app/Editor.java | 4 +- processing/build/linux/dist.sh | 6 +-- processing/build/windows/dist/run-expert.bat | 8 +++- processing/core/todo.txt | 12 +++++- processing/todo.txt | 44 +++++++++++++++++--- 5 files changed, 60 insertions(+), 14 deletions(-) diff --git a/processing/app/Editor.java b/processing/app/Editor.java index b43b2dac6..8587970dc 100644 --- a/processing/app/Editor.java +++ b/processing/app/Editor.java @@ -1233,8 +1233,8 @@ public class Editor extends JFrame // recover (outside of creating another new setkch, which might // just cause more trouble), then they've gotta quit. Base.showError("Problem creating a new sketch", - "An error occurred while creating\n" + - "a new sketch. Processing must now quit.", e); + "An error occurred while creating\n" + + "a new sketch. Processing must now quit.", e); } } diff --git a/processing/build/linux/dist.sh b/processing/build/linux/dist.sh index 78db812d3..ecbad47d0 100755 --- a/processing/build/linux/dist.sh +++ b/processing/build/linux/dist.sh @@ -14,9 +14,9 @@ rm -rf processing-* cp -r ../shared processing # add the libraries folder with source -cp -r ../../net work/libraries/ -cp -r ../../opengl work/libraries/ -cp -r ../../serial work/libraries/ +cp -r ../../net processing/libraries/ +cp -r ../../opengl processing/libraries/ +cp -r ../../serial processing/libraries/ # new style examples thing ala reas cd processing diff --git a/processing/build/windows/dist/run-expert.bat b/processing/build/windows/dist/run-expert.bat index 09fa34e9e..3bd0aac55 100755 --- a/processing/build/windows/dist/run-expert.bat +++ b/processing/build/windows/dist/run-expert.bat @@ -4,8 +4,12 @@ REM --- if you're running out of memory, change the 128m REM --- (which means 128 megabytes) to something higher. set SAVEDCP=%CLASSPATH% -set CLASSPATH=lib;lib\build;lib\pde.jar;lib\core.jar;lib\antlr.jar;lib\oro.jar;lib\mrj.jar;lib\registry.jar;%windir%\system32\qtjava.zip;%windir%\system\qtjava.zip +set SAVEDPATH=%PATH% -start javaw -ms128m -mx128m processing.app.Base +set CLASSPATH=java\lib\rt.jar;lib;lib\build;lib\pde.jar;lib\core.jar;lib\antlr.jar;lib\oro.jar;lib\registry.jar;lib\mrj.jar;%windir%\system32\qtjava.zip;%windir%\system\qtjava.zip +set PATH=java\bin;%PATH% + +REM start javaw -ms128m -mx128m processing.app.Base set CLASSPATH=%SAVEDCP% +set PATH=%SAVEDPATH% diff --git a/processing/core/todo.txt b/processing/core/todo.txt index ecbb06439..4c10da4db 100644 --- a/processing/core/todo.txt +++ b/processing/core/todo.txt @@ -2,8 +2,18 @@ X java 1.4 getButton() was inside the mouse handler X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114147314;start=3 +_ seem to be problems with updatePixels() on the mac +_ appears to run asynchronously + +_ createGraphics(200, 200) to create same as source +_ createGraphics(200, 200, P2D) to create 2D from 3D +_ also, drawing a PGraphics2 doesn't seem to work +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1113919619;start=5 + _ the draw() method must exist, otherwise the sketch won't run +_ web colors with alpha: 0xffcc0080 or unhex("ffcc0080") + _ point appears to be broken _ could be a problem with java 1.5? (was using win2k) noStroke(); @@ -44,8 +54,6 @@ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;n _ set upper bound on framerate so as not to completely hose things? _ is camera backwards, or staying fixed and moving the scene? -_ createGraphics(200, 200) to create same as source -_ createGraphics(200, 200, P2D) to create 2D from 3D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . diff --git a/processing/todo.txt b/processing/todo.txt index 2701e61f7..cc73debf0 100644 --- a/processing/todo.txt +++ b/processing/todo.txt @@ -1,28 +1,62 @@ 0086 pde - +X new versions of java for windows and linux: 1.4.2_07 X update faq on site? what's difference between versions? X no difference between versions... should it be cvs based? +X linux is missing all libraries except for javascript +X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Tools;action=display;num=1114325419;start=1 + +_ macosx 10.2 needs libiconv to run jikes +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114113204;start=0 +_ either compile jikes not to use it: +_ http://jikes.sourceforge.net/faq/dev-win32.shtml +_ or maybe include an installer: +_ http://www.bluem.net/downloads/libiconv_en/ +_ gnu page for libiconv +_ http://www.gnu.org/software/libiconv/ +_ on 10.2, the version of jikes from 69 (the cvs build) works fine + _ faq - known bugs +_ put the jikes fix for 10.2 on the faq _ 1 pixel stroke weight in opengl (temporary) _ make clear that P2D is not working if not clear enough _ save/yes/no needs cancel X wontstart wasn't properly linked + +_ faq - not our problem _ watch out for upper/lowercase changes _ methods and functions always start lowercase, and have inner caps +_ sun.dc.pr.PRException +_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1113990788;start=0 _ faq - changes -_ videoEvent and serialEvent pass in a +X videoEvent and serialEvent pass in the object +_ updatePixels() may be slower.. hopefully JAVA2D mostly temporary + +_ faq - java 1.5 +_ seems to run things more slowly.. +_ if using p5 standard, will be running 1.4 +_ but if 1.5 installed, browser will probably use that + +_ faq - how things work +_ additional tabs are added to the main code +_ as a result, static variables can't be used +_ though they can go above the class itself or be placed in the parent +_ if you want it separate, use a .java file instead (not parsed) + +_ sun.applet.Main is appletviewer + +_ settings.path.fallback not being used +_ can't find build dir on operatign systems w/ non-ascii chars _ info about getting started with building processing _ also re: what about eclipse? what about antlr? +_ update things for java 1.5 since it's inevitable + _ esc doesn't kill fullscreen mode _ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114027594;start=0 -_ make a note in the faq about sun.dc.pr.PRException -_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1113990788;start=0 - _ preferences - second line of prefs (the file path) is smashing things _ righthand max isn't being updated for that second line _ or it's getting written over by the line below it