Commit Graph

37 Commits

Author SHA1 Message Date
ಠ_ಠ
a7295226e2 Add Java arguments to enable Anti-Aliasing to bash script 2022-07-20 14:55:32 +02:00
Ben Fry
7b8fac3d3f remove extra space 2022-03-12 12:30:51 -05:00
Ben Fry
4f32cdaa5c fix " does not exist" message on Linux startup 2022-03-12 09:50:09 -05:00
Ben Fry
8e5433430e update desktop file and try suppressing warning from #207 2022-01-16 16:19:38 -05:00
Ben Fry
aae80172ec remove JavaFX from startup (no longer available for Tools/Modes) 2022-01-16 15:06:43 -05:00
Ben Fry
caacf0653c add console encoding to address https://github.com/jdf/Processing.py-Bugs/issues/322 2021-10-04 18:29:42 -04:00
Ben Fry
1a29a8fcb3 switching to the new splash screen class 2021-07-10 17:17:51 -04:00
Ben Fry
add4854478 turn webkit back on again for javafx 2021-07-08 19:58:09 -04:00
Torben
dd5d5c607a Set correct --module-path in start script 2021-06-25 11:57:03 +02:00
Ben Fry
d5d0a8724f tweaks for JavaFX in the PDE on Linux 2021-06-22 17:08:51 -04:00
Ben Fry
6ad8d708a8 fixes to get JavaFX running on Linux 2021-06-19 09:12:18 -04:00
A Samuel Pottinger
ee299ef935 Move to ANTLR 4 with Java 11 lang features and localization. (#5)
* Move to ANTLR 4 with Java 11 lang features and localization.

Introduces ANTLR4 and Java 8 language feature support within IDE while also adding additional hooks for localization of syntax error messages, addressing https://github.com/processing/processing/issues/3054 and https://github.com/processing/processing/issues/3055.

The PR is broadly a continuation of https://github.com/processing/processing/issues/3055, bringing it up to speed with the latest Processing master plus the changes introduced at https://github.com/processing/processing/pull/5753. **Requires https://github.com/processing/processing/pull/5753 as pre-requisite.** This introduces a number of edits beyond https://github.com/processing/processing/issues/3055 beyond compatibility with current Processing master and https://github.com/processing/processing/pull/5753 including:

 - Update to the grammar itself
 - Change ANTLR listeners to emit `TextTransform.Edit` to unify JDT-based `PreprocessingService` and `JavaBuild`, removing code with duplicate purpose.
 - Introduction of syntax error rewriting with support for localization.
 - Addition of complete localized strings set for English and Spanish.
 - Addition of partial localized strings set for other languages.
 - Refactor of ANTLR-related code for testability and readability
 - Expansion of tests including full parse tests for new Java features (type inference, lambdas).

* Ask travis for ant upgrade prior to run.

* Ask Travis for java11 update.

* Add openjdk ppa

* Travis no confirmation on add ppa.

* Force newer ant on travis.

* Swtich ant download to www-us mirror.

* Switch ant to 1.10.7

* Start x for unit tests in travis.

* More complete start x in travis.

* Revert x in travis.

* Try x in services.
2019-10-05 23:34:38 -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
Ben Fry
490755b96c be more explicit about this 2016-08-12 15:57:47 -04:00
Ben Fry
dbdb5416af remove java.ext.dirs on startup (fixes #4608) 2016-08-06 16:49:55 -04:00
Ben Fry
c182cecd3d add new splash screen 2015-09-29 21:09:19 -04:00
Ben Fry
563ed559a7 don't use local JRE on Linux 2015-06-16 08:41:30 -04:00
Ben Fry
3982af6d88 update command line tool for all platforms (fixes #3224) 2015-04-27 11:36:37 -04:00
Kyle Feuz
b0e3dffed3 Added splash screen for linux 2014-12-11 14:21:49 -07:00
Ben Fry
4359a16f0e increase heap size to 256m (-Xmx256) per Manindra request 2014-06-06 12:39:58 -04:00
Ben Fry
2970497860 more cleanups, and add JNA switch for Linux launcher and cmd 2014-05-10 15:57:55 -04:00
Abe Pazos
00449a6fba Add missing double quotes to readlink call. Opening paths with spaces now works.
I was trying to make it possible to double click on .pde files on Ubuntu 13.04 following http://forum.processing.org/topic/ubuntu-12-10-launch-pde-files-from-nautilus
I noticed that files found in paths that include spaces would not open. I fixed it by adding double quotes to a readlink call at the end of the Processing launcher script. Other similar calls to readlink in the same file already included double quotes.
2013-08-17 22:12:24 +02:00
Ben Fry
cc50178491 modify return code handling from the Command script (#1798) 2013-06-01 15:35:32 -04:00
Manindra Moharana
6bf34b1518 moved to jdi, abandoning tools.jar dependency 2013-02-17 05:21:33 +05:30
Ben Fry
c075ba52d2 fix Linux readlink error when running processing-java (issue #1578) 2013-02-03 12:28:11 -05:00
benfry
169427a0eb wrong one 2012-10-21 01:13:46 +00:00
benfry
993bb4bfb3 don't run in the background 2012-10-21 01:12:29 +00:00
benfry
79c84d89ed spaces matter 2012-10-21 01:09:00 +00:00
benfry
36b5e8b3ef further command line work, now for Linux 2012-10-21 01:03:12 +00:00
benfry
6d8ebec0c0 get core loading properly on Windows, change displays to be numbered at 0 2012-07-21 16:37:46 +00:00
benfry
06953877c2 finalizing how thread() works, more todo items, Linux launcher fix (issue #707) 2011-06-20 21:58:39 +00:00
benfry
46f9e333d9 roll back changes because of regression 2011-05-15 20:08:45 +00:00
benfry
b74bc8d657 fix for local jdk (issue #466) 2010-12-03 21:44:47 +00:00
benfry
a66a74922a yet another bug #1549 tweak 2010-05-06 17:51:09 +00:00
benfry
96cf91c44e another fix for bug #1549 2010-05-06 16:57:54 +00:00
benfry
b0cdc657ae fix to add sketches to command line for processing on linux (bug #1549) 2010-04-28 21:18:31 +00:00
benfry
f265a47653 moving 2010-02-06 04:30:40 +00:00