1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Importing Processing rev. 5503 (1.0.3).

This commit is contained in:
David A. Mellis
2009-05-31 15:53:33 +00:00
parent 40982627a3
commit 22ed6cdb73
767 changed files with 341874 additions and 0 deletions

BIN
build/shared/examples.zip Normal file

Binary file not shown.

BIN
build/shared/lib/about.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@ -0,0 +1,113 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- charset must remain utf-8 to be handled properly by Processing -->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>@@sketch@@ : Built with Processing</title>
<style type="text/css">
/* <![CDATA[ */
body {
margin: 60px 0px 0px 55px;
font-family: verdana, geneva, arial, helvetica, sans-serif;
font-size: 11px;
background-color: #ddddcc;
text-decoration: none;
font-weight: normal;
line-height: normal;
}
a { color: #3399cc; }
a:link { color: #3399cc; text-decoration: underline; }
a:visited { color: #3399cc; text-decoration: underline; }
a:active { color: #3399cc; text-decoration: underline; }
a:hover { color: #3399cc; text-decoration: underline; }
/* ]]> */
</style>
</head>
<body>
<div id="content">
<div id="@@sketch@@_container">
<!--[if !IE]> -->
<object classid="java:com.sun.opengl.util.JOGLAppletLauncher.class"
type="application/x-java-applet"
archive="@@archive@@"
width="@@width@@" height="@@height@@"
standby="Loading Processing software..." >
<param name="archive" value="@@archive@@" />
<param name="mayscript" value="true" />
<param name="scriptable" value="true" />
<param name="image" value="loading.gif" />
<param name="boxmessage" value="Loading Processing software..." />
<param name="boxbgcolor" value="#FFFFFF" />
<param name="progressbar" value="true" />
<param name="subapplet.classname" value="@@sketch@@" />
<param name="subapplet.displayname" value="@@sketch@@" />
<param name="test_string" value="outer" />
<!--<![endif]-->
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0_15-windows-i586.cab"
width="@@width@@" height="@@height@@"
standby="Loading Processing software..." >
<param name="code" value="com.sun.opengl.util.JOGLAppletLauncher" />
<param name="archive" value="@@archive@@" />
<param name="mayscript" value="true" />
<param name="scriptable" value="true" />
<param name="image" value="loading.gif" />
<param name="boxmessage" value="Loading Processing software..." />
<param name="boxbgcolor" value="#FFFFFF" />
<param name="progressbar" value="true" />
<param name="subapplet.classname" value="@@sketch@@" />
<param name="subapplet.displayname" value="@@sketch@@" />
<param name="test_string" value="inner" />
<p>
<strong>
This browser does not have a Java Plug-in.
<br />
<a href="http://java.sun.com/products/plugin/downloads/index.html" title="Download Java Plug-in">
Get the latest Java Plug-in here.
</a>
</strong>
</p>
</object>
<!--[if !IE]> -->
</object>
<!--<![endif]-->
</div>
<p>
@@description@@
</p>
<p>
Source code: @@source@@
</p>
<p>
Built with <a href="http://processing.org" title="Processing.org">Processing</a>
</p>
</div>
</body>
</html>

View File

@ -0,0 +1,104 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- charset must remain utf-8 to be handled properly by Processing -->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>@@sketch@@ : Built with Processing</title>
<style type="text/css">
/* <![CDATA[ */
body {
margin: 60px 0px 0px 55px;
font-family: verdana, geneva, arial, helvetica, sans-serif;
font-size: 11px;
background-color: #ddddcc;
text-decoration: none;
font-weight: normal;
line-height: normal;
}
a { color: #3399cc; }
a:link { color: #3399cc; text-decoration: underline; }
a:visited { color: #3399cc; text-decoration: underline; }
a:active { color: #3399cc; text-decoration: underline; }
a:hover { color: #3399cc; text-decoration: underline; }
/* ]]> */
</style>
</head>
<body>
<div id="content">
<div id="@@sketch@@_container">
<!--[if !IE]> -->
<object classid="java:@@sketch@@.class"
type="application/x-java-applet"
archive="@@archive@@"
width="@@width@@" height="@@height@@"
standby="Loading Processing software..." >
<param name="archive" value="@@archive@@" />
<param name="mayscript" value="true" />
<param name="scriptable" value="true" />
<param name="image" value="loading.gif" />
<param name="boxmessage" value="Loading Processing software..." />
<param name="boxbgcolor" value="#FFFFFF" />
<param name="test_string" value="outer" />
<!--<![endif]-->
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0_15-windows-i586.cab"
width="@@width@@" height="@@height@@"
standby="Loading Processing software..." >
<param name="code" value="@@sketch@@" />
<param name="archive" value="@@archive@@" />
<param name="mayscript" value="true" />
<param name="scriptable" value="true" />
<param name="image" value="loading.gif" />
<param name="boxmessage" value="Loading Processing software..." />
<param name="boxbgcolor" value="#FFFFFF" />
<param name="test_string" value="inner" />
<p>
<strong>
This browser does not have a Java Plug-in.
<br />
<a href="http://java.sun.com/products/plugin/downloads/index.html" title="Download Java Plug-in">
Get the latest Java Plug-in here.
</a>
</strong>
</p>
</object>
<!--[if !IE]> -->
</object>
<!--<![endif]-->
</div>
<p>
@@description@@
</p>
<p>
Source code: @@source@@
</p>
<p>
Built with <a href="http://processing.org" title="Processing.org">Processing</a>
</p>
</div>
</body>
</html>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1 @@
APPL????

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>CFBundleName</key>
<string>@@sketch@@</string>
<key>CFBundleVersion</key>
<string>10.2</string>
<key>CFBundleAllowMixedLocalizations</key>
<string>true</string>
<key>CFBundleExecutable</key>
<string>JavaApplicationStub</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleIconFile</key>
<string>sketch.icns</string>
<key>CFBundleIdentifier</key>
<string>@@sketch@@</string>
<!-- http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-113616 -->
<key>LSUIPresentationMode</key>
<integer>@@lsuipresentationmode@@</integer>
<key>Java</key>
<dict>
<key>VMOptions</key>
<string>@@vmoptions@@</string>
<key>MainClass</key>
<string>@@sketch@@</string>
<key>JVMVersion</key>
<string>1.5*</string>
<key>ClassPath</key>
<string>@@classpath@@</string>
<key>Properties</key>
<!-- http://developer.apple.com/releasenotes/Java/java141/system_properties/chapter_4_section_1.html#//apple_ref/doc/uid/TP30000285 -->
<dict>
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
<key>apple.awt.showGrowBox</key>
<string>false</string>
<key>com.apple.smallTabs</key>
<string>true</string>
<key>apple.awt.Antialiasing</key>
<string>false</string>
<key>apple.awt.TextAntialiasing</key>
<string>true</string>
<key>com.apple.hwaccel</key>
<string>true</string>
<key>apple.awt.use-file-dialog-packages</key>
<string>false</string>
</dict>
</dict>
</dict>
</plist>

View File

@ -0,0 +1,627 @@
# LITERAL2 specifies constants
ADD LITERAL2
ALIGN_CENTER LITERAL2
ALIGN_LEFT LITERAL2
ALIGN_RIGHT LITERAL2
ALPHA LITERAL2
ALPHA_MASK LITERAL2
ALT LITERAL2
AMBIENT LITERAL2
ARROW LITERAL2
ARGB LITERAL2
BACKSPACE LITERAL2
BASELINE LITERAL2
BEVEL LITERAL2
BLEND LITERAL2
BLUE_MASK LITERAL2
BLUR LITERAL2
BOTTOM LITERAL2
BURN LITERAL2
CENTER LITERAL2
CHATTER LITERAL2
CODED LITERAL2
COMPLAINT LITERAL2
COMPOSITE LITERAL2
COMPONENT LITERAL2
CONCAVE_POLYGON LITERAL2
CONTROL LITERAL2
CONVEX_POLYGON LITERAL2
CORNER LITERAL2
CORNERS LITERAL2
CLOSE LITERAL2
CMYK LITERAL2
CODED LITERAL2
COMPLAINT LITERAL2
CONTROL LITERAL2
CORNER LITERAL2
CORNERS LITERAL2
CROSS LITERAL2
CUSTOM LITERAL2
DARKEST LITERAL2
DEGREES LITERAL2
DEG_TO_RAD LITERAL2
DELETE LITERAL2
DIAMETER LITERAL2
DIFFERENCE LITERAL2
DIFFUSE LITERAL2
DILATE LITERAL2
DIRECTIONAL LITERAL2
DISABLE_ACCURATE_TEXTURES LITERAL2
DISABLE_DEPTH_SORT LITERAL2
DISABLE_NATIVE_FONTS LITERAL2
DISABLE_OPENGL_ERROR_REPORT LITERAL2
DISABLE_TEXT_SMOOTH LITERAL2
DISABLED LITERAL2
DODGE LITERAL2
DOWN LITERAL2
DXF LITERAL2
ENABLE_ACCURATE_TEXTURES LITERAL2
ENABLE_DEPTH_SORT LITERAL2
ENABLE_NATIVE_FONTS LITERAL2
DISABLE_OPENGL_2X_SMOOTH LITERAL2
ENABLE_OPENGL_4X_SMOOTH LITERAL2
ENABLE_OPENGL_ERROR_REPORT LITERAL2
ENTER LITERAL2
EPSILON LITERAL2
ERODE LITERAL2
ESC LITERAL2
EXCLUSION LITERAL2
GIF LITERAL2
GRAY LITERAL2
GREEN_MASK LITERAL2
GROUP LITERAL2
HALF LITERAL2
HALF_PI LITERAL2
HAND LITERAL2
HARD_LIGHT LITERAL2
HINT_COUNT LITERAL2
HSB LITERAL2
IMAGE LITERAL2
INVERT LITERAL2
JAVA2D LITERAL2
JPEG LITERAL2
LEFT LITERAL2
LIGHTEST LITERAL2
LINES LITERAL2
LINUX LITERAL2
MACOSX LITERAL2
MAX_FLOAT LITERAL2
MAX_INT LITERAL2
MITER LITERAL2
MODEL LITERAL2
MOVE LITERAL2
MULTIPLY LITERAL2
NORMAL LITERAL2
NO_DEPTH_TEST LITERAL2
NTSC LITERAL2
ONE LITERAL2
OPAQUE LITERAL2
OPEN LITERAL2
OPENGL LITERAL2
ORTHOGRAPHIC LITERAL2
OVERLAY LITERAL2
PAL LITERAL2
P2D LITERAL2
P3D LITERAL2
PERSPECTIVE LITERAL2
PI LITERAL2
PIXEL_CENTER LITERAL2
POINT LITERAL2
POINTS LITERAL2
POSTERIZE LITERAL2
PROBLEM LITERAL2
PROJECT LITERAL2
QUAD_STRIP LITERAL2
QUADS LITERAL2
QUARTER_PI LITERAL2
RAD_TO_DEG LITERAL2
RADIUS LITERAL2
RADIANS LITERAL2
RED_MASK LITERAL2
REPLACE LITERAL2
RETURN LITERAL2
RGB LITERAL2
RIGHT LITERAL2
ROUND LITERAL2
SCREEN LITERAL2
SECAM LITERAL2
SHIFT LITERAL2
SPECULAR LITERAL2
SOFT_LIGHT LITERAL2
SQUARE LITERAL2
SUBTRACT LITERAL2
SVIDEO LITERAL2
TAB LITERAL2
TARGA LITERAL2
TEXT LITERAL2
TFF LITERAL2
THIRD_PI LITERAL2
THRESHOLD LITERAL2
TIFF LITERAL2
TOP LITERAL2
TRIANGLE_FAN LITERAL2
TRIANGLES LITERAL2
TRIANGLE_STRIP LITERAL2
TUNER LITERAL2
TWO LITERAL2
TWO_PI LITERAL2
UP LITERAL2
WAIT LITERAL2
WHITESPACE LITERAL2
# KEYWORD1 specifies datatypes and keywords
ArrayList KEYWORD1
Boolean KEYWORD1
Byte KEYWORD1
Character KEYWORD1
Class KEYWORD1
Double KEYWORD1
Float KEYWORD1
Integer KEYWORD1
HashMap KEYWORD1
String KEYWORD1
StringBuffer KEYWORD1
Thread KEYWORD1
abstract KEYWORD1
assert KEYWORD1
boolean KEYWORD1
break KEYWORD1
byte KEYWORD1
catch KEYWORD1
char KEYWORD1
class KEYWORD1
continue KEYWORD1
default KEYWORD1
do KEYWORD1
double KEYWORD1
else KEYWORD1
enum KEYWORD1
extends KEYWORD1
false KEYWORD1
final KEYWORD1
finally KEYWORD1
for KEYWORD1
float KEYWORD1
if KEYWORD1
implements KEYWORD1
import KEYWORD1
instanceof KEYWORD1
int KEYWORD1
interface KEYWORD1
long KEYWORD1
native KEYWORD1
new KEYWORD1
null KEYWORD1
package KEYWORD1
private KEYWORD1
protected KEYWORD1
public KEYWORD1
return KEYWORD1
short KEYWORD1
static KEYWORD1
strictfp KEYWORD1
super KEYWORD1
switch KEYWORD1
synchronized KEYWORD1
this KEYWORD1
throw KEYWORD1
throws KEYWORD1
transient KEYWORD1
true KEYWORD1
try KEYWORD1
void KEYWORD1
volatile KEYWORD1
while KEYWORD1
# Depricated API
arraycopy KEYWORD2 arraycopy_
openStream KEYWORD2 openStream_
# KEYWORD2 specifies methods and functions
cache KEYWORD2
# THE TEXT ABOVE IS HAND-WRITTEN AND FOUND IN THE FILE "keywords_base.txt"
# THE TEXT BELOW IS AUTO-GENERATED
abs KEYWORD2 abs_
acos KEYWORD2 acos_
+= addassign
+ addition
alpha KEYWORD2 alpha_
ambient KEYWORD2 ambient_
ambientLight KEYWORD2 ambientLight_
append KEYWORD2 append_
applyMatrix KEYWORD2 applyMatrix_
arc KEYWORD2 arc_
Array KEYWORD1 Array
[] arrayaccess
arrayCopy KEYWORD2 arrayCopy_
ArrayList KEYWORD1 ArrayList
asin KEYWORD2 asin_
= assign
atan KEYWORD2 atan_
atan2 KEYWORD2 atan2_
background KEYWORD2 background_
beginCamera KEYWORD2 beginCamera_
beginRaw KEYWORD2 beginRaw_
beginRecord KEYWORD2 beginRecord_
beginShape KEYWORD2 beginShape_
bezier KEYWORD2 bezier_
bezierDetail KEYWORD2 bezierDetail_
bezierPoint KEYWORD2 bezierPoint_
bezierTangent KEYWORD2 bezierTangent_
bezierVertex KEYWORD2 bezierVertex_
binary KEYWORD2 binary_
binary KEYWORD2 bitwiseAND_
| bitwiseOR
blend KEYWORD2 blend_
blendColor KEYWORD2 blendColor_
blue KEYWORD2 blue_
boolean KEYWORD1 boolean
boolean KEYWORD2 boolean_
box KEYWORD2 box_
break KEYWORD1 break
brightness KEYWORD2 brightness_
byte KEYWORD1 byte
byte KEYWORD2 byte_
camera KEYWORD2 camera_
case KEYWORD1 case
ceil KEYWORD2 ceil_
char KEYWORD1 char
char KEYWORD2 char_
char KEYWORD2 class_
color KEYWORD2 color_
color KEYWORD1 color_datatype
colorMode KEYWORD2 colorMode_
, comma
// comment
concat KEYWORD2 concat_
?: KEYWORD1 conditional_
constrain KEYWORD2 constrain_
continue KEYWORD1 continue
copy KEYWORD2 copy_
cos KEYWORD2 cos_
createFont KEYWORD2 createFont_
createGraphics KEYWORD2 createGraphics_
createImage KEYWORD2 createImage_
createInput KEYWORD2 createInput_
createOutput KEYWORD2 createOutput_
createReader KEYWORD2 createReader_
createWriter KEYWORD2 createWriter_
{} curlybraces
cursor KEYWORD2 cursor_
curve KEYWORD2 curve_
curveDetail KEYWORD2 curveDetail_
curvePoint KEYWORD2 curvePoint_
curveTangent KEYWORD2 curveTangent_
curveTightness KEYWORD2 curveTightness_
curveVertex KEYWORD2 curveVertex_
day KEYWORD2 day_
-- decrement
default KEYWORD1 default
degrees KEYWORD2 degrees_
delay KEYWORD2 delay_
directionalLight KEYWORD2 directionalLight_
dist KEYWORD2 dist_
/ divide
/= divideassign
/** doccomment
. dot
double KEYWORD1 double
draw KEYWORD3 draw_
ellipse KEYWORD2 ellipse_
ellipseMode KEYWORD2 ellipseMode_
else KEYWORD1 else
emissive KEYWORD2 emissive_
endCamera KEYWORD2 endCamera_
endRaw KEYWORD2 endRaw_
endRecord KEYWORD2 endRecord_
endShape KEYWORD2 endShape_
== equality
exit KEYWORD2 exit_
exp KEYWORD2 exp_
expand KEYWORD2 expand_
extends KEYWORD1 extends
false KEYWORD1 false
fill KEYWORD2 fill_
filter KEYWORD2 filter_
final KEYWORD1 final
float KEYWORD1 float
float KEYWORD2 float_
floor KEYWORD2 floor_
focused LITERAL2 focused
for KEYWORD1 for_
frameCount LITERAL2 frameCount
frameRate KEYWORD2 frameRate_
frameRate LITERAL2 frameRate
frustum KEYWORD2 frustum_
get KEYWORD2 get_
< greaterthan
<= greaterthanorequalto
green KEYWORD2 green_
HALF_PI LITERAL2 HALF_PI
HashMap KEYWORD1 HashMap
height LITERAL2 height
hex KEYWORD2 hex_
hint KEYWORD2 hint_
hour KEYWORD2 hour_
hue KEYWORD2 hue_
if KEYWORD1 if_
image KEYWORD2 image_
imageMode KEYWORD2 imageMode_
implements KEYWORD1 implements
import KEYWORD1 import
++ increment
!= inequality
int KEYWORD1 int
int KEYWORD2 int_
join KEYWORD2 join_
key LITERAL2 key
keyCode LITERAL2 keyCode
keyPressed KEYWORD2 keyPressed_
keyPressed LITERAL2 keyPressed
keyReleased KEYWORD2 keyReleased_
keyTyped KEYWORD2 keyTyped_
<< leftshift
lerp KEYWORD2 lerp_
lerpColor KEYWORD2 lerpColor_
< lessthan
<= lessthanorequalto
lightFalloff KEYWORD2 lightFalloff_
lights KEYWORD2 lights_
lightSpecular KEYWORD2 lightSpecular_
line KEYWORD2 line_
link KEYWORD2 link_
loadBytes KEYWORD2 loadBytes_
loadFont KEYWORD2 loadFont_
loadImage KEYWORD2 loadImage_
loadPixels KEYWORD2 loadPixels_
loadShape KEYWORD2 loadShape_
loadStrings KEYWORD2 loadStrings_
log KEYWORD2 log_
&& logicalAND
! logicalNOT
|| logicalOR
long KEYWORD1 long
loop KEYWORD2 loop_
mag KEYWORD2 mag_
map KEYWORD2 map_
match KEYWORD2 match_
matchAll KEYWORD2 matchAll_
max KEYWORD2 max_
millis KEYWORD2 millis_
min KEYWORD2 min_
- minus
minute KEYWORD2 minute_
modelX KEYWORD2 modelX_
modelY KEYWORD2 modelY_
modelZ KEYWORD2 modelZ_
% modulo
month KEYWORD2 month_
mouseButton LITERAL2 mouseButton
mouseClicked KEYWORD2 mouseClicked_
mouseDragged KEYWORD2 mouseDragged_
mouseMoved KEYWORD2 mouseMoved_
mousePressed KEYWORD2 mousePressed_
mousePressed LITERAL2 mousePressed
mouseReleased KEYWORD2 mouseReleased_
mouseX LITERAL2 mouseX
mouseY LITERAL2 mouseY
/* multilinecomment
* multiply
*= multiplyassign
new KEYWORD1 new
nf KEYWORD2 nf_
nfc KEYWORD2 nfc_
nfp KEYWORD2 nfp_
nfs KEYWORD2 nfs_
noCursor KEYWORD2 noCursor_
noFill KEYWORD2 noFill_
noise KEYWORD2 noise_
noiseDetail KEYWORD2 noiseDetail_
noiseSeed KEYWORD2 noiseSeed_
noLights KEYWORD2 noLights_
noLoop KEYWORD2 noLoop_
norm KEYWORD2 norm_
normal KEYWORD2 normal_
noSmooth KEYWORD2 noSmooth_
noStroke KEYWORD2 noStroke_
noTint KEYWORD2 noTint_
null KEYWORD1 null
Object KEYWORD1 Object
online LITERAL2 online
open KEYWORD2 open_
ortho KEYWORD2 ortho_
param KEYWORD2 param_
() parentheses
perspective KEYWORD2 perspective_
PFont KEYWORD1 PFont
list KEYWORD2 PFont_list_
PGraphics KEYWORD1 PGraphics
beginDraw KEYWORD2 PGraphics_beginDraw_
endDraw KEYWORD2 PGraphics_endDraw_
PI LITERAL2 PI
PImage KEYWORD1 PImage
alpha KEYWORD2 PImage_alpha_
blend KEYWORD2 PImage_blend_
copy KEYWORD2 PImage_copy_
filter KEYWORD2 PImage_filter_
get KEYWORD2 PImage_get_
height LITERAL2 PImage_height
loadPixels KEYWORD2 PImage_loadPixels_
mask KEYWORD2 PImage_mask_
pixels LITERAL2 PImage_pixels
resize KEYWORD2 PImage_resize_
save KEYWORD2 PImage_save_
set KEYWORD2 PImage_set_
updatePixels KEYWORD2 PImage_updatePixels_
width LITERAL2 PImage_width
pixels LITERAL2 pixels
pmouseX LITERAL2 pmouseX
pmouseY LITERAL2 pmouseY
point KEYWORD2 point_
point KEYWORD2 pointLight_
popMatrix KEYWORD2 popMatrix_
popStyle KEYWORD3 popStyle_
pow KEYWORD2 pow_
print KEYWORD2 print_
printCamera KEYWORD2 printCamera_
println KEYWORD2 println_
printMatrix KEYWORD2 printMatrix_
printProjection KEYWORD2 printProjection_
PrintWriter KEYWORD1 PrintWriter
close KEYWORD2 PrintWriter_close_
flush KEYWORD2 PrintWriter_flush_
print KEYWORD2 PrintWriter_print_
println KEYWORD2 PrintWriter_println_
private KEYWORD1 private
PShape KEYWORD1 PShape
disableStyle KEYWORD2 PShape_disableStyle_
enableStyle KEYWORD2 PShape_enableStyle_
getChild KEYWORD2 PShape_getChild_
getHeight KEYWORD2 PShape_getHeight_
getWidth KEYWORD2 PShape_getWidth_
isVisible KEYWORD2 PShape_isVisible_
resetMatrix KEYWORD2 PShape_resetMatrix_
rotate KEYWORD2 PShape_rotate_
rotateX KEYWORD2 PShape_rotateX_
rotateY KEYWORD2 PShape_rotateY_
rotateZ KEYWORD2 PShape_rotateZ_
scale KEYWORD2 PShape_scale_
setVisible KEYWORD2 PShape_setVisible_
translate KEYWORD2 PShape_translate_
public KEYWORD1 public
pushMatrix KEYWORD2 pushMatrix_
pushStyle KEYWORD3 pushStyle_
PVector KEYWORD1 PVector
add KEYWORD2 PVector_add_
angleBetween KEYWORD2 PVector_angleBetween_
array KEYWORD2 PVector_array_
copy KEYWORD2 PVector_copy_
cross KEYWORD2 PVector_cross_
dist KEYWORD2 PVector_dist_
div KEYWORD2 PVector_div_
dot KEYWORD2 PVector_dot_
get KEYWORD2 PVector_get_
limit KEYWORD2 PVector_limit_
mag KEYWORD2 PVector_mag_
mult KEYWORD2 PVector_mult_
normalize KEYWORD2 PVector_normalize_
set KEYWORD2 PVector_set_
sub KEYWORD2 PVector_sub_
quad KEYWORD2 quad_
radians KEYWORD2 radians_
random KEYWORD2 random_
randomSeed KEYWORD2 randomSeed_
rect KEYWORD2 rect_
rectMode KEYWORD2 rectMode_
red KEYWORD2 red_
redraw KEYWORD2 redraw_
requestImage KEYWORD2 requestImage_
resetMatrix KEYWORD2 resetMatrix_
return KEYWORD1 return
reverse KEYWORD2 reverse_
<< rightshift
rotate KEYWORD2 rotate_
rotateX KEYWORD2 rotateX_
rotateY KEYWORD2 rotateY_
rotateZ KEYWORD2 rotateZ_
round KEYWORD2 round_
saturation KEYWORD2 saturation_
save KEYWORD2 save_
saveBytes KEYWORD2 saveBytes_
saveFrame KEYWORD2 saveFrame_
saveStream KEYWORD2 saveStream_
saveStrings KEYWORD2 saveStrings_
scale KEYWORD2 scale_
screen LITERAL2 screen
screenX KEYWORD2 screenX_
screenY KEYWORD2 screenY_
screenZ KEYWORD2 screenZ_
second KEYWORD2 second_
selectFolder KEYWORD2 selectFolder_
selectInput KEYWORD2 selectInput_
selectOutput KEYWORD2 selectOutput_
; semicolon
set KEYWORD2 set_
setup KEYWORD3 setup_
shape KEYWORD2 shape_
shapeMode KEYWORD2 shapeMode_
shininess KEYWORD2 shininess_
shorten KEYWORD2 shorten_
sin KEYWORD2 sin_
size KEYWORD2 size_
smooth KEYWORD2 smooth_
sort KEYWORD2 sort_
specular KEYWORD2 specular_
sphere KEYWORD2 sphere_
sphereDetail KEYWORD2 sphereDetail_
splice KEYWORD2 splice_
split KEYWORD2 split_
splitTokens KEYWORD2 splitTokens_
spotLight KEYWORD2 spotLight_
sq KEYWORD2 sq_
sqrt KEYWORD2 sqrt_
static KEYWORD1 static
status KEYWORD2 status_
str KEYWORD2 str_
String KEYWORD1 String
charAt KEYWORD2 String_charAt_
equals KEYWORD2 String_equals_
indexOf KEYWORD2 String_indexOf_
length KEYWORD2 String_length_
substring KEYWORD2 String_substring_
toLowerCase KEYWORD2 String_toLowerCase_
toUpperCase KEYWORD2 String_toUpperCase_
stroke KEYWORD2 stroke_
strokeCap KEYWORD2 strokeCap_
strokeJoin KEYWORD2 strokeJoin_
strokeWeight KEYWORD2 strokeWeight_
subset KEYWORD2 subset_
-= subtractassign
super KEYWORD1 super
switch KEYWORD2 switch_
tan KEYWORD2 tan_
text KEYWORD2 text_
textAlign KEYWORD2 textAlign_
textAscent KEYWORD2 textAscent_
textDescent KEYWORD2 textDescent_
textFont KEYWORD2 textFont_
textLeading KEYWORD2 textLeading_
textMode KEYWORD2 textMode_
textSize KEYWORD2 textSize_
texture KEYWORD2 texture_
textureMode KEYWORD2 textureMode_
textWidth KEYWORD2 textWidth_
this KEYWORD1 this
tint KEYWORD2 tint_
translate KEYWORD2 translate_
triangle KEYWORD2 triangle_
trim KEYWORD2 trim_
true KEYWORD1 true
TWO_PI LITERAL2 TWO_PI
unbinary KEYWORD2 unbinary_
unhex KEYWORD2 unhex_
updatePixels KEYWORD2 updatePixels_
vertex KEYWORD2 vertex_
void KEYWORD1 void
while KEYWORD1 while_
width LITERAL2 width
XMLElement KEYWORD1 XMLElement
getChild KEYWORD2 XMLElement_getChild_
getChildCount KEYWORD2 XMLElement_getChildCount_
getChildren KEYWORD2 XMLElement_getChildren_
getContent KEYWORD2 XMLElement_getContent_
getFloatAttribute KEYWORD2 XMLElement_getFloatAttribute_
getIntAttribute KEYWORD2 XMLElement_getIntAttribute_
getName KEYWORD2 XMLElement_getName_
getStringAttribute KEYWORD2 XMLElement_getStringAttribute_
year KEYWORD2 year_

215
build/shared/lib/preferences.txt Executable file
View File

@ -0,0 +1,215 @@
# !!!!!!!! UNLIKE PREVIOUS VERSIONS OF PROCESSING !!!!!!!!!!
# DO NOT MODIFY THIS FILE, OR DELETE SETTINGS FROM THIS FILE
# These are the default preferences. If you want to modify
# them directly, use the per-user local version of the file:
# Documents and Settings -> [username] -> Application Data ->
# Processing -> preferences.txt (on Windows XP)
# Users -> [username] -> AppData -> Roaming ->
# Processing -> preferences.txt (on Windows Vista)
# ~/Library -> Processing -> preferences.txt (on Mac OS X)
# ~/.processing -> preferences.txt (on Linux)
# The exact location of your preferences file can be found at
# the bottom of the Preferences window inside Processing.
# Because AppData and Application Data may be considered
# hidden or system folders on Windows, you'll have to ensure
# that they're visible in order to get at preferences.txt
# You'll have problems running Processing if you incorrectly
# modify lines in this file.
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# DEFAULT PATHS FOR SKETCHBOOK AND SETTINGS
# relative paths will be relative to processing.exe or procesing.app.
# absolute paths may also be used.
# note that this path should use forward slashes (like unix)
# instead of \ on windows or : on macos or whatever else
# If you don't want users to have their sketchbook default to
# "My Documents/Processing" on Windows and "Documents/Processing" on OS X,
# set this to another path that will be used by default.
# Note that this path must exist already otherwise it won't see
# the sketchbook folder, and will instead assume the sketchbook
# has gone missing, and that it should instead use the default.
#sketchbook.path=
# if you don't want settings to go into "application data" on windows
# and "library" on macosx, set this to the alternate location.
#settings.path=data
# temporary build path, normally this goes into the default
# "temp" folder for that platform (as defined by java)
# but this can be used to set a specific file in case of problems
#build.path=build
# By default, no sketches currently open
last.sketch.count=0
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# by default, check the processing server for any updates
# (please avoid disabling, this also helps us know basic numbers
# on how many people are using Processing)
update.check = true
# on windows, automatically associate .pde files with processing.exe
platform.auto_file_type_associations = true
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# default size for the main window
default.window.width = 500
default.window.height = 600
# font size for editor
editor.font=Monospaced,plain,12
# Monaco is nicer on Mac OS X, so use that explicitly
editor.font.macosx = Monaco,plain,10
# anti-aliased text, turned off by default
editor.antialias=false
# color to be used for background when 'external editor' enabled
editor.external=false
# caret blinking
editor.caret.blink=true
# area that's not in use by the text (replaced with tildes)
editor.invalid=false
console = true
console.output.file = stdout.txt
console.error.file = stderr.txt
console.lines = 4
# set to false to disable automatically clearing the console
# each time 'run' is hit
console.auto_clear = true
# set the maximum number of lines remembered by the console
# the default is 500, lengthen at your own peril
console.length = 500
# convert tabs to spaces? how many spaces?
editor.tabs.expand = true
editor.tabs.size = 2
# automatically indent each line
editor.indent = true
# size of divider between editing area and the console
editor.divider.size = 0
# the larger divider on windows is ugly with the little arrows
# this makes it large enough to see (mouse changes) and use,
# but keeps it from being annoyingly obtrusive
editor.divider.size.windows = 2
# any additional java options when running externally
# (for applets that are run external to the environment...
# those with a code folder, or using any libraries)
# if you hose this and can't run things, it's your own durn fault
run.options =
# settings for the -XmsNNNm and -XmxNNNm command line option
run.options.memory = false
run.options.memory.initial = 64
run.options.memory.maximum = 256
# example of increasing the memory size for applets run externally
#run.options = -Xms128m -Xmx1024m
# index of the default display to use for present mode
# (this setting not yet completely implemented)
run.display = 1
# set internally
#run.window.bgcolor=
# set to false to open a new untitled window when closing the last window
# (otherwise, the environment will quit)
# default to the relative norm for the different platforms,
# but the setting can be changed in the prefs dialog anyway
#sketchbook.closing_last_window_quits = true
#sketchbook.closing_last_window_quits.macosx = false
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#history.recording = true
# for advanced users, enable option to export a library
#export.library = false
# which platforms to export by default
export.application.platform.windows = true
export.application.platform.macosx = true
export.application.platform.linux = true
# whether or not to export as full screen (present) mode
export.application.fullscreen = false
# whether to show the stop button when exporting to application
export.application.stop = true
# false will place all exported files into a single .jar
export.applet.separate_jar_files = false
# set to false to no longer delete applet or application folders before export
export.delete_target_folder = true
# may be useful when attempting to debug the preprocessor
preproc.save_build_files=false
# allows various preprocessor features to be toggled
# in case they are causing problems
# preprocessor: pde.g
preproc.color_datatype = true
preproc.web_colors = true
preproc.enhanced_casting = true
# preprocessor: PdeEmitter.java
preproc.substitute_floats = true
#preproc.substitute_image = false
#preproc.substitute_font = false
# auto-convert non-ascii chars to unicode escape sequences
preproc.substitute_unicode = true
# PdePreproc.java
# writes out the parse tree as parseTree.xml, which can be usefully
# viewed in (at least) Mozilla or IE. useful when debugging the preprocessor.
preproc.output_parse_tree = false
# imports to use by default (changed for 0149, some imports removed)
preproc.imports = java.applet,java.awt,java.awt.image,java.awt.event,java.io,java.net,java.text,java.util,java.util.zip,java.util.regex
# set the browser to be used on linux
browser.linux = mozilla
# set to the program to be used for launching apps on linux
#launcher.linux = gnome-open
# FULL SCREEN (PRESENT MODE)
run.present.bgcolor = #666666
run.present.stop.color = #cccccc
# starting in release 0159, don't use full screen exclusive anymore
run.present.exclusive = false
# use this by default to hide the menu bar and dock on osx
run.present.exclusive.macosx = true

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 B

View File

@ -0,0 +1,101 @@
# GUI - STATUS
status.notice.fgcolor = #000000
status.notice.bgcolor = #818b95
status.error.fgcolor = #ffffff
status.error.bgcolor = #662000
status.edit.fgcolor = #000000
status.edit.bgcolor = #cc9900
status.font = SansSerif,plain,12
# GUI - TABS
# settings for the tabs at the top
# (tab images are stored in the lib/theme folder)
header.bgcolor = #818b95
header.text.selected.color = #1a1a00
header.text.unselected.color = #ffffff
header.text.font = SansSerif,plain,12
# GUI - CONSOLE
console.font = Monospaced,plain,11
console.font.macosx = Monaco,plain,10
console.color = #000000
console.output.color = #cccccc
console.error.color = #ff3000
# GUI - BUTTONS
buttons.bgcolor = #4a545e
buttons.status.font = SansSerif,plain,12
buttons.status.color = #ffffff
# GUI - LINESTATUS
linestatus.color = #ffffff
linestatus.bgcolor = #29333d
# EDITOR - DETAILS
# foreground and background colors
editor.fgcolor = #000000
editor.bgcolor = #ffffff
# highlight for the current line
editor.linehighlight.color=#e2e2e2
# highlight for the current line
editor.linehighlight=true
# caret blinking and caret color
editor.caret.color = #333300
# color to be used for background when 'external editor' enabled
editor.external.bgcolor = #c8d2dc
# selection color
editor.selection.color = #ffcc00
# area that's not in use by the text (replaced with tildes)
editor.invalid.style = #7e7e7e,bold
# little pooties at the end of lines that show where they finish
editor.eolmarkers = false
editor.eolmarkers.color = #999999
# bracket/brace highlighting
editor.brackethighlight = true
editor.brackethighlight.color = #006699
# TEXT - KEYWORDS
# e.g abstract, final, private
editor.keyword1.style = #cc6600,plain
# e.g. beginShape, point, line
editor.keyword2.style = #cc6600,plain
# e.g. byte, char, short, color
editor.keyword3.style = #cc6600,bold
# TEXT - LITERALS
# constants: e.g. null, true, this, RGB, TWO_PI
editor.literal1.style = #006699,plain
# p5 built in variables: e.g. mouseX, width, pixels
editor.literal2.style = #006699,plain
# e.g. + - = /
editor.operator.style = #000000,plain
# ?? maybe this is for words followed by a colon
# like in case statements or goto
editor.label.style = #7e7e7e,bold
# TEXT - COMMENTS
editor.comment1.style = #7e7e7e,plain
editor.comment2.style = #7e7e7e,plain
# LINE STATUS - editor line number status bar at the bottom of the screen
linestatus.font = SansSerif,plain,10
linestatus.height = 20

View File

@ -0,0 +1,5 @@
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/

View File

@ -0,0 +1,6 @@
# don't actually export anything.. this is only to link against
# inside of the p5 environment
applet=
# for an application, export to prevent from breaking
application=javascript.jar

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

View File

@ -0,0 +1 @@
2.0.1

BIN
build/shared/reference.zip Executable file

Binary file not shown.

241
build/shared/revisions.txt Normal file
View File

@ -0,0 +1,241 @@
PROCESSING 1.0.3 (REV 0165) - 24 February 2009
Bug fix release to repair a couple of regressions caused by changes in 1.0.2,
as well as a couple other new problems encountered since.
[ bug fixes ]
+ endRecord or endRaw produces a RuntimeException with the PDF library
http://dev.processing.org/bugs/show_bug.cgi?id=1169
+ Problem with beginRaw/endRaw and OpenGL
http://dev.processing.org/bugs/show_bug.cgi?id=1171
+ Set strokeWeight on points and lines with begin/endRaw
http://dev.processing.org/bugs/show_bug.cgi?id=1172
+ Fix strokeWeight quirks with P3D when used with points and lines
+ ArrayIndexOutOfBoundsException with point()
http://dev.processing.org/bugs/show_bug.cgi?id=1168
[ changes ]
+ Update to iText 2.1.4 for the PDF library
PROCESSING 1.0.2 (REV 0164) - 21 February 2009
This release fixes many bugs and adds two minor functions to the XML library.
[ bug fixes ]
+ Empty "code" folder causing problems with Export
http://dev.processing.org/bugs/show_bug.cgi?id=1084
+ Sketches not loading when .pde file is opened from the Windows Explorer
on Asian Windows systems.
http://dev.processing.org/bugs/show_bug.cgi?id=1089
+ Disable copying of metadata and resource forks in OS X build
http://dev.processing.org/bugs/show_bug.cgi?id=1098
+ Suppress goofy Apple error message about JVMArchs
+ StringIndexOutOfBoundsException caused by import statements with no dots
http://dev.processing.org/bugs/show_bug.cgi?id=1145
+ Pressing <Esc> in "Are you sure you want to Quit?" dialog causes quit
http://dev.processing.org/bugs/show_bug.cgi?id=1134
+ Fix QUADS and QUAD_STRIP with P2D
http://dev.processing.org/bugs/show_bug.cgi?id=1162
+ ArrayIndexOutOfBoundsException when drawing curves in P3D and OPENGL
http://dev.processing.org/bugs/show_bug.cgi?id=1153
+ Problems with negatve arc() angles in OpenGL, P3D, other inconsistencies
http://dev.processing.org/bugs/show_bug.cgi?id=1095
+ requestImage() causing problems with JAVA2D
+ Fix minor strokeWeight bug with OpenGL
+ Minor bug fix to SVG files that weren't being resized properly
+ OpenGL is rendering darker in 0149+
http://dev.processing.org/bugs/show_bug.cgi?id=958
Thanks to Dave Bollinger for tracking this down and providing a solution
+ OutOfMemoryError with ellipse() in P3D and OPENGL
http://dev.processing.org/bugs/show_bug.cgi?id=1086
+ ArrayIndexOutOfBoundsException with P3D and OPENGL
http://dev.processing.org/bugs/show_bug.cgi?id=1117
+ point(x,y) ignores noStroke() in some renderers
http://dev.processing.org/bugs/show_bug.cgi?id=1090
+ Fix Windows startup problem when scheme coloring was odd
http://dev.processing.org/bugs/show_bug.cgi?id=1109
Changes to the system theme could cause Processing to not launch
+ Fix several point() problems with P3D
http://dev.processing.org/bugs/show_bug.cgi?id=1110
+ nextPage() not working properly with PDF as the renderer
http://dev.processing.org/bugs/show_bug.cgi?id=1131
+ Save style information when nextPage() is called in PDF renderer
+ beginRaw() broken (no DXF, etc working)
http://dev.processing.org/bugs/show_bug.cgi?id=1099
http://dev.processing.org/bugs/show_bug.cgi?id=1144
+ Fix algorithm for quadratic to cubic curve conversion
http://dev.processing.org/bugs/show_bug.cgi?id=1122
Thanks to user bits.in.shambles for providing a fix.
+ tint() not working in P2D
http://dev.processing.org/bugs/show_bug.cgi?id=1132
+ blend() y coordinates inverted when using OpenGL
http://dev.processing.org/bugs/show_bug.cgi?id=1137
+ Fix for getChild() and getChildren() with XML elements that have null names
[ additions ]
+ Added listChildren() method to XMLElement
+ Added optional toString(boolean) parameter to enable/disable indents
in XMLElement
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PROCESSING 1.0.1 (REV 0163) - 29 November 2008
Processing 1.0 has arrived! You can read an overview of changes introduced
in the last few months here: http://processing.org/reference/changes.html
Also see the "known issues" section of the troubleshooting page:
http://processing.org/reference/troubleshooting/#known
This release (1.0.1) fixes a handful of issues that only showed up once we
had more testing, particularly with the wider audience we've received in the
past week following the announcement.
[ bug fixes ]
+ ArrayIndexOutOfBoundsException with File > New
http://dev.processing.org/bugs/show_bug.cgi?id=1067
+ "CallStaticVoidMethod() threw an exception" on some Mac OS X machines
http://dev.processing.org/bugs/show_bug.cgi?id=1063
http://dev.processing.org/bugs/show_bug.cgi?id=1078
+ "editor.indent" preference setting does not work properly
http://dev.processing.org/bugs/show_bug.cgi?id=1073
+ Fixed some "An error occurred while starting the application" problems
+ Added a note about the Minim library to the changes page.
+ Disable parsing of regexps with the split() command
http://dev.processing.org/bugs/show_bug.cgi?id=1060
+ Fixed ArrayIndexOutOfBoundsException in ellipseImpl().
http://dev.processing.org/bugs/show_bug.cgi?id=1068
+ Fixed problem where small ellipses weren't showing up.
[ changes ]
+ Implement multi-line tab via tab key (also outdent)
http://dev.processing.org/bugs/show_bug.cgi?id=1075
+ Code with 'import' and a space incorrectly parsed as an import statement
http://dev.processing.org/bugs/show_bug.cgi?id=1064
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PROCESSING 1.0 (REV 0162) - 24 November 2008
Processing 1.0 has arrived! You can read an overview of changes introduced
in the last few months here: http://processing.org/reference/changes.html
[ known issues ]
+ Sketches that size(w, h, OPENGL) and do not clear the background on each
frame can cause major flickering or problems when the screen clears anyway.
There are several possible solutions:
1. You may need to disable the default 2x smoothing by using
hint(DISABLE_OPENGL_2X_SMOOTH).
2. Update the drivers for your graphics card.
3. Get a decent graphics card -- the OpenGL renderer is for advanced
use, we don't support using it with cheaper built-in graphics hardware
like the Intel GMA 950.
4. If you're running Windows Vista, try disabling the Aero theme.
This flickering issue is being tracked here:
http://dev.processing.org/bugs/show_bug.cgi?id=1056
+ "An error occurred while starting the application" when launching
Processing.exe on Windows. This is a high priority however we cannot
reproduce it on any of our test machines, which has delayed a fix.
http://dev.processing.org/bugs/show_bug.cgi?id=986
+ With P2D, P3D, and OPENGL, series of connected lines (such as the stroke
around a polygon, triangle, or ellipse) produce unattractive results when
strokeWeight is set.
http://dev.processing.org/bugs/show_bug.cgi?id=955
+ Unlike most applications, the menu bar is inside the editor window when
Processing is used with Mac OS X 10.5. This is a workaround for an Apple
bug in Java 1.5 and 1.6 on Mac OS X 10.5 that causes the menu bar to be
so excessively slow that the application appears to have crashed.
http://dev.processing.org/bugs/show_bug.cgi?id=786
Please file a bug report with Apple at bugreporter.apple.com if you want
this fixed. The problem has existed since the spring, and we first filed
a bug with them in June, and we have received no indication that it when
it will be fixed, or if it will ever be fixed.
Or if you want to take your chances with the slow menu bar,
you can change the default setting in the Preferences window.
+ Sketches that use the video library plus OpenGL have a problem on some
OS X machines. The workaround is listed in Comment #16 of this bug:
http://dev.processing.org/bugs/show_bug.cgi?id=882#c16
+ Command line support arrived in a recent release, but is not working yet.
http://dev.processing.org/bugs/show_bug.cgi?id=1048
+ OpenGL rendering is more dim/darker in release 0149 and later.
http://dev.processing.org/bugs/show_bug.cgi?id=958
Any help tracking this down would be most appreciated.
+ The first few frames of OpenGL sketches on Windows run slowly.
http://dev.processing.org/bugs/show_bug.cgi?id=874
+ When used with P3D, strokeWeight does not interpolate the Z-coordinates
of the lines, which means that when rotated, these flat lines may
disappear. (Since, uh, lines are, you know, flat.) The OPENGL renderer
setting does not share this problem because it always draws lines
perpendicular to the screen (which we hope to do in a future release).
http://dev.processing.org/bugs/show_bug.cgi?id=956
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
in spite of their historical feel good campiness, i've removed the
notes from earlier releases because this file was getting out of hand.

View File

@ -0,0 +1,11 @@
#!/bin/sh
# The pde.jar file may be buried inside the .app file on Mac OS X.
PDE=`find ../.. -name pde.jar`
javac -target 1.5 \
-cp "../../lib/core.jar:$PDE" \
-d bin \
src/Mangler.java
cd bin && zip -r ../tool/mangler.jar * && cd ..

View File

@ -0,0 +1,94 @@
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Part of the Processing project - http://processing.org
Copyright (c) 2008 Ben Fry and Casey Reas
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package com.transformers.supermangletron;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.swing.JOptionPane;
import processing.app.Editor;
import processing.app.tools.Tool;
/**
* Example Tools menu entry.
*/
public class Mangler implements Tool {
Editor editor;
public void init(Editor editor) {
this.editor = editor;
}
public String getMenuTitle() {
return "Mangle Selection";
}
public void run() {
String sketchName = editor.getSketch().getName();
Object[] options = { "Yes, please", "No, thanks" };
int result = JOptionPane.showOptionDialog(editor,
"Is " + sketchName +
" ready for destruction?",
"Super Mangle Tron",
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE,
null,
options,
options[1]);
if (result == JOptionPane.YES_OPTION) {
mangleSelection();
}
}
protected void mangleSelection() {
if (editor.isSelectionActive()) {
String selection = editor.getSelectedText();
char[] stuff = selection.toCharArray();
// Randomly swap a bunch of characters in the text
for (int i = 0; i < stuff.length / 10; i++) {
int a = (int) (Math.random() * stuff.length);
int b = (int) (Math.random() * stuff.length);
if (stuff[a] == '\n' || stuff[b] == '\n') {
continue; // skip newline characters
}
stuff[a] = selection.charAt(b);
stuff[b] = selection.charAt(a);
}
editor.startCompoundEdit();
editor.setSelectedText(new String(stuff));
editor.stopCompoundEdit();
editor.statusNotice("Now that feels better, doesn't it?");
} else {
editor.statusError("No selection, no dice.");
}
}
}

View File

@ -0,0 +1,143 @@
TOOLS IN PROCESSING
With initial help from code contributed by fjen, Processing release 0147 and
later have a dynamically loading tools menu, which can be used to expand the
environment in fun and fantastic ways.
A Tool is a chunk of code that runs from the Tools menu. Tools are a means
of building onto the Processing Development Environment without needing to
rebuild the beast from source.
The interface (at least for now) is extremely simple:
package processing.app.tools.Tool;
public interface Tool extends Runnable {
public void init(Editor editor);
public void run();
public String getMenuTitle();
}
The init() method is called when an Editor window first opens. This means
you won't have access to a sketch object, or a GUI, and should only do minimal
setup. (However it'd be a good idea to stash the "Editor" object for later.)
The run() method will be called by the main application when the tool is
selected from the menu. This is called using invokeLater(), so that the tool
can safely use Swing and any other GUI yackety yack. If you're using a Frame,
you'll need to detect whether the Frame is already open (and bring it to the
front) or whether to create a new window.
Faceless tools also use the run() method. You should avail yourselves of the
statusNotice() and statusError() methods in Editor, to let the user know what's
happened. (As per p. 107 of the Processing Development Environment Tools
Reference User Interface Guide.)
The getMenuTitle() method just returns the title for what should appear in the
Tools menu. Not doing shortcuts for now, because resolving them between tools
(and the rest of the interface) is fugly. We would also need additional
modifiers for shift and alt. It just gets messy quick. Ordering in the Tools
menu is alphabetical.
//////////////////////////////////////////////////////////////
Where to put Tools
Core tools live inside the "tools" subfolder of the Processing distribution,
however users should install "contributed" tools in their sketchbook folder,
inside a subfolder named "tools".
If a tool works only with a particular release of Processing, then it may make
sense for the user to put things into the Processing tools folder, however we'd
like to keep users out of there as much as possible. In fact, it may not be
visible in future releases of Processing (for instance, on Mac OS X, the tools
folder is hidden inside the .app bundle).
Tools should be laid out similar to libraries, though the structure is a little
more flexible. The tool folder should be the name of the main class (without
its package name but using the same capitalization), and have a subfolder named
"tool" that contains the .jar and .zip files it uses. I'll use the included
"Mangler" tool as an example.
(This Tool is not built by default, due to a lack of non-dubious arguments
regarding the usefulness of including (by default) a Tool that mangles code.)
The folder should be called Mangler (note the capitalization), and contain:
sketchbook/Mangler -> tool folder
sketchbook/Mangler/tool -> location for code
sketchbook/Mangler/tool/mangle.jar -> jar with one or more classes
The naming of jar and zip files in the tool/* directory doesn't matter.
When Processing loads, the jar and zip files will be searched for
Mangler.class. Even though this tool is found in package poos.shoe,
it will be sussed out. Package names are required.
Loose .class files are not supported, use only jar and zip files.
//////////////////////////////////////////////////////////////
What You Can and Cannot Do
The only API methods that are officially scrubbed and sanctioned by the
Commissioner on Fair API and Proper Manners for use by the Tools classes
are found in:
processing.app.Base
processing.app.Editor
processing.app.Preferences
processing.app.Sketch
processing.app.SketchCode
In fact, most of the API you should be talking to is inside Editor.
Full API documentation can be found on dev.processing.org:
http://dev.processing.org/reference/everything/
(Keep in mind that this is not always perfectly up to date, but we'll try.)
Of course, you're welcome to go spelunking through the rest of the API
(that's where all the fun stuff is anyway), but don't be upset when something
changes and breaks your tool and makes your users sad.
Currently, native code is not supported with tools. This might be possible,
but it's another potentially messy thing to dynamically add native library
paths to running code. (See "Future Releases" below.)
//////////////////////////////////////////////////////////////
Future Releases
In future releases, we are considering the following features:
1. How shortcut keys are handled.
http://dev.processing.org/bugs/show_bug.cgi?id=140
2. Whether to allow tools to dock into the Preferences panel.
http://dev.processing.org/bugs/show_bug.cgi?id=883
3. A means to run native code from the Tools menu.
http://dev.processing.org/bugs/show_bug.cgi?id=884
4. Methods for reorganizing the Tools menu, or placing contributed
Tools inside other menus (such as Edit or Sketch).
http://dev.processing.org/bugs/show_bug.cgi?id=885
This is the first round of documentation for the Tools menu, we reserve the
right to update, clarify, and change our mind in future releases.
//////////////////////////////////////////////////////////////
Ben Fry, last updated 19 August 2008