aboutsummaryrefslogtreecommitdiffstats
path: root/extension
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | Merge remote-tracking branch 'origin/master' into cmakeJuergen Kahrs2013-03-112-1/+6
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Some extension can now be built with MinGW.Juergen Kahrs2013-02-201-8/+24
| | | | | | | | | | | |
| * | | | | | | | | | | Moved all configuration stuff into cmake/configure.cmake so that config.h ↵Juergen Kahrs2013-02-171-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contains all settings. All 265 basic test cases pass now with USE_CONFIG_H set to ON.
| * | | | | | | | | | | Merge remote-tracking branch 'origin/master' into cmakeJuergen Kahrs2013-02-124-2/+63
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Packaging a minimal .tar.gz file with the gawk executable and all binary ↵Juergen Kahrs2013-02-101-39/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extension library files.
| * | | | | | | | | | | | Extension are compiled now as MODULE without the 'lib' prefix. This is ↵Juergen Kahrs2013-02-101-12/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | necessary to make them compatible with the existing libtool naming scheme. All test cases involving extensions pass now.
| * | | | | | | | | | | | Made building of extensions a bit more robust.Juergen Kahrs2013-02-101-7/+20
| | | | | | | | | | | | |
| * | | | | | | | | | | | All extensions can be built as shared libraries now. It was necessary to ↵Juergen Kahrs2013-02-091-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove -DGAWK when building the extensions. The test cases involving extensions still fail.
* | | | | | | | | | | | | Merge branch 'master' into commentArnold D. Robbins2014-07-313-2/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Bug fix in uninstall in extension directory.Arnold D. Robbins2014-07-213-2/+10
| | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | |
* | | | | | | | | | | | Merge branch 'master' into commentArnold D. Robbins2014-04-1118-74/+483
|\| | | | | | | | | | |
| * | | | | | | | | | | Use $(DESTDIR) in extension/Makefile.am when removing .la files.Arnold D. Robbins2014-04-113-2/+8
| | | | | | | | | | | |
| * | | | | | | | | | | Make release tar ball.Arnold D. Robbins2014-04-085-11/+27
| | | | | | | | | | | |
| * | | | | | | | | | | Fix a compilation warning.Arnold D. Robbins2014-04-042-3/+7
| | | | | | | | | | | |
| * | | | | | | | | | | Update copyright years on files changed in 2014.Arnold D. Robbins2014-03-3110-10/+11
| | | | | | | | | | | |
| * | | | | | | | | | | Remove -Wextra from gcc command line in extension dir..Arnold D. Robbins2014-03-313-2/+8
| | | | | | | | | | | |
| * | | | | | | | | | | Improvements in both configure.ac files.Arnold D. Robbins2014-03-284-14/+226
| | | | | | | | | | | |
| * | | | | | | | | | | Add input parser to readfile extension, document it and test it.Arnold D. Robbins2014-03-273-18/+156
| | | | | | | | | | | |
| * | | | | | | | | | | Add default defn's for constants in extension files.Arnold D. Robbins2014-03-233-0/+15
| | | | | | | | | | | |
| * | | | | | | | | | | Add memory allocation functions to gawk API.Andrew J. Schorr2014-03-088-16/+27
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'master' into commentArnold D. Robbins2014-02-202-11/+24
|\| | | | | | | | | | |
| * | | | | | | | | | | VMS updates.Arnold D. Robbins2014-02-142-11/+24
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'master' into commentArnold D. Robbins2014-01-1224-4501/+5887
|\| | | | | | | | | | |
| * | | | | | | | | | | Merge branch 'gawk-4.1-stable' into new-vmsArnold D. Robbins2014-01-036-516/+479
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Update configuration helper files.Arnold D. Robbins2014-01-036-516/+479
| | | | | | | | | | | | |
| * | | | | | | | | | | | Build and test dynamic extensions on VMS. Documented too.Arnold D. Robbins2013-12-303-0/+30
| | | | | | | | | | | | |
| * | | | | | | | | | | | Additional VMS fix.Arnold D. Robbins2013-12-292-2/+7
| | | | | | | | | | | | |
| * | | | | | | | | | | | Enable compiling extensions on VMS.Arnold D. Robbins2013-12-294-0/+51
| |/ / / / / / / / / / /
| * | | | | | | | / / / Update extension/build-aux/config.guess.Arnold D. Robbins2013-12-242-77/+115
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | |
| * | | | | | | | | | Make extensions controlled by configure time option.Arnold D. Robbins2013-12-215-55/+6
| | | | | | | | | | |
| * | | | | | | | | | Update to automake 1.13.4 and libtool 2.4.2.418.Arnold D. Robbins2013-12-2111-3849/+5165
| | | | | | | | | | |
| * | | | | | | | | | Make 'make distcheck' work.Arnold D. Robbins2013-11-283-0/+17
| | | | | | | | | | |
| * | | | | | | | | | Include inplace.3am in list of manual pages.Arnold D. Robbins2013-11-203-4/+8
| | | | | | | | | | |
| * | | | | | | | | | Fix extension portability for AIX.Arnold D. Robbins2013-10-242-2/+13
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'master' into commentArnold D. Robbins2013-09-227-5/+37
|\| | | | | | | | | |
| * | | | | | | | | | Clean up some -Wextra compile warnings in extensions.Arnold D. Robbins2013-08-226-1/+27
| | | | | | | | | | |
| * | | | | | | | | | Move FAKE_FD_VALUE to shared header.Arnold D. Robbins2013-08-202-4/+10
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | |
* / | | | | | | | | Start new branch that adds comments to profiling.Arnold D. Robbins2013-08-141-0/+4
|/ / / / / / / / /
* | | | | | | | | Fix for MinGW in extension/filefuncs.c.Arnold D. Robbins2013-08-062-9/+14
| | | | | | | | |
* | | | | | | | | Minor improvement for Windows in filefuncs.c.Arnold D. Robbins2013-08-022-1/+24
| | | | | | | | |
* | | | | | | | | Fix compiling on MinGW.Arnold D. Robbins2013-07-242-4/+15
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Solaris config and included fixes. See ChangeLog.Arnold D. Robbins2013-06-106-2/+85
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Support |& on MS-Windows, both for sockets and for pipes.Eli Zaretskii2013-06-014-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | io.c (SHUT_RD) [SD_RECEIVE]: Define to SD_RECEIVE. (SHUT_WR) [SD_SEND]: Define to SD_SEND. (SHUT_RDWR) [SD_BOTH]: Define to SD_BOTH. (FD_TO_SOCKET, closemaybesocket) [!FD_TO_SOCKET]: New macros. (SOCKET_TO_FD, SOCKET) [!SOCKET_TO_FD]: New macros. (PIPES_SIMULATED): Define only for DJGPP. (pipe) [__MINGW32__]: Define to call _pipe, unless PIPES_SIMULATED is defined. (init_io) [HAVE_SOCKETS]: Call init_sockets. (iop_close, socketopen): Call closemaybesocket instead of close. (redirect) [__MINGW32__]: Call wait_any with a non-zero argument. (devopen) [__EMX__ || __MINGW32__]: Don't call stat on network pseudo-filenames. (two_way_open) [HAVE_SOCKETS]: Switch input and output to binary mode if appropriate. (two_way_open) [!PIPES_SIMULATED]: Use the __EMX__ code for MinGW as well. [__MINGW32__] Call spawnl to invoke $ComSpec and pass it a suitably quoted command line. (two_way_open) [__MINGW32__]: Wait only for a specified process ID. If successful, update the exit status of the exited process. Don't use signals that are undefined on MinGW. (two_way_open) [!PIPES_SIMULATED]: Use the __EMX__ code for MinGW as well. (min): Define only if not already defined. (read_with_timeout) [__MINGW32__]: Allow reading from sockets with timeout. (gawk_fclose) [__MINGW32__]: Close the underlying socket as well. getopt.c: Include stdlib.h for MinGW as well. pc/popen.h (SIGKILL) [__MINGW32__]: Define. (kill, quote_cmd): New prototypes. pc/popen.c: Include popen.h and errno.h. (popen, pclose, system): Undefine macros. (WIN32_LEAN_AND_MEAN) [__MINGW32__]: Define and include windows.h. (kill, quote_cmd) [!PIPES_SIMULATED]: New functions. (os_popen): Make the function definition match its prototype exactly. pc/gawkmisc.pc [HAVE_SOCKETS]: Include socket.h and windows.h. (socket, setsockopt, bind, connect, listen, accept, recvfrom) (shutdown): Undefine macros. (os_close_on_exec) [__MINGW32__]: Non-trivial implementation. (init_sockets, socket_to_fd, w32_socket, w32_setsockopt) (w32_bind, w32_connect, w32_listen, w32_accept, valid_socket) (w32_closesocket, w32_recvfrom, w32_shutdown) [HAVE_SOCKETS]: New functions for MinGW, emulate Posix sockets specified by file descriptors. pc/config.h (HAVE_GETADDRINFO, HAVE_SOCKADDR_STORAGE) (HAVE_SOCKETS) [__MINGW32__]: Define. pc/config.sed (HAVE_GETADDRINFO, HAVE_SOCKADDR_STORAGE) (HAVE_SOCKETS) [__MINGW32__]: Define. pc/Makefile.tst (fmtspcl): Announce expected failure only if not built with MPFR. (inetecht, inetdayt): For MinGW, warn about time-outs. (beginfile1, clos1way, getlndir): Announce expected failure only with DJGPP. (exit): Describe the failure on MinGW. (readdir): Explain why test might fail with bad ls.exe. pc/Makefile (mingw32, mingw32-readline, mingw32-mpfr) (mingw32-readline-mpfr): Add -lws2_32 to the link flags. (gawkmisc$O): Depend on socket.h. (io$O): Depend on socket.h and in.h. (popen$O): New dependency. posix/gawkmisc.c (init_sockets): New dummy function. extension/filefuncs.c [_WIN32]: Define WIN32_LEAN_AND_MEAN before including windows.h. extension/readdir.c [__MINGW32__]: Define WIN32_LEAN_AND_MEAN before including windows.h. extension/filefuncs.c [HAVE_GETSYSTEMTIMEASFILETIME]: Define WIN32_LEAN_AND_MEAN before including windows.h. test/clos1way.awk: Don't use features of Posix shells, to allow this test to work on Windows. test/beginfile2.sh: Leave one blank between the left quote and the following slash. Use non-absolute name for a non-existent file. This is to avoid breakage on Windows due to MSYS transformation of Posix style /foo/bar absolute file names. test/beginfile2.ok: Adapt to changes in beginfile2.sh.
* | | | | | | Add "devbsize" to stat extension and doc.Arnold D. Robbins2013-05-295-2/+43
| | | | | | |
* | | | | | | Replace obsolete AC_STRUCT_ST_BLKSIZE macro.Arnold D. Robbins2013-05-275-10/+10
| | | | | | |
* | | | | | | Move FAKE_FD_VALUE out of gawkapi.h.Arnold D. Robbins2013-05-202-0/+8
| |_|_|_|_|/ |/| | | | |
* | | | | | Remove extension .la files after install.Arnold D. Robbins2013-05-163-13/+30
| | | | | |
* | | | | | Add AC_STRUCT_ST_BLKSIZE call in extension/configure.ac.Arnold D. Robbins2013-05-164-0/+82
| | | | | |
* | | | | | Add stat blocksize of 4096 for Windows.Arnold D. Robbins2013-05-162-0/+7
| | | | | |
* | | | | | Fix building, installing, and testing extensions on MS-Windows.Eli Zaretskii2013-05-146-10/+163
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.