60 Commits

Author SHA1 Message Date
Ben Fry
41bc6d74c6 new JOGL releases?! 2023-02-18 17:58:43 -05:00
Ben Fry
00ffbf74de fix indents 2022-10-04 09:34:31 -04:00
Ben Fry
a3a90ef07e moving to Java 17 and cleaning up hundreds of warnings 2022-08-28 14:46:10 -04:00
Ben Fry
a8bb758f9e add clean-libs target to build.xml files 2022-08-04 10:37:44 -04:00
Ben Fry
e1f42cc14c fixes incorporated for JOGL on ARM (resolves #370) 2022-04-23 13:48:50 -04:00
Ben Fry
4ab1c8cda5 purge the old jAppleMenuBar code and replace with cleaned up rewrite 2022-02-14 20:17:10 -05:00
Ben Fry
c175233ccb adding the Windows resolution helper to the build process 2022-02-13 07:45:08 -05:00
Ben Fry
be38429ef5 move JOGL libraries to platform-specific subfolders 2022-01-22 18:34:02 -05:00
Ben Fry
c6d9210cf7 removing more unused library references 2022-01-20 13:52:49 -05:00
Ben Fry
7428342100 remove additional javafx references 2022-01-20 13:50:55 -05:00
A Pottinger
5d56e43a7d Get the tests runnable again. 2021-10-10 11:30:24 -07: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
b5baaa409d include Source Sans and use it as the default font 2021-02-26 21:45:24 -05:00
Ben Fry
966a7ffb6f new release candidate of JOGL! also add a backup link 2021-01-17 19:25:11 -05:00
Ben Fry
e9baaf2a71 add an ant target for building sources with core (fixes #118) 2020-09-24 17:19:54 -04:00
Ben Fry
c95dc9e503 update JOGL version 2020-04-25 14:46:40 -04:00
Ben Fry
47b1ccca07 adding a separate target so that jogl binaries are not killed by accident 2020-01-18 19:45:38 -05:00
Ben Fry
ff3fe5918d remove JOGL from the repo, switch it to auto-download 2020-01-18 19:42:39 -05:00
Sam Pottinger
9735fb26c4 Added missing methods-build requirement for core build.
If not running tests but building, methods-build may be left off. This restores that requirement.
2019-11-25 18:23:53 -08:00
Sam Pottinger
de21d68098 Add methods-build as a requirement for testingin core. 2019-11-25 18:19:03 -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
Ben Fry
e78f0a0226 removing apple.jar, modify ThinkDifferent to use Java 9+ Desktop APIs 2019-10-08 17:51:30 -04:00
A Pottinger
7463042501 Switch to 11 build target / source on javac.
Minor bit of cleanup in the ant scripts around the build src and target on javac, enabling use of Java 11 language features within processing itself. Note that the build is sustained on either 1.8 or 11 in terms of lanugage features but the code is no longer compatible with the Java 8 runtime due to backwards-incompatable changes made starting in Java 9.
2019-10-08 08:22:28 -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
80eac720c7 preserve file attributes so things don't appear modified; fix some indents lost in tab conversion 2019-04-21 08:12:20 -04:00
gohai
cb8e37ed43 ARM: Don't attempt to build JavaFX on arm64 2017-04-11 14:44:49 +02:00
Ben Fry
d8537b351c more generic, cleaning up dirs 2016-09-20 15:15:23 -04:00
Jakub Valtar
dd8698427c Update app to Java 8 2016-04-02 23:17:25 +02:00
Ben Fry
2ace98d41a implement default cursor images for OpenGL (fixes #3554) 2015-09-11 14:28:12 -04:00
gohai
bd41cb5f6c Reduce the maximum number of lights to 2 for vc4 (v2)
This is to work around register allocation failures in the new mesa vc4 driver. Eric wants to implement a pre-register-allocation scheduling pass, which might help, but for the time being reduce the maximum number of lights to 2, which is what lights() needs.
2015-08-12 01:09:01 +02:00
gohai
dcc7223edb Fix build if JavaFX is missing (v2)
"Starting with JDK 8u33, JavaFX Embedded is removed from the ARM bundle and is not supported." Note: there is an OpenJFX project, but this would probably have to be an external compile-time dependency.
2015-07-31 20:44:25 +02:00
codeanticode
8bb398d5bb moved shaders to separate package 2015-05-19 23:48:05 -04:00
Ben Fry
c18d42babc move apple.jar into core because it needs its own ThinkDifferent 2015-05-19 15:49:03 -04:00
Ben Fry
c32736be56 fix ant build for jogl 2015-05-14 18:22:49 -04:00
codeanticode
12b6626747 put LWJGL in the core 2015-02-20 16:21:15 -05:00
Ben Fry
9f1816495a more fixes for building core standalone 2015-01-21 19:14:15 -05:00
Ben Fry
8267c4c11f remove methods binary, clean up tasks, remove demo stuff, notes on recent fixes 2015-01-21 19:08:11 -05:00
Ben Fry
8ae116567d next stage of mess 2015-01-20 15:46:25 -05:00
Ben Fry
5be24e55ea bring back the jnilib for the menubar hiding 2015-01-19 16:55:48 -05:00
Kyle Feuz
cc312f8b76 Unset the executable bit on xml files 2014-11-20 13:17:33 -07:00
Federico Bond
ce5daefffd Use 1.7 as source and target Java version 2014-10-20 23:52:26 -03:00
Ben Fry
e279fa2e47 build cleanups to die when files not present, remove duplicate fonts 2014-07-30 16:20:52 -04:00
Ben Fry
5e939b1316 add debug message.. found Java 1.8 problem with build. 2014-04-15 13:51:34 -04:00
Ben Fry
5411ece732 fix ecj.jar path issue on Windows (and Linux?) 2014-04-09 11:38:09 -04:00
Ben Fry
c350407d01 conditionally use javac if ecj not available 2014-02-08 13:09:29 -05:00
Ben Fry
55ffd815f6 more 1.7 notes 2013-10-25 09:53:02 -04:00
Ben Fry
7eb0f19d65 change build scripts to use built-in ecj (removes jdk req) 2013-09-12 19:21:57 -04:00
benfry
b5894484a7 actually add the images to the build 2012-10-22 23:07:52 +00:00
benfry
ab815ede89 update source/target settings in build b/c of Java 7 warnings 2012-10-19 14:48:48 +00:00
codeanticode
46f4ba5f51 upgrading jogl 2012-07-28 00:36:15 +00:00