69 Commits

Author SHA1 Message Date
Avinash Kumar Deepak 8b049efab6 Publish pdf library: add coordinates and simplify signing (#1407) 2026-02-05 19:16:25 -05:00
Stef Tervelde 2a5341b52f Rename output JARs in createLibrary tasks (#1278)
The createLibrary tasks in dxf, pdf, and serial modules now rename the output JAR files to dxf.jar, pdf.jar, and serial.jar respectively as Processing does not expect the version name to be in the library jar
2025-10-14 10:35:31 -04:00
Stef Tervelde faf59979b7 Migration of the pdf library to Gradle 2025-07-23 06:58:14 +02: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
Ben Fry fb20a176ee fix pdf colors outside the range causing NPE (resolves #740) 2023-07-16 12:40:21 -04:00
Ben Fry d76b1740c3 itext jar as library 2023-05-04 13:49:28 -04: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
Ben Fry 3699c713d1 replace dev.processing.org bug links with download.processing.org links that work 2022-07-31 15:01:45 -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
Ben Fry a4d13df9e6 fixing Eclipse CLASSPATH entries for JDK 2021-06-22 07:35:21 -04: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 7ca5a1b209 new Eclipse rewriting settings files 2020-03-31 13:49:25 -04: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
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
Ben Fry 6b7580889c blendMode() should be a warning, not fatal 2018-03-28 10:40:13 -04:00
Ben Fry 2ac50a99a5 show warning when using blendMode() with PDF (fixes #5105) 2018-03-13 20:13:09 -04:00
Ben Fry 2c0c1b9a36 bring back getImage() to fix #4473 2016-08-12 21:34:50 -04:00
Jakub Valtar dd8698427c Update app to Java 8 2016-04-02 23:17:25 +02:00
Ben Fry f496709a87 update our own libraries to use .properties files (fixes #3574) 2015-08-11 10:30:37 -04:00
tiwawan 62dd1bc8e1 Added a comment in LargePage 2015-07-11 14:24:14 +09:00
Ben Fry ef9d4c4d2f more package movement for the separate renderers 2015-06-21 22:24:49 -04:00
Ben Fry cd5c927486 remove unused method 2015-05-16 12:36:33 -04:00
Ben Fry e52be3f71b setSize() method for offscreen surface 2015-05-16 08:01:15 -04:00
Ben Fry 8f23be3df0 move the note 2015-05-15 16:23:48 -04:00
Ben Fry 3d33fe3fd1 deal with path handling in renderers 2015-05-15 16:16:19 -04:00
Ben Fry c37e9dc81e rework non-visible surface handling, fix size() parser 2015-05-15 16:00:35 -04:00
Ben Fry e98a8615cf a little more general 2015-04-25 14:14:06 -04:00
Ben Fry 8803a1779a moving blit() around a bit, change basic surface name 2015-04-25 04:37:17 -04:00
Ben Fry f49f7104bd trying... to... simplify. 2015-04-20 22:44:54 -07: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 cc312f8b76 Unset the executable bit on xml files 2014-11-20 13:17:33 -07:00
Ben Fry deec670eee merge additions 2014-10-22 19:04:25 -04:00
Federico Bond ce5daefffd Use 1.7 as source and target Java version 2014-10-20 23:52:26 -03:00
Ben Fry fa1d80052f ongoing work for core reworking 2014-10-09 14:42:53 +02:00
Ben Fry ada4423aa9 deal with some warnings and other notes 2014-07-31 21:18:46 -04:00
Ben Fry 859cc5e1f4 Merge pull request #2310 from DavidPrevot/fix-cleanup
Fix typos in the 'clean' targets of dxf and pdf.
2014-01-21 15:48:40 -08:00
Ben Fry 9ca4000356 remove unnecessary cast 2014-01-21 18:19:53 -05:00
David Prévot 616c3b980a pdf: Fix the clean target 2014-01-09 19:44:39 -04:00
Ben Fry 543d51fc3b add notes about iText library and version 2013-10-12 18:01:06 -04:00
Ben Fry e6d7ff653d fixes for image transparency with PDF output 2013-10-06 15:46:21 -04:00
Ben Fry ef06f13dbc Merge pull request #2070 from gohai/pdf-transparency
Image transparency for PDF output
2013-10-06 12:40:55 -07:00
gohai 06fe38f218 Add support for custom source regions in imageImpl
As suggested by Ben
2013-10-01 22:13:39 -07:00