From a4c1ff30e0004b2338c52d27d89e644b96f125bd Mon Sep 17 00:00:00 2001 From: benfry Date: Sun, 26 Sep 2004 23:09:31 +0000 Subject: [PATCH] working on finishing up libs --- build/windows/dist.sh | 16 ++++++++++------ core/PImage.java | 4 ++-- core/todo.txt | 12 ++++++------ todo.txt | 29 +++++++++++++++-------------- 4 files changed, 33 insertions(+), 28 deletions(-) diff --git a/build/windows/dist.sh b/build/windows/dist.sh index 925604f2a..0a75f5b00 100755 --- a/build/windows/dist.sh +++ b/build/windows/dist.sh @@ -18,8 +18,8 @@ rm -rf processing/lib/CVS #rm -rf processing/lib/netscape/CVS #rm -rf processing/lib/netscape/javascript/CVS #rm -rf processing/fonts/CVS -rm -rf processing/reference/CVS -rm -rf processing/reference/images/CVS +#rm -rf processing/reference/CVS +#rm -rf processing/reference/images/CVS #rm -rf processing/sketchbook/CVS #rm -rf processing/sketchbook/default/CVS #rm -f processing/sketchbook/default/.cvsignore @@ -78,6 +78,14 @@ unix2dos processing/lib/preferences.txt 2> /dev/null unix2dos processing/lib/keywords.txt 2> /dev/null #unix2dos processing/lib/pde_windows.properties 2> /dev/null + +# something like the following might be better: +# find / -name "*.mp3" -exec rm -f {}\; +# and same for cvsignore, ~ files, .DS_Store +find processing -name "*~" -exec rm -f {} ';' +find processing -name ".DS_Store" -exec rm -f {} ';' +find processing -name "._*" -exec rm -f {} ';' + # zip it all up for release echo Packaging standard release... echo @@ -101,7 +109,3 @@ zip -rq $P5-expert.zip $P5 echo Done. - -# something like the following might be better: -# find / -name "*.mp3" -exec rm -f {}\; -# and same for cvsignore, ~ files, .DS_Store diff --git a/core/PImage.java b/core/PImage.java index b542428aa..b42e4034a 100644 --- a/core/PImage.java +++ b/core/PImage.java @@ -118,7 +118,7 @@ public class PImage implements PConstants, Cloneable { * alpha is zero, it will be transparent. */ public PImage(int width, int height) { - setup(width, height, RGB); + init(width, height, RGB); //this(new int[width * height], width, height, RGBA); // toxi: is it maybe better to init the image with max alpha enabled? //for(int i=0; i