writing release notes, lots of doc stuff, add fxns to keep X Mode working

This commit is contained in:
Ben Fry
2013-10-20 13:54:00 -04:00
parent b92df88eca
commit 2a784eb8eb
4 changed files with 120 additions and 34 deletions
@@ -540,7 +540,7 @@ public class TextAreaPainter extends JComponent implements TabExpander {
* Marks a line as needing a repaint.
* @param line The line to invalidate
*/
final void invalidateLine(int line) {
final public void invalidateLine(int line) {
repaint(0, textArea.lineToY(line) + fm.getMaxDescent() + fm.getLeading(),
getWidth(), fm.getHeight());
}
@@ -627,7 +627,15 @@ public class TextAreaPainter extends JComponent implements TabExpander {
}
protected void paintLine(Graphics gfx, int line, int x,
/** Old paintLine() method with kooky args order, kept around for X Mode. */
@Deprecated
protected void paintLine(Graphics gfx, TokenMarker tokenMarker,
int line, int x) {
paintLine(gfx, line, x, tokenMarker);
}
protected void paintLine(Graphics gfx, int line, int x,
TokenMarker tokenMarker) {
// Font defaultFont = getFont();
// Color defaultColor = getForeground();
+76 -1
View File
@@ -1,7 +1,82 @@
PROCESSING 2.1 beta 1 (REV 0222) - XX October 2013
PROCESSING 2.1 beta 1 (REV 0222) - 20 October 2013
This release contains major changes. The big ones:
+ A new serial library has been added! The results of Gottfried Haider's
Google Summer of Code project now replaces the old serial library.
+ Java 7 is now used across all platforms. On Mac OS X,
we're now embedding Java 7u45. More info here:
http://wiki.processing.org/w/Supported_Platforms#Java_Versions
+ Major changes have been made to Export to Application.
Read here: http://wiki.processing.org/w/Export_Info_and_Tips
And everyone should wish Casey Reas happy birthday today!
This is mybirthday present for him. What did you get him?
+ Added printArray() function for people who want to avoid the compiler warnings with Eclipse or whatever else, and deprecating the old println(Object) in favor of people using printArray(). In the PDE, this should be transparent (the warnings are not shown).
0222 core
X background color for present mode has no effect
X https://github.com/processing/processing/issues/2071
X https://github.com/processing/processing/pull/2072
X add desktopPath() and desktopFile() methods for testing
X screen stops updating sometimes with retina
X https://github.com/processing/processing/issues/1699
X Unicode NLF causing problems in XML files
X https://github.com/processing/processing/issues/2100
X not handled by BufferedReader (or XML parser)
X http://stackoverflow.com/questions/10556875/list-of-unicode-characters-that-should-be-filtered-in-output
X http://stackoverflow.com/questions/3072152/what-is-unicode-character-2028-ls-line-separator-used-for
X fix image transparency in PDF output
X https://github.com/processing/processing/pull/2070
X Java2D images crash after being resized
X https://github.com/processing/processing/issues/2113
X constrain lerpColor() between 0 and 1
X JSONObject/Array.format(-1) not working on embedded JSONObjects
X https://github.com/processing/processing/issues/2119
X allow println() and print() to take varargs
o https://github.com/processing/processing/issues/2056
X causes conflict with printing arrays
X added printArray() function instead
o custom DPI settings with PDF
X https://github.com/processing/processing/pull/2069
X pdf not rendering unicode with beginRecord()
X seems to have fixed itself / can't reproduce
X http://code.google.com/p/processing/issues/detail?id=90
X https://github.com/processing/processing/issues/129
X insertRow() bug
X https://github.com/processing/processing/issues/2137
opengl
X fix inconsistency with P2D and resetMatrix()
X https://github.com/processing/processing/issues/2087
X text rendering problems
X https://github.com/processing/processing/issues/2109
X textSize() not working properly in P2D
X https://github.com/processing/processing/issues/2073
X incorrectly applied transformations in retained mode
X https://github.com/processing/processing/issues/2097
X push/popStyle() causes color problems with P2D/P3D
X https://github.com/processing/processing/issues/2102
X child SVG elements misplaced when rendering with P2D/P3D
X https://github.com/processing/processing/issues/2086
X SUBTRACT and DIFFERENCE blend modes are swapped
X https://github.com/processing/processing/issues/2075
X throw an error for textureMode(REPEAT) [fry]
X https://github.com/processing/processing/issues/2052
X Updated to JOGL 2.1.0
X https://github.com/processing/processing/issues/2136
X vertex codes not being properly set in P2D/P3D
X https://github.com/processing/processing/issues/2131
X some box normals are inverted
X https://github.com/processing/processing/issues/2151
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
+1 -2
View File
@@ -54,12 +54,11 @@ X https://github.com/processing/processing/issues/2131
X some box normals are inverted
X https://github.com/processing/processing/issues/2151
high
_ Sort out blending differences with P2D/P3D
_ https://github.com/processing/processing/issues/1844
_ 'collector' class.. Dict that points to a list
_ String as a key, int/float/string list as values
high
_ loadPixels doesn't set alpha value for pixels on Java2D
_ https://github.com/processing/processing/issues/2030
_ blendMode(ADD) is broken with default renderer
+33 -29
View File
@@ -68,9 +68,6 @@ X should we embed the PDE font into the JRE?
X this would allow it to show up in the menus, etc
X type in the status area is gross on retina displays and 7u40
X no longer require restart of Processing when changing the font
_ type looks a little feeble on OS X with non-retina machines
_ https://github.com/processing/processing/issues/2135
_ should we increase the size of the mode dropdown?
serial
X closing several bugs because no longer relevant
@@ -142,28 +139,33 @@ X remove Java FX during Windows builds
X remove javafx from the embed
X more about optional files:
X http://www.oracle.com/technetwork/java/javase/jdk-7-readme-429198.html
_ exclude 'fonts' folder from build (since it's going into the JRE)
_ update github instructions
_ only JRE needed at this point
_ switched over to Java 7
_ https://github.com/processing/processing/wiki/Build-Instructions
_ "unable to locate tools.jar" (Windows) can be ignored
_ JAVA_HOME warnings from Ant can also be ignored
_ updates for macosx instructions
_ JDK 7u45 is needed (or whatever version currently in the build)
_ to build appbundler, you'll need Xcode
_ and the command line tools Preferences > Downloads > Command Line Tools
_ appbundler will have an NPE if the osx binary isn't built
_ also need to have 10.8 version of the SDK (old Xcode won't work)
_ changing JRE might be a problem for fonts on Linux
_ where the JRE is often replaced
_ and where the font is needed most
_ make note of this on the platforms page
_ also make note re: only JRE needed (instead of JDK)
_ http://wiki.processing.org/index.php?title=Supported_Platforms&action=edit&section=4
_ now Info.plist.tmpl instead of template.plist
_ can be embedded in a sketch
_ name change due to major modifications
build instructions and other doc
X update the build instructions page
X http://code.google.com/p/processing/wiki/BuildInstructions
X update github instructions
X https://github.com/processing/processing/issues/1629
X https://github.com/processing/processing/wiki/Build-Instructions
X only JRE needed at this point
X switched over to Java 7
o "unable to locate tools.jar" (Windows) can be ignored
X JAVA_HOME warnings from Ant can also be ignored
X updates for macosx instructions
X JDK 7u45 is needed (or whatever version currently in the build)
X to build appbundler, you'll need Xcode
X and the command line tools Preferences > Downloads > Command Line Tools
X appbundler will have an NPE if the osx binary isn't built
X also need to have 10.8 version of the SDK (old Xcode won't work)
o add notes to build instructions re: building core with eclipse
X changing JRE might be a problem for fonts on Linux
X where the JRE is often replaced
X and where the font is needed most
X make note of this on the platforms page
X also make note re: only JRE needed (instead of JDK)
X http://wiki.processing.org/index.php?title=Supported_Platforms&action=edit&section=4
X now Info.plist.tmpl instead of template.plist
X can be embedded in a sketch
X name change due to major modifications
7u40 macosx
X make OS X launch from its local JRE
@@ -195,15 +197,19 @@ _ make sure it's only running on 64-bit machines?
export
X change app stub in OS X exported application
_ make note re: app export being slower, and resulting app much larger
X make note re: app export being slower, and resulting app much larger
X change how export is handled
X remove ability to export cross-platform apps
X add ability to embed the current JRE
X only going to embed always... consider option to disable it later
o the case for the embedded JRE
o https://github.com/processing/processing/issues/2104
X major edits to http://wiki.processing.org/w/Export_Info_and_Tips
medium
_ type looks a little feeble on OS X with non-retina machines
_ https://github.com/processing/processing/issues/2135
_ should we increase the size of the mode dropdown?
_ use platformDelete() to remove untitled sketches?
_ change to using platformDelete() instead of Base.removeDir() where possible
_ verify that the OS X version uses the real call
@@ -226,6 +232,7 @@ post 2.1 cleaning
_ remove video for macosx32 from the repo permanently
_ remove the prefs for 32/64-bit from Preferences
_ remove the extra OS X cruft inside Runner.java
_ exclude 'fonts' folder from build (since it's going into the JRE)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
@@ -1074,9 +1081,6 @@ _ write up code guidelines for project
_ make proper Eclipse style prefs to reinforce
_ write up guidelines for modes
_ i.e. don't mess with Sketch menu, put it in the mode menu
_ add notes to build instructions re: building core with eclipse
_ update the build instructions page
_ http://code.google.com/p/processing/wiki/BuildInstructions
_ p5 assets need to be licensed differently from the source