mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 18:35:37 +01:00
fix jnilib stuff for rev 67
This commit is contained in:
@@ -773,9 +773,17 @@ public class PdeEditor extends JPanel {
|
||||
externalPaths;
|
||||
}
|
||||
|
||||
// get a useful folder name for the 'code' folder
|
||||
// so that it can be included in the java.library.path
|
||||
String codeFolderPath = "";
|
||||
if (externalCode != null) {
|
||||
codeFolderPath = externalCode.getCanonicalPath();
|
||||
}
|
||||
|
||||
// create a runtime object
|
||||
runtime = new PdeRuntime(this, className,
|
||||
externalRuntime, externalPaths);
|
||||
externalRuntime,
|
||||
codeFolderPath, externalPaths);
|
||||
|
||||
// if programType is ADVANCED
|
||||
// or the code/ folder is not empty -> or just exists (simpler)
|
||||
|
||||
@@ -50,15 +50,18 @@ public class PdeRuntime implements PdeMessageConsumer {
|
||||
Process process;
|
||||
OutputStream processOutput;
|
||||
boolean externalRuntime;
|
||||
String codeFolderPath;
|
||||
String externalPaths;
|
||||
|
||||
|
||||
public PdeRuntime(PdeEditor editor, String className,
|
||||
boolean externalRuntime, String externalPaths) {
|
||||
boolean externalRuntime,
|
||||
String codeFolderPath, String externalPaths) {
|
||||
this.editor = editor;
|
||||
this.className = className;
|
||||
|
||||
this.externalRuntime = externalRuntime;
|
||||
this.codeFolderPath = codeFolderPath;
|
||||
this.externalPaths = externalPaths;
|
||||
}
|
||||
|
||||
@@ -94,7 +97,7 @@ public class PdeRuntime implements PdeMessageConsumer {
|
||||
}
|
||||
*/
|
||||
} catch (Exception e) {
|
||||
System.err.println("PdeSystemOutSiphon error " + e);
|
||||
System.err.println("SystemOutSiphon error " + e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
@@ -115,7 +118,8 @@ public class PdeRuntime implements PdeMessageConsumer {
|
||||
try {
|
||||
if (externalRuntime) {
|
||||
String command[] = new String[] {
|
||||
"java",
|
||||
"java",
|
||||
"-Djava.library.path=" + codeFolderPath,
|
||||
"-cp",
|
||||
externalPaths,
|
||||
"BApplet",
|
||||
|
||||
@@ -30,6 +30,14 @@ changed in the future, but for now, they're not actually 'broken'.
|
||||
|
||||
- 'preferences' will get better in a future release
|
||||
|
||||
- the error message:
|
||||
## Component Manager: attempting to find symbols in a component
|
||||
alias of type (regR/carP/x!bt)
|
||||
is not something from processing, it is a bug in toast 5.2's video
|
||||
cd support extension. to suppress the messages, move "Toast Video CD
|
||||
Support.qtx" out of /Library/QuickTime (at least until you need to
|
||||
do video cd work).
|
||||
|
||||
|
||||
..................................................................
|
||||
|
||||
@@ -59,27 +67,21 @@ QUICKTIME FOR JAVA / VIDEO PROBLEMS
|
||||
|
||||
|
||||
KNOWN BUGS
|
||||
the real deal, keeping us awake at night
|
||||
the real deal, keeping us awake at night.. this is only a partial
|
||||
list, see the bboard for more, and inside ben's head for others.
|
||||
|
||||
|
||||
- haven't yet modified the default html to make changes for the eolas
|
||||
case. we have the code (thanks to toxi) but it won't be in until 67.
|
||||
case. we have the code (thanks to toxi), but i haven't gotten it in
|
||||
there yet.
|
||||
|
||||
- beautify doesn't retain the *exact* position of the caret within the
|
||||
text.
|
||||
|
||||
- beautify has problems with indenting when lines with a brace are
|
||||
commented out, or with switch statements.
|
||||
commented out, and also ignores switch statements.
|
||||
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1067309918;start=0
|
||||
|
||||
- .dll and .jnilib files only work if they're in the same folder as
|
||||
the processing app. in the future, they will run properly just from
|
||||
within your 'code' folder.
|
||||
|
||||
- java mode in rev 63 and higher only works if you have java available
|
||||
in your path--meaning that you've installed it yourself under
|
||||
windows or linux, or this will always be the case for macosx.
|
||||
|
||||
- network examples haven't been updated for the latest api, so they
|
||||
will likely break in releases 60 and higher.
|
||||
|
||||
@@ -135,10 +137,6 @@ the real deal, keeping us awake at night
|
||||
- net needs work, it's currently sending unicode, instead of ascii or
|
||||
UTF-8, data. this can cause problems with other programs.
|
||||
|
||||
- run.bat hasn't been given love for a while and may not work. at the
|
||||
very least, you'll need to modify it to find your copy of quicktime
|
||||
for java.
|
||||
|
||||
- sound doesn't always stop when the 'stop' button is hit (i.e. the
|
||||
mixer example seems broken). for now, you have to first quit
|
||||
processing to stop it.
|
||||
|
||||
@@ -6,16 +6,17 @@ about to enjoy is extremely hot.
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
ABOUT REV 0067 - 27 october 2003
|
||||
ABOUT REV 0067 - 28 october 2003
|
||||
|
||||
another bug fix release. medium importance, this release..
|
||||
another bug fix release. high importance for people using 'java'
|
||||
mode, or external libraries (like amit's jsyn stuff), or of medium
|
||||
importance for everyone else.
|
||||
|
||||
|
||||
[ bug fixes ]
|
||||
|
||||
- actually set the correct version number for the about dialog. also
|
||||
added code to prevent the wrong release number from being used on a
|
||||
release.
|
||||
- set the correct version number for the about dialog. also added code
|
||||
to prevent the wrong release number from being used on a release.
|
||||
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=BugFixes;action=display;num=1067135202;start=0
|
||||
|
||||
- fixed IllegalArgumentException when using run.bat or run-expert.bat
|
||||
@@ -27,12 +28,50 @@ another bug fix release. medium importance, this release..
|
||||
- updated to a new version of jikes, the compiler that's used behind
|
||||
the scenes. fixes a couple issues where code wouldn't compile.
|
||||
|
||||
- save/saveFrame was super-slow, especially on macosx, where times for
|
||||
a 640x480 image could easily approach a full minute. things have
|
||||
been sped up way more better.
|
||||
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=BugFixes;action=display;num=1067135103;start=0
|
||||
|
||||
- size not properly detected during export when "size()" was the first
|
||||
thing in a program. now fixed.
|
||||
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=BugFixes;action=display;num=1067217366;start=0
|
||||
|
||||
|
||||
[ bug fixes for java mode ]
|
||||
|
||||
- native libraries (.dll, .jnilib, or .so files) can be dropped
|
||||
into the 'code' folder of your sketch. this didn't work in the past,
|
||||
but is now much simpler.
|
||||
|
||||
- println() wasn't working properly from java mode classes, and
|
||||
sometimes caused applications to die. no more.
|
||||
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=BugFixes;action=display;num=1067218548;start=0
|
||||
|
||||
- you no longer need to have java installed (i.e. the expert version)
|
||||
to use java mode. so the following entry has been removed from
|
||||
bugs.txt: "java mode in rev 63 and higher only works if you have
|
||||
java available in your path--meaning that you've installed it
|
||||
yourself under windows or linux, or this will always be the case
|
||||
for macosx."
|
||||
|
||||
- fixed a problem with multiple jar files
|
||||
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=BugFixes;action=display;num=1067359364;start=0
|
||||
|
||||
|
||||
[ changes ]
|
||||
|
||||
- apple has updated quicktime for java on the mac for 6.4
|
||||
http://proce55ing.net/discourse/yabb/YaBB.cgi?board=BugFixes;action=display;num=1067135162;start=0
|
||||
|
||||
- on compiler errors, instead of the message saying "send to
|
||||
bugs@proce55ing.net" instead it asks to use the discourse section of
|
||||
the site, and automatically opens that page in a web browser.
|
||||
|
||||
- netscape.javascript is now included in the lib/ folder. seems that
|
||||
not all jvm distributions include it, so just easier to include our
|
||||
own copy.
|
||||
|
||||
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
9
todo.txt
9
todo.txt
@@ -32,15 +32,18 @@ X netscape/javascript had to be included for linux and for expert
|
||||
X add it to the cvs and the build scripts
|
||||
X also needs to be included for 1.4 on the mac
|
||||
X probably a good idea to include on all
|
||||
|
||||
_ multiple jar export is broken
|
||||
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1067307030;start=0
|
||||
X multiple jar export is broken
|
||||
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1067307030;start=0
|
||||
|
||||
|
||||
0068
|
||||
_ new html code for eolas patent case
|
||||
_ move html to external file in the lib folder
|
||||
|
||||
_ jikes errors have no newlines because it's a buffered reader
|
||||
_ and the newlines are removed when read
|
||||
|
||||
|
||||
console
|
||||
dh b _ clear console each time 'run' gets hit
|
||||
dh b _ don't actually clear, just advance by the number of lines visible
|
||||
|
||||
Reference in New Issue
Block a user