From d4f87d541961cf654f7a87de98dbd4dbe01ccbe9 Mon Sep 17 00:00:00 2001 From: benfry Date: Mon, 29 Jul 2002 23:39:10 +0000 Subject: [PATCH] launcher exe for windows and much joy --- processing/app/PdeEditorStatus.java | 5 +- processing/build/linux/make.sh | 2 + processing/build/windows/dist.sh | 4 +- processing/build/windows/dist/Proce55ing.bat | 2 - processing/build/windows/dist/Proce55ing.exe | Bin 0 -> 110679 bytes processing/build/windows/dist/run95.bat | 7 -- processing/done.txt | 30 ++++++++ processing/todo.txt | 76 +++++++++---------- 8 files changed, 74 insertions(+), 52 deletions(-) delete mode 100755 processing/build/windows/dist/Proce55ing.bat create mode 100755 processing/build/windows/dist/Proce55ing.exe delete mode 100755 processing/build/windows/dist/run95.bat diff --git a/processing/app/PdeEditorStatus.java b/processing/app/PdeEditorStatus.java index 733d646d8..91858ca67 100644 --- a/processing/app/PdeEditorStatus.java +++ b/processing/app/PdeEditorStatus.java @@ -192,8 +192,9 @@ public class PdeEditorStatus extends Panel cancelButton = new Button(PROMPT_CANCEL); okButton = new Button(PROMPT_OK); - // !@#(* aqua #($*(( turtle-neck wearing #(** (#$@)( - if (PdeBase.platform == PdeBase.MACOSX) { + // !@#(* aqua ui #($*(( that turtle-neck wearing #(** (#$@)( + if ((PdeBase.platform == PdeBase.MACOSX) || + (PdeBase.platform == PdeBase.MACOS9)) { yesButton.setBackground(bgcolor[PROMPT]); noButton.setBackground(bgcolor[PROMPT]); cancelButton.setBackground(bgcolor[PROMPT]); diff --git a/processing/build/linux/make.sh b/processing/build/linux/make.sh index baf5554b1..539fa15e5 100755 --- a/processing/build/linux/make.sh +++ b/processing/build/linux/make.sh @@ -5,6 +5,7 @@ if test -d work then + echo else echo Setting up directories to build for linux... cp -r ../shared work @@ -31,6 +32,7 @@ cd .. # make sure bagel exists, if not, check it out of cvs if test -d bagel then + echo else echo Doing CVS checkout of bagel... cvs co bagel diff --git a/processing/build/windows/dist.sh b/processing/build/windows/dist.sh index 36f7b0030..e7acca2df 100755 --- a/processing/build/windows/dist.sh +++ b/processing/build/windows/dist.sh @@ -37,9 +37,7 @@ cp -r work/lib/export processing/lib/ rm -rf processing/lib/export/CVS # get platform-specific goodies from the dist dir -cp dist/Proce55ing.bat processing/ -#cp dist/run.bat processing/ -#cp dist/run95.bat processing/ +cp dist/Proce55ing.exe processing/ cp dist/lib/pde.properties_windows processing/lib/ # convert notes.txt to windows LFs diff --git a/processing/build/windows/dist/Proce55ing.bat b/processing/build/windows/dist/Proce55ing.bat deleted file mode 100755 index ae0a7483b..000000000 --- a/processing/build/windows/dist/Proce55ing.bat +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -.\java\bin\java -cp lib;lib\build;lib\pde.jar;lib\kjc.jar;lib\oro.jar PdeBase diff --git a/processing/build/windows/dist/Proce55ing.exe b/processing/build/windows/dist/Proce55ing.exe new file mode 100755 index 0000000000000000000000000000000000000000..b7efc7a01e38d5cd0893e597ecaf78fd68741942 GIT binary patch literal 110679 zcmeI53vg6bn#aEz0t856LK1_*>II21wHR-b&I2Dq18GD|Fofq~n9y`L>5fTv+YcUt zEG@wuLI-81C<}M8iY~aWqqVFhE?T&gK}yj@3LooIGbtMM8Y zj*~~jfVInbqBJD4@bme7Hs~aiRj@-T7#R~(=5n8-!vn|BVzcgv#S^6=nTci_np|Z9 zOn?b60Vco%m;e)C0!)AjFaZOBV;;i^icCD`OTVv>EeQ{H z4Vo7%UH0T)^DJup(Y@i{tbEPTPulBY?`}MIP}S00jP`a4H=c_$;E6PBIrj$H;f+dq zOhfo%#{Q!B%xE+kw&ZjTC=c}o#z3<$qUZtjIES;7mzLW9S9spM(1_AstT!?qlp;4H zOL9-xUw-D!SrqyC`Diq=-MPQeOp#YHT-TB8Bp2iI^!17H^mwZ>#d#qM8D7#~_2%~NJBrK{ zox0;e6z%xWd9ngW`0s(`lj~%Aw`e~h+WE3QO|&0D`yeE~O_rheosc#NWhqJ)Qu3Be zI{x2OBU&~M^rK~FnV)VJ_2*>1N9KEF{*27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6AmeM*z&I`C>)9qr4z0xEiNi8 z%^jU;zcx3wcw$lMq(2#7id2+l$Dl=p3yVvO#uvg|G!EwE z`Hd?s9Y689QgkgWyj~UNWc%dtrQ>ra7EUalB5i5*k&|!8&Am2ZOSdPPWFv)7n!_d7 zW2b?B-euU|*;!dxQ_F6=kUe3}bbe$H_0D+yWDoVuY>$sEW{_!qv8l-kW_VLOWFA0& z$mlW9_(iU2bi1mUPY=infQ^(6XU) zQvh@HKqqFbug5|0|0Q_#2ouIyiZ!(&w@@=`cOmWqwC_Sb7j=|(L|Q@Dz#flR53L`o72|j@o=dJ<_@y36l^W4&4&u*(rx&wvp`SIW zPYsPT#9oTnK13giSwYj$Uo+$tVkjKTG3Y1O7La}1h}&V9b?RJ1pZQdTJ`M11lip&* zUfLj6(uSiIfKR$k#r^jj`T=H90cta-PK1*8i1z4BF&~ejCoIN z3~^+{JmV}yOQ)PV-*W7a(1SZOBi!}GpX@=lJGN_{xy^_Yu- zoh#NCU%}As!tdY8ovD)$=d3tWjQe9u_I|N-IWYkyzyz286JP>NfC(@GCcp%k02BCr z62RZ}6)1R5qHWTCuC-TeuXv^6-z!E}PN=-4(pPM@8R{hKBx2oT(K3V-?^{MK?>fcxYp<1cQttqa#w&tdq z={2|3+*z}tW_3+lO|WK6?Tp%n+CXhj?N4iW*FIjmxAxiEw`wD`pVpqK&8o|(%dac0 zyS7fP3)DScH&7R;`?T&%-RI)<2>xQzjzZO@YPV~4&8c;0UM--l*B;P9+E#6w)}!sz zc4@n{UTu%IS9?Z#PTQ}&s2$V}X?@xe?WlH4JE6U=oz(iZ0qv9)(FV2C+8OPvc21*; z?21WMY89Ck5}$%*SL9TFKQ|4}nh7ugCcp%k025#WOn?b60Vco%zHbB;%&rihQP4|A aEq93TOD^W$d#ZP=4z>;bt5070YWhE4_+!NY literal 0 HcmV?d00001 diff --git a/processing/build/windows/dist/run95.bat b/processing/build/windows/dist/run95.bat deleted file mode 100755 index a68798b40..000000000 --- a/processing/build/windows/dist/run95.bat +++ /dev/null @@ -1,7 +0,0 @@ -@echo off - -REM -- use this version if you're running under windows 95, 98, or ME -REM -- (windows 2000 should use the other version) -REM -- it will also be necessary to put processing in c:\ - -C:\processing\java\bin\java -cp c:\processing\lib;c:\processing\lib\build;c:\processing\lib\oro.jar;c:\processing\lib\pde.jar;c:\processing\lib\kjc.jar PdeBase \ No newline at end of file diff --git a/processing/done.txt b/processing/done.txt index 006896cbc..e50195b4b 100644 --- a/processing/done.txt +++ b/processing/done.txt @@ -1,3 +1,33 @@ +0037 +X copying files from 'data' dir is not recursive.. fixed +X move structure of app/application dirs around a bit +X make a new 'dist' function for building +X save window position (only during session) of sketch run window +X shouldn't substitute f's for: "Univers76.vlw.gz"; +X need lots of testing--this changes lots of things +X fixed commentsCodec which was mangling things +o present mode doesn't work for draw() +X tested, seems to be fine? +X console - convert tabs to spaces +o line wrapping (but save info for resize? noo..) +X fix to line numbers being off for KjcEngine exception highlights +X changed error color slightly for console to fit status error +X size() not being called in setup is gonna cause lots of headaches +X hack: put exception handler around setup and re-call if necessary +X linefeeds were wrong in BApplet +X for people visiting site, what os are they using? +X saving to gzipped 'versions' file +X autosave every few minutes, also on each compile, also on save +X mark each as 'save', 'autosave', 'failed' or 'successful' compile +X also include a timestamp +X if a selection is made from the menu: +X autosave, replace text, mark as edited +X if there have been no edits, and last thing was hist change, +X should *not* do another autosave +X ensure this by historyLast being set on change.. heh. nice. +X write message to people who signed up for p5 alpha + + 0036 X editor.buttons.bgcolor default value was wrong X sketch.properties exception when closing on linux and mac diff --git a/processing/todo.txt b/processing/todo.txt index 73cc4b88f..5a2d0b39c 100644 --- a/processing/todo.txt +++ b/processing/todo.txt @@ -1,35 +1,9 @@ -0037 -X copying files from 'data' dir is not recursive.. fixed -X move structure of app/application dirs around a bit -X make a new 'dist' function for building -X save window position (only during session) of sketch run window -X shouldn't substitute f's for: "Univers76.vlw.gz"; -X need lots of testing--this changes lots of things -X fixed commentsCodec which was mangling things -o present mode doesn't work for draw() -X tested, seems to be fine? -X console - convert tabs to spaces -o line wrapping (but save info for resize? noo..) -X fix to line numbers being off for KjcEngine exception highlights -X changed error color slightly for console to fit status error -X size() not being called in setup is gonna cause lots of headaches -X hack: put exception handler around setup and re-call if necessary -X linefeeds were wrong in BApplet -X for people visiting site, what os are they using? -X saving to gzipped 'versions' file -X autosave every few minutes, also on each compile, also on save -X mark each as 'save', 'autosave', 'failed' or 'successful' compile -X also include a timestamp -X if a selection is made from the menu: -X autosave, replace text, mark as edited -X if there have been no edits, and last thing was hist change, -X should *not* do another autosave -X ensure this by historyLast being set on change.. heh. nice. -X write message to people who signed up for p5 alpha - - 0038 - +X set bg color on macos9 buttons as well +X get icon in macos9/macosx/windows formats +X wahoo! figure out how to do do simple .exe with icons +o use launcher code from sun jre +o needs to be built from command line dammit we need a text editor. gonna get sick of people bitching about it. @@ -41,8 +15,28 @@ also an interesting possibility (for tech-minded only) use nano (maybe emacs?) under windows and nothing for macos9 +a _ this code is not performing correctly +BImage b; // declare variable "b" of type BImage +b = loadImage("image.gif"); +image(b, 0, 0); +imageMode(CENTER); +image(b, 0, 0); + +a _ this code is not performing correctly +a _ (see example in reference for expected output) +beginShape(TRIANGLE_STRIP); +vertex(30, 75); +vertex(40, 20); +vertex(50, 75); +vertex(60, 20); +vertex(70, 75); +vertex(80, 20); +vertex(90, 75); +endShape(); + bagel a _ do some serial testing +a _ pde menu item for listing serial ports available a _ document a bit more regarding its use a _ serial works poorly for starting/stopping applets a _ this is behaving strangely @@ -50,6 +44,8 @@ a _ breaks on every 2nd run when using serial apps (or others?) a _ try calling gc on stop as well pde +a _ move background() out of draw() for draw mode apps +a _ click on project name to quickly go to rename mode a _ make scrollbar for console a _ remove projects if created but nothing happens to them a _ option to delete current project @@ -59,12 +55,6 @@ a _ would need to get error output stream from app.. argh a _ only allow under win/osx/linux a _ not clear how to kill the process.. does that work w/ 1.3? -windows -_ figure out how to do do simple .exe with icons -_ also file association for .pde files -_ use launcher code from sun jre -_ needs to be built from command line - macos9 a _ getResource stuff breaks, sketch.properties can't save a _ FileNotFoundException: /FILE9/+/sketch.properties @@ -112,7 +102,6 @@ a _ check to see if lines for error messages are off release a _ small script to remove CVS directories from a tree -a _ get icon in macos9/macosx/windows formats a _ check osname under win98 and linux a _ figure out about distributing source a _ kjc is gnu, so source needs to be available @@ -386,6 +375,17 @@ _ if not processing applet, look for a main(), no main give an error _ dbn2p5 converter.. ooh! +PDE / dist +b _ need document icons + + +PDE / windows +b _ windows launcher/exe +b _ splash screen +b _ build from command line, using gcc +b _ file association for .pde files + + PDE / features _ might be nice to have some notion of plugins for pde _ color picker or other things written by folks