Commit Graph

1073 Commits

Author SHA1 Message Date
Evan Miller
7a426fcece
Merge pull request #198 from nirgal/deprecation
Deprecate mdb-array mdb-header mdb-parsecsv
2020-11-27 05:42:02 -05:00
Evan Miller
16d36d700d Remove unused packaging script
package.sh is a vestige of the cyberemissary fork.
2020-11-26 12:38:44 -05:00
Nirgal Vourgère
fd0fdb6020 Deprecation warning in the manuals 2020-11-25 17:15:31 +01:00
Nirgal Vourgère
cc15473d71 Deprecate mdb-array mdb-header mdb-parsecsv 2020-11-25 12:14:45 +01:00
Evan Miller
2c72591db0 Move 0.9 release information from README to NEWS 2020-11-24 20:30:32 -05:00
Evan Miller
1bb11c19a5 Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-11-24 20:30:06 -05:00
nirgal
3a4dd8029e
Modernize Debian install command 2020-11-15 13:28:38 +00:00
Evan Miller
757632007f Version 0.9.0, Beta 6 2020-11-14 08:29:27 -05:00
Evan Miller
1efe8fc709
Merge pull request #194 from evanmiller/bounds-check-mdb-sql-bind-column
[Updated] Bounds check mdb_sql_bind_column()
2020-11-14 08:16:53 -05:00
Evan Miller
7f32684213 Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-11-13 12:10:31 -05:00
Evan Miller
4588eff278
Merge pull request #196 from mdbtools/nirgal-AUTHORS
Refreshed AUTHORS
2020-11-13 12:08:27 -05:00
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 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 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 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