Commit Graph

79 Commits

Author SHA1 Message Date
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
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
757632007f Version 0.9.0, Beta 6 2020-11-14 08:29:27 -05:00
Evan Miller
9127595e0c Version 0.9.0, Beta 5 2020-11-08 09:28:48 -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
9cd901de85 Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-11-01 08:21:45 -05:00
Nirgal Vourgère
78c4f12eac Ignore errors when setting terminal colors 2020-10-25 11:21:34 +01:00
Evan Miller
8158beb6f5 Version 0.9.0, Beta 3 2020-10-24 07:14:19 -04: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
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
d2acba6010 Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-10-18 17:16:11 -04:00
Evan Miller
97bb488785 Use AC_MSG_ERROR instead of echo/exit 2020-10-18 09:48:38 -04:00
Evan Miller
0e3110b925 Version 0.9.0, Beta 2 2020-10-18 08:52:58 -04:00
Evan Miller
40d8b15c9e Version 0.9.0, Beta 1 2020-10-11 16:07:28 -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
9f41e03278 Fix up libtool version-info logic 2020-09-05 10:50:24 -04:00
Evan Miller
a598148afc Merge branch 'export-mongodb-json' of github.com:rutsky/mdbtools into mdb-exportjson 2020-09-02 09:18:52 -04:00
Evan Miller
d3949f7a0f Include txt2man script (requires gawk) 2020-09-01 20:27:19 -04:00
Evan Miller
be888e0dd7
Support fuzz testing (#4)
Quickstart (requires Clang 6 or later):

$ export LIB_FUZZING_ENGINE=/path/to/fuzzing/library.a
$ ./configure --enable-fuzz-testing
$ make
$ cd src/fuzz
$ make fuzz_mdb
$ ./fuzz_mdb

Also add a new `mdb_open_buffer function` to facilitate in-memory
fuzz-testing. This requires fmemopen, which may not be present on all
systems. The internal API has been reworked to use file streams instead
of file descriptors. This allows reading from memory and reading from
files using a consistent API.
2020-08-31 13:03:58 -04:00
Evan Miller
ea368bc0e3 Require Bison 3.0+ at configure time for SQL features 2020-08-18 10:02:56 -04:00
Evan Miller
60c820245d Only set -Wno-yacc if $YACC supports it 2020-08-18 09:05:33 -04:00
Evan Miller
ec8492f1ee Try fixing Travis and Appveyor
The new re-entrant parser requires Bison 3, which is not installed
on macOS by default. It also appears to require -Wno-yacc.
2020-08-18 07:32:15 -04:00
Evan Miller
4cc7999022 Replace obsolete AC_TRY_LINK with AC_LINK_IFELSE 2020-08-14 07:18:23 -04:00
Evan Miller
6171472411 Change -Bsymbolic-functions to -Wl,-Bsymbolic-functions 2020-08-14 00:12:07 -04:00
Evan Miller
dfd41f2283 Try fixing unixODBC deadlock with -Bsymbolic-functions
This flag compels the dynamic library to prefer its own function symbols
to those in the global symbol table. This behavior should let us
directly call SQL* functions from inside other SQL* functions without
fear of interference by the host program.
2020-08-13 21:52:03 -04:00
Evan Miller
093c6f1774 Try setting --no-undefined on Linux 2020-08-12 23:39:57 -04:00
Evan Miller
362938f17c ODBC build fixes
* Require SQLGetPrivateProfileString in ODBC libraries

* Attempt to fix reported deadlock with unixODBC by rearranging
functions
2020-08-12 15:05:25 -04:00
Evan Miller
f7e863b8e4 Put unixODBC under basic build / test coverage 2020-08-11 11:56:08 -04:00
Evan Miller
7690ef376f Turn off -Wsign-compare for the lexer
Flex doesn't like it.
2020-08-09 16:23:06 -04:00
Evan Miller
c93156626c Fix all sign-compare warnings
Also flip on -Wsign-compare in the default configuration
2020-08-09 16:15:20 -04:00
Evan Miller
0b6809be82 Fix program_invocation_short_name on Linux 2020-08-05 23:54:25 -04:00
Evan Miller
7c324a9cb4 Fix warnings 2020-08-05 23:48:49 -04:00
Evan Miller
783304c164 Turn on -Werror 2020-08-05 23:07:48 -04:00
Evan Miller
18de0070af New --disable-glib configure option
This option uses the fake GLib shim even when GLib is present on the
system.
2020-08-05 20:36:20 -04:00
Evan Miller
b8181fa65f Add -Wno-conflicts-sr to yacc flags 2020-08-05 10:08:11 -04:00
Evan Miller
7ecd132e57 Cygwin fix 2020-08-05 08:17:49 -04:00
Evan Miller
36ba51db7a More Windows fixes 2020-08-05 00:45:14 -04:00
Evan Miller
bcc6defe94 Merge branch 'master' into no-glib 2020-08-04 23:53:50 -04:00
Evan Miller
4e9bee2dc8 Windows build fixes 2020-08-04 17:52:22 -04:00
Evan Miller
e9f4c6c786 Remove GLib dependency WIP
Add a shim implementing half-assed versions of most of the GLib
functions used by MDB Tools. If GLib is detected at compile-time,
use it, otherwise use the shim.

This work is not complete, as the option-parsing code is not yet
implemented - so most of the command-line tools crash.
2020-08-03 17:19:40 -04:00
Evan Miller
cdde7c3268 Enable strict prototypes warnings, and fix warnings
If a host project has -Wstrict-prototypes enabled, the mdbtools header
results in warnings. Turn on -Wstrict-prototypes for the whole project
so that these never occur again.
2018-12-29 10:34:54 -05:00
Cyber Emissary
b753ff36a0 Bumped version to 0.8.2 and updated change log 2018-12-28 08:03:02 -05:00
Cyber Emissary
0a68ee9a02 Returned some files that required by automake
Updated version in configure.ac
Added the new README.md and CHANGELOG.md to makefile.am
Added info about where RPM package can be downloaded
2018-02-13 13:54:34 -05:00
leecher1337
e9ec53f6bd Fixing JET4 Index support via libmswstr. Used as a separate library to do it like MS Jet and to ensure that mdbtools library doesn't get tainted with its source. 2017-12-05 00:13:28 +01:00
leecher1337
e2449c11f3 Added strptime function to SQL parser as a feature. This is needed to i.e. be able to query time-fields in DB and to use dates <1.1.1970 and >19.1.2038. All changes should be backwards-compatible to not break existing queries. 2015-08-30 11:23:57 +02:00
Nirgal Vourgère
584119e415 Split bash-completion snippet in small ones
/usr/share/bash-completion/completions/ now uses dynamic loading based on file name.
2015-05-30 15:40:58 +02:00