diff --git a/processing/app/PdeEditor.java b/processing/app/PdeEditor.java index f33b7100c..03d75db14 100644 --- a/processing/app/PdeEditor.java +++ b/processing/app/PdeEditor.java @@ -249,7 +249,7 @@ public class PdeEditor extends JFrame pain.add("Center", rightPanel); // hopefully these are no longer needed w/ swing - // (that was wishful thinking, they still are, until we switch to jedit) + // (har har har.. that was wishful thinking) listener = new PdeEditorListener(this, textarea); textarea.pdeEditorListener = listener; @@ -381,7 +381,7 @@ public class PdeEditor extends JFrame } if (windowPositionInvalid) { - System.out.println("using default size"); + //System.out.println("using default size"); int windowH = PdePreferences.getInteger("default.window.height"); int windowW = PdePreferences.getInteger("default.window.width"); setBounds((screen.width - windowW) / 2, @@ -445,16 +445,16 @@ public class PdeEditor extends JFrame TextAreaPainter painter = textarea.getPainter(); if (external) { // disable line highlight and turn off the caret when disabling - Color color = PdePreferences.getColor("editor.program.bgcolor.external"); + Color color = PdePreferences.getColor("editor.external.bgcolor"); painter.setBackground(color); painter.lineHighlight = false; textarea.setCaretVisible(false); } else { - Color color = PdePreferences.getColor("editor.program.bgcolor"); + Color color = PdePreferences.getColor("editor.bgcolor"); painter.setBackground(color); painter.lineHighlight = - PdePreferences.getBoolean("editor.program.linehighlight"); + PdePreferences.getBoolean("editor.linehighlight"); textarea.setCaretVisible(true); } @@ -475,7 +475,7 @@ public class PdeEditor extends JFrame * Called when the application is quitting. */ public void storePreferences() { - System.out.println("storing preferences"); + //System.out.println("storing preferences"); // window location information Rectangle bounds = getBounds(); diff --git a/processing/build/shared/lib/pde.properties b/processing/build/shared/lib/pde.properties index ca9a1b0f9..a05270347 100644 --- a/processing/build/shared/lib/pde.properties +++ b/processing/build/shared/lib/pde.properties @@ -32,7 +32,8 @@ editor.fgcolor=#000000 editor.bgcolor=#ffffff # color to be used for background when 'external editor' enabled -editor.bgcolor.external=#ddddbb +editor.external=false +editor.external.bgcolor=#ddddbb # styles for various types of text diff --git a/processing/future.txt b/processing/future.txt new file mode 100644 index 000000000..d80e0bebc --- /dev/null +++ b/processing/future.txt @@ -0,0 +1,139 @@ +BAGEL / Future + + 2 _ cartesian/polar conversion + 2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1053354853 + 2 _ thread includes code for the 2D case + 2 _ alter strokeWidth in LINE_STRIP + 2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1053795842;start=0 + 2 _ keypressed is not persistent + 2 _ key repeat in os vs. how java handles it + 2 _ search java faq for info about getting around it + 2 _ drawMode() for MULTIPLY and ADD + 2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1051208333 + 2 _ nicer/simpler api for moving the camera around + 2 _ better api for fonts + 2 _ fixed fonts are screwed, should only work at screen resolution + 2 _ getStream for the filename doesn't work for directories + 2 _ getfont("fonts/blah.fbf") refers to blah.raw, but that + 2 _ also needs to be searched for in the fonts/ dir.. + 2 _ try with 1.4 frame buffer stuff to see if it's faster + 2 _ write shearing function + 2 _ optimize rotation functions + 2 _ update/noUpdate() could also be done to force explicit updates only + 2 _ for ui-type applications that don't need to continually redraw + 2 _ instead use void update() as a function like loop and draw + 2 _ third mode for interactive apps that have to be queried + 2 _ shouldn't do so much work (redrawing in loop) if waiting for input + 2 _ mode for when no full animation taking place + 2 _ otherwise machine is continually maxed out while app is running + 2 _ way to screen grab at higher resolution + 2 _ method for rendering at higher res and then scaling down + 2 _ (even if this causes signficant performance hit) + 2 _ look at GLUT for other needed shapes + 2 _ export to static flash-based graphics + 2 _ build in second matrix type: 2d affine + 2 _ write code for reading uncompressed b/w tiff images + 2 _ incorporate for fixed width fonts + 2 _ fast(er?) version of bagel that just uses java graphics + 2 _ but leaves out many features + 2 _ setting a fill color when drawing an image should affect the image + 2 _ or maybe image.setColor or setTone to mix a specific color in + + + +PDE / see you next year +not necessary for 1.0 release + +2 _ type-ahead/teaching functions +2 _ very useful for learning to program +2 _ font support is overkill and sucks +2 _ editor features asked for on the bboard +2 _ line numbers like bbedit +2 _ command to comment-out the current selection +2 _ split screen +2 _ collapsable functions, or quick access to functions +2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1051301511 +2 _ make console like director messagewindow.. +2 _ ability to type commands and try functions +2 _ menu option to change username/login +2 _ if new user, offer to rename 'default' if it contains things +2 _ user name is changed by clicking and typing +2 _ after user hits 'enter', checks to see if user exists +2 _ if not, pops up message asking if they want to change +2 _ message goes in same spot as error/status label (turns yellow?) +2 _ if user says 'no', then +2 _ method of collapsing history for useful versions +2 _ archive associated files as well.. data/etc +2 _ see about setting up simple bug tracker/feature system +2 _ // We can use sourceforge for bug tracking... (reas) +2 _ queue for people reporting things externally +2 _ bugzilla but simpler +2 _ would also be nice for people to be able to vote on features +2 _ run java code besides processing applets +2 _ if not processing applet, look for a main(), no main give an error +2 _ dbn2p5 converter.. ooh! +2 _ tweak updater a little bit so it's more likely to work +2 _ use numbered versioning? +2 _ give updater feedback (progress dialog, error msg) +2 _ error messages with link to what's wrong +2 _ lots of ui ideas from adrien in the bbedit +2 _ some ui stuff from fdb +2 _ rename the button options to verbs +2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1032909986 + + + +PDE / science fiction +features we love, but probably won't be implemented 2048 + +3 _ toggle for showing a function name each time its hit +3 _ toggle for showing line numbers within a function +3 _ i'm here messages, tie in with breakpoints for debugger +3 _ lightweight debugger, doesn't slow down, runs in back +3 _ toggle to show attr/value for some var in simple way +3 _ comments as debugging descriptors, output to console, shown in context +3 _ comments as naming for shapes drawn after it, +3 _ or some other model of naming based on inserted text with "" or // or # +3 _ could fit nicely with printf-style statements and comments +3 _ comments would contain descriptions //!blah for printing and formatting +3 _ sketchbook - doodling/scribbling area.. +3 _ since wacom tablet easily accessible +3 _ look into maxx programming +3 _ single or multi-file cvs, not based on directories +3 _ i.e. i want illustrator.java for a project +3 _ version # stored in .java file +3 _ if a new version is available, asks 'do you want to update?' +3 _ multi-file: quicksort + sortable +3 _ check out interface builder for interesting tidbits +3 _ write converter for java bagel -> cpp version +3 _ include #ifdefs for c stuff + + + +PDE / Pre-preprocessor +Currently using Oro for search and replace preprocessor, +but Dan Mosedale is moving us to ANTLR + + 2 _ additional data conversions to avoid this syntax: + 2 _ Integer.toString(), Integer.parseInt() + 2 _ works like class casting: int(23.4) same as ((int) 23.4) + 2 _ String(1234) -> translates to String.valueOf(1234); + 2 _ works for all data types that support valueOf + 2 _ i.e. valueOf(Object) returns null or Object.toString() + 2 _ int("1234") -> Integer.parseInt("1234") + 2 _ float("1234.35") -> (new Float("1234.35").floatValue()) + 2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1060940705 + + 2 _ foreach implementation, ala java 1.5 spec + 2 _ http://jcp.org/aboutJava/communityprocess/jsr/tiger/enhanced-for.html + 2 _ for (String s : c) { ... } + 2 _ or example for sum of int array: + 2 _ int sum = 0; for (int e : a) { sum += e; } + 2 _ for (int i = 0; i < 10; i++) -> for (int i < 10) (?) + 2 _ what's a better method for this? + + 2 _ check through all the examples to look for other themes + + 2 _ contextual syntax highlighting based on grammar + 2 _ everything that's in java.lang plus more is too much for keywords + 2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1045665326