Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | winansi: add a routine to clear the screen bufferansi | Ron Yorston | 2016-04-26 | 1 | -0/+1 |
| | | | | | And use it to restore the old behaviour of vi and less: they reset the cursor to the top of the buffer and clear it. | ||||
* | libbb/lineedit: scroll to cursor position on any keypress | Ron Yorston | 2016-04-26 | 1 | -0/+1 |
| | | | | | Also improve erase_till_end_of_screen. Based on suggestions from GitHub user avih. | ||||
* | mingw: post-merge build fixes | Ron Yorston | 2016-04-04 | 1 | -0/+1 |
| | |||||
* | Silence a couple of compiler warnings | Ron Yorston | 2016-03-06 | 1 | -1/+1 |
| | |||||
* | libbb: additional support for backslashes in paths | Ron Yorston | 2015-11-13 | 1 | -1/+1 |
| | |||||
* | win32: append '/' to bare drive name in opendir | Ron Yorston | 2015-09-30 | 1 | -0/+6 |
| | | | | Make 'ls c:' and 'ls c:/*' do the right thing. | ||||
* | win32: remove setitimer implementation and SIGALRM handling | Ron Yorston | 2015-07-26 | 1 | -9/+1 |
| | | | | | | | Commit 69f49ea imported a setitimer implementation from git. Since setitimer isn't used at all in BusyBox it can be removed. The same technique could be used to implement alarm but nothing in the WIN32 port uses that (yet). | ||||
* | mingw: enable support for IPv6 | Ron Yorston | 2015-07-15 | 1 | -0/+1 |
| | | | | Import inet_pton from gnulib and enable IPv6 support by default. | ||||
* | win32: silence some compiler warnings | Ron Yorston | 2015-07-15 | 1 | -0/+5 |
| | |||||
* | Allow different ways to manipulate environment for XP vs 64-bit | Ron Yorston | 2015-07-03 | 1 | -0/+8 |
| | | | | | | | | | | | Commit fa147bd 'Use putenv to implement unsetenv/clearenv' allowed BusyBox to run on ReactOS but broke it on Windows XP so it was reverted. It turns out that the same change is required on 64-bit Windows. Reinstate the 'safe' environment manipulation code but make it a configuration option. Add a config file for 64-bit Windows that does the right thing. | ||||
* | mingw: fixes to implementation of waitpid(2) | Ron Yorston | 2015-05-29 | 1 | -1/+1 |
| | | | | | The third argument should be int. We only support positive pid values. | ||||
* | mingw: tidy up implementation of kill(2) | Ron Yorston | 2015-05-29 | 1 | -0/+2 |
| | |||||
* | mingw: add routine to pipe a file descriptor to/from a command | Ron Yorston | 2015-05-27 | 1 | -0/+1 |
| | |||||
* | mingw: define a macro for spawn | Ron Yorston | 2015-05-27 | 1 | -1/+2 |
| | |||||
* | mingw: provide fake getgroups and getgrouplist | Ron Yorston | 2015-05-18 | 1 | -1/+2 |
| | | | | | This makes it possible to enable the id and groups applets, though the results they return are worthless. | ||||
* | mingw: implement getpwnam (but only for current user) | Ron Yorston | 2015-05-18 | 1 | -1/+1 |
| | | | | This allows the shell to expand ~user. | ||||
* | mingw: additional networking support | Ron Yorston | 2015-04-22 | 1 | -2/+13 |
| | |||||
* | mingw: changes to handling of directory permissions | Ron Yorston | 2015-03-25 | 1 | -0/+5 |
| | | | | | | | | | The read-only attribute on a directory in Microsoft Windows is quite different from write permission in POSIX. Modify rmdir(2) and chmod(2) to provide more POSIX-like behaviour: rmdir will remove a directory even if it's read-only chmod won't make a directory read-only | ||||
* | Post-merge fixes | Ron Yorston | 2015-03-14 | 1 | -0/+1 |
| | |||||
* | Enable logname in mingw32 configuration | Ron Yorston | 2015-02-27 | 1 | -0/+1 |
| | |||||
* | Make uid/gid handling more consistent | Ron Yorston | 2015-02-26 | 1 | -6/+10 |
| | | | | | | | | Various fake POSIX routines returned different values for uid/gid: getuid/getgid used 1, stat used 0 and getpwuid used 1000. Standardise on 1000. Also, add fake getgrgid. | ||||
* | Fix error: conflicting types for ‘pid_t’ with mingw64 | Tony Kelman | 2015-01-22 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | Using x86_64-w64-mingw32-gcc cross-compiler for win64 gives an error: ``` In file included from include/libbb.h:163:0, from include/busybox.h:8, from applets/applets.c:9: include/mingw.h:10:13: error: conflicting types for ‘pid_t’ typedef int pid_t; ^ In file included from /usr/share/mingw-w64/include/process.h:12:0, from /usr/share/mingw-w64/include/unistd.h:11, from include/platform.h:313, from include/libbb.h:13, from include/busybox.h:8, from applets/applets.c:9: /usr/share/mingw-w64/include/sys/types.h:68:16: note: previous declaration of ‘pid_t’ was here typedef _pid_t pid_t; ^ make[1]: *** [applets/applets.o] Error 1 ``` This change fixes it and results in a successful build of 64-bit busybox.exe. | ||||
* | Changes to allow building with MinGW-w64 | Ron Yorston | 2015-01-05 | 1 | -0/+5 |
| | |||||
* | Revert "Use putenv to implement unsetenv/clearenv" | Ron Yorston | 2014-12-18 | 1 | -3/+1 |
| | | | | This reverts commit fa147bd7ecb086f4fb9a4afea16b946693a822ce. | ||||
* | Remove declaration of getpagesize | Ron Yorston | 2014-11-29 | 1 | -7/+0 |
| | |||||
* | Use putenv to implement unsetenv/clearenv | Ron Yorston | 2014-11-23 | 1 | -1/+3 |
| | | | | | | | | | | noexec applets failed on ReactOS 0.3.17. This was because the environment was being manipulated directly using the environ pointer. Implementing unsetenv and clearenv using putenv fixes the problem. WIN32 putenv doesn't allow environment variables to have empty values. This was the case before and it's still the case after this change. Shell variables are fine. | ||||
* | MinGW: rename execable -> executable | Ron Yorston | 2014-05-06 | 1 | -1/+1 |
| | |||||
* | Provide fake getpwent_r to reduce changes from upstream | Ron Yorston | 2014-03-23 | 1 | -0/+3 |
| | |||||
* | Implement vprintf replacement | Ron Yorston | 2014-03-20 | 1 | -0/+2 |
| | |||||
* | Implement getc replacement | Ron Yorston | 2014-03-20 | 1 | -0/+2 |
| | |||||
* | Implement read replacement to handle OEM codepages | Ron Yorston | 2014-03-20 | 1 | -0/+2 |
| | |||||
* | Implement write replacement to handle OEM codepages | Ron Yorston | 2014-03-20 | 1 | -0/+2 |
| | |||||
* | Implement puts replacement to handle OEM codepages | Ron Yorston | 2014-03-19 | 1 | -0/+2 |
| | |||||
* | Use OEM codepage for console I/O | Ron Yorston | 2014-03-19 | 1 | -0/+4 |
| | | | | | | | | | | Windows console applications use different codepages for console I/O and the rest of the API: http://msdn.microsoft.com/en-us/goglobal/bb688114.aspx#E2F Attempt to workaround this by converting characters when they're read from and written to the console. Not all possible paths are handled. | ||||
* | Drop CONFIG_WIN32_NET setting | Ron Yorston | 2014-03-17 | 1 | -5/+1 |
| | |||||
* | Fix some compiler warnings | Ron Yorston | 2014-03-13 | 1 | -1/+1 |
| | |||||
* | Pretend chown succeeds so 'cp -rp' doesn't complain | Ron Yorston | 2014-03-13 | 1 | -1/+1 |
| | |||||
* | Remove unused mingw_utime; update utimes to handle read-only files | Ron Yorston | 2014-03-12 | 1 | -4/+0 |
| | |||||
* | Import mempcpy from gnulib | Ron Yorston | 2014-03-11 | 1 | -0/+5 |
| | |||||
* | mingw: dummy implementation of times/sysconf | Ron Yorston | 2014-01-30 | 1 | -0/+17 |
| | |||||
* | date: add dummy stime | Ron Yorston | 2014-01-19 | 1 | -0/+1 |
| | |||||
* | date: actually use modified strftime | Ron Yorston | 2014-01-19 | 1 | -0/+3 |
| | |||||
* | Implement POSIX-compliant mktemp for WIN32 | Ron Yorston | 2014-01-07 | 1 | -0/+2 |
| | |||||
* | Revise mingw_stat to minimise changes from upstream BusyBox | Ron Yorston | 2014-01-07 | 1 | -19/+26 |
| | |||||
* | Use the preprocessor to fake st_blocks | Ron Yorston | 2014-01-05 | 1 | -0/+7 |
| | |||||
* | Provide dummy implementations of seteuid/setegid | Ron Yorston | 2014-01-02 | 1 | -0/+2 |
| | |||||
* | Provide fake fchmod implementation | Ron Yorston | 2013-03-26 | 1 | -1/+1 |
| | |||||
* | mingw.h: fixes for MinGW-w64 | Ron Yorston | 2012-09-19 | 1 | -12/+5 |
| | |||||
* | Use win32_execable_file() in test, which and execable.c | Ron Yorston | 2012-05-09 | 1 | -0/+2 |
| | |||||
* | mingw32: make access(2) check file format for executables | Ron Yorston | 2012-05-09 | 1 | -0/+4 |
| |