Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge branch 'vi' | Nguyễn Thái Ngọc Duy | 2010-09-22 | 1 | -1/+5 | |
|\ | ||||||
| * | Merge branch 'lineedit' into vi | Nguyễn Thái Ngọc Duy | 2010-09-14 | 2 | -8/+96 | |
| |\ | ||||||
| * | | win32: read_key: implement timeout | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -1/+5 | |
| | | | | | | | | | | | | will be needed by CONFIG_FEATURE_VI_ASK_TERMINAL | |||||
* | | | Merge branch 'ash' | Nguyễn Thái Ngọc Duy | 2010-09-22 | 1 | -0/+6 | |
|\ \ \ | ||||||
| * | | | win32: lineedit: make read_key() pass Ctrl+<letter> to read_line_input | Nguyễn Thái Ngọc Duy | 2010-09-22 | 1 | -0/+6 | |
| | |/ | |/| | | | | | | | | | | | | | This makes ^C and ^D work properly regarding ash input handling (i.e. does not crash ash). Pressing ^C in ash does not stop running programs though. | |||||
* | | | win32: net: add missing stub header files | Nguyễn Thái Ngọc Duy | 2010-09-21 | 3 | -0/+0 | |
| | | | ||||||
* | | | Merge branch 'net' (early part) | Nguyễn Thái Ngọc Duy | 2010-09-20 | 2 | -0/+55 | |
|\ \ \ | ||||||
| * | | | win32: reimplement connect() | Nguyễn Thái Ngọc Duy | 2010-09-20 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | connect() now returns a socket handle, i.e. a HANDLE. This kind of handle works with read()/write(). But on the other hand, FILE* functions are dead because they are not crt file handles?? | |||||
| * | | | win32: reimplement socket() | Nguyễn Thái Ngọc Duy | 2010-09-20 | 1 | -0/+27 | |
| | | | | ||||||
| * | | | win32: add init_winsock() | Nguyễn Thái Ngọc Duy | 2010-09-20 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | All network applets must call this function before using any winsock functions. | |||||
| * | | | win32: implement inet_aton() | Nguyễn Thái Ngọc Duy | 2010-09-20 | 2 | -0/+12 | |
| | |/ | |/| | ||||||
* | | | Merge branch 'ash' | Nguyễn Thái Ngọc Duy | 2010-09-15 | 2 | -8/+96 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | win32: read_key: add Page Up/Down and Insert | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+3 | |
| | | | ||||||
| * | | win32: winansi: implement \033[%u;%uH | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+7 | |
| | | | ||||||
| * | | win32: winansi: implement \033[H (no param) | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+16 | |
| | | | ||||||
| * | | win32: read_key: do not return -1 on unknown key | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | -1 to lineedit means error... when tty is destroyed... it would terminate ash for some reasone | |||||
| * | | win32: read_key: support Delete | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+1 | |
| | | | ||||||
| * | | win32: read_key: support Ctrl-{Left,Right} | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -2/+9 | |
| | | | ||||||
| * | | win32: winansi: implement \033[%uD | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+15 | |
| | | | ||||||
| * | | win32: read_key: imap some movement keys to KEYCODE_* | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -1/+17 | |
| | | | ||||||
| * | | win32: read_key: reset console state after reading | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -8/+12 | |
| | | | ||||||
| * | | win32: winansi: implement \033[J | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+21 | |
| |/ | ||||||
* | | win32: process.c: implement kill(), SIGTERM only | Nguyễn Thái Ngọc Duy | 2010-09-15 | 1 | -0/+17 | |
| | | ||||||
* | | win32: reimplement procps_scan() | Nguyễn Thái Ngọc Duy | 2010-09-15 | 1 | -0/+33 | |
|/ | | | | | | | On Linux, procps_scan() relies on /proc, which is obviously unavailable on Windows. This implementation currently supports procps_status_t.{pid,comm} only. | |||||
* | win32: implement clearenv() | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -1/+10 | |
| | ||||||
* | Merge branch 'origin/master' (early part) | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+0 | |
| | | | | | Conflicts: shell/ash.c | |||||
* | Merge branch 'ash' | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -1/+26 | |
|\ | ||||||
| * | win32: reimplement read_key() to read Windows console | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -1/+26 | |
| | | ||||||
* | | win32: support .com executables | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -1/+3 | |
|/ | ||||||
* | win32: add termios stub so that it builds | Nguyễn Thái Ngọc Duy | 2010-09-10 | 2 | -0/+12 | |
| | ||||||
* | win32: add strptime() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+5 | |
| | ||||||
* | win32: add utimes and fix utime(file,NULL) | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+41 | |
| | ||||||
* | win32: Replace rename() (WHY?) | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+34 | |
| | ||||||
* | win32: Replace getcwd() to return forward slashes | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+13 | |
| | ||||||
* | win32: add utime() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+29 | |
| | ||||||
* | win32: Work around for dup2 | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+7 | |
| | | | | Original dup2() does not return the fdto. | |||||
* | win32: Replace stat/lstat | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+134 | |
| | ||||||
* | win32: Replace open/fopen to support /dev/null | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+34 | |
| | ||||||
* | win32: add next_path_sep() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+20 | |
| | ||||||
* | win32: add shell script and internal applet execution to spawn* and exec* | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+254 | |
| | | | | | | Most of this was extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2 in Git repository. | |||||
* | win32: Support certain ANSI sequences on cmd.exe | Nguyễn Thái Ngọc Duy | 2010-09-10 | 2 | -0/+359 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Support sequences are mostly color ones. This was extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2 in Git repository. Changes from original version: > diff --git a/home/pclouds/w/git/compat/winansi.c b/tmp/winansi2.c > index 44dc293..e2e7010 100644 > --- a/home/pclouds/w/git/compat/winansi.c > +++ b/tmp/winansi2.c > @@ -2,8 +2,9 @@ > * Copyright 2008 Peter Harris <git@peter.is-a-geek.org> > */ > > +#include "libbb.h" > #include <windows.h> > -#include "../git-compat-util.h" > +#undef PACKED > > /* > Functions to be wrapped: | |||||
* | win32: Import regex source | Nguyễn Thái Ngọc Duy | 2010-09-10 | 3 | -0/+5420 | |
| | | | | | | | | | | | | | | | | | | | | | These were extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2 in Git repository. Changes from the original version: > diff --git a/tmp/regex.c b/win32/regex.c > index 87b33e4..2cca169 100644 > --- a/tmp/regex.c > +++ b/win32/regex.c > @@ -24,7 +24,9 @@ > #pragma alloca > #endif > > +#ifndef _GNU_SOURCE > #define _GNU_SOURCE > +#endif > > /* We need this for `regex.h', and perhaps for the Emacs include files. */ > #include <sys/types.h> | |||||
* | win32: add unlink() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+8 | |
| | ||||||
* | win32: add getenv(), setenv(), unsetenv() and clearenv() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 2 | -0/+120 | |
| | | | | clearenv() is not supported yet. | |||||
* | win32: add poll() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+69 | |
| | | | | Only works for pipes, as commented in the source code. | |||||
* | win32: add fcntl() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+14 | |
| | ||||||
* | win32: add waitpid() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 2 | -0/+11 | |
| | ||||||
* | win32: add mkdir() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+6 | |
| | ||||||
* | win32: add get_busybox_exec_path(), which is bb_busybox_exec_path | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+9 | |
| | | | | | This function will become bb_busybox_exec_path because there is no fixed installation location on Windows. | |||||
* | win32: add realpath() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+6 | |
| |