summaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * lineedit: trivial simplifications. -7 bytesDenys Vlasenko2010-05-171-14/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * lineedit: fix moving backwards across lines with wide charsDenys Vlasenko2010-05-171-21/+46
| | | | | | | | | | | | | | function old new delta input_backward 212 208 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * consolidate ESC sequencesDenys Vlasenko2010-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta bell 2 - -2 CMdown 2 - -2 Ceos 4 - -4 Ceol 4 - -4 CMup 4 - -4 SOs 5 - -5 SOn 5 - -5 CMrc 9 - -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * stop using LAST_SUPPORTED_WCHAR and CONFIG_LAST_SUPPORTED_WCHAR, it's confusingDenys Vlasenko2010-05-162-16/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * lineedit: partially fix wide and combining chars editingTomas Heinrich2010-05-162-45/+81
| | | | | | | | | | Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * lineedit: change how cmdedit_set_out_char worksDenys Vlasenko2010-05-111-32/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename two badly names functions, use "clear to end of screen" to eliminate annoying problems with clearing wide/combining chars, and such. Run tested. function old new delta put_cur_glyph_and_inc_cursor - 124 +124 put_till_end_and_adv_cursor - 24 +24 input_delete 125 130 +5 Ceos 5 4 -1 Ceol 5 4 -1 input_end 24 - -24 cmdedit_set_out_char 122 - -122 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 1/2 up/down: 153/-148) Total: 5 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * randomtest fixesDenys Vlasenko2010-05-111-30/+31
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * add comment about xz format supportDenys Vlasenko2010-05-061-0/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rpm: code shrink. Now uses open_zipped's logic (factored out into ↵Denys Vlasenko2010-05-061-42/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | setup_unzip_on_fd()) function old new delta setup_unzip_on_fd - 80 +80 open_zipped 176 113 -63 rpm_main 1672 1355 -317 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 80/-380) Total: -300 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb/lineedit: add support for preserving "broken" (non-unicode) charsTomas Heinrich2010-04-292-20/+54
| | | | | | | | | | Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * date: support -d @SECONDS_SINCE_1970Denys Vlasenko2010-04-221-0/+10
| | | | | | | | | | | | | | function old new delta parse_datestr 647 721 +74 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * busybox --list option. +140 bytes. Rob wanted it.Denys Vlasenko2010-04-201-25/+44
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * vi: discover window size even on serial consoles. optionalDenys Vlasenko2010-04-182-25/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta edit_file 671 761 +90 wh_helper - 57 +57 query_screen_dimensions 54 63 +9 ar_main 533 542 +9 refresh 767 773 +6 vi_main 242 243 +1 text_yank 56 54 -2 get_terminal_width_height 180 135 -45 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/2 up/down: 172/-47) Total: 125 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * remove stdio from allnoconfig buildDenys Vlasenko2010-04-181-1/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'ash'Nguyễn Thái Ngọc Duy2010-09-142-1/+11
|\ \
| * | win32: lineedit: split $PATH the Windows wayNguyễn Thái Ngọc Duy2010-09-141-0/+8
| | |
| * | win32: lineedit: do not attempt to tc[sg]etattr in Windows consoleNguyễn Thái Ngọc Duy2010-09-141-0/+2
| | |
| * | win32: reimplement read_key() to read Windows consoleNguyễn Thái Ngọc Duy2010-09-141-1/+1
| | |
* | | win32: support .com executablesNguyễn Thái Ngọc Duy2010-09-141-4/+14
|/ /
* | win32: xmalloc_follow_symlinks: support ENOSYS by mingw portNguyễn Thái Ngọc Duy2010-09-101-1/+1
| |
* | win32: Replace spawn() and spawn_and_wait() with Win32 versionNguyễn Thái Ngọc Duy2010-09-101-1/+4
| |
* | win32: workaround msvcrt *printf defectsNguyễn Thái Ngọc Duy2010-09-102-1/+28
| |
* | win32: make_directory: drive letter support (buggy)Nguyễn Thái Ngọc Duy2010-09-101-4/+11
| |
* | win32: basename: support backslashesNguyễn Thái Ngọc Duy2010-09-101-0/+5
| |
* | win32: appletlib: special way to recognize applet name on WindowsNguyễn Thái Ngọc Duy2010-09-101-0/+12
| | | | | | | | | | | | | | | | argv[0] on Windows is always the executable path. We can't rely on it to extract the applet name. For single busybox executable, just pass an environment variable, BUSYBOX_APPLET_NAME. Also strip .exe suffix when looking for applet name.
* | win32: execable.c: support .exe suffixNguyễn Thái Ngọc Duy2010-09-101-1/+24
| |
* | win32: copy_file: always use lstat to avoid macro conflictNguyễn Thái Ngọc Duy2010-09-101-0/+5
| | | | | | | | | | | | stat() in win32 port is actual a macro, not a function. Doing it the way it is now won't work. stat/lstat is not different in Windows anyway.
* | win32: getopt32: set optind = 0 on WindowsNguyễn Thái Ngọc Duy2010-09-101-1/+1
| | | | | | | | | | I haven't dug deep into this, but experiments show that optind = 1 does not work. Maybe MinGW guys took getopt from glibc?
* | win32: add get_busybox_exec_path(), which is bb_busybox_exec_pathNguyễn Thái Ngọc Duy2010-09-101-0/+4
| | | | | | | | | | This function will become bb_busybox_exec_path because there is no fixed installation location on Windows.
* | libbb: skip utmp part in messages.c on WindowsNguyễn Thái Ngọc Duy2010-09-101-0/+2
| |
* | Exclude files that will not compile on WindowsNguyễn Thái Ngọc Duy2010-09-101-13/+14
|/
* read_key: fix buffer length calculationTomas Heinrich2010-04-161-1/+1
| | | | | Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* loop: correct minor device number limitDenys Vlasenko2010-04-141-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: add an optional capability to create new /dev/loopN as neededLauri Kasanen2010-04-141-2/+12
| | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Exclude syslog code if FEATURE_SYSLOG is not setNguyễn Thái Ngọc Duy2010-04-092-5/+16
| | | | | | | syslog.h and syslog(...) may not exist in such configuration Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: add skip_dev_pfx()Denys Vlasenko2010-04-062-8/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnetd: fill hostname field in utmp/wtmp recordsDenys Vlasenko2010-04-061-3/+13
| | | | | | | | | | | | | function old new delta get_lsa - 109 +109 make_new_session 438 504 +66 get_peer_lsa - 10 +10 ftpd_main 2340 2267 -73 get_sock_lsa 101 10 -91 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/2 up/down: 185/-164) Total: 21 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* telnetd: write LOGIN/DEAD_PROCESS utmp records. Closes bug 1363Denys Vlasenko2010-04-051-37/+86
| | | | | | | | | | | | | | | | | function old new delta write_new_utmp - 253 +253 skip_dev_pfx - 30 +30 handle_sigchld 42 72 +30 telnetd_main 1650 1673 +23 make_new_session 415 438 +23 ... login_main 1140 1148 +8 update_utmp 337 313 -24 write_wtmp 220 154 -66 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 11/6 up/down: 406/-115) Total: ~291 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: split update_utmp from login/getty in preparation to use it for telnetdDenys Vlasenko2010-04-052-0/+94
| | | | | | | | | | | | | | | | | | | function old new delta update_utent - 339 +339 login_main 1498 1128 -370 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 339/-370) Total: -31 bytes function old new delta update_utmp 246 337 +91 login_main 1128 1140 +12 getty_main 1908 1918 +10 ... update_utent 339 - -339 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 5/6 up/down: 119/-368) Total: -249 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: factor out hex2bin() for infiniband address parserDenys Vlasenko2010-04-041-0/+35
| | | | | | | | function old new delta hex2bin - 149 +149 in_ib 172 27 -145 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cosmetic fixes, no code changedDenys Vlasenko2010-04-031-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: make index_in_substrings return -1 on ambiguous matchesDenys Vlasenko2010-04-031-3/+20
| | | | | | | function old new delta index_in_substrings 67 93 +26 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* clean up redundant, commented-out and misplaced includesDenys Vlasenko2010-04-011-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* provide safe_gethostname() for non-linux systemsDenys Vlasenko2010-03-291-2/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: locate PAGE_SIZE on HurdDenys Vlasenko2010-03-291-7/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Hurd compat fixes. Mostly dealing with absent PATH_MAXJérémie Koenig2010-03-263-5/+17
| | | | | Signed-off-by: Jérémie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unicode: s/FEATURE_ASSUME_UNICODE/UNICODE_SUPPORT, add UNICODE_USING_LOCALEDenys Vlasenko2010-03-266-566/+443
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unicode: optional table for better handling of neutral bidi charsTomas Heinrich2010-03-263-102/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | Off: function old new delta unicode_bidi_isrtl - 55 +55 isrtl_str 51 65 +14 unicode_isrtl 55 - -55 read_line_input 5003 4937 -66 ------------------------------------------------------------------------------ (add/remove: 1/4 grow/shrink: 1/1 up/down: 69/-121) Total: -52 bytes On: function old new delta static.neutral_b - 320 +320 static.neutral_p - 142 +142 unicode_bidi_isrtl - 55 +55 unicode_bidi_is_neutral_wchar - 55 +55 isrtl_str 51 59 +8 unicode_isrtl 55 - -55 read_line_input 5003 4937 -66 ------------------------------------------------------------------------------ (add/remove: 4/4 grow/shrink: 1/1 up/down: 580/-121) Total: 459 bytes Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: merge some common stringsDenys Vlasenko2010-03-231-1/+1
| | | | | | | | text data bss dec hexfilename 838650 8009 0 846659 ceb43busybox_old 838519 8009 0 846528 ceac0busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date,touch: accept Jan 7 00:00:00 2010 formatAlexander Shishkin2010-03-221-1/+13
| | | | | | | | function old new delta parse_datestr 618 647 +29 Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>