Skip to content

JLine 3.22.0

Compare
Choose a tag to compare
@gnodet gnodet released this 17 Jan 17:21
· 291 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 from org.jline.builtins.Nano.SyntaxHighlighter to org.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.7
  • b82a347c Scroll forward of the cli cause tailtips to collide with text, fixes #738
  • fcc8ce61 Bump ivy from 2.5.0 to 2.5.1
  • 751a7d7c prnt command: add option --multiColumns
  • ade7806f Less: eliminate a couple of source.lines() calls
  • 239d6e04 less pager does not work well when using InputStreamSource, fixes #812
  • 181279c0 Standard escape character () doesn't seem to be handled correctly, fixes #798
  • 1579fc04 command less: manage object arguments, fixes #811
  • 9243e6db add CONSOLE_OPTIONS boolean variable redirectColor to switch on/off redirect colors
  • 9711716b Less method run(Source... sources) throws UnsupportedOperationException, fixes #810
  • 2c4a1923 Upgrade maven-enforcer-plugin to 3.1.0
  • 58dccf72 Upgrade Graal to 22.1.0
  • 396a39e1 Upgrade Groovy to 4.0.3
  • 4dac9b0c Infinite loop in TerminalLine constructor, fixes #751
  • 8b89ff5f Console example fix NPE
  • 9706eadf Builtins command registry: Add null check for configpath parameter
  • 1cf2cda9 Upgrade Groovy to 4.0.2
  • ed6cef30 Add a simple example of printAbove
  • d75b4f18 Groovy REPL: add tab-completion for groovy array methods
  • 0959a40b Upgrade Groovy to 4.0.1
  • c8fcdda6 Simplify String operations (#776)
  • fe1a6ff4 Docs typo: Columns separated -> Colon separated (#775)
  • f9b267f6 Option to disable Undo in LineReader
  • 0bb26e99 SystemHighlighter: command line parsed twice
  • d3aa7dc6 nanorc parser: the reader is not closed if exception is thrown
  • f988d35f args.nanorc: improve options highlighting
  • 4b743231 SystemHighlighter: fix subcommand highlighting
  • ac26d10c lsStyle resolver defined as static field, fixes #764
  • bfcc415b Candidates customized order lost when tabbing through candidates, fixes #763
  • cea9632b 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 highlight
  • c70d3272 REPL demo refactoring: add nanorc directory
  • 43127122 REPL demo: add light.nanorctheme and rename default theme to dark
  • f72694f6 DefaultPrinter: add @SuppressWarnings("serial") in highlighters cache map
  • 51c0399d SystemHighlighter refresh() refresh also external syntaxHighlighters
  • 652d7a19 GroovyEngine & DefaultPrinter: add syntaxHighlighter cache
  • e9cbb19f builtins.Styles: make public method style(name, defStyle)
  • 1aae0ae8 highlighter command: add option --switch=theme
  • 7ae2b8b9 ConsoleEngineImpl: fix potential NPE
  • 771f2217 Mandatory import of sun.misc, fixes #758
  • afb067fe Tab candidate menu list exceeds from visible terminal display, fixes #759
  • 08d27d71 SyntaxHighlighter: added a few string constants
  • 4ce93d9f align less config parsing with nanorc theme system
  • 844ce0bb nano editor fails to highlight block comments, fixes #753
  • f759ea68 SyntaxHighlighter: add parser to tokenize string literals and comments, fixes #746
  • bcc7f307 Refactoring: moved SyntaxHighlighter implementation in its own file
  • 5cef3bab Nano SystemHighlighter: add theme system (#752)
  • 40109530 Groovy REPL: highlight shell commands
  • 35379cf8 SystemHighlighter: add specificHighlighter to manage subcommand syntax highlighting
  • ec66af98 Groovy REPL: highlight triple-quoted strings
  • abf8d943 Groovy REPL: fix '# comment line' highlight (#750)
  • 95f1e91c SystemHighlighter: fix commandIndex calculation
  • 2cbc73ca Groovy REPL: methods print and println appear twice in tab completion candidate list, fixes #749
  • d98f1648 3.20.0 Regression - Groovy REPL highlight syntax errors while typing is broken, fixes #748
    #745
  • 789ac75b Groovy REPL: prnt command parameter completion does not work well, fixes #744
  • 9fb62296 Nano SyntaxHighlighter fails to highlight the line after the block comment, fixes #743
  • 4c4031d4 Groovy REPL: highlight comments in command line
  • 045b3c8f Nano SyntaxHighlighter fails to highlight strings with line delimiters, fixes #742
  • fc22be31 Error in custom command line highlighter let readLine() method in an unusable state, fixes #741
  • bd2c2188 Groovy REPL: configure parser comment delimiters
  • b8c26ce8 appveyor: fix download URL of maven
  • 1315fc0b [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 #733
  • ae78e09c Parser interface: remove redundant variable initializer and field modifiers