Commit Graph

1080 Commits

Author SHA1 Message Date
Ben Fry
5ebe4afefa more notes in the jfx build 2021-06-20 21:07:31 -04:00
Ben Fry
36c7977648 clean up typos and warnings 2021-06-20 21:02:23 -04:00
Ben Fry
3cbb534afa add Eclipse project files for JavaFX lib 2021-06-20 20:09:03 -04:00
Ben Fry
f61155a825 add fall-through cases for compiler warning 2021-06-20 20:08:35 -04:00
Ben Fry
befdba7137 get export for JavaFX working again 2021-06-20 14:30:25 -04:00
Ben Fry
2eb872677e working on JavaFX paths and more; export acting weird 2021-06-20 14:21:57 -04:00
Ben Fry
3ea593c9e0 major change: move JavaFX to its own library (additional files) 2021-06-20 13:37:46 -04:00
Ben Fry
a605ff53ba major change: move JavaFX to its own library 2021-06-20 13:37:04 -04:00
Ben Fry
ba1c6944e2 update ignore and add a note about entitlements 2021-06-18 17:52:40 -04:00
Ben Fry
0348bef91c yikes, need to keep this out of the dist 2021-06-18 15:26:31 -04:00
Ben Fry
bf0bbad1ee remove "textMode(SHAPE) is not supported by this renderer" with SVG (fixes #202) 2021-06-14 21:32:16 -04:00
Ben Fry
d51b787984 Merge pull request #183 from oseph/master
Updated batik URL
2021-04-29 14:43:43 -04:00
Ben Fry
cc2ec45772 deal with dead link for batik, upgrade to 1.14 (fixes #192) 2021-04-29 14:39:07 -04:00
Anadroid
118e22e329 Formatting brief descriptions 2021-04-13 16:54:57 +02:00
Anadroid
7b5c8ba9ce Formatting more comments 2021-04-12 10:24:07 +02:00
Josh Holinaty
82a22f49ad Updated batik URL
The previous (current) URL does not host batik anymore. URL has been
updated to point to the Apache archive.

Batik version updated from 1.13 -> 1.14
2021-03-16 22:07:36 -04:00
Ben Fry
36263a04bc posting backup url for batik as well 2021-01-17 19:28:09 -05:00
Ben Fry
ce77558c97 tweak project info for Eclipse to fix up their import to IntelliJ 2021-01-17 15:11:25 -05:00
Ben Fry
d9901fe327 update batik to 1.13, auto-download in build 2021-01-17 15:10:21 -05:00
Ben Fry
2a2a607353 update names of project files 2021-01-17 13:21:01 -05:00
Ben Fry
a4c44950af make sure these are pointing at the processing4- projects 2021-01-17 13:18:48 -05:00
Anadroid
dc6b4ed47c Renaming templates 2020-09-16 09:41:35 +02:00
Anadroid
51d2de2dd0 Fixed indentation, and removed unnecessary templates from the doclet 2020-09-15 14:57:37 +02:00
Anadroid
8a7c9571fa Updated descriptions in comments for processing core and libraries 2020-09-15 10:17:15 +02:00
Anadroid
42b0efb8b8 Changed comments for the libraries network, serial, and hardware i/o 2020-09-10 16:07:03 +02:00
A Pottinger
e2026bcf72 Merge branch 'on_demand_debugger' into jssc_migrate_sampottinger_dep_on_demand 2020-04-26 09:13:01 -07:00
Ben Fry
7ca5a1b209 new Eclipse rewriting settings files 2020-03-31 13:49:25 -04:00
Sam Pottinger
0412748949 Finished cross-builds for new JSSC binary. 2020-03-08 15:28:42 -04:00
Sam Pottinger
c6954845e2 Added in experimental JSSC native for Windows 64. 2020-03-08 14:52:44 -04:00
Sam Pottinger
87b74fcc74 Added new linux 64bit binary for JSSC 2020-03-08 14:38:31 -04:00
A Pottinger
60aeacc063 Updated jssc jar for mac. 2020-03-07 19:56:44 -08:00
A Pottinger
1adadb0358 Switch to fat jar for jssc. 2020-03-07 18:11:53 -08:00
A Pottinger
03b24c3d97 Migrate to sampottinger/jssc for mac.
Started migration of JSSC in response to https://github.com/processing/processing4/issues/71, introducing mac os in this commit.
2020-03-07 17:07:34 -08:00
Ben Fry
624e9074ae deal with deprecation changes in PDF 2020-01-20 14:54:38 -05:00
Ben Fry
a4d935e713 fix for precision issues with PDF (5801 in 3.x) 2020-01-19 08:53:18 -05: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
REAS
9ec706889f Removing DoubleDict DoubleList LongDict LongList from Reference 2019-07-26 15:47:21 -07:00
REAS
dc322fb48a Remove redundant params for Server reference 2019-07-25 12:47:22 -07:00
Ben Fry
3673396587 move to JDK 1.8 instead of 1.6 b/c of Eclipse warnings 2019-01-18 09:55:43 -08:00
gohai
a7e2d6f122 IO: Unify ADC examples 2018-07-26 00:25:12 -07:00
gohai
a21e5a280e IO: Add ADS1X15 Analog-to-Digital converter example 2018-07-26 00:25:06 -07:00
gohai
cbdfb06c99 IO: Add a dispose method to PCA9685 example, document pulse widths
Developed together with @OlivierLD
2018-07-12 13:27:30 -07:00
gohai
cc46c5e680 IO: Fix pinMode() retry logic
If the file node is not accessible yet, NativeInterface.writeFile() will return -EACCES instead of -EPERM. Thanks @msurguy for reporting this and testing.
2018-07-11 14:07:06 -07:00
gohai
80453e84ba IO: Make I2C errors more verbose
The error code returned from C seems to have changed from -EIO to -EREMOTEIO during some recent kernel version.
2018-07-10 10:16:46 -07:00
gohai
89c7a24152 IO: Rename ServoSweep example 2018-07-01 10:05:18 -07:00
gohai
7bd50e435a IO: Remove the duplicate "duty" argument from the reference for PWM.set() 2018-07-01 10:05:18 -07:00
Olivier LeDiouris
9843d1c88d IO: Add PCA9685 servo/PWM controller example
Donated by @OlivierLD, minor cleanups by @gohai
2018-07-01 10:05:18 -07:00
Olivier LeDiouris
5db3ec9227 IO: Add TSL2561 environmental sensor example
Donated by @OlivierLD, minor cleanups by @gohai
2018-07-01 10:05:18 -07:00
Olivier LeDiouris
2e05386994 IO: Add BME280 environmental sensor example
Donated by @OlivierLD, minor cleanups by @gohai
2018-07-01 10:05:18 -07:00