mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
X don't throw exceptions for serial on startup if no serial available?
o gets upset on osx if rxtx not installed during menu building X actually, it just throws UnsatisfiedLinkError X make a note in the readme, particularly wrt macos X readme additions X size() and background() need regular nums, no vars X hidden features/niceties X click sketch title to rename X mention shift-run for present mode X known issues X macos sketch window resizing strangely X win95/98/me version acts poorly or doesn't run X as approaches 1000 lines, editorconsole has arrayindexoutof bounds
This commit is contained in:
@@ -538,6 +538,7 @@ public class PdeBase implements ActionListener {
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
System.out.println("exception building serial menu");
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -218,7 +218,7 @@ public class PdeEditorConsole extends Component {
|
||||
//int ii = (firstLine + i) % maxLineCount;
|
||||
int ii = (firstLine + i) + scrollOffset;
|
||||
while (ii < 0) ii += maxLineCount;
|
||||
if (ii > maxLineCount) ii = ii % maxLineCount;
|
||||
if (ii >= maxLineCount) ii = ii % maxLineCount;
|
||||
|
||||
g.setColor(isError[ii] ? fgColorErr : fgColorOut);
|
||||
//System.out.println(leading);
|
||||
|
||||
+66
-5
@@ -58,8 +58,11 @@ I FOUND A BUG!
|
||||
|
||||
we prefer to call them "issues."
|
||||
|
||||
first, be sure to check under the notes for your specific platform to
|
||||
make sure it isn't a known issue or that there isn't a simple fix.
|
||||
|
||||
you can either post to the bulletin board at:
|
||||
http://www.proce55ing.net/discourse/
|
||||
http://proce55ing.net/discourse/
|
||||
or send email to bugs@proce55ing.net. the bboard is probably the
|
||||
better way to go, because more people will be watching it. the email
|
||||
goes straight to the developers, but their schedules are erratic and
|
||||
@@ -77,20 +80,47 @@ when reporting this "bug" please include information about
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
GENERAL NOTES / COMMON MISTAKES
|
||||
|
||||
- size() must use numbers, not variables. this is because of how
|
||||
the size command is interpreted by proce55ing.
|
||||
|
||||
- when using draw() mode, background() must also use only numbers, and
|
||||
no variables. this is similar to the issue with the size command,
|
||||
because in both cases, Proce55ing needs to know the size and
|
||||
background color of the app before it starts, so since variables
|
||||
are determined while the program is running, things break.
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
GOODIES & SEMI-HIDDEN FEATURES
|
||||
|
||||
- shift-click on the 'run' button to go straight to 'present' mode
|
||||
|
||||
- for quick renaming, just click on the sketch title
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
PLATFORMS
|
||||
|
||||
the processing development environment runs best on:
|
||||
|
||||
1. windows
|
||||
1. windows 2000/XP
|
||||
2. mac os x
|
||||
3. linux
|
||||
4. mac os 9
|
||||
5. windows 95/98/ME
|
||||
|
||||
our priority for how well the beast runs looks like:
|
||||
|
||||
1. windows & mac os x (tied for first)
|
||||
2. mac os 9
|
||||
3. linux
|
||||
3. mac os 9
|
||||
4. windows 95/98/ME (because we must)
|
||||
5. linux
|
||||
|
||||
windows is the superior platform for running java applications. it's
|
||||
not because we like windows the best, so sorry to the zealots in all
|
||||
@@ -106,6 +136,11 @@ to keep supporting it for the meantime. the guess is that a lot of
|
||||
schools are still using it in their labs, and since schools are a
|
||||
significant target for the environment, we gotta play along.
|
||||
|
||||
windows 95/98/ME is a piece of crap, but since lots of people (are
|
||||
often forced to) use it, we'll try and support. early alpha versions
|
||||
seem to be having trouble with 95/98/ME, but it'll run better in the
|
||||
future.
|
||||
|
||||
for the linux version, you guys can support yourselves. if you're
|
||||
enough of a hacker weenie to get a linux box setup, you oughta know
|
||||
what's going on. for lack of time, we won't be testing extensively
|
||||
@@ -136,6 +171,18 @@ vm with text areas, so as a result, the arrow keys won't work in the
|
||||
editor. we think this really stinks and are searching for options for
|
||||
a (near?) future release.
|
||||
|
||||
"Caught java.lang.UnsatisfiedLinkError" on startup...
|
||||
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, and includes its own
|
||||
instructions.
|
||||
|
||||
resizing windows.. there's some weirdness with resizing windows under
|
||||
osx due to apple's strangely strict interpretation of the java api
|
||||
spec. sometimes windows can only get larger but not smaller, or become
|
||||
constrained in a particular direction. this will be repaired in the
|
||||
future.
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
@@ -156,6 +203,16 @@ versions: this version has only been tested under Mac OS 9.2.2.
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
WINDOWS
|
||||
|
||||
win2k works well, reports point to xp working well also. win95/98/me
|
||||
seems to have lots of trouble, but it's just with the .exe that we
|
||||
use, so that'll get fixed in the future.
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
WHAT IS SKETCHBOOK?
|
||||
|
||||
we think most "integrated development environments" (microsoft visual
|
||||
@@ -177,6 +234,10 @@ if you want to use external files, like images or text files
|
||||
or fonts, they should be placed in a folder called 'data' inside:
|
||||
sketchbook -> default -> SKETCH_NAME
|
||||
|
||||
starting with version 44, there are several functions that make
|
||||
dealing with data in files much easier (loadFile, loadStrings,
|
||||
splitStrings, etc) so file i/o should be fun!
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
@@ -192,7 +253,7 @@ the windows version works well, much better than in previous releases.
|
||||
on macos9, works fairly well with my keyspan usb/serial adapter. thank
|
||||
god for patrick beard and jdirect.
|
||||
|
||||
on macosx, need rxtx to be installed (dmg included with p5 download),
|
||||
on macosx, need rxtx to be installed (pkg included with p5 download),
|
||||
follow their bizarre instructions. on my machine, i'm using a keyspan
|
||||
28X dual port adapter, and the selection i use on the serial port menu
|
||||
reads "/dev/cu.USA28X21P1.1". your mileage may vary.
|
||||
|
||||
@@ -53,10 +53,15 @@ ABOUT REV 0044
|
||||
|
||||
[ bug fixes ]
|
||||
|
||||
- sketch windows won't pop up offscreen anymore.. and if a sketch
|
||||
window is too large, it will simply center on-screen.
|
||||
|
||||
- names with underscores and other illegal characters weren't being
|
||||
restrained. this allowed / and : to be used when renaming/saving
|
||||
sketches, which caused the app to blow up.
|
||||
|
||||
- console window doesn't die as it approaches 1000 lines of text
|
||||
|
||||
|
||||
ABOUT REV 0043 - "ALPHA" - 2 august 2002
|
||||
|
||||
|
||||
@@ -15,6 +15,24 @@ X for now, disallow the / or : characters
|
||||
X there was a bug that required a noop() b/c of jikes or 1.3 problems
|
||||
X is problem w/ beautify that it has no menu event handler?
|
||||
X write event handler, and make sure it doesn't work for external ed
|
||||
X don't popup offscreen if editor window is way left.
|
||||
X just make sure the x coord > 10 or so (if not presenting)
|
||||
X if so, pop up window 50, 50 from upper left corner
|
||||
X if it still won't fit, center the window on screen
|
||||
X don't throw exceptions for serial on startup if no serial available?
|
||||
o gets upset on osx if rxtx not installed during menu building
|
||||
X actually, it just throws UnsatisfiedLinkError
|
||||
X make a note in the readme, particularly wrt macos
|
||||
X readme additions
|
||||
X size() and background() need regular nums, no vars
|
||||
X hidden features/niceties
|
||||
X click sketch title to rename
|
||||
X mention shift-run for present mode
|
||||
X known issues
|
||||
X macos sketch window resizing strangely
|
||||
X win95/98/me version acts poorly or doesn't run
|
||||
X as approaches 1000 lines, editorconsole has arrayindexoutof bounds
|
||||
|
||||
|
||||
bagel
|
||||
_ need to finish fill mode of flat circle function
|
||||
@@ -22,30 +40,9 @@ _ 'image' is too generic a variable to have inside BApplet
|
||||
_ check for others that shouldn't be used
|
||||
|
||||
pde
|
||||
44 _ don't popup offscreen if editor window is way left.
|
||||
44 _ just make sure the x coord > 10 or so (if not presenting)
|
||||
44 _ if so, pop up window 50, 50 from upper left corner
|
||||
44 _ if it still won't fit, center the window on screen
|
||||
44 _ don't throw exceptions for serial on startup if no serial available?
|
||||
44 _ gets upset on osx if rxtx not installed during menu building
|
||||
44 _ as approaches 1000 lines, editorconsole has arrayindexoutof bounds
|
||||
int a;
|
||||
void loop()
|
||||
{
|
||||
a++;
|
||||
println(a);
|
||||
}
|
||||
_ locking up on run (under win2k? others?)
|
||||
_ rare but present, every 100th time or so
|
||||
|
||||
readme
|
||||
44 _ size() and background() need regular nums, no vars
|
||||
44 _ hidden features/niceties
|
||||
44 _ click sketch title to rename
|
||||
44 _ mention shift-run for present mode
|
||||
44 _ known issues
|
||||
44 _ macos sketch window resizing strangely
|
||||
44 _ win95/98/me version acts poorly or doesn't run
|
||||
|
||||
windows
|
||||
44 _ use self-extractor and make sure no 8.3 filenames
|
||||
@@ -58,6 +55,7 @@ macos
|
||||
44 _ file names with a space get "_ " instead of a space ?
|
||||
|
||||
macosx
|
||||
44 _ make default font size for editor the next size smaller
|
||||
44 _ include instructions for rxtx or the install itself
|
||||
44 _ just include the .pkg, since causing exceptions now
|
||||
44 _ use a .dmg to distribute
|
||||
|
||||
Reference in New Issue
Block a user