aboutsummaryrefslogtreecommitdiffstats
path: root/extension/rwarray.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'gawk-5.1-stable'Arnold D. Robbins2022-04-011-1/+1
|\
| * Small fixes from the persistent-gawk team.Arnold D. Robbins2022-04-011-1/+1
| |
* | Fix comment in rwarray about rounding mode.Andrew J. Schorr2021-12-101-1/+1
| |
* | Merge branch 'master' into feature/readallArnold D. Robbins2021-12-101-8/+12
|\ \
| * | Merge branch 'gawk-5.1-stable'Arnold D. Robbins2021-12-101-0/+26
| |\|
| | * Reformat some comments in extension/rwarray.c.Arnold D. Robbins2021-12-101-8/+12
| | |
* | | When rwarray reads and writes mpfr values, use mpfr_get_default_rounding_mode().Andrew J. Schorr2021-12-091-2/+2
| | |
* | | Fix rwarray extension to allocate mpz & mpfr values at proper scope.Andrew J. Schorr2021-12-081-21/+24
| | |
* | | Enhance rwarray extension to add writeall and readall functions for dumping ↵Andrew J. Schorr2021-12-081-50/+213
| | | | | | | | | | | | and reloading global state.
* | | Merge commit '09e98ee95fb453adc0f1783937477cd065611581' into feature/readall ↵Andrew J. Schorr2021-12-081-0/+22
|\ \ \ | |/ / |/| / | |/ to get rwarray to work with mpfr values.
| * In extension rwarray, write and read mpfr values as strings instead of using ↵Andrew J. Schorr2021-12-081-0/+22
| | | | | | | | the new and experimental floating-point interchange format.
* | Merge branch 'gawk-5.1-stable'Arnold D. Robbins2021-11-181-58/+166
|\|
| * Add GMP and MPFR support to rwarray extension.Arnold D. Robbins2021-11-181-51/+156
| |
* | Update rwarray extension for bool values, and also test code.Arnold D. Robbins2021-03-301-7/+33
|/
* Update copyright years.Arnold D. Robbins2020-03-201-1/+1
|
* More message updates.Arnold D. Robbins2020-03-111-8/+8
|
* Second round of message fixes.Arnold D. Robbins2020-03-101-4/+4
|
* Update copyright years that should have been updated before 4.2.1 release.Arnold D. Robbins2018-03-131-1/+1
|
* Remove incorrect * on ext_id in extensions and in doc.Arnold D. Robbins2018-01-111-1/+1
|
* Small improvements in extension/rwarray.c.Arnold D. Robbins2017-10-281-2/+4
|
* Bump version in rwarray.c.Arnold D. Robbins2017-09-191-1/+1
|
* Update copyright year in extension/rwarray.c.Arnold D. Robbins2017-09-131-1/+2
|
* Allow rwarray extension to write/read undefined values.Arnold D. Robbins2017-09-121-1/+7
|
* In rwarray extensions, use malloc where calloc not needed.Andrew J. Schorr2017-06-221-1/+2
|
* Replace malloc+memset with calloc, mostly by using the new ezalloc macro.Andrew J. Schorr2017-06-221-2/+1
|
* Fix the MinGW build and sync its tests with mainline,Eli Zaretskii2017-01-211-0/+1
|
* Merge branch 'feature/regex-to-api' into feature/andyArnold D. Robbins2016-12-221-10/+4
|\
| * Merge branch 'master' into feature/regex-to-apiArnold D. Robbins2016-12-221-10/+4
| |\
| | * Fix lint stuff, arg checking. Add a data pointer. Pass finfo to functions.Arnold D. Robbins2016-12-141-4/+4
| | |
| | * Add min_required and max_expected arg counts to API.Arnold D. Robbins2016-12-061-8/+2
| | |
* | | Add strnum support to API. Update rwarray extension and test.Andrew J. Schorr2016-12-051-4/+34
|/ /
* | Add doc on API changes for typed regexes. Improve test.Arnold D. Robbins2016-11-301-2/+2
| |
* | Add regex value support to API. Update rwarr extension and test.Arnold D. Robbins2016-11-291-8/+8
|/
* Remove trailing whitespace everywhere. Fix Unicode into ASCII.Arnold D. Robbins2016-10-231-6/+6
|
* Merge branch 'gawk-4.1-stable' (zOS updates included)Arnold D. Robbins2015-10-041-11/+0
|\
| * Rework zOS patches; keep separate from autotools.Arnold D. Robbins2015-08-021-11/+0
| |
* | Stop allocating an extra wasted byte at the end of various strings.Andrew J. Schorr2014-12-141-2/+2
|/
* Update copyright years on files changed in 2014.Arnold D. Robbins2014-03-311-1/+1
|
* Add memory allocation functions to gawk API.Andrew J. Schorr2014-03-081-3/+3
|
* Fix building, installing, and testing extensions on MS-Windows.Eli Zaretskii2013-05-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update copyrights in all relevant source files.Arnold D. Robbins2013-04-161-1/+1
|
* Add awk_true and awk_false to API.Arnold D. Robbins2012-11-301-33/+33
|
* z/OS changes from Dave Pitts and Arnold.Arnold D. Robbins2012-09-131-2/+13
|
* Use config.h properly. Add AC_SYS_LARGEFILE.Arnold D. Robbins2012-08-261-0/+4
|
* Add facility to get vesion info from extensions.Arnold D. Robbins2012-08-241-0/+1
|
* Move struct stat into IOBUF_PUBLIC.Arnold D. Robbins2012-08-081-1/+1
|
* Rework rwarray.c to use stdio, for cygwin.Arnold D. Robbins2012-07-311-51/+52
|
* Add translation to the extensions.Arnold D. Robbins2012-07-251-10/+14
|
* Add ability to call an initialization routine.Arnold D. Robbins2012-07-111-0/+1
|
* API clean up and require strings to be malloced.Arnold D. Robbins2012-07-111-2/+2
|