Commit Graph

1085 Commits

Author SHA1 Message Date
Evan Miller
d186a98119 Have libmdb.pc reflect --disable-glib
Also try to work around Travis issues with sudo, libtool, and clang
2020-12-04 07:33:51 -05:00
Evan Miller
60cbfe821c Verify pkg-config on Travis
Now featuring sudo
2020-12-04 06:11:02 -05:00
Evan Miller
0ba59e6f23
Merge pull request #200 from evanmiller/remove-changelog
Remove ChangeLog/CHANGELOG.md
2020-12-03 17:48:14 -05:00
Evan Miller
226c822e99 Version 0.9.0, Beta 7 2020-11-27 08:07:40 -05:00
Evan Miller
8175e8aacb
Merge pull request #199 from evanmiller/remove-deprecated
Remove deprecated functions
2020-11-27 07:27:09 -05:00
Evan Miller
be7840b9e6 Merge branch 'master' into remove-deprecated 2020-11-27 07:26:18 -05:00
Evan Miller
fa2ec4162c Remove ChangeLog/CHANGELOG.md
The cyberemissary notes were technically NEWS (about an unofficial
release) and the earlier VCS notes are useless.
2020-11-27 07:04:28 -05:00
Evan Miller
790e818536 mdb-count is new since 0.7.1 [CI SKIP] 2020-11-27 06:38:44 -05:00
Evan Miller
b6aac22a1b Remove GMDB section from TODO
This information has been copied to gmdb2's TODO file
2020-11-27 06:33:15 -05:00
Evan Miller
cd7ced0da0 Remove mem.c from Makefile 2020-11-27 06:02:26 -05:00
Evan Miller
eb39a483a3 Remove long-deprecated functions
mdb_init() and mdb_exit() have done nothing for a while.

mdb_get_coltype_string() and mdb_coltype_takes_length() were previously
removed, but remained in the header file by accident.
2020-11-27 05:58:14 -05:00
Evan Miller
4c13b891d9 Add CLI deprecation notices to README 2020-11-27 05:50:41 -05:00
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