2019-03-21...2020-01-12 (#D1015
...#D1215
) df4feaa...c74abc5
New features
- emacs: support widgets
forward-byte
andbackward-byte
#D1017
b2951ef - emacs: support arguments of word wise operations
#D1020
719092c - emacs: support widgets
{capitalize,downcase,upcase}-xword
#D1019
719092c - emacs: support widgets
alias-expand-line
andhistory-and-alias-expand-line
#D1024
fdaf579 - emacs: support keyboard macros
#D1028
284668a- decode: workaround recursive charlog/keylog
#D1030
ea421a3
- decode: workaround recursive charlog/keylog
- complete: define
menu
keymap#D1033
abfd060 - emacs: support widgets
kill{,-graphical,-logical}-line
#D1037
3bb3d33 - emacs: support a widget
re-read-init-file
#D1038
ebe2928 - emacs: support widgets
readline-dump-{functions,macros,variables}
#D1039
49256a9 - emacs: support widgets
character-search-{for,back}ward
anddelete-forward-char-or-list
#D1040
2b20c88 - emacs: support widgets
insert-comment
anddo-lowercase-version
#D1041
7aae37b - main: support options
--version
and--help
#D1042
b5ab789 - main: read
.inputrc
asble.sh
settings#D1042
b5ab789- decode: fix a bug of error messages on reading
.inputrc
#D1062
e163b9a
- decode: fix a bug of error messages on reading
- complete: support widget
menu-complete insert_braces
#D1043
3d29c8d - complete: support
complete context=dynamic-history
#D1048
4f7b284 - emacs: support a widget
edit-and-execute-command
#D1050
ca5fe08 - emacs: support widgets
insert-{last,nth}-argument
#D1051
24458be - complete: support
menu-complete backward
#D1052
2b0c7e8 - emacs:
history-nsearch-{for,back}ward-again
#D1053
60dde2c - emacs: support widgets
tab-insert
,tilde-expand
andshell-expand-line
#D1054
156b76e - emacs: support a widget
transpose-{c,u,s,f,e}words
#D1055
d72c2d4 - emacs: support
bleopt decode_error_cseq_{abell,vbell,discard}
#D1056
ab1b8b0- decode: fix a bug that cmap cache update is not triggered for
#D1073
f1e7674
- decode: fix a bug that cmap cache update is not triggered for
- emacs: support a widget
universal-arg
#D1057
8b1dd07 - emacs: support kill ring and a widget
yank-pop
#D1059
8c9b6e8 - highlight: support job names by
auto_resume
#D1065
ce46024 - decode: add support for
S8C1T
key sequences#D1083
9b7939b - history: support
bleopt history_share
#D1100
#D1099
305b89f#D1193
4838a46 - history: support full multiline history
#D1120
8cf17f7 - highlight: support dirname colors with pathname expansion, failglob and command names
#D1134
edaf495 - util: introduce
blehook
#D1139
d1a78fb - highlight: highlight word with the form of URL
#D1150
f48f2d7 - syntax: support syntax/globpat in param expansions
#D1157
#D1158
051222e#D1160
57b42ba- syntax: fix attr of nested extglob in param expansions
#D1159
2d019f0
- syntax: fix attr of nested extglob in param expansions
- decode: support
ble-bind -T kspecs timeout
for timeout andlib/vim-arpeggio.sh
(request by divramod)#D1174
272344e - complete: use
WORD*
pathname expansion for candidates on failglob withWORD
#D1177
c1b0532 - edit: support
bleopt accept_line_threshold
#D1178
a3385f6 82a1e0b - complete: support
bleopt complete_allow_reduction
#D1181
03040b7 - edit: support
bleopt exec_errexit_mark
#D1182
6adc2df - color: support true colors
#D1184
bd631ce 5dd6b03 - color (
ble-color-setface
): support reference to another face#D1188
1885b54#D1206
7e31ad3 - edit: support
shopt -u promptvars
#D1189
269ba09 - highlight: highlight variable names and numbers according to its state
#D1210
#D1211
93dab7b - highlight: support
${var@op}
(for bash 4.4)#D1212
a85bdb8
Changes
- edit: erase in page on
SIGWINCH
#D1016
7625ebe - edit: the widgets
{kill,copy,delete}-region-or
now receives widgets as arguments#D1021
bbbd155 - edit: disable aliases for builtins and keywords
#D1023
61da093 - edit: disable
rps1
in secondary textareas#D1027
b86709a - edit: support
$?
inPROMPT_COMMAND
andPS1
evaluation#D1074
43f2967 - main: change default attach strategy to
--attach=prompt
#D1076
197f752 - main: change exit status of
ble-update
when it is already upto date#D1081
d94f691 - progcomp: improve treatment of
COMP_WORDBREAKS
#D1094
f6740b5#D1098
6c6bae5 - history: replace builtin
history
#D1101
655d73e- history: synchronize undo/mark/dirty data with history changes
#D1102
#D1103
#D1104
5367360 - history: improve performance of
history -r
#D1105
#D1106
f204bc7 - history: fix a problem that history file is doubled with
history -cr
inPROMPT_COMMAND
#D1110
e64edb7 - history: suppress errors on new history file
#D1111
e64edb7#D1113
91f07b6 - history: fix a problem that
_ble_edit_history
is not synchronized withhistory -r
#D1112
e64edb7 - history: do not process
_ble_edit_history
in detached state#D1115
bf3b014 - history: move history item on delete of current item with
history -d
#D1114
bf3b014 - history: fix a problem that history before load of ble.sh is lost
#D1126
37cd154 - history: fix problems of history output after
ble-reload
#D1129
9c8d858
- history: synchronize undo/mark/dirty data with history changes
- history: improve performance of
erasedups
#D1107
518e2ee - history: correctly handle
HISTSIZE
overflow#D1108
7be255c - sabbrev: support sabbrev expansion in wider contexts (reported by cmplstofB)
#D1117
ca6e03d - main: change loading point of
.inputrc
#D1127
af758e5 - highlight: do not split command names with
:
and=
#D1133
8a1bd8f - decode: support DA1 responses sent by some terminals (reported by miba072)
#D1135
362ab05 - highlight: make brace expansions active for RHS of variable-assignment-form arguments
#D1138
93cc8da - main: adjust readline variables for
ble.sh
#D1148
36312f7 - edit: update prompt after execution of command through
ble-bind
#D1151
27208ea - blehook: replace builtin
trap
#D1152
d6c555e 7d4fd03- blehook: suppress extra
DEBUG
trap calls#D1155
25c3e19
- blehook: suppress extra
- syntax: allow
},fi,done,esac,then,...
after subshell()
#D1165
fdb49f3 - edit: support options
--help
forread
andexit
#D1173
faccc6b - color (
ble-color-{set,def}face
): list faces without arguments#D1180
50327c3 - complete: search completion settings through alias expansion
#D1187
c472809 - history (
ble/builtin/history
): support an option--help
#D1192
d4c26c5
Fixes
- decode: workaround Poderosa that returns
DSR
instead ofCPR
in reply toDSR(6)
#D1018
8e22c17 - isearch: fix a bug to match with the old content of the current line
#D1025
605dcd0 - vi: fix a bug that quoted-insert is not properly recorded with
qx...q
#D1026
06698a4 - decode: fix a bug that chars from nested widgets are not processed immediately
#D1028
c79d89b - menu: fix a bug that fails to retrieve menu item description
#D1031
c936db8 - menu: fix a bug that menu item color is disabled
#D1032
c936db8 - vbell: fix a bug that persistent vbell is not erased before next vbell
#D1034
a3af6c0 - menu-complete: fix a bug that candidates from menu only contained visible ones
#D1036
275779f - menu-complete: fix a bug that original texts were lost on cancel
#D1049
3bbfef6 - edit: fix a bug that rendering is caused twice
#D1053
c7599a2 - color (layer:region): fix a bug that highlighting is cleared without dirty ranges
#D1053
23796bc - edit (nsearch): fix a bug that the search range is narrowed after fail
#D1053
3b2237e - edit (nsearch): fix a bug of messages on search fail
#D1053
3b2237e - util: fix a bug that SGR of visible-bell remains 799f6d3
- decode: fix a bug of infinite loops on
ble-reload
#D1077
0f01bcf#D1079
fee22b1 - decode: workaround a bash-5.0 bug of
bind -p
#D1078
b52da28 - complete: workaround slow command candidates generation in Cygwin
#D1080
376bfe7 - syntax: fix false error highlighting of commands after
}
,fi
,done
oresac
#D1082
4ce2753 - decode: fix a bug that modifyOtherKeys did not work at all 1666ec2
- edit: fix a problem that status line vanishes on window resize
#D1085
467b7a4 - decode: fix a bug that
ble-update
breaks keymap cache#D1086
ab8dad2 - edit (
ble/builtin/read
): suppress noisy job messages and delay caused by vbell#D1087
309b9e4 - edit (
ble/builtin/read
): workaround failglob crash on vbell insideread
#D1090
2e6f44c - edit: workaround a bash bug that history entries are removed by
history -p
#D1091
146f9e7 - edit (self-insert): workaround Bash-3.0 bug that ^? cannot be handled properly
#D1093
e09c7b5 - highlight: fix a bug that quoted tilde expansions are processed for filename highlighting
#D1095
3f1f472 - menu-complete: fix a bug that word is expanded on cancel
#D1097
001b914 - highlight: fix a problem that empty arguments are highlighted as errors
#D1116
64ae8ce - sabbrev: fix a bug that menu-filter is not canceled on some sabbrev expansion
#D1118
30cc31c - main: fix a bug that
source ble.sh --noattach
inble.sh
sessions hangs#D1130
d35682a caa46c2#D1199
- syntax: workaround bashbug 3.1/3.2 that
eval
ending with \ + LF causes error messages#D1132
a4b7e00 - term: workaround
cygwin
console glitches#D1143
b79c35f#D1144
ef19d17 - main: fix a bug that error messages for unsupported shells are not printed
#D1149
34bd6f8 - main: workaround
set -ex
#D1153
06ebf9f - main: workaround shell variable
FUNCNEST
#D1154
fa2aa47 - highlight: fix error messages on the command line
a=[
#D1156
b159ea2 - util: fix a bug of "ble/builtin/trap" not recognizing "-"
#D1161
11fddba - init-bind: workaround a bash-5.0 bug that
bind '"\C-\\": ...'
does not work#D1162
80edf44 - init-bind: do not use workaround of
C-x
in vi mode#D1163
e6a3d33 - vi_test: fix test for the macro playing
#D1164
636517c - exec: fix a problem that the shell hangs with failglob in pipe
#D1166
ac8ba6e - complete: fix a problem of delay with path
//
in Cygwin#D1168
2cf8cc7 - prompt: fix the expansion of
\w
and\W
inPS1
for working directories with double slashes#D1169
d1288dd - exec: workaround termination of command execution on syntax error in array subscripts
#D1170
4f442d0 - history: fix a bug that garbage
__ble_edt__
is added in front of history entries 61f4bd1 - decode: remove debug messages for
ble-bind -s
64a17c3 - syntax: fix highlighting of
${!var@}
#D1176
161ed80 - term: fix
Ss
(DECSCUSR
) 0c773da - term: workaround linux console CSI >, CSI M, CSI L
#D1213
#D1214
0ec6f0c - edit: fix exit status of Bash by key binding C-d
#D1215
a9756e9
Support macOS, FreeBSD, Arch Linux, Solaris, Haiku, Minix
- util: fix the error message "usage: sleep seconds" on macOS bash 3.2
#D1194
6ff4d2b - decode: recover the terminal states after failing the default keymap initialization
#D1195
846f284 - main (
ble-update
): use shallow clone#D1196
2a20d9c - main (
$_ble_base_cache
): use different directories for different ble versions#D1197
55951d1 - edit (
ble/builtin/read
): fix argument analysis with user-providedIFS
in Bash 3.2#D1198
7411f06 - global: fix subshell detection in Bash 3.2
#D1200
ca8df8a - syntax: workaround Bash-4.1 arithmetic bug
#D1201
f248c52 - Makefile: fix "install" for BSD sed
#D1202
32c2e1a - term: support "tput" based on termcap
#D1203
#D1204
161af07 - global: adjust for FreeBSD and Arch Linux
#D1205
6ac5b8c - global: workaround Solaris awk
#D1207
74d438d - util: support Haiku
#D1208
e3de373- ble/util/msleep: do not use
read -t time
for Haiku - ble/term/stty: check available character settings
- init-cmap: check termcap settings for home
- ble/util/msleep: do not use
- util: support Minix
#D1209
49e6457- ble/util/msleep: do not use
read -t time -u FD
in Minix - ble-edit/prompt: does not abbreviate IPv4 address for
\h
- Makefile: create directory
dist
formake dist
- ble/util/msleep: do not use
Internal changes
- complete: isolate menu related codes
#D1029
43bb074 - global: use
builtin echo
explicitly#D1035
a6232c2 - decode: re-implement rlfunc2widget without fork
#D1063
d2e7dbe - blerc: add descriptions
#D1064
d61b6af - decode: decode mouse events
#D1084
51fae67 - history: move history related codes to
src/history.sh
#D1119
1bfc8eb e5b1980 - keymap/vi: deal with textarea local data properly
#D1123
2ea7cfd - edit: remove
ble-edit/exec:exec
#D1131
0cb9c6d - global: distinguish exit status 147 and 148
#D1141
d1a78fb - global: follow bash syntactic changes on arithmentic command 16e0f0e
- decode: check
bind -X
first to store the original bindings#D1179
4057ff0 - complete: resolve collision of flag chars with
shopt -s nocaseglob
#D1186
550fb14 - color: change return variable of
ble/color/{,i}face2{g,sgr}
toret
#D1188
1885b54 - global: workaround
shopt -s xpg_echo
#D1191
e46f9a3