<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/libbb, branch tab_completion</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=tab_completion</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=tab_completion'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-04-13T07:47:36+00:00</updated>
<entry>
<title>hush: code shrink</title>
<updated>2023-04-13T07:47:36+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-13T07:18:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5b309426f3a2f4f9dfda29021e45a775a4995003'/>
<id>urn:sha1:5b309426f3a2f4f9dfda29021e45a775a4995003</id>
<content type='text'>
Handle both arrays of builtin as the same type.

function                                             old     new   delta
ash_command_name                                       -     154    +154
hush_command_name                                      -      97     +97
complete_cmd_dir_file                                876     880      +4
ash_builtin_name                                      17       -     -17
hush_builtin_name                                     38       -     -38
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 1/0 up/down: 255/-55)           Total: 200 bytes

In the case where ash is disabled and hush is enabled but with support
for functions disabled this reduces the bloat from 31 to 6 bytes.

(GitHub issue #301)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>ash,hush: tab completion of functions and aliases</title>
<updated>2023-04-10T10:45:46+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-10T09:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=66c9b8f39acbba587eda0cababa3de37e89b8dff'/>
<id>urn:sha1:66c9b8f39acbba587eda0cababa3de37e89b8dff</id>
<content type='text'>
Rework the 'get_exe_name' functions in ash and hush so functions
and aliases are considered when tab-completing a command.

function                                             old     new   delta
ash_command_name                                       -     188    +188
hush_command_name                                      -     118    +118
complete_cmd_dir_file                                876     880      +4
ash_builtin_name                                      17       -     -17
hush_builtin_name                                     38       -     -38
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 1/0 up/down: 310/-55)           Total: 255 bytes

(GitHub issue #301)

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
</content>
</entry>
<entry>
<title>libbb: consolidate NOMMU fix of restoring high bit in argv[0][0]</title>
<updated>2023-04-06T19:20:28+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-06T19:20:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a26711a2d1464167be4ebc990fe21a3809a2da34'/>
<id>urn:sha1:a26711a2d1464167be4ebc990fe21a3809a2da34</id>
<content type='text'>
function                                             old     new   delta
fork_or_rexec                                         46      56     +10
bootchartd_main                                     1087    1079      -8
cpio_main                                            674     661     -13
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 10/-21)            Total: -11 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>lineedit: fix matching of directories when searching PATH</title>
<updated>2023-03-29T14:45:13+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-03-24T15:16:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f2e659415ad59906124fca963040c8884746feed'/>
<id>urn:sha1:f2e659415ad59906124fca963040c8884746feed</id>
<content type='text'>
Commit 8baa643a3 (lineedit: match local directories when searching
PATH) included subdirectories of the current directory in the search
when tab-completing commands.

Unfortunately a short time later commit 1d180cd74 (lineedit: use
strncmp instead of is_prefixed_with (we know the length)) broke
this feature by returning an incorrect length for the array of paths.

Fix the length and reinstate matching of subdirectories.

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb/sha: do not read shaNI variable twice, and factor out its setting</title>
<updated>2023-03-29T13:46:32+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-03-29T13:44:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a59e5a7d08cb26ec029d00dd11e693765aca17be'/>
<id>urn:sha1:a59e5a7d08cb26ec029d00dd11e693765aca17be</id>
<content type='text'>
My gcc inlines both calls, so instead of "-20 bytes" I get only this:

function                                             old     new   delta
sha256_begin                                          84      83      -1
sha1_begin                                           114     111      -3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-4)               Total: -4 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb/sha: fix sha-NI instruction detection</title>
<updated>2023-03-29T13:17:00+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-03-29T13:17:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bd76b75f72f717150b909e8c64edfda725cabe11'/>
<id>urn:sha1:bd76b75f72f717150b909e8c64edfda725cabe11</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: fix SIGWINCH and SIGCHLD (in hush) interrupting line input, closes 15256</title>
<updated>2023-01-26T11:56:33+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-01-26T11:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=93e0898c663a533082b5f3c2e7dcce93ec47076d'/>
<id>urn:sha1:93e0898c663a533082b5f3c2e7dcce93ec47076d</id>
<content type='text'>
function                                             old     new   delta
record_pending_signo                                  32      63     +31
lineedit_read_key                                    231     224      -7
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 31/-7)              Total: 24 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: fix compile failures in some configs</title>
<updated>2023-01-03T07:28:16+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-01-03T07:28:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=27be0e8cfeb6f0f7a66bbfb2a6ca23d5a064e6ab'/>
<id>urn:sha1:27be0e8cfeb6f0f7a66bbfb2a6ca23d5a064e6ab</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb/loop: fix compile failure (name collision)</title>
<updated>2023-01-02T16:03:44+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-01-02T16:03:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e7977df2cae2ac2c5da38f77488ec9e97d10c33b'/>
<id>urn:sha1:e7977df2cae2ac2c5da38f77488ec9e97d10c33b</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb: shrink del_loop()</title>
<updated>2022-12-13T15:00:00+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-12-13T15:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7710250e4a610ae6a4d8f6feb5500f16f82d19f4'/>
<id>urn:sha1:7710250e4a610ae6a4d8f6feb5500f16f82d19f4</id>
<content type='text'>
function                                             old     new   delta
del_loop                                              52      49      -3

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
