Commit Graph

1242 Commits

Author SHA1 Message Date
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
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
Evan Miller
131b443102 Do not exit from library 2020-10-18 09:45:51 -04:00
Evan Miller
888ad9fe3f
Merge pull request #179 from mdbtools/nirgal-patch-1
Don't distribute mdbver.h
2020-10-18 09:21:38 -04:00
nirgal
226ce74f72
Don't distribute mdbver.h 2020-10-18 13:09:29 +00:00
Evan Miller
0e3110b925 Version 0.9.0, Beta 2 2020-10-18 08:52:58 -04:00
Evan Miller
6e48131bae Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-10-18 08:03:07 -04:00
Evan Miller
d8ed91bb05 Include missing header files in make dist 2020-10-18 07:59:45 -04:00
nirgal
738a6e8689
Double \ escape sequence
This fixes groff warnings, as displayed with:
LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z doc/mdb-export.1  > /dev/null
2020-10-18 11:49:23 +00:00
Evan Miller
aac0a3d713 Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-10-18 07:46:43 -04:00
nirgal
73e0de306d
Add back missing coma 2020-10-18 09:13:14 +00:00
nirgal
6a41020538
Spelling typo 2020-10-18 08:59:36 +00:00
Evan Miller
02735e10db
Merge pull request #175 from nyalldawson/missing_file_crash2
Fix crash when a missing file is accessed via ODBC
2020-10-12 07:17:50 -04:00
Nyall Dawson
3ac497c6ff Fix crash when a missing file is accessed via ODBC 2020-10-12 13:47:11 +10:00
Evan Miller
40d8b15c9e Version 0.9.0, Beta 1 2020-10-11 16:07:28 -04:00
Evan Miller
8e6ebfc411
Merge pull request #174 from evanmiller/remove-gmdb2
Remove gmdb2
2020-10-11 15:58:26 -04:00
Evan Miller
a051350ba1 make distcheck fixes 2020-10-11 15:46:19 -04:00
Evan Miller
c19654ad40 Remove gmdb2
Split off the Gnome MDB file viewer into its own project:

    https://github.com/mdbtools/gmdb2

This simplifies the build process somewhat and lets us focus on the core
project. (For starters, no more -Wno-portability flag!)
2020-10-11 14:59:08 -04:00
Evan Miller
0be4321e9a
Merge pull request #170 from mjwoodcock/dev
Support "SELECT TOP n [PERCENT]... " queries.
2020-09-26 06:58:39 -04:00
James Woodcock
eb5dd4d0b7 Support "SELECT TOP n [PERCENT]... " queries.
Updated the SQL parser to support "SELECT TOP n [PERCENT]... " queries,
matching the Mocrosoft Access SQL language.

Export these queries from databases with mdb-queries.
2020-09-26 11:28:34 +01:00
Evan Miller
8219e4ef7a
Merge pull request #162 from evanmiller/master
Monster pull request with changes from the last 5 years
2020-09-19 14:15:16 -04:00
Evan Miller
9d0c40905d Merge branch 'dev' of github.com:mdbtools/mdbtools 2020-09-19 14:01:23 -04:00
Evan Miller
d01b676590
Merge pull request #169 from mjwoodcock/master
mdb-sql should use semicolon separators
2020-09-19 14:00:08 -04:00
James Woodcock
833985043f mdb-sql: Simplify handling files loaded by ":r"
:r is an undocumented command to load SQL files from the msb-sql prompt
2020-09-19 11:29:41 +01:00