Commit Graph

1214 Commits

Author SHA1 Message Date
nirgal
513e2fcc9d Refreshed AUTHORS
Dropped the description of who did what, as this is too complex to maintain.
Sorted by year, for copyrights purposes.
2020-11-13 15:45:04 +00:00
Evan Miller
509831205b Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-11-12 16:26:48 -05:00
Evan Miller
5f55b259de Merge pull request #195 from evanmiller/thread-safety
Use re-entrant functions and thread-local storage in a couple of places
2020-11-12 16:14:15 -05:00
Evan Miller
df48fcb284 Use thread-local storage to cache run-time options 2020-11-12 13:38:32 -05:00
Evan Miller
1bef1b1dca Use re-entrant functions in a couple of places
Replace strtok and gmtime with their re-entrant versions. More to come.
2020-11-12 11:20:05 -05:00
Evan Miller
12de22459a Fix indentation warning on GCC 2020-11-08 09:39:59 -05:00
Evan Miller
9127595e0c Version 0.9.0, Beta 5 v0.9.0-beta5 2020-11-08 09:28:48 -05:00
Evan Miller
cdc0d184f2 Fix syntax error 2020-11-08 09:25:26 -05:00
Evan Miller
514e0fded0 Merge pull request #185 from mjwoodcock/odbc-string-truncation
Don't include length of '\0' in SQLGetData pcbValue
2020-11-08 09:19:28 -05:00
Evan Miller
bbc53dfade Bounds check mdb_sql_bind_column()
Return -1 if the bounds check fails, otherwise the result of
mdb_bind_column_by_name.

Update other places in the code to check the return value.
2020-11-08 08:50:17 -05:00
Evan Miller
97e1d348f7 Merge pull request #193 from evanmiller/largefile
Large file support on 32-bit systems
2020-11-08 08:31:59 -05:00
Evan Miller
38ce7db045 Large file support on 32-bit systems
* Add AC_SYS_LARGEFILE to configure.ac

* Replace fseek with fseeko
2020-11-07 11:40:44 -05:00
Evan Miller
06234afc1a Simplify configure.ac with AC_CHECK_FUNCS 2020-11-07 10:19:28 -05:00
Evan Miller
6464bc844e Version 0.9.0, Beta 4 v0.9.0-beta4 2020-11-01 08:35:01 -05:00
Evan Miller
51eae11a0d Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-11-01 08:32:04 -05:00
Evan Miller
ad14a04dfa Merge pull request #192 from evanmiller/merge-166
Original author: @rogerswb 

* Dynamic allocation of MdbSQL->bound_values 

Was previously hardcoded to 256 columns max.
2020-11-01 08:31:50 -05:00
Evan Miller
9cd901de85 Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-11-01 08:21:45 -05:00
Evan Miller
7c59ed97b7 Merge pull request #186 from mjwoodcock/bounds-check-mdb-bind-column
Bounds check mdb_bind_column()
2020-11-01 08:06:05 -05:00
James Woodcock
42996dad65 Send error message to stderr 2020-11-01 12:56:38 +00:00
Evan Miller
8b7162ded3 Merge branch 'dev' of github.com:mdbtools/mdbtools into merge-166 2020-11-01 07:55:53 -05:00
James Woodcock
de4f5516b7 Handle errors from mdb_bind_column() 2020-10-31 09:46:00 +00:00
James Woodcock
50f1bd4a86 Return column number from mdb_bind_column()
To match the return from mdb_bind_column_by_name().
2020-10-31 09:40:24 +00:00
James Woodcock
2e8480d7e5 Merge branch 'dev' of https://github.com/mdbtools/mdbtools into bounds-check-mdb-bind-column 2020-10-31 09:38:03 +00:00
Nirgal Vourgère
9e50c7401d Modernize bash-completion
Use _init_completion
Support long options with or without =
Auto generate options from the --help using _parse_help
2020-10-27 00:05:26 +01:00
nirgal
58f240ac6f Added back -q support 2020-10-25 20:49:20 +00:00
Nirgal Vourgère
f6053aa211 Quote shell special characters ...
... and add support for mdb-count mdb-json and mdb-queries
2020-10-25 20:19:39 +01:00
Evan Miller
0c50428532 Merge pull request #189 from nirgal/insert
mdb-export: Rename --backend into --insert
2020-10-25 13:11:01 -04:00
Nirgal Vourgère
c7d527fdeb mdb-export: Rename --backend into --insert 2020-10-25 12:09:51 +01:00
Nirgal Vourgère
ea478f3bc6 mdb-export: reorder options, man, bash-completion 2020-10-25 11:24:28 +01:00
Nirgal Vourgère
78c4f12eac Ignore errors when setting terminal colors 2020-10-25 11:21:34 +01:00
nirgal
9470df473d Spelling typo 2020-10-24 20:07:21 +00:00
Evan Miller
60ee6495b7 Merge pull request #188 from rhurlin/dev
Unsigned error in index.c
2020-10-24 14:56:24 -04:00
Rainer Hurling
fb058c5ff1 Merge pull request #1 from rhurlin/rhurlin-patch-1
Unsigned error in index.c
2020-10-24 20:34:37 +02:00
Rainer Hurling
5b292e0063 Unsigned error in index.c
On FreeBSD 13.0-CURRENT its compiler clang-11.0.0 complains:
index.c:388:14: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare]
                for (i=0; i<len+1; i++) {
                          ~^~~~~~
2020-10-24 20:29:46 +02:00
James Woodcock
a7885f2680 Bounds check mdb_bind_column()
Return -1 to report out of bounds column number.
2020-10-24 13:27:34 +01:00
Evan Miller
8158beb6f5 Version 0.9.0, Beta 3 v0.9.0-beta3 2020-10-24 07:14:19 -04:00
Evan Miller
ebf999f8c3 Merge pull request #184 from mjwoodcock/export-better-timestamps
mdb-export: use sensible date formats
2020-10-24 06:34:24 -04:00
James Woodcock
06868e58ae Don't include length of '\0' in SQLGetData pcbValue
SQLGetData() should return the length of the string without the
null terminator.
2020-10-24 09:47:10 +01:00
James Woodcock
9bf70e0e1e mdb-export: use sensible date formats 2020-10-24 09:41:39 +01:00
Nirgal Vourgère
d0d95f6503 Install bash-completion snippets by default
Added autoconf --with-bash-completion-dir and --without-bash-completion-dir options
2020-10-23 18:58:45 +02:00
Nirgal Vourgère
f192c258ab bash-completion: get rid of "have" calls
have function disappeared in bash-completion 1.90 (2011)
2020-10-23 14:05:50 +02:00
Nirgal Vourgère
7c828bd5ad Manuals: Refreshed the see also paragraph 2020-10-23 12:53:41 +02:00
Nirgal Vourgère
93f109ecb8 Added some manuals, updated AUTHORS 2020-10-21 12:48:20 +02:00
Evan Miller
7f28e1cef4 Update CI badge links 2020-10-19 14:41:05 -04:00
James Woodcock
6f566eeab8 Fix POSIX error in configure.ac
POSIX shells use = rather than == for comparison.  This change fixes the
build on NetBSD.
2020-10-19 05:47:15 +02:00
Evan Miller
a5e3e8a438 Include txt2man in distribution 2020-10-18 17:17:58 -04:00
Evan Miller
d2acba6010 Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-10-18 17:16:11 -04:00
Evan Miller
1efb1054d3 Merge pull request #183 from evanmiller/configure-error
Use AC_MSG_ERROR instead of echo/exit
2020-10-18 10:18:57 -04:00
Evan Miller
b6dc31eeb8 Merge pull request #182 from evanmiller/no-exit
Do not exit from library
2020-10-18 10:04:59 -04:00
Evan Miller
97bb488785 Use AC_MSG_ERROR instead of echo/exit 2020-10-18 09:48:38 -04:00