mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
more cleaning
This commit is contained in:
@@ -63,7 +63,9 @@ public abstract class Mode {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public InputStream getContentStream(String path) throws FileNotFoundException {
|
||||
return new FileInputStream(getContentFile(path));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -926,11 +926,12 @@ public class JavaBuild {
|
||||
if (renderer.equals("OPENGL")) {
|
||||
openglApplet = true;
|
||||
}
|
||||
Mode mode = sketch.getMode();
|
||||
if (is == null) {
|
||||
if (openglApplet) {
|
||||
is = Base.getLibStream("export/applet-opengl.html");
|
||||
is = mode.getContentStream("applet/template-opengl.html");
|
||||
} else {
|
||||
is = Base.getLibStream("export/applet.html");
|
||||
is = mode.getContentStream("applet/template.html");
|
||||
}
|
||||
}
|
||||
BufferedReader reader = PApplet.createReader(is);
|
||||
@@ -1096,16 +1097,16 @@ public class JavaBuild {
|
||||
|
||||
/// where all the skeleton info lives
|
||||
|
||||
File skeletonFolder = new File(Base.getContentFile("lib"), "export");
|
||||
Mode mode = sketch.getMode();
|
||||
|
||||
/// on macosx, need to copy .app skeleton since that's
|
||||
/// also where the jar files will be placed
|
||||
File dotAppFolder = null;
|
||||
if (exportPlatform == PConstants.MACOSX) {
|
||||
dotAppFolder = new File(destFolder, sketch.getName() + ".app");
|
||||
String APP_SKELETON = "skeleton.app";
|
||||
// String APP_SKELETON = "skeleton.app";
|
||||
//File dotAppSkeleton = new File(folder, APP_SKELETON);
|
||||
File dotAppSkeleton = new File(skeletonFolder, APP_SKELETON);
|
||||
File dotAppSkeleton = mode.getContentFile("application/template.app");
|
||||
Base.copyDir(dotAppSkeleton, dotAppFolder);
|
||||
|
||||
String stubName = "Contents/MacOS/JavaApplicationStub";
|
||||
@@ -1144,7 +1145,7 @@ public class JavaBuild {
|
||||
/// on windows, copy the exe file
|
||||
|
||||
if (exportPlatform == PConstants.WINDOWS) {
|
||||
Base.copyFile(new File(skeletonFolder, "application.exe"),
|
||||
Base.copyFile(mode.getContentFile("application/template.exe"),
|
||||
new File(destFolder, sketch.getName() + ".exe"));
|
||||
}
|
||||
|
||||
@@ -1313,7 +1314,7 @@ public class JavaBuild {
|
||||
String PLIST_TEMPLATE = "template.plist";
|
||||
File plistTemplate = new File(sketch.getFolder(), PLIST_TEMPLATE);
|
||||
if (!plistTemplate.exists()) {
|
||||
plistTemplate = new File(skeletonFolder, PLIST_TEMPLATE);
|
||||
plistTemplate = mode.getContentFile("application/template.plist");
|
||||
}
|
||||
File plistFile = new File(dotAppFolder, "Contents/Info.plist");
|
||||
PrintWriter pw = PApplet.createWriter(plistFile);
|
||||
|
||||
@@ -103,12 +103,23 @@
|
||||
<fileset dir="shared/tools" />
|
||||
</copy>
|
||||
|
||||
<!-- copy libraries -->
|
||||
<copy todir="${target.path}/modes/java/libraries">
|
||||
<fileset dir="../java/libraries">
|
||||
<include name="**/library/**" />
|
||||
<include name="**/src/**" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- copy shared library folder -->
|
||||
<!--
|
||||
<copy todir="${target.path}/modes/java/libraries">
|
||||
<fileset dir="shared/modes/java/libraries" />
|
||||
</copy>
|
||||
-->
|
||||
|
||||
<!-- copy libraries for dxf, pdf, etc. -->
|
||||
<!--
|
||||
<copy todir="${target.path}/modes/java/libraries/dxf">
|
||||
<fileset dir="../dxf" includes="library/**,src/**" />
|
||||
</copy>
|
||||
@@ -127,8 +138,10 @@
|
||||
<copy todir="${target.path}/modes/java/libraries/video">
|
||||
<fileset dir="../video" includes="library/**,src/**" />
|
||||
</copy>
|
||||
-->
|
||||
|
||||
<!-- Unzip documentation + examples -->
|
||||
<!--
|
||||
<unzip dest="${target.path}/modes/java"
|
||||
src="shared/modes/java/examples.zip"
|
||||
overwrite="false">
|
||||
@@ -137,6 +150,7 @@
|
||||
<exclude name="**/._*" />
|
||||
</patternset>
|
||||
</unzip>
|
||||
-->
|
||||
<unzip dest="${target.path}/modes/java"
|
||||
src="shared/modes/java/reference.zip"
|
||||
overwrite="false">
|
||||
|
||||
-212
@@ -1,212 +0,0 @@
|
||||
future things that we'd like to do but may never get to
|
||||
|
||||
|
||||
PRIORITIES
|
||||
|
||||
ed
|
||||
_ quality of compiler errors + multiple errors
|
||||
X additional class files.. .java or .pde
|
||||
X find/replace
|
||||
|
||||
juha
|
||||
_ documenting how the environment works / is set up
|
||||
|
||||
amit
|
||||
X find/replace
|
||||
X println speed improvements
|
||||
_ 'debug' that shows a variable (rather than many many println)
|
||||
X tabs for multiple files
|
||||
|
||||
zach
|
||||
2 _ setting breakpoints / stepping through
|
||||
2 _ useful as understanding for how program works
|
||||
2 _ tracing like director
|
||||
|
||||
schoenerwissen
|
||||
2 _ tracing variables
|
||||
2 _ bspace object
|
||||
b X 7 day search on discourse board
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
2 _ colorMode(CMYK)
|
||||
2 _ just does 1-r/1-g/1-b inside
|
||||
2 _ http://en.wikipedia.org/wiki/CMYK_color_model#Converting_between_RGB_and_CMYK
|
||||
2 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Tools;action=display;num=1082055374;start=0
|
||||
|
||||
|
||||
CORE / Fonts
|
||||
|
||||
2 _ textTracking()
|
||||
2 _ sbit font support
|
||||
2 _ both reading and building sbit fonts
|
||||
|
||||
|
||||
CORE / PGraphics3
|
||||
|
||||
2 _ picking
|
||||
2 _ what is the API for picking?
|
||||
2 _ ability to write data other than image into the buffer
|
||||
2 _ user can introduce new kinds of buffers at will (!)
|
||||
2 _ lists of names of objects, or the 'line number' buffer
|
||||
2 _ but how to determine *where* on object the hit occurs
|
||||
2 _ materials and shading
|
||||
2 _ nicer/simpler api for moving the camera around
|
||||
|
||||
|
||||
2 _ cartesian/polar conversion
|
||||
2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1053354853
|
||||
2 _ thread includes code for the 2D case
|
||||
2 _ alter strokeWidth in LINE_STRIP
|
||||
2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1053795842;start=0
|
||||
2 _ keypressed is not persistent
|
||||
2 _ key repeat in os vs. how java handles it
|
||||
2 _ search java faq for info about getting around it
|
||||
2 _ drawMode() for MULTIPLY and ADD
|
||||
2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1051208333
|
||||
2 _ better api for fonts
|
||||
2 _ try with 1.4 frame buffer stuff to see if it's faster
|
||||
2 _ write shearing function
|
||||
2 _ optimize rotation functions
|
||||
2 _ update/noUpdate() could also be done to force explicit updates only
|
||||
2 _ for ui-type applications that don't need to continually redraw
|
||||
2 _ instead use void update() as a function like loop and draw
|
||||
2 _ third mode for interactive apps that have to be queried
|
||||
2 _ shouldn't do so much work (redrawing in loop) if waiting for input
|
||||
2 _ mode for when no full animation taking place
|
||||
2 _ otherwise machine is continually maxed out while app is running
|
||||
2 _ way to screen grab at higher resolution
|
||||
2 _ method for rendering at higher res and then scaling down
|
||||
2 _ (even if this causes signficant performance hit)
|
||||
2 _ look at GLUT for other needed shapes
|
||||
2 _ export to static flash-based graphics
|
||||
2 _ build in second matrix type: 2d affine
|
||||
2 _ write code for reading uncompressed b/w tiff images
|
||||
2 _ incorporate for fixed width fonts
|
||||
2 _ fast(er?) version of bagel that just uses java graphics
|
||||
2 _ but leaves out many features
|
||||
2 _ setting a fill color when drawing an image should affect the image
|
||||
2 _ or maybe image.setColor or setTone to mix a specific color in
|
||||
|
||||
|
||||
PDE / see you next year
|
||||
not necessary for 1.0 release
|
||||
|
||||
2 _ better api for plugins
|
||||
2 _ jedit guide might be useful: http://plugins.jedit.org/building.php
|
||||
2 _ comments -> embedding in applet text? (ala javadoc)
|
||||
2 _ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1076967353
|
||||
2 _ would this help casey with the examples?
|
||||
2 _ type-ahead/teaching functions
|
||||
2 _ very useful for learning to program
|
||||
2 _ editor features asked for on the bboard
|
||||
2 _ line numbers like bbedit
|
||||
2 _ command to comment-out the current selection
|
||||
2 _ split screen
|
||||
2 _ collapsable functions, or quick access to functions
|
||||
2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1051301511
|
||||
2 _ make console like director messagewindow..
|
||||
2 _ ability to type commands and try functions
|
||||
2 _ menu option to change username/login
|
||||
2 _ if new user, offer to rename 'default' if it contains things
|
||||
2 _ user name is changed by clicking and typing
|
||||
2 _ after user hits 'enter', checks to see if user exists
|
||||
2 _ if not, pops up message asking if they want to change
|
||||
2 _ message goes in same spot as error/status label (turns yellow?)
|
||||
2 _ if user says 'no', then
|
||||
2 _ method of collapsing history for useful versions
|
||||
2 _ archive associated files as well.. data/etc
|
||||
2 _ see about setting up simple bug tracker/feature system
|
||||
2 _ // We can use sourceforge for bug tracking... (reas)
|
||||
2 _ queue for people reporting things externally
|
||||
2 _ bugzilla but simpler
|
||||
2 _ would also be nice for people to be able to vote on features
|
||||
2 _ run java code besides processing applets
|
||||
2 _ if not processing applet, look for a main(), no main give an error
|
||||
2 _ dbn2p5 converter.. ooh!
|
||||
2 _ tweak updater a little bit so it's more likely to work
|
||||
2 _ use numbered versioning?
|
||||
2 _ give updater feedback (progress dialog, error msg)
|
||||
2 _ error messages with link to what's wrong
|
||||
2 _ lots of ui ideas from adrien in the bbedit
|
||||
2 _ some ui stuff from fdb
|
||||
2 _ rename the button options to verbs
|
||||
2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1032909986
|
||||
|
||||
|
||||
|
||||
PDE / science fiction
|
||||
features we love, but probably won't be implemented 2048
|
||||
|
||||
2 _ code as columns (screen is wide, code is not)
|
||||
|
||||
3 _ toggle for showing a function name each time its hit
|
||||
3 _ toggle for showing line numbers within a function
|
||||
3 _ i'm here messages, tie in with breakpoints for debugger
|
||||
3 _ lightweight debugger, doesn't slow down, runs in back
|
||||
3 _ toggle to show attr/value for some var in simple way
|
||||
3 _ comments as debugging descriptors, output to console, shown in context
|
||||
3 _ comments as naming for shapes drawn after it,
|
||||
3 _ or some other model of naming based on inserted text with "" or // or #
|
||||
3 _ could fit nicely with printf-style statements and comments
|
||||
3 _ comments would contain descriptions //!blah for printing and formatting
|
||||
3 _ sketchbook - doodling/scribbling area..
|
||||
3 _ since wacom tablet easily accessible
|
||||
3 _ look into maxx programming
|
||||
3 _ single or multi-file cvs, not based on directories
|
||||
3 _ i.e. i want illustrator.java for a project
|
||||
3 _ version # stored in .java file
|
||||
3 _ if a new version is available, asks 'do you want to update?'
|
||||
3 _ multi-file: quicksort + sortable
|
||||
3 _ check out interface builder for interesting tidbits
|
||||
3 _ write converter for java bagel -> cpp version
|
||||
3 _ include #ifdefs for c stuff
|
||||
|
||||
|
||||
|
||||
PDE / Pre-preprocessor & Compiler
|
||||
Currently using Oro for search and replace preprocessor,
|
||||
but Dan Mosedale is moving us to ANTLR
|
||||
|
||||
2 _ for int i for 0 to b.length
|
||||
2 _ for i from 0 upto b.length
|
||||
2 _ actionscript has nice hastables.. as does perl/python
|
||||
2 _ would be nice to get better implementation in there
|
||||
|
||||
2 _ additional data conversions to avoid this syntax:
|
||||
2 _ Integer.toString(), Integer.parseInt()
|
||||
2 _ works like class casting: int(23.4) same as ((int) 23.4)
|
||||
2 _ String(1234) -> translates to String.valueOf(1234);
|
||||
2 _ works for all data types that support valueOf
|
||||
2 _ i.e. valueOf(Object) returns null or Object.toString()
|
||||
2 _ int("1234") -> Integer.parseInt("1234")
|
||||
2 _ float("1234.35") -> (new Float("1234.35").floatValue())
|
||||
2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1060940705
|
||||
|
||||
2 _ (blah, blah, blah) = split(blah, "\t")
|
||||
2 _ 'like php's "explode" function'
|
||||
2 _ http://www.php.net/manual/en/function.explode.php
|
||||
2 _ example 2 is the more interesting one...
|
||||
2 _ list($user, $pass, $uid, $gid, $gecos..) = explode(":", $data);
|
||||
2 _ also see the inverse of that:
|
||||
2 _ http://www.php.net/manual/en/function.implode.php
|
||||
|
||||
2 _ foreach implementation, ala java 1.5 spec
|
||||
2 _ http://jcp.org/aboutJava/communityprocess/jsr/tiger/enhanced-for.html
|
||||
2 _ for (String s : c) { ... }
|
||||
2 _ or example for sum of int array:
|
||||
2 _ int sum = 0; for (int e : a) { sum += e; }
|
||||
2 _ for (int i = 0; i < 10; i++) -> for (int i < 10) (?)
|
||||
2 _ what's a better method for this?
|
||||
|
||||
2 _ check through all the examples to look for other themes
|
||||
|
||||
2 _ contextual syntax highlighting based on grammar
|
||||
2 _ everything that's in java.lang plus more is too much for keywords
|
||||
2 _ http://proce55ing.net/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1045665326
|
||||
@@ -1,5 +0,0 @@
|
||||
This file has been replaced by an entire section of dev.processing.org
|
||||
dedicated to libraries, people who make libraries, and people who
|
||||
love library development trivia. The new page can be found here:
|
||||
|
||||
http://dev.processing.org/libraries/
|
||||
+6
-3
@@ -1,7 +1,10 @@
|
||||
this file includes licensing information for parts of processing.
|
||||
We use GPL v2 for the parts of the project that we've developed ourselves.
|
||||
For the 'core' library, it's LGPL, for everything else, it's GPL.
|
||||
|
||||
the gnu general public license covers the main body of the processing code
|
||||
(in general, all the stuff inside the 'app' subfolder).
|
||||
Over the course of many years of development, files being moved around,
|
||||
and other code being added and removed, the license information has become
|
||||
quite a mess. Please help us clean this up:
|
||||
http://code.google.com/p/processing/issues/detail?id=185
|
||||
|
||||
|
||||
.....................................................................
|
||||
|
||||
@@ -1,606 +0,0 @@
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
casey -- this is a bunch of crap that i've scribbled down as i've
|
||||
thought of it.. maybe they should be moved to your list or removed if
|
||||
they're not useful?
|
||||
|
||||
|
||||
DOCS
|
||||
_ mention connection to java and docs on getting started in java
|
||||
_ make clear that setup is just for setup
|
||||
_ but should also in the future allow to create static image
|
||||
_ notes on debugging
|
||||
_ run with java -Xint blahblah (turns off jit)
|
||||
// I don't know where this should live, on BBS? What do you think
|
||||
_ p5 faq items: re midi support, msgs w/ adam hoyle in mail folder
|
||||
_ also 'why p5' message from amit pitaru on 12/15/02
|
||||
_ and p5 versus flash stuff
|
||||
_ lists the main arguments, could be a useful document
|
||||
_ list of reserved keywords
|
||||
_ make note of functions/variables used by ProcessingApplet
|
||||
_ using them in your app will break things (i.e. init())
|
||||
_ explain using inner classes and using non-public classes
|
||||
_ start 'errors' section
|
||||
_ NullPointerException inside setup usually means no size()
|
||||
_ ability to write functions and inner classes
|
||||
_ mention ability to use import statements in java mode
|
||||
_ ability to do real (but not public) classes in same document
|
||||
_ check to see if get/set functions in applet actually work
|
||||
_ fix documentation appropriately
|
||||
_ image formats supported (gif and jpeg)
|
||||
_ if image doesn't load, just prints an error on console
|
||||
_ notes about running on win98 and that stupid startup exception
|
||||
_ make note in documentation about convex polygons
|
||||
|
||||
|
||||
DOCS / technotes
|
||||
_ using runtime.exec to run .ai files
|
||||
_ code to automatically open generated .ai files (exec(..ai))
|
||||
_ debugging serial code
|
||||
_ hyperterminal - watching for binary garbage vs ascii text
|
||||
_ first debug (maybe even using ascii) and watch in hyperterminal
|
||||
_ or ship pooterm along with processing
|
||||
_ flicker - often ascii instead of binary
|
||||
_ timing of sleep, size of message, timing of write
|
||||
_ starting processing first, then stamp
|
||||
_ using objectXYZ() and screenXYZ()
|
||||
_ using curves
|
||||
_ making things faster
|
||||
_ memory running out, using ms and mx
|
||||
_ noBackground() if you're covering everything
|
||||
_ converting to/from ascii/decimal/hex/binary
|
||||
_ fixed width font format as technote and how to use
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
LANGUAGE
|
||||
|
||||
Adding to the API for advanced users, supporting concise coding
|
||||
|
||||
|
||||
foreach String line (lines)
|
||||
foreach (String line = lines)
|
||||
foreach (String line, lines)
|
||||
foreach (String line) of lines
|
||||
..would translate to..
|
||||
for (int i = 0; i < lines.length; i++) {
|
||||
String line = lines[i];
|
||||
}
|
||||
|
||||
for (int i = 0..10) or for (int i, 0..10)
|
||||
foreach (int i) of 0..10
|
||||
for (int i = start..stop)
|
||||
..translating to..
|
||||
for (int i = 0; i < 10; i++)
|
||||
for (int i = start; i < stop; i++)
|
||||
|
||||
emit(arrayImageX) or printvar? or vprint?
|
||||
..would translate to..
|
||||
println("arrayImageX = " + arrayImageX);
|
||||
|
||||
emit(arrayImageX, arrayImageY)
|
||||
..would translate to..
|
||||
println("arrayImageX, arrayImageY = " + arrayImageX + ", " + arrayImageY)
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
EXTENSIONS
|
||||
|
||||
Scribblings for future API...
|
||||
|
||||
|
||||
BXSocket, BXServerSocket
|
||||
BXNetwork
|
||||
|
||||
BXSerial
|
||||
|
||||
> - playback of samples :
|
||||
> - methods: startSound (loop_num, start_ms, end_ms) , stopSound(),
|
||||
> volume() , pan()
|
||||
> - properties: duration
|
||||
> - formats: wav ( mp3 would be nice for compression )
|
||||
> - events: onSoundEnd(), onSoundLoop()
|
||||
>
|
||||
> - synthesis (generating waves, filtering waves) would be wonderful to have
|
||||
> as well, but i think that samples should come first.
|
||||
|
||||
BXSound, BXSampler or BXAudio
|
||||
play aiff or mp3 sound with a single command
|
||||
play buffer of samples with a single command
|
||||
full class allows play/pause/more advanced loading
|
||||
|
||||
BXMovieInput/Output or BXVideo or BXQuickTimeOutput/Input
|
||||
BXMovie and BXCamera?
|
||||
|
||||
BXImageIO, BXTiffImage
|
||||
|
||||
BXDataFile (csv or tab separated data)
|
||||
BXDataMatrix
|
||||
|
||||
BXDatabase, BXDatabaseCache (keeps queries to fill out table)
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
MISCELLANEOUS NOTES
|
||||
|
||||
|
||||
buzz.pl
|
||||
opt-in/opt-out #ifdef setup
|
||||
rather than forcing people to use buzz.pl to compile. could pick
|
||||
features that are opt-out, like net, that would have comments:
|
||||
//#ifdef NET
|
||||
//#endif
|
||||
meaning that it would normally get compiled without any trouble
|
||||
or similarly, could have other sections commented out that are opt-in,
|
||||
that use #ifdefs to be enabled.`
|
||||
|
||||
|
||||
Things that break often/things to test
|
||||
_ handling of key events (both as applet and in application)
|
||||
_ per-vertex coloring for different kinds of shapes
|
||||
_ that each shape type works as expected
|
||||
_ what if one short or one too many vertices?
|
||||
_ transforms are affecting geometry
|
||||
_ i.e. are line and point working in 3D?
|
||||
_ why did i think that z was backwards from gl?
|
||||
|
||||
biggest problems from french workshop
|
||||
_ syntax more difficult than expected: semicolons and braces
|
||||
_ part is translation issue--wasn't a quick fix
|
||||
_ curly braces weren't on the keyboard
|
||||
_ encouraging people to indent their code for clarity
|
||||
_ slow to understand 'blocks'
|
||||
_ translation issue but could be aided by visual cues in editor
|
||||
_ might be better to use braces on separate lines to reinforce
|
||||
_ couldn't enforce people working on specific exercises
|
||||
_ too many cubes.. people playing with 3d before understanding it
|
||||
_ would be nice to have examples for all concepts on site
|
||||
_ or in a small printed book that serves as a reference
|
||||
_ courseware not complete--difficult to collect assignments
|
||||
|
||||
teaching 3D
|
||||
_ expectation for 3D objects is that they begin in the center
|
||||
_ rather than a translate(W/2, H/2) then draw rotating cube
|
||||
|
||||
_ make processing useful/usable
|
||||
_ start working on writing pdf files
|
||||
_ loading images/files from same dir as .pde file
|
||||
_ option to use jikes
|
||||
_ use external editor or write a usable one
|
||||
_ write simple class for lcd panel
|
||||
_ build adapter to plug directly into db9 serial port
|
||||
_ figure out characters used on screen by default (check web)
|
||||
_ make unicode converter from unicode char -> lcd screen bytes
|
||||
_ hook up lcd screen to power/serial port to test
|
||||
_ code to reprogram lcd screen
|
||||
_ look through rabbit api
|
||||
_ look into integration of cmd line compiler
|
||||
_ check out flash for its text editor
|
||||
_ write function to swap different names for Proce55ing
|
||||
_ use for window title
|
||||
_ simple app that does swapping of letters as an animation
|
||||
|
||||
also an interesting possibility (for tech-minded only)
|
||||
use terminal emulator, and run iostream from process
|
||||
use pooterm stuff for the emulation window
|
||||
key commands would conflict
|
||||
but could use emacs under osx, linux
|
||||
use nano (maybe emacs?) under windows
|
||||
and nothing for macos9
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
BUILDING P5
|
||||
|
||||
where to install jikes, jre, others?
|
||||
jre may need to be back in cvs, but annoying for dist
|
||||
because of all the CVS directories that it makes
|
||||
|
||||
cvs co processing
|
||||
cd processing
|
||||
cvs update -P
|
||||
# optional, if you're only doing java dev
|
||||
rm -rf web
|
||||
|
||||
need to have rt.jar from jdk 1.1 and comm.jar in the CLASSPATH
|
||||
to build bagel.. just gotta be that way, it's too messy otherwise
|
||||
|
||||
need cygwin: zip, unzip, perl
|
||||
little guys: rm, cp, mv, tcsh
|
||||
|
||||
build jikes for cygwin, use version 1.14, later than that has bugs
|
||||
./configure, make, make install
|
||||
add $cygwin/usr/local/bin to path
|
||||
|
||||
dist directories contain only the files specific to that platform
|
||||
(those are the ones checked into cvs)
|
||||
when dist.sh is run:
|
||||
1) a copy of the dist dir is created, renamed 'processing-nnnn'
|
||||
2) the remaining files are added (buttons.gif, pde.properties)
|
||||
3) files are lf converted (i.e. notes.txt)
|
||||
comm.jar now needs to be in CLASSPATH for build environment
|
||||
|
||||
macos may be superior platform for building
|
||||
retain unix file permissions for linux
|
||||
resource fork goodness for the mac
|
||||
|
||||
for jgl version of bagel, jgl.jar needs to be in classpath
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
(C)BAGEL WORK
|
||||
|
||||
The C Language version of the Bagel Graphics Library
|
||||
|
||||
|
||||
bagel engine: memoryimagesource, opengl, illustrator, postscript, pdf
|
||||
|
||||
bagel to run on j2me / phones
|
||||
|
||||
output to multiple languages: java -> c++ conversion
|
||||
|
||||
cbagel engine: memory array, opengl bindings
|
||||
|
||||
|
||||
_ modify cbagel for opie
|
||||
_ would be interesting to build pre-processor for java p5
|
||||
_ but that converts into cpp version of bagel apps.. mmm
|
||||
_ update cbagel to current bagel status
|
||||
_ get gcc tied into processing
|
||||
_ java disassembly inside p5
|
||||
_ and assmebling it back again
|
||||
_ color() has a different meaning
|
||||
_ formerly a normalized 0..1 float to a packed rgb int
|
||||
_ now it's a color according to current standards
|
||||
_ float_color is a private version of the previous color()
|
||||
_ curve was broken (cvertexIndex being reset)
|
||||
_ curve() now doubles start/end points to be more logical
|
||||
_ (fits all four points by drawing six points)
|
||||
_ try screengrab using malloc and/or gobs of extra memory
|
||||
_ debug the version inside bagel b/c it's simpler
|
||||
_ bagel needs to be able to resize itself
|
||||
_ also to address screen as if it's another size
|
||||
_ is that simply a matter of changing the viewport?
|
||||
_ letterboxing as appropriate
|
||||
_ build windows app for testing bagel c++ ... -lgdi32 for cygwin
|
||||
_ updates from p5 api changes
|
||||
_ triangle() 6 parameters
|
||||
_ quad() 8 parameters
|
||||
_ rect/rectMode again
|
||||
_ new color solution
|
||||
_ color() -> uses colorMode
|
||||
_ red/green/blue() hue/saturation/value() functions
|
||||
_ getPixel/setPixel
|
||||
_ swap in 'color' as an int
|
||||
_ color c = #67aa78
|
||||
_ keyDown(), mouseDown(), lastMouseX, lastMouseY
|
||||
_ degrees(), radians()
|
||||
_ fill, background, stroke all with int version for packed rgb
|
||||
|
||||
_ why won't glut shut up about modifiers?
|
||||
_ add millis() to bappletgl that returns glut millis
|
||||
|
||||
_ BGL_PATH should turn paths into os9 ready paths for os9
|
||||
_ or whatever else for the other platforms
|
||||
_ macos9: font = loadFont(":fonts:Univers55.vlw");
|
||||
_ or could use a "File" style object
|
||||
_ or do all path conversions internally:
|
||||
_ loadFont, loadImage.. already do gz decoding
|
||||
|
||||
_ makingmovie/screengrab should be moved into bapplet,
|
||||
_ along with the stuff for making an ai screen grab
|
||||
|
||||
_ mouseX/lastMouseX should be handled automatically
|
||||
_ mousePressed() function may not need vars passed in
|
||||
_ or maybe the only vars are alt/left-right/ctrl/shift
|
||||
|
||||
_ maybe mouseevent is passed in, but not used in the
|
||||
_ function unless people want advanced features
|
||||
_ mouseX/mouseY/lastMouseX/lastMouseY all set by parent class
|
||||
|
||||
_ lastKey and lastKeyCode -- not as useful as the mouse stuff
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
MENU PROPOSALS
|
||||
|
||||
|
||||
// File
|
||||
New
|
||||
Open
|
||||
Save
|
||||
Save as
|
||||
Export Web
|
||||
Export Application
|
||||
-----
|
||||
Proce55ing.net
|
||||
Reference
|
||||
-----
|
||||
Quit
|
||||
|
||||
|
||||
// Edit
|
||||
Undo
|
||||
Redo
|
||||
-----
|
||||
Cut
|
||||
Copy
|
||||
Paste
|
||||
-----
|
||||
Find
|
||||
Replace
|
||||
-----
|
||||
Select All
|
||||
|
||||
|
||||
// Control
|
||||
Run
|
||||
Present
|
||||
Stop
|
||||
-----
|
||||
Step Forward (farway future)
|
||||
Step Backward (faraway future)
|
||||
|
||||
|
||||
// Sketch
|
||||
History
|
||||
Clear History
|
||||
Beautify
|
||||
|
||||
|
||||
// Environment
|
||||
Serial Port
|
||||
Use External Editor
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
JAVA PACKAGES
|
||||
|
||||
|
||||
jdk 1.3 packages
|
||||
|
||||
java.applet
|
||||
java.awt
|
||||
java.awt.color
|
||||
java.awt.datatransfer
|
||||
java.awt.dnd
|
||||
java.awt.event
|
||||
java.awt.font
|
||||
java.awt.geom
|
||||
java.awt.im
|
||||
java.awt.im.spi
|
||||
java.awt.image
|
||||
java.awt.image.renderable
|
||||
java.awt.print
|
||||
java.beans
|
||||
java.beans.beancontext
|
||||
java.io
|
||||
java.lang
|
||||
java.lang.ref
|
||||
java.lang.reflect
|
||||
java.math
|
||||
java.net
|
||||
java.rmi
|
||||
java.rmi.activation
|
||||
java.rmi.dgc
|
||||
java.rmi.registry
|
||||
java.rmi.server
|
||||
java.security
|
||||
java.security.acl
|
||||
java.security.cert
|
||||
java.security.interfaces
|
||||
java.security.spec
|
||||
java.sql
|
||||
java.text
|
||||
java.util
|
||||
java.util.jar
|
||||
java.util.zip
|
||||
javax.accessibility
|
||||
javax.naming
|
||||
javax.naming.directory
|
||||
javax.naming.event
|
||||
javax.naming.ldap
|
||||
javax.naming.spi
|
||||
javax.rmi
|
||||
javax.rmi.CORBA
|
||||
javax.sound.midi
|
||||
javax.sound.midi.spi
|
||||
javax.sound.sampled
|
||||
javax.sound.sampled.spi
|
||||
javax.swing
|
||||
javax.swing.border
|
||||
javax.swing.colorchooser
|
||||
javax.swing.event
|
||||
javax.swing.filechooser
|
||||
javax.swing.plaf
|
||||
javax.swing.plaf.basic
|
||||
javax.swing.plaf.metal
|
||||
javax.swing.plaf.multi
|
||||
javax.swing.table
|
||||
javax.swing.text
|
||||
javax.swing.text.html
|
||||
javax.swing.text.html.parser
|
||||
javax.swing.text.rtf
|
||||
javax.swing.tree
|
||||
javax.swing.undo
|
||||
javax.transaction
|
||||
org.omg.CORBA
|
||||
org.omg.CORBA_2_3
|
||||
org.omg.CORBA_2_3.portable
|
||||
org.omg.CORBA.DynAnyPackage
|
||||
org.omg.CORBA.ORBPackage
|
||||
org.omg.CORBA.portable
|
||||
org.omg.CORBA.TypeCodePackage
|
||||
org.omg.CosNaming
|
||||
org.omg.CosNaming.NamingContextPackage
|
||||
org.omg.SendingContext
|
||||
org.omg.stub.java.rmi
|
||||
|
||||
jdk 1.4 packages
|
||||
|
||||
java.applet
|
||||
java.awt
|
||||
java.awt.color
|
||||
java.awt.datatransfer
|
||||
java.awt.dnd
|
||||
java.awt.event
|
||||
java.awt.font
|
||||
java.awt.geom
|
||||
java.awt.im
|
||||
java.awt.im.spi
|
||||
java.awt.image
|
||||
java.awt.image.renderable
|
||||
java.awt.print
|
||||
java.beans
|
||||
java.beans.beancontext
|
||||
java.io
|
||||
java.lang
|
||||
java.lang.ref
|
||||
java.lang.reflect
|
||||
java.math
|
||||
java.net
|
||||
java.nio
|
||||
java.nio.channels
|
||||
java.nio.channels.spi
|
||||
java.nio.charset
|
||||
java.nio.charset.spi
|
||||
java.rmi
|
||||
java.rmi.activation
|
||||
java.rmi.dgc
|
||||
java.rmi.registry
|
||||
java.rmi.server
|
||||
java.security
|
||||
java.security.acl
|
||||
java.security.cert
|
||||
java.security.interfaces
|
||||
java.security.spec
|
||||
java.sql
|
||||
java.text
|
||||
java.util
|
||||
java.util.jar
|
||||
java.util.logging
|
||||
java.util.prefs
|
||||
java.util.regex
|
||||
java.util.zip
|
||||
javax.accessibility
|
||||
javax.crypto
|
||||
javax.crypto.interfaces
|
||||
javax.crypto.spec
|
||||
javax.imageio
|
||||
javax.imageio.event
|
||||
javax.imageio.metadata
|
||||
javax.imageio.plugins.jpeg
|
||||
javax.imageio.spi
|
||||
javax.imageio.stream
|
||||
javax.naming
|
||||
javax.naming.directory
|
||||
javax.naming.event
|
||||
javax.naming.ldap
|
||||
javax.naming.spi
|
||||
javax.net
|
||||
javax.net.ssl
|
||||
javax.print
|
||||
javax.print.attribute
|
||||
javax.print.attribute.standard
|
||||
javax.print.event
|
||||
javax.rmi
|
||||
javax.rmi.CORBA
|
||||
javax.security.auth
|
||||
javax.security.auth.callback
|
||||
javax.security.auth.kerberos
|
||||
javax.security.auth.login
|
||||
javax.security.auth.spi
|
||||
javax.security.auth.x500
|
||||
javax.security.cert
|
||||
javax.sound.midi
|
||||
javax.sound.midi.spi
|
||||
javax.sound.sampled
|
||||
javax.sound.sampled.spi
|
||||
javax.sql
|
||||
javax.swing
|
||||
javax.swing.border
|
||||
javax.swing.colorchooser
|
||||
javax.swing.event
|
||||
javax.swing.filechooser
|
||||
javax.swing.plaf
|
||||
javax.swing.plaf.basic
|
||||
javax.swing.plaf.metal
|
||||
javax.swing.plaf.multi
|
||||
javax.swing.table
|
||||
javax.swing.text
|
||||
javax.swing.text.html
|
||||
javax.swing.text.html.parser
|
||||
javax.swing.text.rtf
|
||||
javax.swing.tree
|
||||
javax.swing.undo
|
||||
javax.transaction
|
||||
javax.transaction.xa
|
||||
javax.xml.parsers
|
||||
javax.xml.transform
|
||||
javax.xml.transform.dom
|
||||
javax.xml.transform.sax
|
||||
javax.xml.transform.stream
|
||||
org.ietf.jgss
|
||||
org.omg.CORBA
|
||||
org.omg.CORBA_2_3
|
||||
org.omg.CORBA_2_3.portable
|
||||
org.omg.CORBA.DynAnyPackage
|
||||
org.omg.CORBA.ORBPackage
|
||||
org.omg.CORBA.portable
|
||||
org.omg.CORBA.TypeCodePackage
|
||||
org.omg.CosNaming
|
||||
org.omg.CosNaming.NamingContextExtPackage
|
||||
org.omg.CosNaming.NamingContextPackage
|
||||
org.omg.Dynamic
|
||||
org.omg.DynamicAny
|
||||
org.omg.DynamicAny.DynAnyFactoryPackage
|
||||
org.omg.DynamicAny.DynAnyPackage
|
||||
org.omg.IOP
|
||||
org.omg.IOP.CodecFactoryPackage
|
||||
org.omg.IOP.CodecPackage
|
||||
org.omg.Messaging
|
||||
org.omg.PortableInterceptor
|
||||
org.omg.PortableInterceptor.ORBInitInfoPackage
|
||||
org.omg.PortableServer
|
||||
org.omg.PortableServer.CurrentPackage
|
||||
org.omg.PortableServer.POAManagerPackage
|
||||
org.omg.PortableServer.POAPackage
|
||||
org.omg.PortableServer.portable
|
||||
org.omg.PortableServer.ServantLocatorPackage
|
||||
org.omg.SendingContext
|
||||
org.omg.stub.java.rmi
|
||||
org.w3c.dom
|
||||
org.xml.sax
|
||||
org.xml.sax.ext
|
||||
org.xml.sax.helpers
|
||||
@@ -391,7 +391,7 @@ _ have a means to load them from "teacher" version of p5
|
||||
_ figure out how to use the
|
||||
|
||||
_ add proper copyright and license information for all included projects
|
||||
_ http://dev.processing.org/bugs/show_bug.cgi?id=1303
|
||||
_ http://code.google.com/p/processing/issues/detail?id=185
|
||||
|
||||
_ need an "install library" option to deal with urls.. oy
|
||||
_ move library examples to the examples menu
|
||||
|
||||
Reference in New Issue
Block a user