mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
change how compiler does severe bugs
This commit is contained in:
@@ -28,11 +28,11 @@ import java.util.*;
|
||||
import java.util.zip.*;
|
||||
import javax.swing.*;
|
||||
|
||||
|
||||
public class PdeCompiler implements PdeMessageConsumer {
|
||||
static final String BUGS_URL =
|
||||
"http://Proce55ing.net/bugs/";
|
||||
static final String SUPER_BADNESS =
|
||||
"Strange error while compiling, " +
|
||||
"please send code to processing@media.mit.edu";
|
||||
"Compiler error, please submit this code to " + BUGS_URL;
|
||||
|
||||
String buildPath;
|
||||
String className;
|
||||
@@ -51,35 +51,8 @@ public class PdeCompiler implements PdeMessageConsumer {
|
||||
|
||||
|
||||
public boolean compileJava(PrintStream leechErr) {
|
||||
//System.out.println("jcp: " + System.getProperty("java.class.path"));
|
||||
//System.out.println("mrj: " + System.getProperty("com.apple.mrj.application.classpath"));
|
||||
|
||||
String userdir = System.getProperty("user.dir") + File.separator;
|
||||
|
||||
/*
|
||||
if (additional == null) {
|
||||
#ifndef MACOS
|
||||
additional = "";
|
||||
#else
|
||||
// for macosx only, doesn't work on macos9
|
||||
StringBuffer abuffer = new StringBuffer();
|
||||
|
||||
// add the build folder.. why isn't it already there?
|
||||
//abuffer.append(":" + userdir + "lib/build");
|
||||
|
||||
String list[] = new File("/System/Library/Java/Extensions").list();
|
||||
for (int i = 0; i < list.length; i++) {
|
||||
if (list[i].toLowerCase().endsWith(".jar") ||
|
||||
list[i].toLowerCase().endsWith(".zip")) {
|
||||
//abuffer.append(System.getProperty("path.separator"));
|
||||
abuffer.append(":/System/Library/Java/Extensions/" + list[i]);
|
||||
}
|
||||
}
|
||||
additional = abuffer.toString();
|
||||
#endif
|
||||
}
|
||||
*/
|
||||
|
||||
//System.out.println(userdir + "jikes");
|
||||
//System.out.println(System.getProperty("sun.boot.class.path"));
|
||||
|
||||
@@ -167,6 +140,7 @@ public class PdeCompiler implements PdeMessageConsumer {
|
||||
if (result != 0 && result != 1 ) {
|
||||
exception = new PdeException(SUPER_BADNESS);
|
||||
editor.error(exception);
|
||||
PdeBase.openURL(BUGS_URL);
|
||||
}
|
||||
|
||||
return (result == 0) ? true : false;
|
||||
|
||||
+24
-24
@@ -16,6 +16,30 @@ X size not properly detected when "size()" was the first thing
|
||||
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=BugFixes;action=display;num=1067217366;start=0
|
||||
X nasty but where System.out was being piped to System.err
|
||||
X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=BugFixes;action=display;num=1067218548;start=0
|
||||
X println() and System.out.println() from external classes has trouble
|
||||
X println() / print() not always flushing until after app quits
|
||||
X change "send to bugs@proce55ing.net" to a longer popup dialog
|
||||
X open the discourse board in another window, ask to post the code
|
||||
|
||||
X set PATH to include java (!)
|
||||
X external classes currently require expert release
|
||||
_ code written for linux, test it
|
||||
_ code written for windows, rebuild the exe and test it
|
||||
|
||||
_ update the release of jikes that's used
|
||||
X updated for macosx
|
||||
_ compile new version for linux
|
||||
_ compile new version for windows
|
||||
|
||||
_ netscape/javascript had to be included for linux and for expert
|
||||
_ add it to the cvs and the build scripts
|
||||
_ also needs to be included for 1.4 on the mac
|
||||
_ probably a good idea to include on all
|
||||
|
||||
|
||||
0068
|
||||
_ new html code for eolas patent case
|
||||
_ move html to external file in the lib folder
|
||||
|
||||
console
|
||||
dh b _ clear console each time 'run' gets hit
|
||||
@@ -28,35 +52,11 @@ bf b _ set decent fonts (probably same as editor above), looks bad on mac
|
||||
bf b _ console runs really really slow with a lot of println() calls
|
||||
bf b _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1064182823
|
||||
|
||||
|
||||
_ new html code for eolas patent case
|
||||
_ move html to external file in the lib folder
|
||||
|
||||
_ netscape/javascript had to be included for linux and for expert
|
||||
_ add it to the cvs and the build scripts
|
||||
_ also needs to be included for 1.4 on the mac
|
||||
|
||||
_ BImage.smooth() ?
|
||||
_ mouse wheel not working on macosx, need to dynamically load 1.4 code
|
||||
_ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1065826758;start=0
|
||||
_ simong interested in helping
|
||||
|
||||
X set PATH to include java (!)
|
||||
X external classes currently require expert release
|
||||
_ code written for linux, test it
|
||||
_ code written for windows, rebuild the exe and test it
|
||||
|
||||
_ update the release of jikes that's used
|
||||
X updated for macosx
|
||||
_ compile new version for linux
|
||||
_ compile new version for windows
|
||||
|
||||
_ println() and System.out.println() from external classes has trouble
|
||||
_ println() / print() not always flushing until after app quits
|
||||
|
||||
_ change "send to bugs@proce55ing.net" to a longer popup dialog
|
||||
_ open the discourse board in another window, ask to post the code
|
||||
|
||||
_ find/replace.. when hitting 'find', select the text in the field
|
||||
_ give that field focus explicitly, rather than just for typing
|
||||
_ right now, typing works, but no caret, no blue highlight
|
||||
|
||||
Reference in New Issue
Block a user