Merge remote-tracking branch 'upstream/master'

This commit is contained in:
codeanticode
2014-11-15 23:05:37 -07:00
12 changed files with 530 additions and 260 deletions
+34
View File
@@ -147,7 +147,40 @@ public class PApplet implements PConstants {
/** The PGraphics renderer associated with this PApplet */
public PGraphics g;
/**
* ( begin auto-generated from displayWidth.xml )
*
* System variable which stores the width of the computer screen. For
* example, if the current screen resolution is 1024x768,
* <b>displayWidth</b> is 1024 and <b>displayHeight</b> is 768. These
* dimensions are useful when exporting full-screen applications.
* <br /><br />
* To ensure that the sketch takes over the entire screen, use "Present"
* instead of "Run". Otherwise the window will still have a frame border
* around it and not be placed in the upper corner of the screen. On Mac OS
* X, the menu bar will remain present unless "Present" mode is used.
*
* ( end auto-generated )
* @webref environment
*/
public int displayWidth;
/**
* ( begin auto-generated from displayHeight.xml )
*
* System variable that stores the height of the computer screen. For
* example, if the current screen resolution is 1024x768,
* <b>displayWidth</b> is 1024 and <b>displayHeight</b> is 768. These
* dimensions are useful when exporting full-screen applications.
* <br /><br />
* To ensure that the sketch takes over the entire screen, use "Present"
* instead of "Run". Otherwise the window will still have a frame border
* around it and not be placed in the upper corner of the screen. On Mac OS
* X, the menu bar will remain present unless "Present" mode is used.
*
* ( end auto-generated )
* @webref environment
*/
public int displayHeight;
/** A leech graphics object that is echoing all events. */
@@ -3020,6 +3053,7 @@ public class PApplet implements PConstants {
*
* @webref structure
* @usage Application
* @param name name of the function to be executed in a separate thread
* @see PApplet#setup()
* @see PApplet#draw()
* @see PApplet#loop()
+27 -27
View File
@@ -2,20 +2,6 @@
X detect CMYK JPEG images and return null
X https://community.oracle.com/thread/1272045?start=0&tstart=0
_ remove sketch path hack from PApplet
python has to use launch() instead of open()
map() is bad for Python (and JavaScript?)
_ args[] should be null if none passed (otherwise args == null checks are weird)
_ size(640,360 , P3D) doesn't work properly
_ https://github.com/processing/processing/issues/2924
_ why doesn't p5 punt when loadFont() is used on an otf?
_ is this a GL problem?
_ show warning when display spanning is turned off
_ defaults read com.apple.spaces spans-displays
data
X fix XML.getString() with a default when no attrs are present at all
X was causing a NullPointerException
@@ -25,23 +11,12 @@ X add optional second param
X fixed for FloatDict and IntDict
X StringDict won't throw an exception, but optional second param added
X add insert() with a single item to StringList, IntList, FloatList
_ add fromOrder() and others? otherwise need temp object:
_ categoryIndexLookup = new StringList(flavors).getOrder();
table
X fix how nulls are handled with Table.replace()
X add (simple) ODS writer to Table
X add addRows(Table) method (more efficient, one resize)
X support "header" option with ODS files
_ handling of 'missing' values in Table needs serious work
graphics
X roll back full screen changes
X https://github.com/processing/processing/issues/2641
X remove isGL(), is2D(), is3D(), displayable() from PApplet
X these were auto-imported from PGraphics
X remove pause variable from PApplet (was not documented)
X added copy() to PImage (to work like get(), ala PVector)
pulls
X Fix check in loadShader()
@@ -83,6 +58,30 @@ A Exceptions in P3D / P2D not showing up properly
A https://github.com/processing/processing/issues/2930
0233 (3.0a6)
graphics
X roll back full screen changes
X https://github.com/processing/processing/issues/2641
X remove isGL(), is2D(), is3D(), displayable() from PApplet
X these were auto-imported from PGraphics
X remove pause variable from PApplet (was not documented)
X added copy() to PImage (to work like get(), ala PVector)
_ remove sketch path hack from PApplet
python has to use launch() instead of open()
map() is bad for Python (and JavaScript?)
_ args[] should be null if none passed (otherwise args == null checks are weird)
_ size(640,360 , P3D) doesn't work properly
_ https://github.com/processing/processing/issues/2924
_ why doesn't p5 punt when loadFont() is used on an otf?
_ is this a GL problem?
_ show warning when display spanning is turned off
_ defaults read com.apple.spaces spans-displays
applet/component
_ remove Applet as base class
_ performance issues on OS X (might be threading due to Applet)
@@ -97,8 +96,9 @@ _ make sure it works with retina/canvas/strategy as well
processing.data
_ lots of 'data' changes down below
_ need a better method for "missing" data in Table
_ add fromOrder() and others? otherwise need temp object:
_ categoryIndexLookup = new StringList(flavors).getOrder();
_ handling of 'missing' values in Table needs serious work
_ if missing int is zero, can't just remove those values from saving a table
_ but for NaN values, it's a necessity
_ get() methods in List/Dict shouldn't allow you to get bad values