Commit Graph

351 Commits

Author SHA1 Message Date
Ben Fry
0d94c8ce68 removing template.app to deal with notarization failure 2021-06-24 12:45:45 -04:00
Ben Fry
225f6efc62 update app creator and bundle identifier to be unique for 4.x 2021-06-23 08:03:38 -04:00
Ben Fry
0b242c6bb0 can't recursively walk .app folders for jars after all 2021-06-22 15:33:57 -04:00
Ben Fry
9cdd8e14a6 getting JavaFX running in the PDE again, fix the exports list to remove javafx 2021-06-20 14:09:29 -04:00
Ben Fry
a605ff53ba major change: move JavaFX to its own library 2021-06-20 13:37:04 -04:00
Ben Fry
dfcda06fc7 javafx debugging: working well on Windows and macOS, exports sorted, removing binaries 2021-06-19 15:04:18 -04:00
Ben Fry
687291ab46 remove unused file references 2021-06-19 09:13:28 -04:00
Ben Fry
340f78de5e fix typo 2021-06-18 22:27:04 -04:00
Ben Fry
5f5d8ad953 bump JavaFX to 16, no longer the LTS version, but fixes garbled text 2021-06-18 13:29:11 -04:00
Ben Fry
6352be7497 include JavaFX with app launcher (fixes #110, resolves #112) 2021-06-18 11:43:48 -04:00
Ben Fry
f4b7e1a9df get exported FX2D applications working again on macOS 2021-06-18 11:32:26 -04:00
Ben Fry
dbc6956388 bump minimum system version to 10.14.6 2021-06-18 09:59:42 -04:00
Ben Fry
cbdf55c96d Update JDK to 11.0.11+9 2021-05-07 06:03:48 -04:00
Ben Fry
e8b9182713 update to JDK 11.0.10+9 2021-01-23 08:19:01 -05:00
Ben Fry
166781e484 move to JDK 11.0.9.1 and hack up downloader to support 9.1 as the suffix 2021-01-17 20:04:04 -05:00
Ben Fry
8e985e4923 update to VAqua8, no luck, disable for now (#129) 2020-09-23 21:13:56 -04:00
Ben Fry
c5baab0b6e request microphone and camera authorization if needed (for https://github.com/processing/processing-sound/issues/51 and https://github.com/processing/processing-video/issues/134) 2020-09-23 13:58:08 -04:00
Ben Fry
7374956cd6 add entitlements, fixes "Unable to load Java Runtime Environment" 2020-09-15 20:52:38 -04:00
Ben Fry
d24b843a75 make a note about how to use Java 11 2020-09-15 17:36:43 -04:00
Ben Fry
e4c76eba6e add a reminder for how to check notarization status 2020-09-15 17:27:09 -04:00
Ben Fry
148976646c switch to rev 8 2020-09-15 07:38:41 -04:00
Ben Fry
6775521e30 set minimum macOS version to 10.13.6 2020-08-22 13:30:28 -04:00
Ben Fry
0989852c59 --deep was not signing the jdk after all; re-enable it 2020-08-17 06:52:04 -04:00
A Pottinger
dc74a35bdc Revert to 11.0.6 to restore JOGL rendering.
Up for some discussion but going beyond 11.0.6 seems to break JOGL rendering. Resolves #122.
2020-08-16 22:15:37 -07:00
Ben Fry
ebe2a93987 on the f*king hunt with this notarization 2020-08-16 21:54:10 -04:00
Ben Fry
d8fcfb9240 signing every last dylib, jnilib, and jar since --deep isn't deep 2020-08-16 19:26:57 -04:00
Ben Fry
672f2a1cf3 working on broken notarization 2020-08-16 17:30:48 -04:00
Ben Fry
4ffe73114b make notarization verbose b/c errors 2020-08-16 11:14:52 -04:00
Ben Fry
733854e289 Make macOS notarization part of the build process (resolves #24) 2020-08-16 10:25:21 -04:00
Ben Fry
fdd32fa706 Terminal.app has a new location in Catalina 2020-08-16 07:32:09 -04:00
Ben Fry
df450200fc bump JDK to 11.0.8 2020-08-15 14:02:04 -04:00
Ben Fry
75265fde24 Merge pull request #88 from processing/fix_mac_os_save 2020-08-15 08:47:44 -04:00
Ben Fry
12205d4736 notes from late April 2020-08-15 08:42:28 -04:00
A Pottinger
942fa81735 Updated preferences for vaqua per #88. 2020-04-27 17:38:05 -07:00
A Pottinger
22716f9dcd Move vaqua to download on demand instead of staying binary in repo. 2020-04-27 17:05:39 -07:00
A Pottinger
eb6a9f73cf Changed minimum mac osx version to 10.10.
Per @benfry's feedback on #88, moved to 10.10 minimum mac os x
version enforced in Info.plist.
2020-04-27 16:56:55 -07:00
A Pottinger
a4f112ce10 Switch to VAqua on Mac for dark mode and non-terrible jfilechooser. 2020-04-19 23:12:50 -07:00
Ben Fry
ee35cf2ad4 write revision notes, replace revisions.txt with changes.md 2020-01-18 20:49:53 -05:00
Ben Fry
cae266744b remove the hash stuff and pre-11 versions of jdk.dir 2020-01-18 16:56:44 -05:00
Ben Fry
2e97a52f2d remove jre alias, support jdk or jfx, always lowercase 2020-01-18 14:11:35 -05:00
Ben Fry
1ff826b843 removing downloader bits (i.e. Oracle) that will not be used 2020-01-17 14:29:25 -05:00
Ben Fry
806b1b9f3b bump the build to use 11.0.6 2020-01-16 22:23:00 -05:00
Sam Pottinger
d0a092f27d Move to Java 11.0.5.
It looks like the LTS train is on 11.0.5 but we are currently on 11.0.2.
2019-11-27 10:39:59 -08:00
Sam Pottinger
7efe9b0c85 Removed test from the build / run targets but left in for dist.
Refactored ant build chain to allow building / running without execution of tests but ensure tests are run during dist. Note that tests are still runnable under the test target itself. Resolves #8.
2019-11-25 18:09:01 -08:00
A Pottinger
cfd61a074a Fix windows javafx temp folder cleanup.
Remove the javafx expansion of the zip archive on windows after build completes.
2019-10-10 23:21:58 -07:00
A Pottinger
27836ac1a7 Started temp directory cleanup for JDK working files. 2019-10-10 22:38:12 -07:00
A Pottinger
c1077d993f Update naming convention for JDK downloads.
In response to https://github.com/processing/processing4/issues/6, fix up naming for JDK downloads and some leftover .gitignore edits.
2019-10-10 21:34:35 -07: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
4ab47d28f2 attempt to use 8u212, but Oracle has broken the download 2019-04-22 20:30:32 -04:00