Commit Graph

287 Commits

Author SHA1 Message Date
Ben Fry 7b75acf279 add more entitlements to see if it fixes audio/video issues 2021-06-18 15:26:13 -04:00
Ben Fry 6352be7497 include JavaFX with app launcher (fixes #110, resolves #112) 2021-06-18 11:43:48 -04:00
Ben Fry f48d2d85ce finalize appbundler update with new jar, notes in todo 2021-06-18 10:47:26 -04:00
Ben Fry 445f98a5dc change sdk version reference 2021-06-18 10:47:16 -04:00
Ben Fry 0f217f5d60 resolve compilation error with cast 2021-06-18 10:46:57 -04:00
Ben Fry b86da71f24 remove log message, fix deprecation warning 2021-06-18 10:46:38 -04:00
Ben Fry 8e838b0ab2 switch to JDK 11 for appbundler source 2021-01-17 15:12:43 -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 a4c44950af make sure these are pointing at the processing4- projects 2021-01-17 13:18:48 -05:00
Ben Fry e6da037942 deal with a warning 2021-01-16 22:06:28 -05:00
Ben Fry 8e0bc36ed8 additional notes and work in progress 2020-09-23 14:00:50 -04:00
Ben Fry 7374956cd6 add entitlements, fixes "Unable to load Java Runtime Environment" 2020-09-15 20:52:38 -04:00
A Pottinger 2b853b83ab Updated license text.
License links in top level license file to include third party information. Specifically, in follow up to processing 5753, some updates to the license.txt file, reformatting to make it easier to find third party license information and to navigate the processing license itself.
2019-10-05 21:20:24 -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 983d962a64 update AppBundler, use newer macOS SDK, preserve attributes where possible 2019-04-21 08:30:47 -04:00
Ben Fry a668742396 fix formatting per our guidelines 2016-10-29 10:04:14 -04:00
Ben Fry f12f0ba86a handle extensions list properly (fixes #4615) 2016-10-29 10:02:21 -04:00
tpltnt 5998faaff9 more flexible interpreter path 2016-09-20 15:26:07 +02:00
Jakub Valtar 15cd2fab0b Update app to Java 8 - leftovers 2016-04-04 20:51:06 +02:00
Ben Fry 8594598fa5 more icon work 2015-06-03 16:07:03 -05:00
Ben Fry 26999290c5 new icons and build script additions to cover them 2015-06-03 15:43:04 -05:00
Plastix ed03fb6365 Fix multi-touch horizontal scrolling on OSX: Fixes #180
Also edited the native cocoa wrapper to disable inertia scrolling (https://developer.apple.com/library/mac/releasenotes/DriversKernelHardware/RN-MagicMouse/). According to Apple that should work, but I'm not sure it does anything.
2015-04-01 17:36:42 -04:00
Ben Fry e69d7637a4 roll up to new OS X 10.10 SDK, keep keytool, other updates 2015-01-19 19:17:00 -05:00
Kyle Feuz 49c3435b36 Normalize line endings. Auto-detect textfiles. Force .java and .pde files to be treated as text. 2014-11-20 12:57:04 -07:00
Ben Fry 682c686391 holy smokes what a mess 2014-11-14 16:48:07 -07:00
Ben Fry b5f675577a get language gen script in line with other lang changes 2014-11-14 15:28:02 -07:00
Ben Fry 183430b348 bring back our old os x menu bar hiding friend 2014-10-08 20:14:27 -04:00
Federico Bond 86682ca9b3 Fix localization in OS X 2014-09-08 23:27:53 -03:00
Ben Fry e491a31bd6 include keytool in distribution and build 2014-08-05 17:14:08 -04:00
Ben Fry ada4423aa9 deal with some warnings and other notes 2014-07-31 21:18:46 -04:00
Ben Fry 8d532f8569 switch to OS X native full screen (fixes #2641) and remove native code for hiding menubar 2014-07-30 15:29:08 -04:00
gohai 7d9e51e9ae Appbundler: Add Contents/Java to java.library.path for loadLibrary to find .jnilib files
Upon including processing.serial.*, the java.library.path of the sketch - when compiled normally - gets expanded to include the location of the specific library subfolder. For exported sketches on MacOS, java.library.path points just to Contents/MacOS inside the application, which causes loadLibrary inside custom libraries to fail. Since those library files (*.jnilib) get copied into Contents/Java, change the java.library.path to include this location as well.

Somewhat confident that this shouldn't break things, but this is touching core infrastructure.
2013-12-17 00:02:07 -08:00
Ben Fry 931d9fd1e1 Update README.md 2013-10-20 21:15:30 -04:00
Ben Fry 3954738286 Add notes about our fork 2013-10-20 21:15:11 -04:00
Ben Fry ff618bc0b5 try to switch to JRE only; fail 2013-10-19 21:04:42 -04:00
Ben Fry a9097a8962 handle warning, remove debug flag, update appbundler 2013-10-11 16:51:30 -04:00
Ben Fry c1dfec1263 stick with old naming 2013-10-11 12:30:40 -04:00
Martin Leopold 6b1eb45e9a Fixed build errors on OS X, when ant is run from a location other than build/macosx 2013-10-10 10:41:24 +02:00
Ben Fry b41033e88e check in appbundler to fix build issues 2013-10-01 18:24:57 -04:00
Ben Fry 78c127ab1d add java executable on OS X, force local when running 2013-09-22 16:57:14 -04:00
Ben Fry 8e0121c4b7 continued efforts with build scripts, removing unused JRE files 2013-09-22 16:16:32 -04:00
Ben Fry e5de8bc877 add minimum system version and javafx removal 2013-09-22 15:33:37 -04:00
Ben Fry da39a2a1a4 replace crusty icon with generic document icon 2013-09-21 15:28:19 -04:00
Ben Fry bd27e998c4 remove unused video lib files, add icon bundle stuff 2013-09-21 14:29:15 -04:00
Ben Fry 5d97a9c0bc the Contents/Java switch ain't all that useful 2013-09-21 12:22:00 -04:00
Ben Fry cdae8066a0 other minor cleanups 2013-09-21 10:45:35 -04:00
Ben Fry ab24f64efe further work on the plist simplification 2013-09-21 10:34:30 -04:00
Ben Fry 1f616001dc more cleanup 2013-09-21 10:18:46 -04:00
Ben Fry 148a201a7c further cleanup to XML plisting 2013-09-21 09:53:04 -04:00