Commit Graph

58 Commits

Author SHA1 Message Date
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
Ben Fry
7eb0f19d65 change build scripts to use built-in ecj (removes jdk req) 2013-09-12 19:21:57 -04:00
gohai
69c59cfdf9 Image transparency for PDF output
Before, drawing an image with transparency would result in black, opaque pixels in the PDF file. This change, figured out together with Jürg Lehni, fixes this. At its core, switching from drawImage(img, int, int, int, int, int, int, int, int, null) to drawImage(img, int, int, null) seems to do the trick - so this might have been a bug in iText all along.

Signed-off-by: Jürg Lehni <juerg@scratchdisk.com>
Signed-off-by: Gottfried Haider <gottfried.haider@gmail.com>
2013-09-10 15:15:12 -07:00
datguy
a8966dd5ed remove extra beginRecord() from ManyPages PDF example 2013-07-08 20:12:51 -04:00
Ben Fry
856da77f62 no longer call super.beginDraw() because it may allocate memory 2013-02-22 06:56:01 -05:00
Ben Fry
eee6123135 adding ignore files 2013-01-27 10:52:36 -05:00
benfry
2c3ad34caa remove hint(ENABLE_NATIVE_FONTS) 2012-12-15 22:02:22 +00:00
benfry
ab815ede89 update source/target settings in build b/c of Java 7 warnings 2012-10-19 14:48:48 +00:00
benfry
162f2e9d4a fix for getNative() object type 2012-09-02 20:09:00 +00:00
benfry
662fec53e6 moving font cache inside PGraphicsOpenGL 2012-09-02 20:07:26 +00:00
benfry
7a7b856385 making further progress on build process 2012-07-20 23:21:24 +00:00
benfry
7874c54f5d settings/indent tweak 2012-03-22 02:50:48 +00:00