History log of /openjdk10/langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java
Revision Date Author Comments
# 4294:9fa96500eb15 25-Aug-2017 jlahoda

8185426: Jshell crashing on autocompletion
Summary: Properly canceling completion on <tab> if needed.
Reviewed-by: rfield


# 4287:0a169aac4d5c 22-Aug-2017 jlahoda

8182297: jshell tool: pasting multiple lines of code truncated
Summary: Read input needs to be kept across ConsoleReader.readLine invocations unless consumed.
Reviewed-by: rfield, rfield


# 4279:d78323fc3fd5 16-Aug-2017 rfield

8182270: JShell API: Tools need snippet information without evaluating snippet
8166334: jshell tool: shortcut: expression/statement to method
Reviewed-by: jlahoda


# 4196:fc828f719094 13-Jun-2017 rfield

8180306: jshell tool: /help -- confusing identifier in feedback mode examples
8179048: jshell tool: /help -- references to "/reset or /reload" should add /env
8179046: jshell tool: /help /edit is missing -all and -start
8181950: jshell tests: longer help documentation breaks tests because of paging
Reviewed-by: jlahoda


# 4088:33c818a75ec9 31-Mar-2017 jlahoda

8177076: jshell tool: usability of completion
Summary: Merging completion and documentation completion, assigning Shift-tab shortcut to fix actions.
Reviewed-by: rfield


# 4040:5a620c54268e 09-Mar-2017 rfield

8176412: jshell tool: automatic imports are excluded on /reload causing it to fail
Reviewed-by: jlahoda


# 3982:162b521af7bb 13-Feb-2017 jlahoda

8174245: Javadoc is not working for some methods
Summary: Parsing source file as if they were part of their corresponding modules.
Reviewed-by: rfield


# 3952:d22a3e726157 06-Feb-2017 jlahoda

8173653: jshell tool: ctrl-C when in external editor aborts jshell -- history lost
Summary: Disable Ctrl-C while running external editors.
Reviewed-by: rfield


# 3917:17a11ffc6a0a 24-Jan-2017 jlahoda

8153759: jshell tool: Smart completion detection is not reliable
Summary: Reverting back to smart completion if any action follows a completion action.
Reviewed-by: rfield


# 3843:e5a42ddaf633 20-Dec-2016 rfield

8170162: jshell tool: no mechanism to programmatically launch
8170044: jshell tool: jshell missing from javax.tools.ToolProvider
Reviewed-by: jjg


# 3827:44bdefe64114 16-Dec-2016 mcimadamore

8181370: Convert anonymous inner classes into lambdas/method references
Reviewed-by: jjg, rfield, mchung


# 3767:b265444e51db 16-Nov-2016 jlahoda

8169561: jshell tool: double shift-tab on variable crashes tool
Summary: Avoid crashe for unknown HTML tags; avoid crash for non-existing documentation; fix signature for JShell variables
Reviewed-by: rfield


# 3760:c5d46cf53534 11-Nov-2016 rfield

8166333: jshell tool: shortcut var does not import its type
Reviewed-by: jlahoda


# 3743:afaafd7267cc 02-Nov-2016 rfield

8167636: jshell tool: Edit Pad should be in its own module
Reviewed-by: jlahoda


# 3738:6ef8a1453577 02-Nov-2016 jlahoda

8131019: jshell tool: access javadoc from tool
Summary: Adding internal support to resolve {@inheritDoc} and format javadoc to plain text for use by jdk.jshell and jdk.scripting.nashorn.shell, enhancing Shift-<tab> documentation in JShell with ability to show javadoc.
Reviewed-by: jjg, rfield


# 3713:d02323f750f6 18-Oct-2016 jlahoda

8166183: jshell tool: on return from Ctrl-Z, garbage on screen, dies with Ctrl-C
Summary: Reset the console when the process is suspended and resumed.
Reviewed-by: rfield


# 3710:0a91e3198c97 18-Oct-2016 jlahoda

8167461: jshell tool: Scanner#next() hangs tool
Summary: PipeInputStream.read(byte[]...) should only read available bytes; properly resending exceptions for snippet's System.in and properly closing it; more reliable way to cancel user input while waiting in System.in.
Reviewed-by: rfield


# 3633:fdff20865f5f 01-Sep-2016 jlahoda

8131023: JShell: System.in does not work
Summary: Pass user input to snippets/remote agent
Reviewed-by: rfield


# 3546:0df43e162a59 26-Jul-2016 jlahoda

8162255: 'Alt-Enter v'/'Alt-Enter i' not working on some terminals
Summary: Registering an additional code sequence for Alt-Enter
Reviewed-by: rfield


# 3465:110c3750f1ff 09-Jun-2016 jlahoda

8158174: jshell tool: leaks threads waiting on StopDetectingInputStream
Summary: Shutdown StopDetectingInputStream when closing the ConsoleIOContext.
Reviewed-by: rfield


# 3464:bcebe24cd346 08-Jun-2016 rfield

8139829: JShell API: No use of fields to return information from public types
Reviewed-by: vromero


# 3430:0f81cdd51b42 24-May-2016 jlahoda

8131017: jshell tool: pasting code with tabs invokes tab completion
Summary: Enabling copy-paste detection.
Reviewed-by: lagergren, rfield, sundar


# 3410:d4aea0c5ec6e 18-May-2016 jlahoda

8133549: Generalize jshell's EditingHistory
Summary: EditingHistory moved to jdk.internal.le
Reviewed-by: rfield


# 3318:2f6ca5367226 04-Apr-2016 rfield

8147515: JShell: Internationalize
Reviewed-by: jlahoda


# 3306:d77a6b663858 23-Mar-2016 jlahoda

8152296: langtools/test/jdk/jshell/ToolReloadTest.java failing if there is not persisted history
Summary: Create a custom Terminal for use in tests; avoid use of global Preferences in tests.
Reviewed-by: rfield


# 3292:9b4c916633f8 11-Mar-2016 jlahoda

8151570: jtreg tests leave tty in bad state
Summary: Use unsupported terminal when running tests, to avoid setting tty to a raw mode.
Reviewed-by: rfield


# 3264:ddfdf0304052 29-Feb-2016 jlahoda

8131027: JShell API/tool: suggest imports for a class
Summary: Adding two new actions to JShell: add imports and create variable.
Reviewed-by: rfield


# 3062:15bdc18525ff 19-Oct-2015 jlahoda

8134254: JShell API/tool: REPL for Java into JDK9
Summary: Adding the implementation of the jshell (read-eval-print-loop) tool.
Reviewed-by: briangoetz, mcimadamore, psandoz, forax
Contributed-by: robert.field@oracle.com, bitterfoxc@gmail.com, jan.lahoda@oracle.com