Aesh

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added checkstyle to maven updated checkstyle to java8 updated files to work with checkstyle changes

    • -28
    • +11
    /config/checkstyle/checkstyle.xml
changed travis to only build on jdk8

changed stty to use -F instead of -f mapped CTRL_M to NEW_LINE

Merge pull request #192 from gnodet/low-level

Low level console API

added more actions added a simple emacs mode

    • -0
    • +25
    /src/main/java/org/jboss/aesh/readline/actions/EndOfLine.java
Add access to the low level console from the Terminal

    • -0
    • +92
    /src/test/java/org/jboss/aesh/console/keymap/DumbConsole.java
Introduce KeyMap and BindingReader for key sequence mapping

    • -0
    • +433
    /src/main/java/org/jboss/aesh/console/keymap/KeyMap.java
    • -0
    • +274
    /src/test/java/org/jboss/aesh/console/keymap/KeyMapTest.java
Move to JDK8

Introduce a cleaner lower level API with the Console interface.

It provides a signal api, access to the underlying terminal capabilities and stty settings.

It also brings support for virtual consoles when using remote connections for example.

It’s not much leveraged in the remaining of the code. Things like cursor movements, etc.. should leverage this information.

The AeshInputStream hacks for transforming windows arrow keys can be just removed, and it should also be noted that the AeshInputStream does not correctly handle the encoding of the input stream and assumes the default charset, which is always not the case, especially on windows.

The only external dependency on those 3 new packages (api, impl, utils) is the LoggerUtil class.

This means that this can easily be extracted as the very-low component.

    • -0
    • +211
    /src/main/java/org/jboss/aesh/terminal/ShellWrapper.java
    • -0
    • +392
    /src/main/java/org/jboss/aesh/terminal/api/Attributes.java
    • -0
    • +105
    /src/main/java/org/jboss/aesh/terminal/api/Console.java
    • -0
    • +71
    /src/main/java/org/jboss/aesh/terminal/api/Size.java
    • -0
    • +288
    /src/main/java/org/jboss/aesh/terminal/impl/CygwinPty.java
    • -0
    • +290
    /src/main/java/org/jboss/aesh/terminal/impl/ExecPty.java
  1. … 21 more files in changeset.
Full support for infocmp capabilities for any kind of terminals. Also works under Cygwin.

    • -0
    • +354
    /src/main/java/org/jboss/aesh/terminal/Curses.java
    • -0
    • +70
    /src/main/java/org/jboss/aesh/terminal/ExecHelper.java
    • -0
    • +740
    /src/main/java/org/jboss/aesh/terminal/InfoCmp.java
    • -0
    • +53
    /src/main/java/org/jboss/aesh/terminal/OSUtils.java
initial attempt to rewrite key and action handling

    • -0
    • +20
    /src/main/java/org/jboss/aesh/readline/Action.java
    • -0
    • +41
    /src/main/java/org/jboss/aesh/readline/ActionEvent.java
    • -0
    • +139
    /src/main/java/org/jboss/aesh/readline/EventQueue.java
    • -0
    • +41
    /src/main/java/org/jboss/aesh/readline/KeyEvent.java
    • -0
    • +41
    /src/main/java/org/jboss/aesh/readline/KeyMapper.java
    • -0
    • +88
    /src/main/java/org/jboss/aesh/readline/Keys.java
    • -0
    • +72
    /src/main/java/org/jboss/aesh/readline/actions/Enter.java
    • -0
    • +31
    /src/main/java/org/jboss/aesh/readline/editing/Emacs.java
    • -0
    • +20
    /src/main/java/org/jboss/aesh/readline/editing/Mode.java
Merge pull request #190 from gastaldi/master

CommandResult should not be an enum

CommandResult should not be an enum

An enumeration should never change it state (as it was done with setResultValue).

Merge pull request #189 from gastaldi/master

Upgrade to jboss-parent 19

Upgrade to jboss-parent 19

0.67 dev cycle

version 0.66

Merge pull request #188 from aeshell/gastaldi-patch-1

Avoid closing stderr and stdout

Merge pull request #187 from Gonthim/master-processStack

Extended background/foreground process functionality.

Avoid closing stderr and stdout

Aesh should never attempt to close streams that were not created by Aesh.

Attempting to close it while reading the stream provokes a deadlock

Added a background stack that will auto-start background processes when the current process ends.

fixing translate....

    • -10
    • +19
    /src/main/java/AeshGraphicsExample.java
further work on gfx. trying to get translate to work correctly.

    • -1
    • +55
    /src/main/java/AeshGraphicsExample.java
    • -0
    • +29
    /src/main/java/org/jboss/aesh/graphics/Point.java
    • -118
    • +0
    /src/main/java/org/jboss/aesh/ui/Rectangle.java
    • -0
    • +47
    /src/main/java/org/jboss/aesh/graphics/RootPane.java
    • -0
    • +46
    /src/main/java/org/jboss/aesh/graphics/ShellFrame.java
    • -52
    • +0
    /src/main/java/org/jboss/aesh/ui/Component.java
    • -30
    • +0
    /src/main/java/org/jboss/aesh/ui/Frame.java
    • -10
    • +0
    /src/main/java/org/jboss/aesh/ui/Panel.java
continue 0.66 development

release 0.65.1

Merge pull request #186 from Gonthim/master-test-input-close

Fixing tests on windows. InputStream.close() is blocking

Fixing tests on windows. InputStream.close() blocked

0.66 dev cycle

release 0.65

Merge pull request #185 from Gonthim/master-state-tracking

Tracking console state