Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix building, installing, and testing extensions on MS-Windows. | Eli Zaretskii | 2013-05-14 | 1 | -2/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test/Makefile.in (mpfr-tests, shlib-tests): Add a blank character between ' and /FOO/ in Gawk command lines, for the benefit of testing under MSYS Bash. test/filefuncs.awk (BEGIN): Call 'stat' on gawkapi.o, not on gawk, which does not exist on systems that produce gawk.exe. README_D/README.pc: Update the pc build and test instructions. pc/Makefile.tst (AWK): Set AWKLIBPATH so extensions could be found. (LS): New variable. (check): Add back shlib-tests and shlib-msg-end. (readdir): Add a warning regarding inode reporting by ls.exe. (fts, fork, fork2): Add message about expected failure on MinGW. pc/Makefile (install): Install the extensions. (install-strip): Likewise. pc/Makefile.ext: New file. io.c (devopen) [__EMX__ || __MINGW32__]: Produce EISDIR on MinGW when an attempt to open() a directory fails. (two_way_open) [__EMX__ || __MINGW32__]: When trying to open() a directory fails with EISDIR, assign FAKE_FD_VALUE to the file descriptor and attributes of a directory to its mode bits. This is needed to support the readdir extension. gawkapi.h (FAKE_FD_VALUE): New macro, used in io.h and in extension/gawkdirfd.h. extension/rwarray.c [__MINGW32__]: Include winsock2.h instead of arpa/inet.h. extension/readdir.c [__MINGW32__]: Include windows.h. Include gawkapi.h before gawkdirfd.h, since the former defines FAKE_FD_VALUE needed by the latter. (ftype): Accept an additional argument, the directory that is being read. Callers changed. [!DT_BLK]: Produce the file's type by calling 'stat' on it, if the dirent structure doesn't provide that. (get_inode): New function, to produce inode values on MS-Windows. (dir_get_record): Use it. extension/inplace.c (chown, link) [__MINGW32__]: Redirect to existing library functions. (mkstemp) [__MINGW32__]: New function, for MinGW, which doesn't have it in its library. (do_inplace_end) [__MINGW32__]: Remove the old file before renaming the new, since 'rename' on Windows cannot overwrite existing files. extension/gawkdirfd.h (ENOTSUP): Define to ENOSYS if not already defined. (DIR_TO_FD): If not defined yet, define to FAKE_FD_VALUE. extension/filefuncs.c (get_inode) [_WIN32]: New function, produces the file index used on Windows as its inode. (fill_stat_array) [_WIN32]: Use it. | |||||
* | Fix several tests on MinGW which were broken by a HACK in io.c. | Eli Zaretskii | 2013-04-28 | 1 | -4/+0 | |
| | | | | | | io.c (redirect): Remove the HACK that called close_one when errno was zero in the MinGW build. This prevents failure in several tests in the test suite, e.g., closebad. | |||||
* | Typo fix in comment in io.c. | Arnold D. Robbins | 2013-04-24 | 1 | -1/+1 | |
| | ||||||
* | Update copyright dates on modified files. | Arnold D. Robbins | 2013-01-15 | 1 | -1/+1 | |
| | ||||||
* | Set name field for io extensions. | Arnold D. Robbins | 2013-01-06 | 1 | -0/+4 | |
| | ||||||
* | Move read_func from IOBUF into awk_input_buf_t. | Arnold D. Robbins | 2012-12-19 | 1 | -4/+7 | |
| | ||||||
* | Make bitflag checking consistent everywhere. | Arnold D. Robbins | 2012-12-09 | 1 | -7/+7 | |
| | ||||||
* | Merge branch 'gawk-4.0-stable' | Arnold D. Robbins | 2012-12-09 | 1 | -6/+11 | |
|\ | ||||||
| * | Use posix_openpt() if available. | Arnold D. Robbins | 2012-12-09 | 1 | -2/+7 | |
| | | ||||||
| * | Change BINMODE to use symbolic values. | Arnold D. Robbins | 2012-12-09 | 1 | -4/+4 | |
| | | ||||||
* | | Clean up of awk.h. | Arnold D. Robbins | 2012-11-22 | 1 | -0/+8 | |
| | | ||||||
* | | VMS updates. Should now build, pass some tests. | Arnold D. Robbins | 2012-11-14 | 1 | -0/+2 | |
| | | ||||||
* | | Initial changes for VMS building. | Arnold D. Robbins | 2012-11-12 | 1 | -3/+0 | |
| | | ||||||
* | | Some VMS fixes. | Arnold D. Robbins | 2012-11-10 | 1 | -3/+6 | |
| | | ||||||
* | | Add output and two-way processors to API. Update Mac config stuff. | Arnold D. Robbins | 2012-08-24 | 1 | -40/+225 | |
| | | ||||||
* | | Move struct stat into IOBUF_PUBLIC. | Arnold D. Robbins | 2012-08-08 | 1 | -5/+6 | |
| | | ||||||
* | | Finish reworking input parsers. | Arnold D. Robbins | 2012-08-01 | 1 | -56/+132 | |
| | | ||||||
* | | Update input_parser interface for RT. | Arnold D. Robbins | 2012-07-29 | 1 | -30/+23 | |
| | | ||||||
* | | Merge branch 'extgawk' of ssh://git.sv.gnu.org/srv/git/gawk into extgawk | Arnold D. Robbins | 2012-07-29 | 1 | -2/+5 | |
|\ \ | ||||||
| * | | Issue a warning if the parser take_control_of function fails. | Andrew J. Schorr | 2012-07-27 | 1 | -2/+5 | |
| | | | ||||||
* | | | Finish work on iop management. New readdir test. | Arnold D. Robbins | 2012-07-29 | 1 | -37/+67 | |
|/ / | ||||||
* | | Fix bug in API set_RT, bug in readdir.c. | Arnold D. Robbins | 2012-07-27 | 1 | -5/+9 | |
| | | ||||||
* | | Add set_RT to API and to readdir extension. | Arnold D. Robbins | 2012-07-26 | 1 | -1/+25 | |
| | | ||||||
* | | Document the parser interface and remove some excessive readdir paranoia. | Andrew J. Schorr | 2012-07-26 | 1 | -3/+2 | |
| | | ||||||
* | | Remove translation of errno strings from API. | Arnold D. Robbins | 2012-07-25 | 1 | -1/+1 | |
| | | ||||||
* | | Start refactoring iop handling. Add readdir extension. | Arnold D. Robbins | 2012-07-25 | 1 | -63/+66 | |
| | | ||||||
* | | Hide private parts of IOBUF from extensions. | Andrew J. Schorr | 2012-06-24 | 1 | -31/+35 | |
| | | ||||||
* | | Add -i option, append .awk if initial search fails, and allow -f repeats. | Andrew J. Schorr | 2012-05-19 | 1 | -0/+8 | |
| | | ||||||
* | | Move to use of bool type, true, false, everywhere. | Arnold D. Robbins | 2012-05-11 | 1 | -73/+73 | |
| | | ||||||
* | | Merge remote branch 'origin/xgawk-build' | Arnold D. Robbins | 2012-05-09 | 1 | -15/+1 | |
|\ \ | ||||||
| * | | Update ERRNO API. | Andrew J. Schorr | 2012-04-01 | 1 | -12/+10 | |
| | | | ||||||
* | | | Merge branch 'xgawk' | Arnold D. Robbins | 2012-05-09 | 1 | -46/+70 | |
|\ \ \ | ||||||
| * | | | Update ERRNO API. | Andrew J. Schorr | 2012-04-01 | 1 | -12/+10 | |
| |/ / | ||||||
| * | | Some minor style edits in code and doc. | Arnold D. Robbins | 2012-03-26 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix some coding style issues and a typo in a comment. | Andrew J. Schorr | 2012-03-24 | 1 | -13/+13 | |
| | | | ||||||
| * | | - Add new environment variable AWKLIBPATH to use when searching for shared | Andrew J. Schorr | 2012-03-20 | 1 | -37/+47 | |
| | | | | | | | | | | | | | | | | | | | | | | | | libraries. - Instead of hardcoding the default ".so" suffix for shared libraries, use autoconf to get the right value for this platform. - Build and install some of the bundled shared library extensions so that they will now be available using the default AWKLIBPATH. | |||||
* | | | Cleanups in io.c and improve RS as regexp. | Arnold D. Robbins | 2012-04-26 | 1 | -250/+233 | |
| | | | ||||||
* | | | Merge branch 'master' into gawk_mpfr. | john haque | 2012-04-17 | 1 | -1/+1 | |
|\ \ \ | ||||||
| * | | | Minor edits. | Arnold D. Robbins | 2012-03-22 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | MPFR fixes from Eli. | john haque | 2012-04-16 | 1 | -0/+4 | |
| | | | ||||||
* | | | MPFR related documentation updates and code cleanups. | john haque | 2012-04-02 | 1 | -6/+6 | |
| | | | ||||||
* | | | Add arbitrary-precision arithmetic on integers. | john haque | 2012-03-19 | 1 | -10/+12 | |
| | | | ||||||
* | | | Finish MPFR changes and clean up code. | john haque | 2012-02-26 | 1 | -6/+14 | |
| | | | ||||||
* | | | Finish builtins for MPFR. | john haque | 2012-02-19 | 1 | -0/+1 | |
| | | | ||||||
* | | | New interpreter routine for MPFR. | john haque | 2012-02-16 | 1 | -10/+25 | |
| | | | ||||||
* | | | Add infrastructure for MPFR/GMP support. | john haque | 2012-02-14 | 1 | -4/+10 | |
|/ / | ||||||
* | | Read timeout documentation and bug fix. | john haque | 2012-02-03 | 1 | -1/+4 | |
| | | ||||||
* | | Stylistic edits. | Arnold D. Robbins | 2012-01-02 | 1 | -22/+27 | |
| | | ||||||
* | | Added timeout for reading from input. | john haque | 2012-01-01 | 1 | -29/+157 | |
| | | ||||||
* | | Merge branch 'gawk-4.0-stable', minor fixes after exe merge. | Arnold D. Robbins | 2011-12-31 | 1 | -16/+15 | |
|\| |