2019-03-21...2020-01-12 (#D1015...#D1215) df4feaa...c74abc5
New features
- emacs: support widgets
forward-byteandbackward-byte#D1017b2951ef - emacs: support arguments of word wise operations
#D1020719092c - emacs: support widgets
{capitalize,downcase,upcase}-xword#D1019719092c - emacs: support widgets
alias-expand-lineandhistory-and-alias-expand-line#D1024fdaf579 - emacs: support keyboard macros
#D1028284668a- decode: workaround recursive charlog/keylog
#D1030ea421a3
- decode: workaround recursive charlog/keylog
- complete: define
menukeymap#D1033abfd060 - emacs: support widgets
kill{,-graphical,-logical}-line#D10373bb3d33 - emacs: support a widget
re-read-init-file#D1038ebe2928 - emacs: support widgets
readline-dump-{functions,macros,variables}#D103949256a9 - emacs: support widgets
character-search-{for,back}wardanddelete-forward-char-or-list#D10402b20c88 - emacs: support widgets
insert-commentanddo-lowercase-version#D10417aae37b - main: support options
--versionand--help#D1042b5ab789 - main: read
.inputrcasble.shsettings#D1042b5ab789- decode: fix a bug of error messages on reading
.inputrc#D1062e163b9a
- decode: fix a bug of error messages on reading
- complete: support widget
menu-complete insert_braces#D10433d29c8d - complete: support
complete context=dynamic-history#D10484f7b284 - emacs: support a widget
edit-and-execute-command#D1050ca5fe08 - emacs: support widgets
insert-{last,nth}-argument#D105124458be - complete: support
menu-complete backward#D10522b0c7e8 - emacs:
history-nsearch-{for,back}ward-again#D105360dde2c - emacs: support widgets
tab-insert,tilde-expandandshell-expand-line#D1054156b76e - emacs: support a widget
transpose-{c,u,s,f,e}words#D1055d72c2d4 - emacs: support
bleopt decode_error_cseq_{abell,vbell,discard}#D1056ab1b8b0- decode: fix a bug that cmap cache update is not triggered for
#D1073f1e7674
- decode: fix a bug that cmap cache update is not triggered for
- emacs: support a widget
universal-arg#D10578b1dd07 - emacs: support kill ring and a widget
yank-pop#D10598c9b6e8 - highlight: support job names by
auto_resume#D1065ce46024 - decode: add support for
S8C1Tkey sequences#D10839b7939b - history: support
bleopt history_share#D1100#D1099305b89f#D11934838a46 - history: support full multiline history
#D11208cf17f7 - highlight: support dirname colors with pathname expansion, failglob and command names
#D1134edaf495 - util: introduce
blehook#D1139d1a78fb - highlight: highlight word with the form of URL
#D1150f48f2d7 - syntax: support syntax/globpat in param expansions
#D1157#D1158051222e#D116057b42ba- syntax: fix attr of nested extglob in param expansions
#D11592d019f0
- syntax: fix attr of nested extglob in param expansions
- decode: support
ble-bind -T kspecs timeoutfor timeout andlib/vim-arpeggio.sh(request by divramod)#D1174272344e - complete: use
WORD*pathname expansion for candidates on failglob withWORD#D1177c1b0532 - edit: support
bleopt accept_line_threshold#D1178a3385f6 82a1e0b - complete: support
bleopt complete_allow_reduction#D118103040b7 - edit: support
bleopt exec_errexit_mark#D11826adc2df - color: support true colors
#D1184bd631ce 5dd6b03 - color (
ble-color-setface): support reference to another face#D11881885b54#D12067e31ad3 - edit: support
shopt -u promptvars#D1189269ba09 - highlight: highlight variable names and numbers according to its state
#D1210#D121193dab7b - highlight: support
${var@op}(for bash 4.4)#D1212a85bdb8
Changes
- edit: erase in page on
SIGWINCH#D10167625ebe - edit: the widgets
{kill,copy,delete}-region-ornow receives widgets as arguments#D1021bbbd155 - edit: disable aliases for builtins and keywords
#D102361da093 - edit: disable
rps1in secondary textareas#D1027b86709a - edit: support
$?inPROMPT_COMMANDandPS1evaluation#D107443f2967 - main: change default attach strategy to
--attach=prompt#D1076197f752 - main: change exit status of
ble-updatewhen it is already upto date#D1081d94f691 - progcomp: improve treatment of
COMP_WORDBREAKS#D1094f6740b5#D10986c6bae5 - history: replace builtin
history#D1101655d73e- history: synchronize undo/mark/dirty data with history changes
#D1102#D1103#D11045367360 - history: improve performance of
history -r#D1105#D1106f204bc7 - history: fix a problem that history file is doubled with
history -crinPROMPT_COMMAND#D1110e64edb7 - history: suppress errors on new history file
#D1111e64edb7#D111391f07b6 - history: fix a problem that
_ble_edit_historyis not synchronized withhistory -r#D1112e64edb7 - history: do not process
_ble_edit_historyin detached state#D1115bf3b014 - history: move history item on delete of current item with
history -d#D1114bf3b014 - history: fix a problem that history before load of ble.sh is lost
#D112637cd154 - history: fix problems of history output after
ble-reload#D11299c8d858
- history: synchronize undo/mark/dirty data with history changes
- history: improve performance of
erasedups#D1107518e2ee - history: correctly handle
HISTSIZEoverflow#D11087be255c - sabbrev: support sabbrev expansion in wider contexts (reported by cmplstofB)
#D1117ca6e03d - main: change loading point of
.inputrc#D1127af758e5 - highlight: do not split command names with
:and=#D11338a1bd8f - decode: support DA1 responses sent by some terminals (reported by miba072)
#D1135362ab05 - highlight: make brace expansions active for RHS of variable-assignment-form arguments
#D113893cc8da - main: adjust readline variables for
ble.sh#D114836312f7 - edit: update prompt after execution of command through
ble-bind#D115127208ea - blehook: replace builtin
trap#D1152d6c555e 7d4fd03- blehook: suppress extra
DEBUGtrap calls#D115525c3e19
- blehook: suppress extra
- syntax: allow
},fi,done,esac,then,...after subshell()#D1165fdb49f3 - edit: support options
--helpforreadandexit#D1173faccc6b - color (
ble-color-{set,def}face): list faces without arguments#D118050327c3 - complete: search completion settings through alias expansion
#D1187c472809 - history (
ble/builtin/history): support an option--help#D1192d4c26c5
Fixes
- decode: workaround Poderosa that returns
DSRinstead ofCPRin reply toDSR(6)#D10188e22c17 - isearch: fix a bug to match with the old content of the current line
#D1025605dcd0 - vi: fix a bug that quoted-insert is not properly recorded with
qx...q#D102606698a4 - decode: fix a bug that chars from nested widgets are not processed immediately
#D1028c79d89b - menu: fix a bug that fails to retrieve menu item description
#D1031c936db8 - menu: fix a bug that menu item color is disabled
#D1032c936db8 - vbell: fix a bug that persistent vbell is not erased before next vbell
#D1034a3af6c0 - menu-complete: fix a bug that candidates from menu only contained visible ones
#D1036275779f - menu-complete: fix a bug that original texts were lost on cancel
#D10493bbfef6 - edit: fix a bug that rendering is caused twice
#D1053c7599a2 - color (layer:region): fix a bug that highlighting is cleared without dirty ranges
#D105323796bc - edit (nsearch): fix a bug that the search range is narrowed after fail
#D10533b2237e - edit (nsearch): fix a bug of messages on search fail
#D10533b2237e - util: fix a bug that SGR of visible-bell remains 799f6d3
- decode: fix a bug of infinite loops on
ble-reload#D10770f01bcf#D1079fee22b1 - decode: workaround a bash-5.0 bug of
bind -p#D1078b52da28 - complete: workaround slow command candidates generation in Cygwin
#D1080376bfe7 - syntax: fix false error highlighting of commands after
},fi,doneoresac#D10824ce2753 - decode: fix a bug that modifyOtherKeys did not work at all 1666ec2
- edit: fix a problem that status line vanishes on window resize
#D1085467b7a4 - decode: fix a bug that
ble-updatebreaks keymap cache#D1086ab8dad2 - edit (
ble/builtin/read): suppress noisy job messages and delay caused by vbell#D1087309b9e4 - edit (
ble/builtin/read): workaround failglob crash on vbell insideread#D10902e6f44c - edit: workaround a bash bug that history entries are removed by
history -p#D1091146f9e7 - edit (self-insert): workaround Bash-3.0 bug that ^? cannot be handled properly
#D1093e09c7b5 - highlight: fix a bug that quoted tilde expansions are processed for filename highlighting
#D10953f1f472 - menu-complete: fix a bug that word is expanded on cancel
#D1097001b914 - highlight: fix a problem that empty arguments are highlighted as errors
#D111664ae8ce - sabbrev: fix a bug that menu-filter is not canceled on some sabbrev expansion
#D111830cc31c - main: fix a bug that
source ble.sh --noattachinble.shsessions hangs#D1130d35682a caa46c2#D1199 - syntax: workaround bashbug 3.1/3.2 that
evalending with \ + LF causes error messages#D1132a4b7e00 - term: workaround
cygwinconsole glitches#D1143b79c35f#D1144ef19d17 - main: fix a bug that error messages for unsupported shells are not printed
#D114934bd6f8 - main: workaround
set -ex#D115306ebf9f - main: workaround shell variable
FUNCNEST#D1154fa2aa47 - highlight: fix error messages on the command line
a=[#D1156b159ea2 - util: fix a bug of "ble/builtin/trap" not recognizing "-"
#D116111fddba - init-bind: workaround a bash-5.0 bug that
bind '"\C-\\": ...'does not work#D116280edf44 - init-bind: do not use workaround of
C-xin vi mode#D1163e6a3d33 - vi_test: fix test for the macro playing
#D1164636517c - exec: fix a problem that the shell hangs with failglob in pipe
#D1166ac8ba6e - complete: fix a problem of delay with path
//in Cygwin#D11682cf8cc7 - prompt: fix the expansion of
\wand\WinPS1for working directories with double slashes#D1169d1288dd - exec: workaround termination of command execution on syntax error in array subscripts
#D11704f442d0 - history: fix a bug that garbage
__ble_edt__is added in front of history entries 61f4bd1 - decode: remove debug messages for
ble-bind -s64a17c3 - syntax: fix highlighting of
${!var@}#D1176161ed80 - term: fix
Ss(DECSCUSR) 0c773da - term: workaround linux console CSI >, CSI M, CSI L
#D1213#D12140ec6f0c - edit: fix exit status of Bash by key binding C-d
#D1215a9756e9
Support macOS, FreeBSD, Arch Linux, Solaris, Haiku, Minix
- util: fix the error message "usage: sleep seconds" on macOS bash 3.2
#D11946ff4d2b - decode: recover the terminal states after failing the default keymap initialization
#D1195846f284 - main (
ble-update): use shallow clone#D11962a20d9c - main (
$_ble_base_cache): use different directories for different ble versions#D119755951d1 - edit (
ble/builtin/read): fix argument analysis with user-providedIFSin Bash 3.2#D11987411f06 - global: fix subshell detection in Bash 3.2
#D1200ca8df8a - syntax: workaround Bash-4.1 arithmetic bug
#D1201f248c52 - Makefile: fix "install" for BSD sed
#D120232c2e1a - term: support "tput" based on termcap
#D1203#D1204161af07 - global: adjust for FreeBSD and Arch Linux
#D12056ac5b8c - global: workaround Solaris awk
#D120774d438d - util: support Haiku
#D1208e3de373- ble/util/msleep: do not use
read -t timefor Haiku - ble/term/stty: check available character settings
- init-cmap: check termcap settings for home
- ble/util/msleep: do not use
- util: support Minix
#D120949e6457- ble/util/msleep: do not use
read -t time -u FDin Minix - ble-edit/prompt: does not abbreviate IPv4 address for
\h - Makefile: create directory
distformake dist
- ble/util/msleep: do not use
Internal changes
- complete: isolate menu related codes
#D102943bb074 - global: use
builtin echoexplicitly#D1035a6232c2 - decode: re-implement rlfunc2widget without fork
#D1063d2e7dbe - blerc: add descriptions
#D1064d61b6af - decode: decode mouse events
#D108451fae67 - history: move history related codes to
src/history.sh#D11191bfc8eb e5b1980 - keymap/vi: deal with textarea local data properly
#D11232ea7cfd - edit: remove
ble-edit/exec:exec#D11310cb9c6d - global: distinguish exit status 147 and 148
#D1141d1a78fb - global: follow bash syntactic changes on arithmentic command 16e0f0e
- decode: check
bind -Xfirst to store the original bindings#D11794057ff0 - complete: resolve collision of flag chars with
shopt -s nocaseglob#D1186550fb14 - color: change return variable of
ble/color/{,i}face2{g,sgr}toret#D11881885b54 - global: workaround
shopt -s xpg_echo#D1191e46f9a3