15 Commits

Author SHA1 Message Date
Stef Tervelde
30bc274e36 Merge pull request #1033 from Rishab87/shift-page-keys
Fixed `SHIFT` and `PAGE_UP` keys using the same keyCode
2025-07-11 12:23:27 +02:00
Stef Tervelde
9b34964ff6 Merge pull request #987 from Rishab87/PVector-unit-tests
Added Unit Tests for `PVector` in `processing:core`
2025-04-15 18:19:55 +02:00
rishab
abc39e935e fixed page-up key code and added tests 2025-04-13 23:25:14 +05:30
rishab
5751b50c41 Revert "added unit tests for Pmatrix 3D"
This reverts commit 105bc9603e.
2025-04-05 17:01:46 +05:30
rishab
105bc9603e added unit tests for Pmatrix 3D 2025-04-05 16:59:03 +05:30
rishab
1a0e52a8d8 added unit tests for PMatrix2D 2025-03-25 19:53:52 +05:30
rishab
df8b732c3f added unit tests for PVector 2025-03-20 11:40:22 +05:30
rishab
bafcd54dce minor changes 2025-03-14 14:34:09 +05:30
rishab
be9e6b8fac minor changes 2025-03-08 21:08:33 +05:30
rishab
801b02b52b added keyEvent tests 2025-03-08 20:40:09 +05:30
Junology
faa6535dd5 Refactor SVG path parser 2024-12-10 04:30:07 +09:00
Brian Sapozhnikov
080cb3de75 address issue 515 2023-01-29 21:22:54 -05:00
Sam Pottinger
01d508afce Minor formatting fixes on PR #33. 2019-11-25 14:53:36 -08:00
Sam Pottinger
2dd098eb4b Fixed Table's use of deprecated isAccessible, finishing parseInto.
Fixed the Table's use of the deprected isAccessible, finishing the parseInto method in the process in order to test taht the new implementation is "correct". Note that there is not a published API for this method on processing.org so it is unclear if the interface's intended behavior was maintained. See https://processing.github.io/processing-javadocs/core/processing/data/Table.html#parseInto-java.lang.Object-java.lang.String-.
2019-11-25 14:47:12 -08: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