Commit Graph

86 Commits

Author SHA1 Message Date
Madhav Majumdar
f36e5b2d83 Migration of the serial library to Gradle (#1106)
* Update build.gradle.kts

* Update build.gradle.kts

* fix build.gradle.kts

* Resolving issue 1099

- Add settings.gradle.kts
- Update build.gradle.kts

* foojay-resolver-convention updated to latest version

* update migration code and revert unnecessary commits
2025-10-06 17:10:19 -04:00
Stef Tervelde
dccf16a00c Improved Simplification 2025-02-05 21:33:57 +01:00
Stef Tervelde
fb8485451e Simplified gitignores 2025-02-05 21:18:22 +01:00
Stef Tervelde
d057c46fd2 Java Mode resources and Libraries 2024-12-16 20:34:24 +01:00
Stef Tervelde
138db8471b Cleaned up ignored files 2024-11-17 19:47:08 +01:00
kevinstadler
020c23c9f1 Improve Network and Serial library web reference
- fix broken `@see_external` webref links (remove outdated LIB_ prefix)
- adjust `@instanceName`s and descriptions to match the webref example
  variable names
2024-04-13 18:26:44 -06:00
Ben Fry
8b4c4efbfd set all build.xml files to Java 17; replace a few tabs with spaces 2023-01-20 11:44:00 -05:00
A Pottinger
8b80e50306 Fix SLF4J issue via JSSC. 2022-10-24 21:18:21 -07:00
A Pottinger
ddee1730f7 Switch to upstream JSSC pathing. 2022-10-24 20:04:02 -07:00
A Pottinger
b33f236d5a Merge branch 'main' into jssc_fast_forward 2022-10-24 18:55:56 -07:00
A Pottinger
fce6a5bfe8 Fast forward JSSC 2022-10-18 09:01:21 -07:00
Ben Fry
fb8dfbfd9b purge several "applet" references from the code 2022-08-07 22:17:47 -04:00
Ben Fry
4eb0939a9e adding intellij project files now that they have settled a wee bit 2021-12-06 13:18:48 -05:00
A Pottinger
5f7e6a4fd4 Fix classpath. 2021-08-21 14:33:18 -07:00
A Pottinger
113d8b38a4 Move to new 2.3.5 JSSC 2021-08-21 14:29:57 -07:00
A Pottinger
9cb8f97b0d Move to new JSSC file structure. 2021-08-21 12:30:18 -07:00
A Pottinger
b5346e3cca Minor fix for windows path resolution. 2021-07-24 16:53:10 -07:00
A Pottinger
0012a90404 Migrated to new sampottinger/jssc 2021-07-24 16:01:55 -07:00
Ben Fry
a4d13df9e6 fixing Eclipse CLASSPATH entries for JDK 2021-06-22 07:35:21 -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
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
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
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
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
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
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
George Bateman
5767b086f6 Fix most Javadoc errors, except syntax 2016-05-10 19:13:20 +01:00
Ben Fry
822089487b Merge pull request #4321 from kfeuz/serial_readbytes
Added readBytes(max) to serial library
2016-05-08 15:06:09 -04:00
Jakub Valtar
dd8698427c Update app to Java 8 2016-04-02 23:17:25 +02:00
kfeuz
bad395b08d Added readBytes(max) to serial library 2016-02-18 22:21:04 -07:00
gohai
f4f00102bd Put back the Javadoc from the 2012-era Serial library 2015-10-18 12:51:57 +02:00
gohai
61fe120f7c Fix Serial SimpleWrite example
The Arduino code would read one byte from the buffer an then sleep for 1/10th of a second, while Processing would send a byte every frame. Instead, read in all the bytes in the input buffer and act on the most recent one.
2015-10-18 12:29:14 +02:00
REAS
5575b774b8 Tests for new Serial reference 2015-10-13 15:56:05 -07:00
REAS
85fc361ce3 Change name of Serial I/O library to Serial 2015-10-06 10:03:01 -07:00
Ben Fry
f496709a87 update our own libraries to use .properties files (fixes #3574) 2015-08-11 10:30:37 -04:00
Ben Fry
a32a634b72 deal with .class signing conflicts and use JDT .jar files for compilation 2015-01-21 19:43:02 -05:00
Kyle Feuz
c7759f2a78 Bring in upstream changes from 'master' 2014-11-21 10:31:28 -07:00
Kyle Feuz
85d511975b unset executable bit for .txt files 2014-11-20 13:20:33 -07:00
Kyle Feuz
cc312f8b76 Unset the executable bit on xml files 2014-11-20 13:17:33 -07:00