JLine 3.22.0
·
424 commits
to master
since this release
Enhancements and new features
- command less: manage object arguments #811
- prnt command: add option --multiColumns (#813)
- Support for comments in DefaultParser (#731)
- SyntaxHighlighter: add parser to tokenize string literals and comments, fixes #746
- Theme System: use token names in highlight configurations in place of hard coded colors
- Support for out or err stream for the terminal, fixes #787
- Make readBuffered blocking and add more readBuffered methods, fixes #757
Bugs
- Standard escape character (\) doesn't seems to be handled correctly, fixes #798
- Infinite loop in TerminalLine constructor, fixes #751
- Less method run(Source... sources) throws UnsupportedOperationException, fixes #810
- less pager does not work well when using InputStreamSource, fixes #812
- Scroll forward of the cli cause tailtips to collide with text, fixes #738
- Mandatory import of sun.misc, fixes #758
- Candidates customized order lost when tabbing through candidates, fixes #763
- LineReader Candidate: tests for sorting and potential int overflow fix (#762)
- Tab candidate menu list exceeds from visible terminal display, fixes #759
- Error in custom command line highlighter let readLine() method in an unusable state, fixes #741
- Fix last line not displayed when scrolling using Display, fixes #737
- nano editor fails to highlight block comments, fixes #753
- Nano SyntaxHighlighter fails to highlight the line after the block comment, fixes #743
- Nano SyntaxHighlighter fails to highlight strings with line delimiters, fixes #742
- lsStyle resolver defined as static field, fixes #764
- Fix Parser javadoc of ParseContext.SPLIT_LINE, fixes #733
- Groovy REPL: methods print and println appear twice in tab completion candidate list, fixes #749
- 3.20.0 Regression - Groovy REPL highlight syntax errors while typing is broken, fixes #748
- Groovy REPL: tab-completion does not complete all methods even if allMethodsCompletion=true, fixes #745
- Groovy REPL: prnt command parameter completion does not work well, fixes #744
Breaking changes
SyntaxHighlighter
has been moved fromorg.jline.builtins.Nano.SyntaxHighlighter
toorg.jline.builtins.SyntaxHighlighter
Full change log
dd697ee0
Remove compilation warnings (#816)e00a8370
Appveyor fix (#815)87f7e576
Upgrade all plugins to latest version (#740)d6e84da4
Support for out or err stream for the terminal (fixes #787) (#788)c2a0c9e8
Avoid redundant Map.containsKey call (#781)77f1cea0
Make readBuffered blocking and add more readBuffered methods, fixes #757 (#782)4f57697f
Replace AtomicBoolean with volatile boolean field. (#796)6e94df5f
Upgrade Groovy to 4.0.7b82a347c
Scroll forward of the cli cause tailtips to collide with text, fixes #738fcc8ce61
Bump ivy from 2.5.0 to 2.5.1751a7d7c
prnt command: add option --multiColumnsade7806f
Less: eliminate a couple of source.lines() calls239d6e04
less pager does not work well when using InputStreamSource, fixes #812181279c0
Standard escape character () doesn't seem to be handled correctly, fixes #7981579fc04
command less: manage object arguments, fixes #8119243e6db
add CONSOLE_OPTIONS boolean variable redirectColor to switch on/off redirect colors9711716b
Less method run(Source... sources) throws UnsupportedOperationException, fixes #8102c4a1923
Upgrade maven-enforcer-plugin to 3.1.058dccf72
Upgrade Graal to 22.1.0396a39e1
Upgrade Groovy to 4.0.34dac9b0c
Infinite loop in TerminalLine constructor, fixes #7518b89ff5f
Console example fix NPE9706eadf
Builtins command registry: Add null check for configpath parameter1cf2cda9
Upgrade Groovy to 4.0.2ed6cef30
Add a simple example of printAboved75b4f18
Groovy REPL: add tab-completion for groovy array methods0959a40b
Upgrade Groovy to 4.0.1c8fcdda6
Simplify String operations (#776)fe1a6ff4
Docs typo:Columns separated
->Colon separated
(#775)f9b267f6
Option to disable Undo in LineReader0bb26e99
SystemHighlighter: command line parsed twiced3aa7dc6
nanorc parser: the reader is not closed if exception is thrownf988d35f
args.nanorc: improve options highlighting4b743231
SystemHighlighter: fix subcommand highlightingac26d10c
lsStyle resolver defined as static field, fixes #764bfcc415b
Candidates customized order lost when tabbing through candidates, fixes #763cea9632b
LineReader Candidate: tests for sorting and potential int overflow fix (#762)aa11f6ee
REPL demo: add nanorctheme.template (#761)233a6cce
gron.nanorc: improve *_COLORS variable value highlightc70d3272
REPL demo refactoring: add nanorc directory43127122
REPL demo: add light.nanorctheme and rename default theme to darkf72694f6
DefaultPrinter: add @SuppressWarnings("serial") in highlighters cache map51c0399d
SystemHighlighter refresh() refresh also external syntaxHighlighters652d7a19
GroovyEngine & DefaultPrinter: add syntaxHighlighter cachee9cbb19f
builtins.Styles: make public method style(name, defStyle)1aae0ae8
highlighter command: add option --switch=theme7ae2b8b9
ConsoleEngineImpl: fix potential NPE771f2217
Mandatory import of sun.misc, fixes #758afb067fe
Tab candidate menu list exceeds from visible terminal display, fixes #75908d27d71
SyntaxHighlighter: added a few string constants4ce93d9f
align less config parsing with nanorc theme system844ce0bb
nano editor fails to highlight block comments, fixes #753f759ea68
SyntaxHighlighter: add parser to tokenize string literals and comments, fixes #746bcc7f307
Refactoring: moved SyntaxHighlighter implementation in its own file5cef3bab
Nano SystemHighlighter: add theme system (#752)40109530
Groovy REPL: highlight shell commands35379cf8
SystemHighlighter: add specificHighlighter to manage subcommand syntax highlightingec66af98
Groovy REPL: highlight triple-quoted stringsabf8d943
Groovy REPL: fix '# comment line' highlight (#750)95f1e91c
SystemHighlighter: fix commandIndex calculation2cbc73ca
Groovy REPL: methods print and println appear twice in tab completion candidate list, fixes #749d98f1648
3.20.0 Regression - Groovy REPL highlight syntax errors while typing is broken, fixes #748
#745789ac75b
Groovy REPL: prnt command parameter completion does not work well, fixes #7449fb62296
Nano SyntaxHighlighter fails to highlight the line after the block comment, fixes #7434c4031d4
Groovy REPL: highlight comments in command line045b3c8f
Nano SyntaxHighlighter fails to highlight strings with line delimiters, fixes #742fc22be31
Error in custom command line highlighter let readLine() method in an unusable state, fixes #741bd2c2188
Groovy REPL: configure parser comment delimitersb8c26ce8
appveyor: fix download URL of maven1315fc0b
[JLINE-730] Support for comments in DefaultParser (#731)f89e28ad
Fix last line not displayed when scrolling using Display, fixes #737 (#739)997496e6
Fix Parser javadoc of ParseContext.SPLIT_LINE, fixes #733ae78e09c
Parser interface: remove redundant variable initializer and field modifiers