| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10459,6 +10459,9 @@ static public void runSketch(final String[] args, | |||
| 10459 | 10459 | // Remove 60fps limit on the JavaFX "pulse" timer | |
| 10460 | 10460 | System.setProperty("javafx.animation.fullspeed", "true"); | |
| 10461 | 10461 | ||
| 10462 | + // Doesn't seem to do anything helpful here (that can't be done via Runner) | ||
| 10463 | + //System.setProperty("com.apple.mrj.application.apple.menu.about.name", "potato"); | ||
| 10464 | + | ||
| 10462 | 10465 | Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { | |
| 10463 | 10466 | public void uncaughtException(Thread t, Throwable e) { | |
| 10464 | 10467 | e.printStackTrace(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,5 @@ | |||
| 1 | 1 | 0261 (3.3.4 or 3.4) | |
| 2 | 2 | ||
| 3 | - _ set the application name to sketch name (not processing.core.PApplet) | ||
| 4 | - _ System.setProperty("com.apple.mrj.application.apple.menu.about.name", ...) | ||
| 5 | - _ -Xdock:name=<application name> | ||
| 6 | - _ -Xdock:icon=<path to icon file> | ||
| 7 | - | ||
| 8 | 3 | _ WARNING: GL pipe is running in software mode (Renderer ID=0x1020400) | |
| 9 | 4 | _ is this coming from us? if so, need to provide actions | |
| 10 | 5 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -341,9 +341,12 @@ protected StringList getMachineParams() { | |||
| 341 | 341 | } | |
| 342 | 342 | ||
| 343 | 343 | if (Platform.isMacOS()) { | |
| 344 | + // This successfully sets the application menu name, | ||
| 345 | + // but somehow, not the dock name itself. | ||
| 344 | 346 | params.append("-Xdock:name=" + build.getSketchClassName()); | |
| 345 | - // params.add("-Dcom.apple.mrj.application.apple.menu.about.name=" + | ||
| 346 | - // sketch.getMainClassName()); | ||
| 347 | + // No longer needed / doesn't seem to do anything differently | ||
| 348 | + //params.append("-Dcom.apple.mrj.application.apple.menu.about.name=" + | ||
| 349 | + // build.getSketchClassName()); | ||
| 347 | 350 | } | |
| 348 | 351 | // sketch.libraryPath might be "" | |
| 349 | 352 | // librariesClassPath will always have sep char prepended | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,6 +19,11 @@ X https://github.com/processing/processing/pull/5044 | |||
| 19 | 19 | _ should ant run launch the .app so that launchsvcs stuff works properly? | |
| 20 | 20 | ||
| 21 | 21 | _ sketch.properties not being written if initial mode is p5.js? | |
| 22 | + _ when creating a sketch within non-Java mode, should write the settings file | ||
| 23 | + _ so that it re-loads in the proper environment | ||
| 24 | + _ remove sketch.properties when moving back to the default? | ||
| 25 | + _ or can we not do this, because it's used to set the 'next' mode | ||
| 26 | + | ||
| 22 | 27 | _ what to double-click when opening p5 projects | |
| 23 | 28 | _ lack of a project file makes this a pain | |
| 24 | 29 | _ dropping a sketch folder onto the PDE should also be implemented | |
@@ -31,6 +36,9 @@ _ https://github.com/processing/processing/issues/3987 | |||
| 31 | 36 | _ also see several notes below re: examples | |
| 32 | 37 | _ how are file associations handled in Linux? (for .pde, .psk) | |
| 33 | 38 | ||
| 39 | + _ add means to import .zip files from file/url into sketchbook, library, etc. | ||
| 40 | + _ super easy given current code implementation, might help usability | ||
| 41 | + | ||
| 34 | 42 | _ EventQueue problems with "could not find sketch size" message | |
| 35 | 43 | _ https://github.com/processing/processing/issues/4893 | |
| 36 | 44 | _ https://github.com/processing/processing/issues/5030 | |
@@ -40,20 +48,13 @@ _ unzipping the app takes forever | |||
| 40 | 48 | _ see the 'examples' section below | |
| 41 | 49 | ||
| 42 | 50 | _ untitled folders are stored in temp folder | |
| 43 | - | ||
| 44 | 51 | _ clean up /tmp folders used during build | |
| 45 | 52 | _ https://github.com/processing/processing/issues/1896 | |
| 46 | 53 | _ don't let people into the /tmp folder for sketches | |
| 47 | 54 | o don't use tmp folder for sketches? | |
| 48 | 55 | _ restrict more things like "show sketch folder" | |
| 49 | 56 | _ don't allow adding files w/o saving | |
| 50 | 57 | _ others? | |
| 51 | - _ when creating a sketch within non-Java mode, should write the settings file | ||
| 52 | - _ so that it re-loads in the proper environment | ||
| 53 | - _ remove sketch.properties when moving back to the default? | ||
| 54 | - _ or can we not do this, because it's used to set the 'next' mode | ||
| 55 | - _ add means to import .zip files from file/url into sketchbook, library, etc. | ||
| 56 | - _ super easy given current code implementation, might help usability | ||
| 57 | 58 | ||
| 58 | 59 | ||
| 59 | 60 | contrib | |
@@ -944,6 +945,8 @@ _ this may already work with SingleInstance stuff | |||
| 944 | 945 | ||
| 945 | 946 | DIST / Mac OS X | |
| 946 | 947 | ||
| 948 | + _ Java bug prevents us from setting the dock name of a sketch run from the PDE | ||
| 949 | + _ https://github.com/processing/processing/issues/5045 | ||
| 947 | 950 | _ client properties | |
| 948 | 951 | _ https://developer.apple.com/library/mac/technotes/tn2007/tn2196.html | |
| 949 | 952 | _ built-in images: http://nadeausoftware.com/articles/2008/12/mac_java_tip_how_access_mac_specific_nsimage_icons | |
| Back | FazBrowse Home | New Git URL |
0 commit comments