fix for calc folder size goodness

This commit is contained in:
benfry
2004-07-12 22:15:04 +00:00
parent a90ed095c3
commit e9436e24d4
2 changed files with 7 additions and 5 deletions

View File

@@ -985,7 +985,8 @@ public class PdeSketch {
}
// if 'data' folder is large, set to external runtime
if (PdeBase.calcFolderSize(dataFolder) > 768 * 1024) { // if > 768k
if (dataFolder.exists() &&
PdeBase.calcFolderSize(dataFolder) > 768 * 1024) { // if > 768k
externalRuntime = true;
}

View File

@@ -1,7 +1,8 @@
0070 pde
X run java mode when large 'data' folder is in use
X http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081542378
_ run java mode when large 'data' folder is in use
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1081542378
_ line fade out gradient bug.. is this an easy fix?
_ "save as" needs to update the editorheader
@@ -17,11 +18,11 @@ _ iterate through the 'library' folders
_ 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
_ simong: request a preloop and postloop call for libraries
_ this would avoid having to patch BApplet
_ libraries: static and non-static init for libs
_ final stop() for static shutdown of lib
_ but also potential stop() for individual items
_ simong: request a preloop and postloop call for libraries
_ this would avoid having to patch BApplet
_ where do libraries for distribution go?
_ libraries subfolder of p5? or inside examples?
_ String in apache classes and java.lang