History log of /fuchsia/zircon/third_party/uapp/dash/src/tab.c
Revision Date Author Comments
# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 719b4cbd 16-Mar-2017 John Grossman <johngro@google.com>

[assert] Introduce MX_ASSERT

Make magenta style asserts public and defined in magenta/assert.h. Convert
usermode code to use the MX_(ASSERT|DEBUG_ASSERT) versions.

Change-Id: Iec8cc20f9c577cee50bc72bd820d4c1b604b8a86


# 6462b532 27-Feb-2017 George Kulakowski <kulakowski@google.com>

[dash] Make tab completion work w/r/t $PATH

The use of padvance in tab.c causes the linenoise tab completion
callback to allocate strings with dash's stack based allocator. The
prompt is also allocated out of that. The simplest way out seems to be
to just copy the path for linenoise's sake.

Change-Id: I63384bfedb24aefd7dac6b3f75b3a2d61306d6fd


# fd1a2d85 15-Dec-2016 George Kulakowski <kulakowski@google.com>

[dash] Fix tab completion of toplevel directories

This logic was present in the orginal mxsh version of this code, but
lost in the port to line noise. See:

https://fuchsia.googlesource.com/magenta/+/8d041b8c343a1faa8c0bff7719a009e4b7144283/system/uapp/mxsh/mxsh.c#219

Change-Id: Id84f2decfa5484e10dbe46a0772a6c8abd7942ab


# 2d249638 15-Dec-2016 George Kulakowski <kulakowski@google.com>

[dash] Add linenoise tab completion to dash

Change-Id: I6731af42100aed4a02080cbf8a6caa3c8b20afd7