Commit Graph

347 Commits

Author SHA1 Message Date
Stef Tervelde 6082589081 Revised app icons 2025-03-14 20:48:00 +01:00
Ben Fry 9f77014831 update Windows .ico files 2023-07-25 19:08:58 -04:00
Ben Fry 45ae247816 trying to sort out dpi issues on Windows 2023-02-18 13:33:37 -05:00
Ben Fry bd0d880f33 build fenster with mingw64 instead of msys b/c of DLL headache (fixes #514) 2023-02-18 15:38:03 +00:00
Ben Fry e3c53c8779 screen scale is a float, not an int (working on #514) 2023-02-18 09:26:58 -05:00
Ben Fry b61e86dea1 fix download url (though unlikely ever seen) 2023-02-18 09:24:49 -05:00
Ben Fry efa0be888b maybe not gonna fall back for processing.exe 2023-02-18 07:46:21 -05:00
Ben Fry 93fe201ee9 looking into exported apps not finding Java on Windows (#667) 2023-02-18 07:11:29 -05:00
Ben Fry 63cd51a331 multiple icons not allowed in launch4j 2023-02-17 21:03:49 -05:00
Ben Fry adc78610ce add ico files for Windows documents 2023-02-17 19:16:26 -05:00
Rupesh Kumar d959af5464 Update config.xml 2022-06-14 05:08:10 +05:30
Ben Fry 10033223e4 add more registry key data, formatting fixes 2022-02-13 15:00:51 -05:00
Ben Fry b513147ca5 further cleanup of documentation about windows scaling 2022-02-13 11:03:25 -05:00
Ben Fry b1803cbc05 add documentation about this resolution-checking code 2022-02-13 10:47:56 -05:00
Ben Fry c175233ccb adding the Windows resolution helper to the build process 2022-02-13 07:45:08 -05:00
Ben Fry 4a0a5769ca cleaning up the Makefile for fenster 2022-02-13 07:35:07 -05:00
Ben Fry 46cbe7c54c adding code to get windows dpi 2022-02-13 06:53:05 -05:00
Ben Fry 89629a19bb ignore the work folder on windows 2022-01-24 08:17:52 -05:00
Ben Fry d6fe5cac33 renaming macosx to macos in build.xml and the build folder 2022-01-22 17:34:08 -05:00
Ben Fry f2755d597e set minimum Java version for Windows launcher to 17.0.1 2022-01-16 15:13:58 -05:00
Ben Fry aae80172ec remove JavaFX from startup (no longer available for Tools/Modes) 2022-01-16 15:06:43 -05:00
Ben Fry e42c28d578 this setting is the default, remove it 2022-01-14 19:02:24 -05:00
Ben Fry 2e8f074ee9 update ignore for the JDK zip archive 2022-01-14 10:26:38 -05:00
Ben Fry 445605f09e new icon, just using the Big Sur template across platforms 2022-01-14 07:13:03 -05:00
Ben Fry caacf0653c add console encoding to address https://github.com/jdf/Processing.py-Bugs/issues/322 2021-10-04 18:29:42 -04:00
Ben Fry 3effcae548 update with a new round of icons and about screen 2021-08-08 19:54:42 -04:00
Ben Fry 383b4b8eab roll back interface scaling change (fixes #226) 2021-08-01 11:02:05 -04:00
Ben Fry 350e940129 remove old splash screen code and the fugly 1x bmp file 2021-07-10 17:23:46 -04:00
Ben Fry 1a29a8fcb3 switching to the new splash screen class 2021-07-10 17:17:51 -04:00
Ben Fry 7b71581f59 maybe we do the built-in splash screen instead 2021-07-10 12:16:04 -04:00
Ben Fry 1e4ae0e8a2 make the "4" a little smaller 2021-07-10 11:48:35 -04:00
Ben Fry 8f0b9a4551 update icons with temporary "4" logo 2021-07-10 11:39:05 -04:00
Ben Fry bbc1ece756 replace about screen images 2021-07-10 10:23:18 -04:00
Ben Fry add4854478 turn webkit back on again for javafx 2021-07-08 19:58:09 -04:00
Ben Fry ee1e49f5ad fix Windows modules path for JavaFX 2021-06-22 16:01:58 -04:00
Ben Fry b489c11536 properly adding the module path for windows64 2021-06-20 23:17:14 -04:00
Ben Fry e76b2ca32c JavaFX args were backwards 2021-06-20 21:39:21 -04:00
Ben Fry a605ff53ba major change: move JavaFX to its own library 2021-06-20 13:37:04 -04:00
Ben Fry 02b98d1b2e whitespace fixes 2021-06-19 09:13:16 -04:00
Ben Fry 72defaed62 use system display scaling (fixes tiny splash screen) resolves #145 2021-06-19 09:07:56 -04:00
Ben Fry 27a6c5883f make it possible to use JavaFX in Tools/Modes, other minor cleanups 2021-06-19 09:06:22 -04:00
Ben Fry 5b5f6eb952 replace splash screen that was causing Windows crash on startup (fixes #156) 2021-01-18 17:39:40 -05:00
Ben Fry d546447943 update the splash screen to 2021 before the pedants can get to me 2021-01-17 20:24:48 -05:00
Ben Fry 78414c91b7 add temporary about/splash screens 2020-01-18 21:27:13 -05:00
A Samuel Pottinger 003d33f951 Turn off UI scaling for windows.
Frustratingly, use of prior Processing WindowsPlatform code for detecting DPI causes UI scaling to turn off and yields a DPI of 96 regardless of windows display scaling. However, in the current WindowsPlatform, UI scaling is enabled but text size calculation within custom rendering swing elements is incorrect, possibly because there is scaling happening underneath transparently. This causes x positions to be inflated at 125% scaling, for example. On a whole, Windows itself does not recommend scaling other than 100% inside the settings UI and that UI scaling within Java itself makes the custom UI elements look bad. So, this suggests disabling the ui scaling in Java for the editor, leaving the opportunity for Processing to find a new way to detect system scaling in the future and handling it internally. At this time, sketches still seem to be calculating positions correctly though they do appear pixelated with display scaling. Therefore, they are left alone.
2019-11-22 16:53:48 -08:00
A Samuel Pottinger ee299ef935 Move to ANTLR 4 with Java 11 lang features and localization. (#5)
* Move to ANTLR 4 with Java 11 lang features and localization.

Introduces ANTLR4 and Java 8 language feature support within IDE while also adding additional hooks for localization of syntax error messages, addressing https://github.com/processing/processing/issues/3054 and https://github.com/processing/processing/issues/3055.

The PR is broadly a continuation of https://github.com/processing/processing/issues/3055, bringing it up to speed with the latest Processing master plus the changes introduced at https://github.com/processing/processing/pull/5753. **Requires https://github.com/processing/processing/pull/5753 as pre-requisite.** This introduces a number of edits beyond https://github.com/processing/processing/issues/3055 beyond compatibility with current Processing master and https://github.com/processing/processing/pull/5753 including:

 - Update to the grammar itself
 - Change ANTLR listeners to emit `TextTransform.Edit` to unify JDT-based `PreprocessingService` and `JavaBuild`, removing code with duplicate purpose.
 - Introduction of syntax error rewriting with support for localization.
 - Addition of complete localized strings set for English and Spanish.
 - Addition of partial localized strings set for other languages.
 - Refactor of ANTLR-related code for testability and readability
 - Expansion of tests including full parse tests for new Java features (type inference, lambdas).

* Ask travis for ant upgrade prior to run.

* Ask Travis for java11 update.

* Add openjdk ppa

* Travis no confirmation on add ppa.

* Force newer ant on travis.

* Swtich ant download to www-us mirror.

* Switch ant to 1.10.7

* Start x for unit tests in travis.

* More complete start x in travis.

* Revert x in travis.

* Try x in services.
2019-10-05 23:34:38 -07:00
A Pottinger c14695476e Moves to Java11 and OpenJDK via AdoptOpenJDK within the processing4 train.
Moves to Java11 and OpenJDK via AdoptOpenJDK within the processing4 train using a squash of sampottinger processing fork's java11 branch.

**Primary required changes:**
Some changes directly support OpenJFX / OpenJDK 11:

 - Response to image loading changes caused by [JEP 320](https://openjdk.java.net/jeps/320)
 - Use of jmodules as necessitated by [JEP 261](https://openjdk.java.net/jeps/261)
 - Reponse to largely changed file paths caused by [JEP 220](https://openjdk.java.net/jeps/220).
 - Modifications in build system related to AdoptOpenJDK and Java 11 which have a different naming structure for downloads.
 - Allowing use of non-Oracle Java within internal Processing checks.

**Secondary required changes:**
There were some secondary required changes that impacted the usability of Processing after having moved to OpenJFX / OpenJDK 11:

 - Removal of com.apple.eawt calls related to [JEP 272](http://openjdk.java.net/jeps/272)
 - Response to HiDPI support on Windows and Linux in [JEP 263](https://openjdk.java.net/jeps/263)
- Removal of `java.ext.dirs`. Would be forced by [JEP 220](http://openjdk.java.net/jeps/220).
 - Due to bugs on Windows, updated the JNA jars.
 - Changes in downloader build tasks to support AdoptOpenJDK and OpenJFX.
 - Updated org.eclipse.* / equinox jars.
 - Some optimization around size of distribution.
 - Update of AppBundler.
 - Some changes in formulation of classpath and modifications in PreprocessingService given [JEP 261](https://openjdk.java.net/jeps/261).

**Incidental changes:**
This was (ahem) a bit of a larger PR with the above modifications. So, I wanted to introduce automated tests when possible and convenient along with a few changes for platform sustainability in order to support development:

 - Addition of cross-building capability (!) made possible by AdoptOpenJDK.
 - Addition of mockito for testing.
 - Upgrade of junit.
 - Addition of ant-contrib.
 - Standardized nomenclature around JRE / JDK in `build/build.xml`
 - Deduplication of code in `jre/build.xml`.
 - Addition of JavaDoc in a few places.
 - Some refactoring of PImage / Shape to support increased testing and readability in image manipulation code.
2019-10-05 20:49:33 -07:00
Ben Fry fe932b8c7e add 2019 to the About/splash screen 2019-01-18 16:09:18 -08:00
Ben Fry 4e13ae5404 add 2018 to the about/splash screen 2018-03-18 20:07:26 -04:00
Ben Fry e5ed6ae7f1 possible fix for visual artifacts seen in #4700 2017-02-12 10:02:10 -05:00