starting rev 0127

This commit is contained in:
benfry
2007-10-10 11:18:28 +00:00
parent d17267e6b6
commit 9b952dda44
5 changed files with 113 additions and 108 deletions
+11 -11
View File
@@ -44,8 +44,8 @@ import processing.core.*;
* files and images, etc) that comes from that.
*/
public class Base {
static final int VERSION = 126;
static final String VERSION_NAME = "0126 Beta";
static final int VERSION = 127;
static final String VERSION_NAME = "0127 Beta";
// set to true after the first time it's built.
// so that the errors while building don't show up again.
@@ -602,7 +602,7 @@ public class Base {
}
}
}
Editor editor = new Editor(this, path, location);
if (editors == null) {
@@ -612,18 +612,18 @@ public class Base {
editors = (Editor[]) PApplet.expand(editors);
}
editors[editorCount++] = editor;
if (markedForClose != null) {
Point p = markedForClose.getLocation();
handleClose(markedForClose, false);
// open the new window in
// open the new window in
editor.setLocation(p);
}
// now that we're ready, show the window
// (don't do earlier, cuz we might move it based on a window being closed)
editor.setVisible(true);
return editor;
}
@@ -727,7 +727,7 @@ public class Base {
//System.out.println("done with rebuild");
}
});
//System.out.println("async exit");
//System.out.println("async exit");
}
@@ -807,7 +807,7 @@ public class Base {
//System.out.println("rebuilding examples menu");
// Add each of the subfolders of examples directly to the menu
try {
addSketches(menu, examplesFolder);
addSketches(menu, examplesFolder);
// String[] subfolders = examplesFolder.list();
// for (int i = 0; i < subfolders.length; i++) {
// if (!subfolders[i].startsWith(".")) {
@@ -866,10 +866,10 @@ public class Base {
}
}
class SketchMenuItem {
JMenu item;
}
protected boolean addSketches(JMenu menu, File folder) throws IOException {
+31
View File
@@ -1,3 +1,34 @@
0126 core
o rect() after strokeWeight(1) gives wrong coords
X http://dev.processing.org/bugs/show_bug.cgi?id=535
X bug in osx java 1.4 vs 1.5
X fix bug in str() methods that take arrays
X method was not working properly, was using the object reference
X new version of saveStream()
X implement auto-gzip and gunzip
X fix bug where sort() on 0 length array would return null
X instead, returns an array
X unregisterXxxx() calls to remove methods from libs
X http://dev.processing.org/bugs/show_bug.cgi?id=312
X implemented by ewjordan
X sort() on strings ignores case
X mention the change in the reference
X added MIN_FLOAT, MAX_FLOAT, MIN_INT, MAX_INT to PConstants
X throw AIOOBE when min() or max() called on zero length array
o fix lerpColor() to take the shortest route around the HSB scale
o loadBytes() doesn't do auto gunzip? but loadStrings and createReader do?
X this might be a good solution for dealing with the differences
o with loadBytes(), they can use gzipInput (or loadBytesGZ?)
o although what does openStream do? (doesn't do auto?)
X auto-gunzip on createReader()
o add auto-gunzip to loadStrings()
X others for auto-gunzip?
X do the same for createWriter() et al
X disable mipmaps in 0126
X http://dev.processing.org/bugs/show_bug.cgi?id=610
X add match() method that returns an array of matched items
0125 core
X more blend() modes (the five listed on the thread below?)
X http://dev.processing.org/bugs/show_bug.cgi?id=132
+1 -30
View File
@@ -1,33 +1,4 @@
0126 core
o rect() after strokeWeight(1) gives wrong coords
X http://dev.processing.org/bugs/show_bug.cgi?id=535
X bug in osx java 1.4 vs 1.5
X fix bug in str() methods that take arrays
X method was not working properly, was using the object reference
X new version of saveStream()
X implement auto-gzip and gunzip
X fix bug where sort() on 0 length array would return null
X instead, returns an array
X unregisterXxxx() calls to remove methods from libs
X http://dev.processing.org/bugs/show_bug.cgi?id=312
X implemented by ewjordan
X sort() on strings ignores case
X mention the change in the reference
X added MIN_FLOAT, MAX_FLOAT, MIN_INT, MAX_INT to PConstants
X throw AIOOBE when min() or max() called on zero length array
o fix lerpColor() to take the shortest route around the HSB scale
o loadBytes() doesn't do auto gunzip? but loadStrings and createReader do?
X this might be a good solution for dealing with the differences
o with loadBytes(), they can use gzipInput (or loadBytesGZ?)
o although what does openStream do? (doesn't do auto?)
X auto-gunzip on createReader()
o add auto-gunzip to loadStrings()
X others for auto-gunzip?
X do the same for createWriter() et al
X disable mipmaps in 0126
X http://dev.processing.org/bugs/show_bug.cgi?id=610
X add match() method that returns an array of matched items
0127 core
_ PGraphics problem with fillColor
_ http://dev.processing.org/bugs/show_bug.cgi?id=468
+69
View File
@@ -1,3 +1,72 @@
0126 pde
o support for hashmap<> with 1.5 syntax
o http://dev.processing.org/bugs/show_bug.cgi?id=459
X handle open/sketchbook/examples differently
X move examples folder to top-level menu
X move open menu to its own
X BGraphics, BImage, void loop() -> give an error saying it's old code
X better yet, only do this when "not found" errors come up
X need to fix changes.html because it lists out of date alpha->beta changes
X added getChild(name/path), getChildren(name/path) to xml library
o add notes about these to the reference
o needs a better example that includes subitems
X fix problem with export.txt files not working
X http://dev.processing.org/bugs/show_bug.cgi?id=625
X readStringUntil broken in net library
X http://dev.processing.org/bugs/show_bug.cgi?id=606
X add imageicon for the find dialog
X also the tools menu items and preferences
X http://dev.processing.org/bugs/show_bug.cgi?id=627
X fix problem with ctrl-, typing a comma on linux
X on linux, drag and drop didn't accept
X gets a zillion different items that come in
X http://dev.processing.org/bugs/show_bug.cgi?id=595
X show sketch folder on linux
X fix for release 0126
X add notes to the docs about how to fix if not working
X http://processing.org/reference/environment/platforms.html#linux
X adding a file to the sketch that already exists gives no confirm
X winds up showing the item twice (if .java file at least)
X (Table.pde showed twice after failed add)
X after sketch -> add file, no confirmation message is shown
o "one file added to sketch" should be more descriptive
o Added "blah.jpg" to the data folder of the sketch
multiple sketch support
X basic structural moves to handle multiple sketches
X properly mark macosx windows as modified
X frame.getRootPane().putClientProperty("windowModified", modifiedParam);
X get quit to work properly on macosx
X open new sketch windows slightly offset from the previous
o or start them in the upper-left corner of the screen?
X when quitting, save all sketch windows and their locations
X do this before checkModified, because it'll close them individually
X if quitting when zero windows are open, mark as such and use untitled
X first untitled sketch not being marked as modified
X move untitled sketches to the tmp folder
X then on save, do a save as that defaults to the sketch folder
X clean up number of new/open/close functions in editor and in base
X make sure drag and drop to open sketch is still working
o make sure double-click pde to open is launching in p5
X on first save, ask for the name of the project (with default)
X set title of window to the sketch name
X cmd-opt-r for rename, cmd-opt-n for new tab
X save/saveas should use modal dialog
X only use the bottom bar for name, rename, new tab
X remove prompt mode (yes/no/cancel) from EditorStatus
X improve speed of "new", which is calling the rebuild menus
o keep one static list of all pairs of names/files in sketchbook
X tough to do with the multiple directories/submenus
o add methods for "add" and "remove" for sketches
o also a rename method, which could just be a remove and add
X libraries and examples won't be rebuilt during the session
X editor console is broken, because re-routes System.out
X test on windows
X test on linux
X make sure quit being handled properly on windows/linux
X make clear that open() with one param should only have a single param
0125 pde
X prev/next tab conflicting with typing brackets on french macs
X http://dev.processing.org/bugs/show_bug.cgi?id=480
+1 -67
View File
@@ -1,70 +1,4 @@
0126 pde
o support for hashmap<> with 1.5 syntax
o http://dev.processing.org/bugs/show_bug.cgi?id=459
X handle open/sketchbook/examples differently
X move examples folder to top-level menu
X move open menu to its own
X BGraphics, BImage, void loop() -> give an error saying it's old code
X better yet, only do this when "not found" errors come up
X need to fix changes.html because it lists out of date alpha->beta changes
X added getChild(name/path), getChildren(name/path) to xml library
o add notes about these to the reference
o needs a better example that includes subitems
X fix problem with export.txt files not working
X http://dev.processing.org/bugs/show_bug.cgi?id=625
X readStringUntil broken in net library
X http://dev.processing.org/bugs/show_bug.cgi?id=606
X add imageicon for the find dialog
X also the tools menu items and preferences
X http://dev.processing.org/bugs/show_bug.cgi?id=627
X fix problem with ctrl-, typing a comma on linux
X on linux, drag and drop didn't accept
X gets a zillion different items that come in
X http://dev.processing.org/bugs/show_bug.cgi?id=595
X show sketch folder on linux
X fix for release 0126
X add notes to the docs about how to fix if not working
X http://processing.org/reference/environment/platforms.html#linux
X adding a file to the sketch that already exists gives no confirm
X winds up showing the item twice (if .java file at least)
X (Table.pde showed twice after failed add)
X after sketch -> add file, no confirmation message is shown
o "one file added to sketch" should be more descriptive
o Added "blah.jpg" to the data folder of the sketch
multiple sketch support
X basic structural moves to handle multiple sketches
X properly mark macosx windows as modified
X frame.getRootPane().putClientProperty("windowModified", modifiedParam);
X get quit to work properly on macosx
X open new sketch windows slightly offset from the previous
o or start them in the upper-left corner of the screen?
X when quitting, save all sketch windows and their locations
X do this before checkModified, because it'll close them individually
X if quitting when zero windows are open, mark as such and use untitled
X first untitled sketch not being marked as modified
X move untitled sketches to the tmp folder
X then on save, do a save as that defaults to the sketch folder
X clean up number of new/open/close functions in editor and in base
X make sure drag and drop to open sketch is still working
o make sure double-click pde to open is launching in p5
X on first save, ask for the name of the project (with default)
X set title of window to the sketch name
X cmd-opt-r for rename, cmd-opt-n for new tab
X save/saveas should use modal dialog
X only use the bottom bar for name, rename, new tab
X remove prompt mode (yes/no/cancel) from EditorStatus
X improve speed of "new", which is calling the rebuild menus
o keep one static list of all pairs of names/files in sketchbook
X tough to do with the multiple directories/submenus
o add methods for "add" and "remove" for sketches
o also a rename method, which could just be a remove and add
X libraries and examples won't be rebuilt during the session
X editor console is broken, because re-routes System.out
X test on windows
X test on linux
X make sure quit being handled properly on windows/linux
X make clear that open() with one param should only have a single param
0127 pde
documentation