71 Commits

Author SHA1 Message Date
Stef Tervelde
202cce3d40 Update build.xml 2025-02-05 16:53:22 +01:00
Stef Tervelde
ccda7fbf3f Better Kotlin-Ant compatibility 2025-01-26 18:45:28 +01:00
Stef Tervelde
c6a10fcec6 Updated dependency locations to somewhere more stable 🤞 2025-01-21 18:52:36 +01:00
Stef Tervelde
a6ef5eb524 Update build.xml 2024-12-13 12:33:17 +01:00
Stef Tervelde
9029afc77b Retry the failing ant download at least a few times
Fixes #884
2024-12-13 12:18:07 +01:00
Ben Fry
8424cbf4fb rolling back non-source changes from 4f21049 2022-11-26 12:30:27 -05:00
Ben Fry
4f21049c75 Merge pull request #564 from kgtkr/language-server 2022-11-26 12:25:25 -05:00
kgtkr
ac062a502d Implementation language server 2022-10-01 13:14:02 +09:00
Ben Fry
632a899a4c remove unused apple.jar, bump to Java 17 2022-09-04 18:17:32 -04:00
Ben Fry
a8bb758f9e add clean-libs target to build.xml files 2022-08-04 10:37:44 -04:00
Ben Fry
78058c84bf bump the JNA version (last item for #128) 2022-08-02 16:15:47 -04:00
Ben Fry
2393c6133b bump flatlaf to 2.4 2022-07-21 18:50:04 -04:00
Ben Fry
852e2495f9 tweaking the flatlaf props 2022-04-30 10:09:29 -04:00
Ben Fry
876238b5c5 copy look and feel props to bin dir 2022-04-27 22:29:28 -04:00
Ben Fry
747172c919 trying out flatlaf, set ui font to source sans, language selector fixes 2022-04-27 22:21:05 -04:00
Ben Fry
fc74a0ccf5 bump JNA from 5.8.0 to 5.10.0 2022-01-16 15:44:38 -05:00
Ben Fry
91e85b6248 bump ant from 1.10.10 to 1.10.12 2022-01-16 15:34:21 -05:00
Ben Fry
ca08daa1aa purge VAqua (resolves #129) 2022-01-16 15:30:53 -05:00
Ben Fry
a1406400a5 unchecked casts fixed 2021-07-03 10:30:45 -04:00
Ben Fry
2eb872677e working on JavaFX paths and more; export acting weird 2021-06-20 14:21:57 -04:00
Ben Fry
24b8be55a0 remove ant binary from repo, update from 1.8.2 to 1.10.10 2021-06-18 10:12:32 -04:00
Ben Fry
584b40af32 update ant from 5.7.0 to 5.8.0, VAqua to 9, and improve downloads for libs 2021-06-18 09:51:33 -04:00
Ben Fry
2ecde3af1a updating to JNA 5.7.0 and adding auto-download for JNA files 2021-02-19 14:28:44 -05:00
Ben Fry
8e985e4923 update to VAqua8, no luck, disable for now (#129) 2020-09-23 21:13:56 -04: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
a4f112ce10 Switch to VAqua on Mac for dark mode and non-terrible jfilechooser. 2020-04-19 23:12:50 -07: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
gohai
f75fc3762a Update to JNA 4.2.0
The name of the subfolder containing jnidispatch.dll for 64-bit Windows changed as well.
2016-05-07 13:31:27 +02:00
Jakub Valtar
dd8698427c Update app to Java 8 2016-04-02 23:17:25 +02: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
8ae116567d next stage of mess 2015-01-20 15:46:25 -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
Darius Morawiec
9be2b02b76 extended build script to add and rm property files 2014-07-31 18:09:00 +02:00
Ben Fry
10e5072450 cleaning up the commit to fit style, deal with #2449 2014-04-13 09:18:28 -04:00
Ben Fry
3cb16702a3 fighting with code signing, change source version 2014-04-13 09:12:28 -04:00
Ben Fry
7eb0f19d65 change build scripts to use built-in ecj (removes jdk req) 2013-09-12 19:21:57 -04:00
Ben Fry
9f8f004ff3 in some cases, pde.jar was not getting built (#1792) 2013-05-30 16:12:32 -04:00
Ben Fry
145e8d2796 removing old cruft from app build, starting android build.xml 2013-04-19 12:34:09 -04:00
Manindra Moharana
6bf34b1518 moved to jdi, abandoning tools.jar dependency 2013-02-17 05:21:33 +05:30
Ben Fry
37d3798576 futzing with the build scripts for OS X 2013-02-04 19:06:39 -05:00
Ben Fry
ed1c8cca76 add build warnings for JAVA_HOME, improve platform detection, misc todo notes 2013-02-03 10:18:32 -05:00
benfry
0cb1aa0209 add swing outline jar to the build 2012-11-13 13:06:23 +00:00
benfry
ee9c6dced7 found another ecj mention 2012-10-20 20:32:00 +00:00
benfry
9aacc3d27f modify OS X version for Apple workarounds; implement fix 32-bit install issues (issue #1312) 2012-10-19 14:48:19 +00:00
benfry
6d8ebec0c0 get core loading properly on Windows, change displays to be numbered at 0 2012-07-21 16:37:46 +00:00
benfry
7a7b856385 making further progress on build process 2012-07-20 23:21:24 +00:00
benfry
a6f0f1ef99 fixing small issues to get things running again 2011-01-26 02:54:43 +00:00
benfry
72b34fc4f8 ...but i have won this battle 2011-01-22 16:38:35 +00:00