mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 11:21:06 +01:00
* 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.
27 lines
926 B
Plaintext
27 lines
926 B
Plaintext
# unit test prefs
|
|
|
|
editor.tabs.size=2
|
|
|
|
preproc.save_build_files=false
|
|
|
|
# preprocessor: pde.g
|
|
preproc.color_datatype = true
|
|
preproc.web_colors = true
|
|
preproc.enhanced_casting = true
|
|
|
|
# preprocessor: PdeEmitter.java
|
|
preproc.substitute_floats = true
|
|
#preproc.substitute_image = false
|
|
#preproc.substitute_font = false
|
|
|
|
# auto-convert non-ascii chars to unicode escape sequences
|
|
preproc.substitute_unicode = true
|
|
|
|
# PdePreproc.java
|
|
# writes out the parse tree as parseTree.xml, which can be usefully
|
|
# viewed in (at least) Mozilla or IE. useful when debugging the preprocessor.
|
|
preproc.output_parse_tree = false
|
|
|
|
# Changed after 1.0.9 to a new name, and also includes the specific entries
|
|
preproc.imports.list = java.applet.*,java.awt.Dimension,java.awt.Frame,java.awt.event.MouseEvent,java.awt.event.KeyEvent,java.awt.event.FocusEvent,java.awt.Image,java.io.*,java.net.*,java.text.*,java.util.*,java.util.zip.*,java.util.regex.*
|