mirror of
https://github.com/processing/processing4.git
synced 2026-01-26 01:41:06 +01:00
fix version number used for "autogenerated" text (resolves #135)
This commit is contained in:
@@ -29,6 +29,8 @@ import org.antlr.v4.runtime.*;
|
||||
import org.antlr.v4.runtime.misc.Interval;
|
||||
|
||||
import org.antlr.v4.runtime.tree.ParseTree;
|
||||
|
||||
import processing.app.Base;
|
||||
import processing.app.Preferences;
|
||||
import processing.core.PApplet;
|
||||
import processing.mode.java.ImportStatement;
|
||||
@@ -48,7 +50,6 @@ import processing.mode.java.preproc.PdePreprocessor.Mode;
|
||||
*/
|
||||
public class PdeParseTreeListener extends ProcessingBaseListener {
|
||||
|
||||
private static final String VERSION_STR = "3.0.0";
|
||||
private static final String SIZE_METHOD_NAME = "size";
|
||||
private static final String PIXEL_DENSITY_METHOD_NAME = "pixelDensity";
|
||||
private static final String FULLSCREEN_METHOD_NAME = "fullScreen";
|
||||
@@ -906,8 +907,8 @@ public class PdeParseTreeListener extends ProcessingBaseListener {
|
||||
String dateStr = new SimpleDateFormat("YYYY-MM-dd").format(new Date());
|
||||
|
||||
String newCode = String.format(
|
||||
"/* autogenerated by Processing preprocessor v%s on %s */",
|
||||
VERSION_STR,
|
||||
"/* autogenerated by Processing revision %04d on %s */",
|
||||
Base.getRevision(),
|
||||
dateStr
|
||||
);
|
||||
|
||||
|
||||
49
todo.txt
49
todo.txt
@@ -12,6 +12,8 @@ X clean up a little of the internal error handling there
|
||||
X add "var" keyword to highlighting
|
||||
X https://github.com/processing/processing4/issues/114
|
||||
X prevent "illegal line" message when loading library with FEFF chars in properties file
|
||||
X fix revision number in exported code
|
||||
X https://github.com/processing/processing4/issues/135
|
||||
|
||||
|
||||
contribs
|
||||
@@ -25,11 +27,12 @@ X Shutting off VAqua due to interface ugliness and Contribution Manager freezing
|
||||
_ https://github.com/processing/processing4/issues/129
|
||||
_ Some 3.x Tools not working because JavaFX isn't on the classpath
|
||||
_ https://github.com/processing/processing4/issues/110
|
||||
_ Friendly Names for new Sketches (includes UI for switching it back)
|
||||
_ https://github.com/processing/processing/pull/6048
|
||||
|
||||
|
||||
discuss with Sam
|
||||
_ Fix “autogenerated by Processing preprocessor” text
|
||||
_ also need spaces in the size command, per our guidelines
|
||||
_ preproc needs spaces in the size command, per our guidelines
|
||||
_ https://github.com/processing/processing4/issues/135
|
||||
_ JSSC binaries for windows_32 and windows_64 appear to be macOS files
|
||||
_ https://github.com/processing/processing4/issues/119
|
||||
@@ -82,10 +85,27 @@ _ detach sketch name and folder name (use sketch.properties)
|
||||
_ better for git, etc
|
||||
_ single file thing is long gone
|
||||
_ introduce the idea of 'scraps' (ala gist) that are just single page blobs
|
||||
_ launch/psk files/import from web editor (for class)
|
||||
_ launch/psk files/import from web editor (more details below)
|
||||
_ ability to switch mode in p5 w/o saving/closing/etc
|
||||
_ Friendly Names for new Sketches (includes UI for switching it back)
|
||||
_ https://github.com/processing/processing/pull/6048
|
||||
|
||||
|
||||
sketch/launching
|
||||
_ what to double-click when opening p5 projects
|
||||
_ lack of a project file makes this a pain
|
||||
_ dropping a sketch folder onto the PDE should also be implemented
|
||||
_ some type of sketch archive format for posting examples (.psk?)
|
||||
_ would be nice to open a sketch directly from a zip file
|
||||
_ https://github.com/processing/processing/issues/73
|
||||
_ maybe just open from a zip file, since psk doesn't help anything
|
||||
_ also have a means of importing sketches
|
||||
_ https://github.com/processing/processing/issues/3987
|
||||
_ also see several notes below re: examples
|
||||
_ add means to import .zip files from file/url into sketchbook, library, etc.
|
||||
_ super easy given current code implementation, might help usability
|
||||
_ put the reference (and examples?) into .zip files
|
||||
_ unzipping the app takes forever
|
||||
_ see the 'examples' section below
|
||||
_ how are file associations handled in Linux? (for .pde, .psk)
|
||||
|
||||
|
||||
before final release
|
||||
@@ -205,25 +225,6 @@ _ mode list does not update after changing sketchbook folder
|
||||
_ already reported?
|
||||
|
||||
|
||||
sketch/launching
|
||||
_ what to double-click when opening p5 projects
|
||||
_ lack of a project file makes this a pain
|
||||
_ dropping a sketch folder onto the PDE should also be implemented
|
||||
_ some type of sketch archive format for posting examples (.psk?)
|
||||
_ would be nice to open a sketch directly from a zip file
|
||||
_ https://github.com/processing/processing/issues/73
|
||||
_ maybe just open from a zip file, since psk doesn't help anything
|
||||
_ also have a means of importing sketches
|
||||
_ https://github.com/processing/processing/issues/3987
|
||||
_ also see several notes below re: examples
|
||||
_ add means to import .zip files from file/url into sketchbook, library, etc.
|
||||
_ super easy given current code implementation, might help usability
|
||||
_ put the reference (and examples?) into .zip files
|
||||
_ unzipping the app takes forever
|
||||
_ see the 'examples' section below
|
||||
_ how are file associations handled in Linux? (for .pde, .psk)
|
||||
|
||||
|
||||
teaching
|
||||
_ teacher wants user input on the console
|
||||
_ https://github.com/processing/processing/issues/5779
|
||||
|
||||
Reference in New Issue
Block a user