diff --git a/app/PdeBase.java b/app/PdeBase.java index 27fc17c34..8f380aa8e 100644 --- a/app/PdeBase.java +++ b/app/PdeBase.java @@ -281,15 +281,34 @@ public class PdeBase extends Frame "http://www.apple.com/quicktime/download\n" + "and use the 'Custom' install to make sure\n" + "that QuickTime for Java is included.\n" + - "If it's already installed, try reinstalling."; + "If it's already installed, try reinstalling\n" + + "or read bugs.txt for other possible remedies."; JOptionPane.showMessageDialog(this, message, "Could not find QuickTime for Java", JOptionPane.WARNING_MESSAGE); System.exit(1); // can't run without quicktime } - } + } else if (platform == MACOSX) { + try { + Class c = Class.forName("quicktime.std.StdQTConstants"); + + } catch (ClassNotFoundException e) { + e.printStackTrace(); + + final String message = + "Could not load QuickTime for Java. This probably means\n" + + "that you've installed QuickTime 6.4, in which Apple has\n" + + "neglected to include QuickTime for Java. More information\n" + + "and a (temporary) fix can be found in bugs.txt."; + + JOptionPane.showMessageDialog(this, message, + "This headache's for you, big Steve", + JOptionPane.WARNING_MESSAGE); + System.exit(1); // can't run without quicktime + } + } // read in the keywords for the reference diff --git a/build/shared/bugs.txt b/build/shared/bugs.txt index 8de0e3e39..6b13d1466 100644 --- a/build/shared/bugs.txt +++ b/build/shared/bugs.txt @@ -23,11 +23,42 @@ changed in the future, but for now, they're not actually 'broken'. - 'preferences' will get better in a future release + +.................................................................. + + +QUICKTIME FOR JAVA PROBLEMS + - quicktime for java is still required on windows. it's required on macosx too, but it's installed there by default. the requirement will be removed in a later release for people who don't want to use video, but the fix is more difficult than anticipated, so it will - probably happen after the initial beta release. + probably happen after the initial beta release. + +- on windows, if you can't install quicktime for java yourself, all + you really need is a copy of QTJava.zip from the quicktime install, + which needs to be at %WINDIR%\system32\QTJava.zip. WINDIR is an + environment variable on windows, open up a DOS prompt and type + echo %WINDIR% + to find out what it's set to (prolly something like C:\windows on + windows xp/me/98 or c:\winnt on windows 2000). + +- quicktime for java is missing from quicktime 6.4 on the mac. this is + the version of quicktime that was released with the windows version + of itunes and all that other bunk. it's apple's fault, unfortunately: + http://docs.info.apple.com/article.html?artnum=93414&sessionID=anonymous%7C26893096&kbhost=kbase.info.apple.com%3a80%2f + you can download a reinstaller for quicktime 6.3 if the upgrade is + making you sad and has just broken all your applets: + http://docs.info.apple.com/article.html?artnum=120255 + the discovery and diagnosis of this particular headache comes from + Jerronimo: http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1066358763 + +- for the mac, a workaround for the 6.4 bug if you don't actually + need to use video, is to put a copy of QTJava.zip into + /System/Library/Java/Extensions, which is where it's normally + installed (you'll have to use 'sudo' to move it in there). + this will pacify Processing and at least allow you to run programs + until apple has released a fix. .................................................................. diff --git a/todo.txt b/todo.txt index ed32c612a..42a396fcb 100644 --- a/todo.txt +++ b/todo.txt @@ -40,6 +40,11 @@ X help->reference and find in reference don't work on some machines X complaints from osx and windows.. X after hitting replace, dim the replace button X otherwise it causes another replace to happen +X quicktime 6.4 update breaks p5 on the mac? +X http://docs.info.apple.com/article.html?artnum=93414&sessionID=anonymous%7C26893096&kbhost=kbase.info.apple.com%3a80%2f +X "Type quicktime.std.stdQTConstants was not found" +X http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1066358763 +X http://docs.info.apple.com/article.html?artnum=120255 _ new html code for eolas patent case _ move html to external file in the lib folder @@ -47,6 +52,7 @@ _ move html to external file in the lib folder _ included code is not packaged in the outgoing jar file on export _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1066008067;start=0 + ................ // Rect is not getting it's stroke color set @@ -75,6 +81,8 @@ _ 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 +_ set PATH to include java (!) +_ external classes currently require expert release _ find/replace.. when hitting 'find', select the text in the field _ give that field focus explicitly, rather than just for typing @@ -86,22 +94,22 @@ _ dll and jnilib files have to be in the p5 folder (confirmed by amit) _ there should be other places that they work.. _ could even copy the dll to the p5 folder from the code folder -_ text(String.valueOf(i+1), left + i*20, top); -_ unexpected token "String" - _ it's possible to write non-1.1 code, even syntax _ would -source 1.1 help this? _ 'final int' needs to be 'static final int' in 1.1 -post-beta -_ get rid of 'data' folder if not used? -_ auto-create code and data folder when doing the 'add files to sketch..' + +PREPROC +_ text(String.valueOf(i+1), left + i*20, top); +_ unexpected token "String" lotsa video issues _ quicktime 6.4 update breaks p5 on the mac? +_ http://docs.info.apple.com/article.html?artnum=93414&sessionID=anonymous%7C26893096&kbhost=kbase.info.apple.com%3a80%2f _ "Type quicktime.std.stdQTConstants was not found" _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1066358763 +_ http://docs.info.apple.com/article.html?artnum=120255 _ split classes to BVideo and BMovie ? _ things will freeze if winvdig not installed _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1065185464 @@ -136,7 +144,6 @@ _ set default framerate of 24? 30? 2x that? MEDIUM -_ set PATH to include java (!) _ jikes errors are missing newline/linefeed ? _ using run-expert.bat on 62 causes NullPointerException weirdness (?) _ network/shared_canvas, network/value has old code @@ -701,6 +708,9 @@ dh 1 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software dh 1 _ rename doesn't set focus to renamer area 1 _ under windows, immediately typing after rename doesn't select it + 1 _ get rid of 'data' folder if not used? + 1 _ auto-create code and data folder + 1 _ when doing the 'add files to sketch..' 1 _ don't cache stuff from loadStrings and others 1 _ mac java vm won't give up old version of file 1 _ or use setUseCaches(false)