diff --git a/app/src/processing/mode/java/JavaBuild.java b/app/src/processing/mode/java/JavaBuild.java index 15888a127..7ea710d81 100644 --- a/app/src/processing/mode/java/JavaBuild.java +++ b/app/src/processing/mode/java/JavaBuild.java @@ -1572,7 +1572,9 @@ public class JavaBuild { // https://github.com/processing/processing/issues/2349 pw.print("$APPDIR/java/bin/"); } - pw.print("java " + Preferences.get("run.options") + + String runOptionsStr = + PApplet.join(runOptions.toArray(new String[0]), " "); + pw.print("java " + runOptionsStr + " -Djava.library.path=\"$APPDIR:$APPDIR/lib\"" + " -cp \"" + exportClassPath + "\"" + " " + sketch.getName() + " \"$@\"\n"); diff --git a/core/todo.txt b/core/todo.txt index 355595c21..08fe9cd22 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -5,6 +5,33 @@ X https://github.com/processing/processing/issues/1445 X https://github.com/processing/processing/pull/2461 X add candDraw() method to the retina renderer X fix sketchPath() issue when used in another environment +X XML.getChildren() throwing NPE when getInt() called on non-existent var +X https://github.com/processing/processing/issues/2367 +X need to sort out with docs what's happening here +X just a reference issue + +cleaning +o how much of com.benfry.* should go in? +o Table? StringIntPairs? JSON? MD5? Integrator? ColorIntegrator? +o decision: depends on if we can think of a good name +X finished these up in the 2.x series +o check on DXFWriter, since it used to subclass P3D +o at least implement is3D? +X should be working, barring recent regression +o sleep time needs to be set *much* higher for dormant applets +o 10s should be fine--no need to keep spinning (bad for android too) +o just call interrupt() when it's time to get back to work +X applets removed +X test PGraphicsRetina2D w/ 7u40 +X make sure that 7u40 doesn't reintroduce starvation issue on retina Macs +X createGraphics() with no renderer param to point to JAVA2D +X docs: P2D and P3D are now OpenGL variations +X shader support - make decisions, Andres email, etc +X antialias -> smoothMode(), smoothQuality(), quality() +o NEAREST, BILINEAR, BICUBIC, or 0, 2, 4? (need 8x too, so maybe numbers) +X setAntiAlias() should instead just use parent.smooth +X final decision on pg.setQuality(sketchQuality()) +X should probably be setQuality(parent.sketchQuality()) andres X Fonts from loadFont() show up as blocks in P3D (regression) @@ -27,28 +54,33 @@ _ modernize Client/Server code to use synchronized lists _ do we let people use the public vars in Server and Client? _ are they documented? +_ make join() work with Iterable? +_ will this collide with the current String[] version? -_ XML.getChildren() throwing NPE when getInt() called on non-existent var -_ https://github.com/processing/processing/issues/2367 -_ need to sort out with docs what's happening here - -_ point() rendering differently in 2.0.3 and 2.1 -_ https://github.com/processing/processing/issues/2278 - -_ Sketch runs with default size if size() is followed by large memory allocation -_ https://github.com/processing/processing/issues/2039 - +retina +_ saveFrame() with retina render is making black images +_ zero alpha values still a problem with retina renderer +_ https://github.com/processing/processing/issues/2030 +_ how to name the retina pixel stuff +_ hint(ENABLE_RETINA_PIXELS) or hint(ENABLE_HIDPI_PIXELS) +_ hint(ENABLE_2X_PIXELS)? +_ hidpi is Apple's name as well +_ no high-res display support for the renderers high +_ Sketch runs with default size if size() is followed by large memory allocation +_ https://github.com/processing/processing/issues/2039 +_ https://github.com/processing/processing/issues/1672 +_ point() rendering differently in 2.0.3 and 2.1 +_ https://github.com/processing/processing/issues/2278 +_ internally, we probably have to call set() if it's a 1 pixel point +_ but that's going to be a mess.. need to first check the CTM _ tint() not working in PDF (regression between 2.0.3 and 2.1) _ https://github.com/processing/processing/issues/2428 _ default font fixes _ https://github.com/processing/processing/issues/2331 _ https://github.com/processing/processing/pull/2338 -_ saveFrame() with retina render is making black images _ add print() method to other data types (not just IntList) -_ zero alpha values still a problem with retina renderer -_ https://github.com/processing/processing/issues/2030 _ Sort out blending differences with P2D/P3D _ might be that compatible images not setting alpha mode correctly _ image = gc.createCompatibleVolatileImage(source.width, source.height, Transparency.TRANSLUCENT); @@ -64,10 +96,6 @@ _ https://github.com/processing/processing/issues/2483 _ add option to have full screen span across screens _ display=all in cmd line _ sketchDisplay() -> 0 for all, or 1, 2, 3... -_ test PGraphicsRetina2D w/ 7u40 -_ make sure that 7u40 doesn't reintroduce starvation issue on retina Macs -_ Linux sometimes not responding correctly w/ the size() command -_ https://github.com/processing/processing/issues/1672 _ clean up requestFocus() stuff _ make sure it works with retina/canvas/strategy as well _ finish PFont.getShape() implementation @@ -96,7 +124,7 @@ _ possible addition for 'implementation' variable X http://code.google.com/p/processing/issues/detail?id=281 _ https://github.com/processing/processing/issues/320 _ should map() actually constrain to the low and high values? -_ or have an alternate version that does that? (boolean param at end?) +_ or have an alternate version that does that? (or boolean param at end?) _ decide whether to keep: _ public float textWidth(char[] chars, int start, int length) _ add version of math functions that use doubles? @@ -125,14 +153,6 @@ _ nasty errors when loadImage/Font/createFont/etc used outside _ decision: add error messages where possible _ idea: set frameCount to -1 when setup not run yet? _ then set frameCount to 0 when setup() starts? -_ how much of com.benfry.* should go in? -_ Table? StringIntPairs? JSON? MD5? Integrator? ColorIntegrator? -_ decision: depends on if we can think of a good name -_ check on DXFWriter, since it used to subclass P3D -_ at least implement is3D? -_ sleep time needs to be set *much* higher for dormant applets -_ 10s should be fine--no need to keep spinning (bad for android too) -_ just call interrupt() when it's time to get back to work _ need to clean up the hints in the reference/source _ sort out edge + 1 issue on stroke/fill for rectangles _ http://code.google.com/p/processing/issues/detail?id=509 @@ -171,14 +191,6 @@ _ online is there but deprecated _ doesn't test net connection to see if 'online' _ only tests whether running inside an applet viewer (not relevant) _ remove 'online' from the docs -_ createGraphics() with no renderer param to point to JAVA2D -_ docs: P2D and P3D are now OpenGL variations -_ shader support - make decisions, Andres email, etc -_ setAntiAlias() should instead just use parent.smooth -_ antialias -> smoothMode(), smoothQuality(), quality() -_ NEAREST, BILINEAR, BICUBIC, or 0, 2, 4? (need 8x too, so maybe numbers) -_ final decision on pg.setQuality(sketchQuality()) -_ should probably be setQuality(parent.sketchQuality()) _ add reference/docs for urlEncode() and urlDecode() _ verify (and document) public access members of PApplet _ http://code.google.com/p/processing/issues/detail?id=83 @@ -194,10 +206,6 @@ _ OpenGL offscreen requires primary surface to be OpenGL _ explain the new PGL interface _ can't really change the smoothing/options on offscreen _ is this still true? -_ how to name the retina pixel stuff -_ hint(ENABLE_RETINA_PIXELS) or hint(ENABLE_HIDPI_PIXELS) -_ hint(ENABLE_2X_PIXELS)? -_ hidpi is Apple's name as well diff --git a/todo.txt b/todo.txt index a90d16bcf..da96c7bdd 100644 --- a/todo.txt +++ b/todo.txt @@ -35,16 +35,15 @@ _ remove build/windows/export from repo _ exported apps reporting as "damaged" on OS X _ https://github.com/processing/processing/issues/2095 - high -_ JNA conflicts can be avoided with "-Djna.nosys=true" -_ https://github.com/processing/processing/issues/2239 +X JNA conflicts can be avoided with "-Djna.nosys=true" +X https://github.com/processing/processing/issues/2239 X fix for Windows launchers X fix for Windows export X fix for Windows export 64-bit X fix for Windows command line X fix for Linux launcher -_ fix for Linux export +X fix for Linux export X fix for Linux command line X fix for OS X launcher X fix for OS X export @@ -65,7 +64,7 @@ _ maybe OS X Java can't look in subfolders? (just auto-adds things) medium -_ should be a quick fix +_ display "1" is not correct in 2.1.2 _ https://github.com/processing/processing/issues/2502 _ import static causes exception (with fix) _ https://github.com/processing/processing/issues/8 @@ -114,6 +113,7 @@ _ add documentation for how to run mode development from Eclipse _ implementation/changes from JDF _ modes are being loaded multiple times, which can cause trouble _ add minimum version required (or max version?) to libraries/modes/etc +_ no high-res display support for the PDE pulls