<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32, branch tab_completion2</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=tab_completion2</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=tab_completion2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-04-13T10:54:33+00:00</updated>
<entry>
<title>ash,hush: tab completion of functions and aliases</title>
<updated>2023-04-13T10:54:33+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-13T10:54:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e9c2749f6a9406bf0f696e065e0f221f9e763c74'/>
<id>urn:sha1:e9c2749f6a9406bf0f696e065e0f221f9e763c74</id>
<content type='text'>
Since commit 9e2a5668f (ash,hush: allow builtins to be tab-completed,
closes 7532) ash and hush have supported tab completion of builtins.

Other shells, bash and ksh for example, also support tab completion
of functions and aliases.

Add such support to ash and hush.

function                                             old     new   delta
ash_command_name                                       -      98     +98
hush_command_name                                      -      71     +71
ash_builtin_name                                      17       -     -17
hush_builtin_name                                     38       -     -38
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 0/0 up/down: 169/-55)           Total: 114 bytes

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Avi Halachmi &lt;avihpit@yahoo.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>ash: sleep builtin with no arguments should not exit</title>
<updated>2023-04-03T17:54:42+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-03T17:54:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=05f2bedaebd694605abd1f199fc25d93ad73840b'/>
<id>urn:sha1:05f2bedaebd694605abd1f199fc25d93ad73840b</id>
<content type='text'>
function                                             old     new   delta
sleep_main                                           116     143     +27
.rodata                                           105245  105268     +23
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 50/0)               Total: 50 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: printf builtin with no arguments should not exit</title>
<updated>2023-04-03T17:29:57+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-03T17:29:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ff8fde111e11e973b269467dd86f235a27f653df'/>
<id>urn:sha1:ff8fde111e11e973b269467dd86f235a27f653df</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: code shrink: do not take address of prefix(), allowing it to inline</title>
<updated>2023-04-03T15:30:03+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-03T15:30:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=46e92e1e568021ecdfa30bfea0efabe72b85633b'/>
<id>urn:sha1:46e92e1e568021ecdfa30bfea0efabe72b85633b</id>
<content type='text'>
function                                             old     new   delta
getjob                                               281     285      +4
prefix                                                13       -     -13
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/0 up/down: 4/-13)              Total: -9 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: code shrink - reuse is_prefixed_with() from libbb</title>
<updated>2023-04-03T13:19:13+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-03T13:19:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a33d19eba8c614d113378ed07bbec0ce06227028'/>
<id>urn:sha1:a33d19eba8c614d113378ed07bbec0ce06227028</id>
<content type='text'>
function                                             old     new   delta
changepath                                            67      68      +1
legal_pathopt                                         70      66      -4
prefix                                                34      13     -21
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 1/-25)             Total: -24 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: get rid of separate mail_var_path_changed flag variable</title>
<updated>2023-04-03T13:01:00+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-03T13:01:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=94780e3e8e926e7e9f384c4b70310b3e7e79abce'/>
<id>urn:sha1:94780e3e8e926e7e9f384c4b70310b3e7e79abce</id>
<content type='text'>
We can just clear mailtime_hash to zero and have the same effect.

function                                             old     new   delta
changemail                                             8      11      +3
mail_var_path_changed                                  1       -      -1
cmdloop                                              398     382     -16
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/1 up/down: 3/-17)             Total: -14 bytes
   text	   data	    bss	    dec	    hex	filename
1054786	    559	   5020	1060365	 102e0d	busybox_old
1054773	    559	   5020	1060352	 102e00	busybox_unstripped

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: fix still-broken new mail detection</title>
<updated>2023-04-03T12:41:01+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-03T12:31:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7ababc3e3cd44cb51ad1b0183f7fe30df0fb3cbf'/>
<id>urn:sha1:7ababc3e3cd44cb51ad1b0183f7fe30df0fb3cbf</id>
<content type='text'>
padvance() exit condition is return value &lt; 0, not == 0.
After MAIL changing twice, the logic erroneously
concluded that "you have new mail".

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: fix broken new mail detection</title>
<updated>2023-04-03T12:01:36+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-03T12:01:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2860b2530e7391b52fc6f0d500981e78a4618551'/>
<id>urn:sha1:2860b2530e7391b52fc6f0d500981e78a4618551</id>
<content type='text'>
Mea culpa, in "Do not allocate stack string in padvance" commit
(I left an extraneous "break" statement).

function                                             old     new   delta
cmdloop                                              329     398     +69

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush (NOMMU): fix LINENO in execed children</title>
<updated>2023-04-01T21:17:53+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-04-01T21:16:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6748e6494c223b779a204b370e395f82c8e5247f'/>
<id>urn:sha1:6748e6494c223b779a204b370e395f82c8e5247f</id>
<content type='text'>
function                                             old     new   delta
hush_main                                           1815    1851     +36
re_execute_shell                                     601     635     +34
.rodata                                           102721  102726      +5
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 75/0)               Total: 75 bytes

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