From c116a581a20c1cc25b684667cbc98901703dc84b Mon Sep 17 00:00:00 2001 From: benfry Date: Sun, 26 Jan 2003 16:18:37 +0000 Subject: [PATCH] cleaning up the todo list --- processing/app/PdeBase.java | 2 +- processing/app/PdeEditor.java | 4 +- processing/done.txt | 32 ++ processing/todo.txt | 638 +++++++++++++++------------------- 4 files changed, 323 insertions(+), 353 deletions(-) diff --git a/processing/app/PdeBase.java b/processing/app/PdeBase.java index 134e79567..276f65d7c 100644 --- a/processing/app/PdeBase.java +++ b/processing/app/PdeBase.java @@ -413,7 +413,7 @@ public class PdeBase extends Frame implements ActionListener { frame.pack(); // maybe this should be before the setBounds call - editor.frame = frame; // no longer really used + //editor.frame = frame; // no longer really used editor.init(); rebuildSketchbookMenu(sketchbookMenu); buildSerialMenu(); diff --git a/processing/app/PdeEditor.java b/processing/app/PdeEditor.java index 8a1f343c9..a533d7988 100644 --- a/processing/app/PdeEditor.java +++ b/processing/app/PdeEditor.java @@ -71,7 +71,7 @@ public class PdeEditor extends Panel { Point appletLocation; //= new Point(0, 0); Point presentLocation; // = new Point(0, 0); - Frame frame; + //Frame frame; Window presentationWindow; RunButtonWatcher watcher; @@ -313,7 +313,7 @@ public class PdeEditor extends Panel { #ifdef JDK13 // move editor to front in case it was hidden - frame.setState(Frame.NORMAL); + PdeBase.frame.setState(Frame.NORMAL); #endif }}); diff --git a/processing/done.txt b/processing/done.txt index adba2e0aa..63fcaee04 100644 --- a/processing/done.txt +++ b/processing/done.txt @@ -1,3 +1,33 @@ +MISC (pruned from crusty todo list) + +X text editor? jedit's textarea class? hmm? hmm? // Yeah for jedit! +X document imageMode, planeMode, ellipseMode +X 'rot' example not working in release 18 +X make note in documentation about getting access to pixel array +X pixels[] is in ProcessingApplet +X build a linux/x86 release +X fix buzz.pl to not create ../../bagel +X how to use ssh identity file to maintain auth for brancusi +X write dist.bat for releases +X don't forget to update 'export' dir with processing releases +X write code for automatic macintosh releases +X just saying 'millis' in processingapplet, instead of getMillis() +X keyPressed, keyReleased, mousePressed, mouseReleased +X bug in paren balancing +X paren problems comes from overusing parens (too many closing) +X image[first[i], 0, 0) hitting last paren causes jump to top +X beautify is broken // I think this is fixed +X sketch: sketch-000 is dumb +X // Just number successively 0001, 0002 like a digital camera +X color won't set for fonts //This works +o 'image' is too generic a variable to have inside BApplet +o check for others that shouldn't be used (pixels? width? height?) +o or have a way to syntax color them +o put processing/bagel into sourceforge cvs FOR BETA +o probably after kjc/engine stuff restructured +o bring cbagel up to par + + 0048 macosx @@ -17,6 +47,8 @@ pde X re-enable wheel mouse X just uses #ifdef for JDK14 o System.getProperty("java.version") -> "1.4.1_01" +X text editor - color coding is the big issue +X use syntax coloring to highlight BApplet's class variables and functions windows X remove built-in jre (!) diff --git a/processing/todo.txt b/processing/todo.txt index d12f351a5..4fa69012f 100644 --- a/processing/todo.txt +++ b/processing/todo.txt @@ -1,19 +1,32 @@ -// Ben, I have made some notes within the document as comments - 0049 _ disappearing text caret on win2k _ works in 'insert' mode _ pmouseX and pmouseX should be colored with mouseX and mouseY - +_ weirdness with mac swiss-german keyboard on []{}| +_ add url support for loadImage _ several examples broken (note from creas) in bugs.txt _ pmouseX problem reported by casey (in bugs.txt) +_ ceil/floor +_ framerate() and framerate(15) +_ new set of examples +_ new html for export +_ new colors chosen by casey -................................................................ +verify all these are gone +b _ remove 'encoding' crap from PdeBase +b _ only existed b/c of reading as bytes and not using jdk11 methods +b _ cleanup program/inline_program crap.. take out scheme stuff +b _ better readFile/loadImage inside PdeBase +b _ temp array should be resizable inside readFile +b _ might just use ByteArray streams +b _ use getresource for loading image +b _ remove Editor's frame instance, replace refs with PdeBase.frame -// Is this portion of the list something that needs to be prioritized -// into Beta, 1.0, 2.0? -bagel / bugs +//////////////////////////////////////////////////////////////////// + + +BAGEL / bugs _ getting mouse movement outside the window _ delay() should sleep the thread [glen murphy] _ it's sucking cpu and won't open a window until the delay is up @@ -23,191 +36,6 @@ _ font smoothing (unless hint SMOOTH_IMAGES enabled) is broken _ too many push() will silently stop the applet inside a loop -bagel / features -_ make bagel usable on its own as a drawing surface -_ needs to be used as a component, without applet -_ but retain functionality, ie. image i/o -_ finish fill mode of flat circle function -_ make into oval function -_ no longer require size() to come first? -_ beginQuads() beginLineStrip() ? -_ noCursor() -_ creating background image in setup, or setting background(BImage) -_ also using bagel as separate component, being able to grab its BImage - - -pde / bugs -_ compiler barfs on: float[] moo = new int[10]; -_ although no error comes through to p5 (benelek) -_ when missing a closed brace, often has compiler error -_ Jordan J message in email and bugs list -_ can't used random() inside constructor.. (Glen Murphy) -_ maybe related to problems loading images in constructors -x images don't load during setup [reas] //This is not a problem -- Casey -_ weird comments bug (external file) -_ if image doesn't exist, spews null pointer exception and freaks -_ locking up environment/machine -Uncaught error fetching image: -java.lang.NullPointerException - at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99) - at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:10 - at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java) - at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:16 - at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136) - - -pde / stability -_ need to check if volume is read-only, notify and quit if it is -_ people are trying to run off the disk image -_ lots of problems with the console -_ [maybe this needs to be a textarea?] -_ long lines seem to be trouble -_ also printing of objects, esp when null, in jdk 14 -_ exception when trying to write to stdout -_ split KjcEngine into three parts -_ how to communicate with other applet/jre when it's been launched -_ preprocessor problems -> switch to java cup (one day's work) -_ subst Image -> BImage, Font -> BFont -_ need to pay attention to when running from read-only drive -_ reported by brandenberg -_ "p5 will launch from the disk image, but will -_ not draw the sketch name bar doesn't appear" - - -pde / features -_ mention connection to java and docs on getting started in java -_ highlight a word and jump to it inside the reference -_ splitints, et al.. have another version to specify what to use -_ when the value gets a NumberFormatException.. ie. -_ splitInts("blah blah blah", ' ', 0); -_ and splitFloats("blah bl ah blaha ", ' ', Float.NaN); -_ shortcut to walk through history, ala photoshop (ctrl-alt-z) -_ ctrl-f for find, g for find next, h for next occurrence of selected -_ "look up in reference" function for selecting keywords -_ support 'classes' folder, through the use of a classloader -_ could also be done by launching external java app -_ all .jar files etc are added from this folder automatically -_ may need to start putting properties somewhere besides lib -_ home directory (or preferences folder under macos9) -_ will need doubles for genomics work. ugh. -_ this is just enable/disable float stuff -_ zeroPad(num, left, right); or zeroPad(num, left). - - -windows -_ need splash screen, startup takes a long time -_ windows 95/98/ME seems to be broken -_ ME seems to be very broken -_ lockup/freezes (mKoser and zeitgeist) -_ jre icon not appearing in the systray - -macosx -_ reference doesn't launch on mac (mKoser) //Yes, confirmed -_ Event.consume() doesn't work on entry fields -_ manifests itself in sketch naming, can't be constrained -_ may not be the case under swing? -_ escape key not quitting presentation mode -_ no events seem to be coming through at all - -macosx / try with next java 1.4 dp release -_ tweak for java 1.4 -_ need to add a line to the properties file -_ include a note about this in the readme, include url for download -_ connect.apple.com -running 1.4 from the command line: -/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Commands/java -Info.plist, setting JVMVersion -* 1.3.1 - only use JDK 1.3.1, even if later versions are available. -* 1.3* - use any version of JDK 1.3.x. Do not use JDK 1.4 even if it's dflt. -* 1.3+ - use the latest JDK version from JDK 1.3 onward, up to default JDK. -* 1.4+ - use JDK 1.4 or later, even if an earlier JDK is the default. - -macos9 -_ set file type for html files -_ why is bbedit the type for the other files? make simpletext -_ reference doesn't launch on mac (mKoser) - -linux -_ look for jdk 1.4 to use instead of 1.3 -_ make sure javacomm gets in there -_ test it a little more to make sure it works (cygwin x sucks) - - -docs/faq - // I don't understand this -_ make clear that setup is just for setup -_ but should also in the future allow to create static image -_ notes on debugging -_ run with java -Xint blahblah (turns off jit) - // I don't know where this should live, on BBS? What do you think -_ p5 faq items: re midi support, msgs w/ adam hoyle in mail folder -_ also 'why p5' message from amit pitaru on 12/15/02 -_ and p5 versus flash stuff -_ lists the main arguments, could be a useful document - - -OTHER NOTES / API TO ADD -_ copyArea, copyImage -_ method of collapsing history for useful versions -_ archive associated files as well.. data/etc -x text editor - color coding is the big issue -_ ceil/floor // Important -_ perlin // Not necessary for 1.0 -_ strokeWidth - too buggy to document currently -_ update/noUpdate -_ instead use void update() as a function like loop and draw -_ third kind of applet for interactive apps that have to be queried -_ clear/noClear -_ just use background, and make people fill a rect -_ if they need a bg with noBackground() -_ use syntax coloring to highlight BApplet's class variables and functions - // I like people making these themselves and then later they can be added - // to their code libraries -_ possible dist() and constrain() functions -_ lights - not much happening -_ camera - wait for someone to implement - // What is your current thinking on fonts? VLW for 1.0? -_ fonts - api should be improved as part of additions and rewrite -_ does a[3] == Float.NaN work? - - -FURTHER AHEAD -_ 'image' is too generic a variable to have inside BApplet -_ check for others that shouldn't be used (pixels? width? height?) -_ or have a way to syntax color them -_ put processing/bagel into sourceforge cvs FOR BETA -_ probably after kjc/engine stuff restructured -_ bring cbagel up to par -_ modify cbagel for opie -_ would be interesting to build pre-processor for java p5 -_ but that converts into cpp version of bagel apps.. mmm -_ update cbagel to current bagel status -_ add update() style application (called once at start, then only when queued) -_ still a threaded app? just doesn't update inside loop -_ get gcc tied into processing -_ java disassembly inside p5 -_ and assmebling it back again -_ locking up on run (under win2k? others?) -_ rare but present, every 100th time or so - - -SUGGESTIONS -_ make versions available w/o fonts and jre -_ lock feature for present mode (part of export to application?) -_ error messages with link to what's wrong -_ moving sketchbook folder for lab environments -_ lots of ui ideas from adrien in the bboard -_ can't copy text from console directly -o make note in readme about stderr.txt and stdout.txt -_ Rename the button options to verbs, e.g. instead of "Do you want to - save? yes/no", change it to "Document Has been modified -- Save - changes? Save/Cancel/Don't Save". Look at Aqua Human Interface - guidelines (http://developer.apple.com/ue/switch/windows.html, tip 9) - - -//////////////////////////////////////////////////////////////////// - - BAGEL / high b _ better access to projX et al b _ what's a better name? calcX? or write to an array? @@ -215,12 +43,21 @@ b _ projectX, projectY, .. or projectedX ? b _ also projectSize should just be project() b _ images drawn from center don't work for simage() b _ currently calling slower image routine +b _ make bagel usable on its own as a drawing surface +b _ needs to be used as a component, without applet +b _ but retain functionality, ie. image i/o +b _ finish fill mode of flat circle function +b _ make into oval function +b _ no longer require size() to come first? +b _ beginQuads() beginLineStrip() ? +b _ noCursor() +b _ creating background image in setup, or setting background(BImage) +b _ also using bagel as separate component, being able to grab its BImage BAGEL / high & time consuming b _ implement clipping planes and clipping of objects b _ things are flying into the camera and halting apps -b X color won't set for fonts //This works b _ alpha b _ concave/complex polygon shtuff b _ eventually POLYGON auto-detects convex/concave polygon @@ -239,6 +76,7 @@ b _ area copying functions b _ copyPixel(x, y, to_x, to_y) b _ copyArea(x, y, w, h, to_x, to_y) b _ copyImage(x, y, w, h, to_x, to_y) +b _ copyArea, copyImage, resize image b _ bresenham (flat) oval function b _ NullPointerException apparently when things way offscreen b _ i.e. glyphrot with scale set to 4 @@ -290,7 +128,22 @@ b _ rather than app being enclosed in beginFrame/endFrame loop BAGEL / lower +_ update/noUpdate +_ instead use void update() as a function like loop and draw +_ third kind of applet for interactive apps that have to be queried +_ perlin // Not necessary for 1.0 +_ strokeWidth - too buggy to document currently +_ clear/noClear +_ just use background, and make people fill a rect +_ if they need a bg with noBackground() +_ possible dist() and constrain() functions +_ reas: I like people making these themselves and then later +_ they can be added to their code libraries +_ lights - not much happening + // What is your current thinking on fonts? VLW for 1.0? +_ fonts - api should be improved as part of additions and rewrite _ support for moving the camera around +_ wait for someone to implement _ try using jgl inside processing _ illustrator, postscript or pdf export? _ export to static flash-based graphics @@ -332,64 +185,68 @@ _ or maybe image.setColor or setTone to mix a specific color in _ live video editing, wanting things more procedural -(C)BAGEL WORK -_ color() has a different meaning -_ formerly a normalized 0..1 float to a packed rgb int -_ now it's a color according to current standards -_ float_color is a private version of the previous color() -_ curve was broken (cvertexIndex being reset) -_ curve() now doubles start/end points to be more logical -_ (fits all four points by drawing six points) -_ try screengrab using malloc and/or gobs of extra memory -_ debug the version inside bagel b/c it's simpler -_ bagel needs to be able to resize itself -_ also to address screen as if it's another size -_ is that simply a matter of changing the viewport? -_ letterboxing as appropriate -_ build windows app for testing bagel c++ ... -lgdi32 for cygwin -_ updates from p5 api changes -_ triangle() 6 parameters -_ quad() 8 parameters -_ rect/rectMode again -_ new color solution -_ color() -> uses colorMode -_ red/green/blue() hue/saturation/value() functions -_ getPixel/setPixel -_ swap in 'color' as an int -_ color c = #67aa78 -_ keyDown(), mouseDown(), lastMouseX, lastMouseY -_ degrees(), radians() -_ fill, background, stroke all with int version for packed rgb - -_ why won't glut shut up about modifiers? -_ add millis() to bappletgl that returns glut millis - -_ BGL_PATH should turn paths into os9 ready paths for os9 -_ or whatever else for the other platforms -_ macos9: font = loadFont(":fonts:Univers55.vlw"); -_ or could use a "File" style object -_ or do all path conversions internally: -_ loadFont, loadImage.. already do gz decoding - -_ makingmovie/screengrab should be moved into bapplet, -_ along with the stuff for making an ai screen grab - -_ mouseX/lastMouseX should be handled automatically -_ mousePressed() function may not need vars passed in -_ or maybe the only vars are alt/left-right/ctrl/shift - -_ maybe mouseevent is passed in, but not used in the -_ function unless people want advanced features -_ mouseX/mouseY/lastMouseX/lastMouseY all set by parent class - -_ lastKey and lastKeyCode -- not as useful as the mouse stuff - //////////////////////////////////////////////////////////////////// +PDE / bugs +_ compiler barfs on: float[] moo = new int[10]; +_ although no error comes through to p5 (benelek) +_ when missing a closed brace, often has compiler error +_ Jordan J message in email and bugs list +_ can't used random() inside constructor.. (Glen Murphy) +_ maybe related to problems loading images in constructors +x images don't load during setup [reas] //This is not a problem -- Casey +_ weird comments bug (external file) +_ if image doesn't exist, spews null pointer exception and freaks +_ locking up environment/machine +Uncaught error fetching image: +java.lang.NullPointerException + at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99) + at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:10 + at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java) + at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:16 + at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136) + + +PDE / stability +_ need to check if volume is read-only, notify and quit if it is +_ people are trying to run off the disk image +_ lots of problems with the console +_ [maybe this needs to be a textarea?] +_ long lines seem to be trouble +_ also printing of objects, esp when null, in jdk 14 +_ exception when trying to write to stdout +_ split KjcEngine into three parts +_ how to communicate with other applet/jre when it's been launched +_ preprocessor problems -> switch to java cup (one day's work) +_ subst Image -> BImage, Font -> BFont +_ need to pay attention to when running from read-only drive +_ reported by brandenberg +_ "p5 will launch from the disk image, but will +_ not draw the sketch name bar doesn't appear" + + PDE / high -a x text editor? jedit's textarea class? hmm? hmm? // Yeah for jedit! +_ mention connection to java and docs on getting started in java +_ highlight a word and jump to it inside the reference +_ splitints, et al.. have another version to specify what to use +_ when the value gets a NumberFormatException.. ie. +_ splitInts("blah blah blah", ' ', 0); +_ and splitFloats("blah bl ah blaha ", ' ', Float.NaN); +_ does a[3] == Float.NaN work? +_ shortcut to walk through history, ala photoshop (ctrl-alt-z) +_ ctrl-f for find, g for find next, h for next occurrence of selected +_ "look up in reference" function for selecting keywords +_ support 'classes' folder, through the use of a classloader +_ could also be done by launching external java app +_ all .jar files etc are added from this folder automatically +_ may need to start putting properties somewhere besides lib +_ home directory (or preferences folder under macos9) +_ will need doubles for genomics work. ugh. +_ this is just enable/disable float stuff +_ zeroPad(num, left, right); or zeroPad(num, left). + b _ for 'java' mode, try run using external vm b _ would need to get error output stream from app.. argh b _ only allow under win/osx/linux @@ -402,21 +259,25 @@ b _ but makes no error.. peditorconsole probably swallowing it b _ change writeJava/start functions to be combined in kjc b _ but the rest inside PdeEditor that takes care of launching/placing b _ online signup cgi for people to add themselves to the list -// We can use sourceforge for bug tracking... -b _ see about setting up simple bug tracker/feature system -b _ queue for people reporting things externally -b _ bugzilla but simpler -b _ would also be nice for people to be able to vote on features b _ save serial port on close b _ probably should doClose() on new/open instead of doStop() +b _ ability to include other code from sketchbook directory +b _ compile entire sketchbook on startup, check for new files on compile? +b _ ability to export 'applications' (not just applets) +b _ application can still do serial (qt, other stuff?) +b _ applet runs in browser, though applet on cbagel is everything.. +b _ include main class info for executable jar file with jdk > 1.2 +b _ not difficult to do, just some tweaking once applet export works +b _ wrapper that invokes the applet using a copy of the jre +b _ main() method needs to set layout manager if jexegen is to be used +b _ (msft vm defaults to null layout manager) +b _ also make sure pack() is happening PDE / medium b _ 'save as' from examples puts into examples dir.. :( b _ option to delete current project (trickier) b _ also needs to have method for verify.. blech -b x beautify is broken // I think this is fixed -b _ sketch: sketch-000 is dumb // Just number successively 0001, 0002 like a digital camera b _ check logs to see where we're getting traffic from b _ event to explorer to open 'parts' directory of project b _ option to toggle console on/off (not just in properties, but realtime) @@ -429,14 +290,11 @@ b _ make PdeEditorButtons wait until mouseup to change b _ (currently doesn't feel as good as it could) b _ look into using serialporteventlistener for simpleserial b _ may help with problems due to threading/synchronizing -b _ licensing issues with kjc (before public release) b _ font usage/substition solution b _ write code to bind/convert java fonts b _ best would be freetype or jdk 1.3/1.4 b _ java freetype? jni freetype to build texmap fonts? b _ look at flash file format? (does it have kerning?) -b _ example: multi-user server app (shared whiteboard) -b _ example: basic network app b _ file i/o utility classes b _ read as set of lines, read as cells in grid, read num sequence b _ then methods for writing all of the same @@ -449,15 +307,6 @@ b _ after user hits 'enter', checks to see if user exists b _ if not, pops up message asking if they want to change b _ message goes in same spot as error/status label (turns yellow?) b _ if user says 'no', then -b _ ability to export 'applications' (not just applets) -b _ application can still do serial (qt, other stuff?) -b _ applet runs in browser, though applet on cbagel is everything.. -b _ include main class info for executable jar file with jdk > 1.2 -b _ not difficult to do, just some tweaking once applet export works -b _ wrapper that invokes the applet using a copy of the jre -b _ main() method needs to set layout manager if jexegen is to be used -b _ (msft vm defaults to null layout manager) -b _ also make sure pack() is happening b _ kjc is really frustrating about some of its error/warning msgs b _ erroneous errors from kjc regarding 'var not inited' b _ is there any way to disable this message? @@ -465,97 +314,41 @@ b _ talk to simon about error streams and kjc b _ better piping of output from kjc b _ modify kjc to take a PrintWriter, instead of current hacks b _ might be able to set default values for vars using perl5subst -b _ ability to include other code from sketchbook directory -b _ compile entire sketchbook on startup, check for new files on compile? b _ Compiler.disable() message is weird and doesn't always work b _ probably just remove it for now -b _ bug in paren balancing -b _ paren problems comes from overusing parens (too many closing) -b _ image[first[i], 0, 0) hitting last paren causes jump to top - -cosmetic [lower priority] b _ run button can be highlighted to show how long thread is alive b _ the thread would be the one inside bapplet that keeps it going -b _ only copy data files into build when there are changes +b _ only copy data files into build dir when there are changes b _ make sure the still relevant files aren't removed b _ setLastModified on the files after copying (jdk13) b _ editorbuttons: if nothing selected on popup, need to deselect b _ editorbuttons: if export fails (compile error) need deselect b _ may want to throw exceptions from bagel b _ but catch them inside bapplet--as part of making things easier - -pdebase cleanup [lower priority] -b _ remove 'encoding' crap from PdeBase -b _ only existed b/c of reading as bytes and not using jdk11 methods -b _ cleanup program/inline_program crap.. take out scheme stuff -b _ better readFile/loadImage inside PdeBase -b _ temp array should be resizable inside readFile -b _ might just use ByteArray streams -b _ use getresource for loading image -b _ remove Editor's frame instance, replace refs with PdeBase.frame +b _ wire in quicktime for java simply +b _ also quicktime exporter or image sequence export +b _ fairly quick--just use code from dbn PDE / low +_ method of collapsing history for useful versions +_ archive associated files as well.. data/etc +_ see about setting up simple bug tracker/feature system +_ // We can use sourceforge for bug tracking... (reas) +_ queue for people reporting things externally +_ bugzilla but simpler +_ would also be nice for people to be able to vote on features _ if 'void' left out before loop or setup, cryptic message about _ 'constructor loop must be named Temporary_23498_2343' _ add a better handler for this specific thing? _ shouldn't do so much work (redrawing in loop) if waiting for input _ mode for when no full animation taking place _ otherwise machine is continually maxed out while app is running -_ quicktime exporter or image sequence export -_ fairly quick--just use code from dbn _ stop() method in applet should stop kjc environment _ should be able to call stop() to 'quit' an applet _ run java code besides processing applets _ if not processing applet, look for a main(), no main give an error _ dbn2p5 converter.. ooh! - - -PDE / dist -b _ need document icons // I need to improve these -b _ figure out about distributing source -b _ kjc is gnu, so source needs to be available - - -PDE / windows -b _ windows launcher/exe -b _ splash screen -b _ build from command line, using gcc -b _ file association for .pde files - - -PDE / macos -b _ handlers for basic events -b _ MRJAboutHandler (just show splash screen) -b _ image for 'about processing' -b _ MRJPrefsHandler (open pde.properties in a text editor) -b _ MRJQuitHandler (confirm quit, may need to be in another thread) -b _ MRJOpenApplicationHandler and MRJOpenDocumentHandler -b _ especially the open document fella -b _ under osx, app won't get doc unless app already launched -b _ dataInputStream, setUseCaches on the url to false -b _ URLConnection.setUseCaches(false) -b _ parent.obj.close() on the url -b _ set file type/creator for .pde files.. TEXTPde1 -b _ also for .jar and .html for files on export -b _ not sure whether to enable this for osx or not.. - - -PDE / macos9 -b _ make sure editor window is front so that error line highlights - - -PDE / macosx -b _ splash screen -b _ remove 'quit' from file menu - - -PDE / linux -b _ splash screen -b _ test serial with ibm vm and all - - -PDE / features _ might be nice to have some notion of plugins for pde _ color picker or other things written by folks _ add all .jar files in lib/plugins on startup @@ -573,6 +366,20 @@ _ use numbered versioning? _ give updater feedback (progress dialog, error msg) +PDE / suggestions +_ make versions available w/o fonts and jre +_ lock feature for present mode (part of export to application?) +_ error messages with link to what's wrong +_ moving sketchbook folder for lab environments +_ lots of ui ideas from adrien in the bboard +_ can't copy text from console directly +o make note in readme about stderr.txt and stdout.txt +_ Rename the button options to verbs, e.g. instead of "Do you want to + save? yes/no", change it to "Document Has been modified -- Save + changes? Save/Cancel/Don't Save". Look at Aqua Human Interface + guidelines (http://developer.apple.com/ue/switch/windows.html, tip 9) + + PDE / science fiction _ toggle for showing a function name each time its hit _ toggle for showing line numbers within a function @@ -592,11 +399,94 @@ _ version # stored in .java file _ if a new version is available, asks 'do you want to update?' _ multi-file: quicksort + sortable _ check out interface builder for interesting tidbits +_ write converter for java bagel -> cpp version +_ include #ifdefs for c stuff -DOCS / guide -X _ document imageMode, planeMode, ellipseMode -X _ 'rot' example not working in release 18 +................................................................ + + +dist +b _ need document icons // I need to improve these +b _ beta release will include source code + + +windows +b _ need splash screen, startup takes a long time +b _ file association for .pde files +b _ windows 95/98/ME seems to be broken +b _ ME seems to be very broken +1 _ lockup/freezes (mKoser and zeitgeist) +1 _ jre icon not appearing in the systray + + +macos +b _ handlers for basic events +b _ MRJAboutHandler (just show splash screen) +b _ image for 'about processing' +b _ MRJPrefsHandler (open pde.properties in a text editor) +b _ MRJQuitHandler (confirm quit, may need to be in another thread) +b _ MRJOpenApplicationHandler and MRJOpenDocumentHandler +b _ especially the open document fella +b _ under osx, app won't get doc unless app already launched +b _ dataInputStream, setUseCaches on the url to false +b _ URLConnection.setUseCaches(false) +b _ parent.obj.close() on the url +b _ set file type/creator for .pde files.. TEXTPde1 +b _ also for .jar and .html for files on export +b _ not sure whether to enable this for osx or not.. + + +macos9 +b _ make sure editor window is front so that error line highlights +b _ set file type for html files +b _ why is bbedit the type for the other files? make simpletext +b _ reference doesn't launch on mac (mKoser) + + +macosx +b _ remove 'quit' from file menu +b _ reference doesn't launch on mac (mKoser) //Yes, confirmed +b _ Event.consume() doesn't work on entry fields +b _ manifests itself in sketch naming, can't be constrained +b _ may not be the case under swing? +b _ escape key not quitting presentation mode +b _ no events seem to be coming through at all +b _ splash screen + +macosx / try with next java 1.4 dp release +_ tweak for java 1.4 +_ need to add a line to the properties file +_ include a note about this in the readme, include url for download +_ connect.apple.com +running 1.4 from the command line: +/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Commands/java +Info.plist, setting JVMVersion +* 1.3.1 - only use JDK 1.3.1, even if later versions are available. +* 1.3* - use any version of JDK 1.3.x. Do not use JDK 1.4 even if it's dflt. +* 1.3+ - use the latest JDK version from JDK 1.3 onward, up to default JDK. +* 1.4+ - use JDK 1.4 or later, even if an earlier JDK is the default. + + +linux +b _ splash screen +b _ test serial with ibm vm and all +b _ look for jdk 1.4 to use instead of 1.3 +b _ make sure javacomm gets in there +b _ test it a little more to make sure it works (cygwin x sucks) + + +DOCS + // I don't understand this +_ make clear that setup is just for setup +_ but should also in the future allow to create static image +_ notes on debugging +_ run with java -Xint blahblah (turns off jit) + // I don't know where this should live, on BBS? What do you think +_ p5 faq items: re midi support, msgs w/ adam hoyle in mail folder +_ also 'why p5' message from amit pitaru on 12/15/02 +_ and p5 versus flash stuff +_ lists the main arguments, could be a useful document _ list of reserved keywords _ make note of functions/variables used by ProcessingApplet _ using them in your app will break things (i.e. init()) @@ -606,8 +496,6 @@ _ NullPointerException inside setup usually means no size() _ ability to write functions and inner classes _ mention ability to use import statements in java mode _ ability to do real (but not public) classes in same document -X _ make note in documentation about getting access to pixel array -X _ pixels[] is in ProcessingApplet _ check to see if get/set functions in applet actually work _ fix documentation appropriately _ image formats supported (gif and jpeg) @@ -649,22 +537,12 @@ _ if (a) ? 3 : 4 _ formatting printf-style things _ audio input _ audio synthesis -X _ just saying 'millis' in processingapplet, instead of getMillis() -_ keyPressed, keyReleased, mousePressed, mouseReleased - - -MISC / building -_ build a linux/x86 release -_ write converter for java bagel -> cpp version -_ include #ifdefs for c stuff -_ fix buzz.pl to not create ../../bagel -_ how to use ssh identity file to maintain auth for brancusi -_ write dist.bat for releases -_ don't forget to update 'export' dir with processing releases -_ write code for automatic macintosh releases MISC / code tidbits for scrapbook +b _ example: multi-user server app (shared whiteboard) +b _ example: basic network app + _ delayUntil would be nice to have _ but at some point there has to be a cutoff _ have a library of useful code that people can add to programs @@ -856,6 +734,66 @@ _ for jgl version of bagel, jgl.jar needs to be in classpath +(C)BAGEL WORK +_ modify cbagel for opie +_ would be interesting to build pre-processor for java p5 +_ but that converts into cpp version of bagel apps.. mmm +_ update cbagel to current bagel status +_ get gcc tied into processing +_ java disassembly inside p5 +_ and assmebling it back again +_ color() has a different meaning +_ formerly a normalized 0..1 float to a packed rgb int +_ now it's a color according to current standards +_ float_color is a private version of the previous color() +_ curve was broken (cvertexIndex being reset) +_ curve() now doubles start/end points to be more logical +_ (fits all four points by drawing six points) +_ try screengrab using malloc and/or gobs of extra memory +_ debug the version inside bagel b/c it's simpler +_ bagel needs to be able to resize itself +_ also to address screen as if it's another size +_ is that simply a matter of changing the viewport? +_ letterboxing as appropriate +_ build windows app for testing bagel c++ ... -lgdi32 for cygwin +_ updates from p5 api changes +_ triangle() 6 parameters +_ quad() 8 parameters +_ rect/rectMode again +_ new color solution +_ color() -> uses colorMode +_ red/green/blue() hue/saturation/value() functions +_ getPixel/setPixel +_ swap in 'color' as an int +_ color c = #67aa78 +_ keyDown(), mouseDown(), lastMouseX, lastMouseY +_ degrees(), radians() +_ fill, background, stroke all with int version for packed rgb + +_ why won't glut shut up about modifiers? +_ add millis() to bappletgl that returns glut millis + +_ BGL_PATH should turn paths into os9 ready paths for os9 +_ or whatever else for the other platforms +_ macos9: font = loadFont(":fonts:Univers55.vlw"); +_ or could use a "File" style object +_ or do all path conversions internally: +_ loadFont, loadImage.. already do gz decoding + +_ makingmovie/screengrab should be moved into bapplet, +_ along with the stuff for making an ai screen grab + +_ mouseX/lastMouseX should be handled automatically +_ mousePressed() function may not need vars passed in +_ or maybe the only vars are alt/left-right/ctrl/shift + +_ maybe mouseevent is passed in, but not used in the +_ function unless people want advanced features +_ mouseX/mouseY/lastMouseX/lastMouseY all set by parent class + +_ lastKey and lastKeyCode -- not as useful as the mouse stuff + + ////////////////////////////////////////////////////////////////////