last bits for 57

This commit is contained in:
benfry
2003-08-05 16:04:59 +00:00
parent ca0739e65d
commit 5bbad77897
3 changed files with 201 additions and 17 deletions
+11 -4
View File
@@ -249,10 +249,17 @@ com.apple.mrj.application.JVMVersion=1.3.1
and add a # in front of this line:
com.apple.mrj.application.JVMVersion=1.3+
in order to use the serial port under macosx, you'll need to install
RXTX, the serial port driver. this is for more advanced users, and
the package is included with the p5 download. it includes its own
instructions, check inside the 'serial' folder for details.
serial port.. we use rxtx (version 2.1_6) to handle serial i/o, which
is included with the processing release. unlike previous releases
(anything before 57), it no longer requires separate installation.
however, if this is the first time you're using rxtx, you'll need to
run serial_setup.command (double-click it and follow the instructions)
to make sure that things are properly set up (a few permissions
need to be changed). if you're getting a "serial port is already in
use by another application" it's possible that you haven't run this
script. you may also need to reboot after running the script. on my
machine, i installed the keyspan driver for my usb-serial converter,
ran the script, and then rebooted in order for things to work.
naming of sketches.. on other platforms, you aren't allowed to type
characters besides letters, numbers, and underscores for the names of
+167
View File
@@ -4,6 +4,173 @@ for older releases will be super crusty. caution: the beverage you're
about to enjoy is extremely hot.
ABOUT REV 0057 - 5 august 2003
[ additions ]
- an all-new compiler (jikes) has been wired in by dan mosedale. this
is super exciting, because of all the compiler trouble we've had in
the past. thanks to ivrea for providing funding for dan.
- a scrolling, selectable console has been implemented by dan
haskovec, another of our ivrea-funded hackers.
- context menu cut/copy/paste (right-click in the text area) also
implemented by dan h.
- saveBytes and saveStrings now implemented (and documented in the
reference)
- curveMode(int segments) and bezierMode(int segments) now
implemented. these control the number of line segments used to draw
a curve. the default has always been 20, but you now have the option
to set it higher or lower.
- there's also curveMode(int segments, float squishy) determines the
squishiness when drawing catmull-rom curves. normally this is set to
zero, but setting different values will produce more bubbley curves
that don't necessarily connect all the points.
- a new function has been added to calculate points along a bezier
curve, rather than just drawing it. so for the old function:
bezier(x1, y1, x2, y2, x3, y3, x4, y4);
if you wanted to draw 10 segments along it:
beginShape(LINE_STRIP);
for (int i = 0; i <= 10; i++) {
float t = i / 10.0; // t should go from 0..1 along the curve
float x = bezier(x1, x2, x3, x4, t); // get the x coordinate
float y = bezier(y1, y2, y3, y4, t); // get the y coordinate
vertex(x, y);
}
endShape();
this was also asked for/inquired about in the following bboard posts:
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1053449577
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1057393989
the same syntax also works for curve() in addition to bezier().
- functions have been added to set the cursor, based on code
contributed by amit pitaru (thanks amit!) usage is in the reference.
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1059485109
[ updates ]
- 'export' now exports and links the .pde file instead of the .java
file, and links that from the web page that is produced
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1046250912
- sound actually stops when the 'stop' button is hit.
- video, net, and sound all work more than once, no longer requiring
you to quit processing to run a video/net/sound example again.
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1055044714
- syntax and examples for video have been sorted out.
- modified millis() to always return useful values
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1058465635
- last-used serial port is saved when quitting the environment
- changed more things from "Proce55ing" to "Processing", since the
other naming was confusing lots of people. let us know if there are
parts we've missed.
[ bug fixes ]
- long bezier curves are finally fixed
- got rid of a semi-frequent ArrayIndexOutOfBoundsException when
smooth() was enabled and images were involved
[ known issues / bugs ]
- 'export to application' remains unimplemented, though it's closer,
and should be ready in 58 or 59.
- 'preferences' will get better in a future release
- the noise() functions were added, but don't yet work, they'll be
fixed for 58.
- macosx hangs randomly, though not consistently enough to figure out
what's going on.
- on some machines, presentation mode seems to have become unusable,
this will be fixed in 58.
- the horizontal scroller for the text area has some weirdness, this
may not be fixed until after beta, depending on how bad it is.
- using screenGrab() or saveBytes() or some of those things will cause
trouble inside applets. in 58, we'll try to do better error trapping
so that your applet doesn't crash when this happens.
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1059928189;start=0
[ windows ]
- windows uses java 1.4.2. in general, this is better, except for
problems with generating some kinds of audio. if you're having audio
trouble, then install java 1.4.1, and remove the 'java' folder from
the processing distribution to use it.
- differences between the 'expert' and normal releases for windows
have been minimized significantly. as long as you have a jvm
installed (1.4 strongly preferred), you may as well use the expert
version.
- serial port has been improved, and requires no additional
installation steps, even for the 'exper't release.
- slightly better processing.exe for windows
- background of menus is no longer white, apparently it was a jvm
problem, and it's fixed in 1.4.2.
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1051303115
[ mac os x ]
- macosx updated to use java 1.4. similar to the pc, this is better
but not always. if you're having trouble, check the instructions in
readme.txt to see switch it back to 1.3 (which was the default for
the previous release)
- reference loading and opening the p5 site finally works
- fixed the menus to make them more mac-like. added help menu, removed
the extra 'quit' menu from 'file', etc.
- the serial port has been ironed out, and requires no longer requires
additional installation, although you do need to double-click the
serial_setup.command script to set up some permissions (unless
you've installed rxtx 2.1_6 already.. if you don't know what that
means, run the script). more information in readme.txt. thanks to
tom igoe for input and heckling to get this to work.
[ mac os 9 ]
- macos9 support is in the freezer until after beta. we still want to
support macos9, but it was taking too much of our time as we're on a
strict september deadline for the beta release.
[ phew ]
- that's a lotta stuff
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABOUT REV 0056 - 3 july 2003
[ shouting outwards ]
+23 -13
View File
@@ -18,7 +18,7 @@ X modify build/dist to use processing.exe
X upgrade windows to jre 1.4.2
X ask on bboard about macosx 1.3 vs 1.4 experiences
X modified millis() to always update
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1058465635;start=
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1058465635;start=
X decision to pull macos9 support
X look into macos9 version of javac
X get proper tab comments into source files
@@ -213,6 +213,7 @@ X macosx has update weirdness for non JComponent items
X actually it's weirdness *with* JComponent items
X http://java.sun.com/docs/books/tutorial/uiswing/painting/overview.html
X probably why end of text messages under osx getting chopped?
X fix compression artifacts on about.jpg
..................................................................
@@ -221,16 +222,20 @@ X probably why end of text messages under osx getting chopped?
BEN'S PILE OF NEAR-IMMEDIACY (assume there's a bf next to all these)
_ write readme.txt and revisions.txt
_ windows: audio is broken, use jdk 1.4.1 if you need audio
_ preferences will get better in a future release
_ export to application is not yet implemented
_ catch security exceptions around applet i/o calls
X write readme.txt and revisions.txt
X windows: audio is broken, use jdk 1.4.1 if you need audio
X preferences will get better in a future release
X export to application is not yet implemented
X catch security exceptions around applet i/o calls
X serial on macosx
X run serial.command (modify dist to chmod +x)
X otherwise it will complain that the port is in use by another app
X write notes in readme about using serial on osx (may need to restart)
macosx
_ test to make sure that serial is working
_ make .command file to set serial permissions
X test to make sure that serial is working
X make .command file to set serial permissions
windows
@@ -251,14 +256,21 @@ _ test rxtx on linux with sun vm
0058
_ see if mods to PdeCompiler work on windows
_ first row of video pixels are black
_ casey says it may only be his camera
_ video.pixels don't seem to have high bytes set
_ so fill(video.pixels[blah]) doesn't work
_ test against 'pixels' example
_ some flag to know whether applet is online or not
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1051758365;start=0
_ fix link, loadStrings, saveBytes code once that's fixed
_ set a better ctrl-key for reference (anything but 'F')
_ probably need to use mac or pc specific keys?
_ catch security exceptions around applet i/o calls
_ not just for saving files, but provide better error msgs when
_ attempting to download from another server
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1059928189;start=0
java.security.AccessControlException: access denied (java.io.FilePermission screen-0000.tif read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
@@ -299,6 +311,7 @@ bf b o what's with the 2 blank lines on startup?
macosx
_ random lockups seem common
_ test more to see if runtime exceptions are coming through
_ track down error in PdeCompiler for message parsing
_ was missing the error about a package being gone
@@ -338,9 +351,6 @@ bf _ screen may be 400x400 pixels, but file be 36x36"
bf _ opengl export / rendering mode
bf _ currently implemented, but somewhat broken
bf _ finish this once all the line code is done
bf _ some flag to know whether applet is online or not
bf _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1051758365;start=0
bf _ fix link, loadStrings, saveBytes code once that's fixed
bf _ if sketchbook.dir is set, makes new sketchbook folder
bf _ reads sketchbook properly from other folder
bf _ but creates a new folder for new sketches to go into