Commit Graph

98 Commits

Author SHA1 Message Date
Evan Miller
c0880f0e40 Fix potential realloc() memory leak reading OLE objects
See oss-fuzz/28791
2021-01-07 21:11:12 -05:00
Evan Miller
9e883cb100 Version 0.9.1, final 2021-01-03 20:23:38 -05:00
Evan Miller
14af1f82f1 Version 0.9.1, Beta 3 2021-01-01 08:11:29 -05:00
Evan Miller
ed6f72252f Version 0.9.1, Beta 2 2020-12-29 10:30:20 -05:00
Evan Miller
6ebe1b89f5 Merge branch 'dev' of github.com:mdbtools/mdbtools into dev 2020-12-23 15:37:18 -05:00
Evan Miller
30a4742d70 Version 0.9.1, Beta 1 2020-12-23 15:36:18 -05:00
Evan Miller
2becb08714
Windows GitHub Action (#231)
* Migrate the Windows Msys2 build from Appveyor to GitHub Actions
* Fix build with newer versions of Msys2 (fix `vasprintf` conflict)
* Enable SQL tests on the Cygwin build on Appveyor
* Fix an error message about Bison not being available when in fact Flex was not available
* Don't fail fast with Mac and Linux GitHub Actions
2020-12-23 09:34:21 -05:00
Evan Miller
a8414720e4
Use wcstombs when iconv is not present (#223)
Replace the jerry-built UTF-16 => Latin-1 code path with a cross-platform wcstombs solution that emits UTF-8.

This adds an element to the end of the MdbHandle struct, but should not break any existing code.

A run-time option could be added later to emit other encodings, but people who care about such things can just use the iconv code path.
2020-12-20 17:56:33 -05:00
Evan Miller
c46c8b0e4d Version 0.9.0, final 2020-12-17 14:03:05 -05:00
Evan Miller
c63a62e365 Update configure.ac
* AM_SILENT_RULES has been around for 9 years so just assume it

* dist-zip adds a ZIP archive step to "make dist"
2020-12-17 11:56:51 -05:00
Evan Miller
e7d5125e2b Fix libmdbsql build on Windows 2020-12-17 11:04:54 -05:00
Evan Miller
b0902d1a51 Restore GLib detection. Fixes #212 2020-12-13 07:43:52 -05:00
Evan Miller
924ec93ff1 Version 0.9.0, Beta 8 2020-12-04 10:48:37 -05:00
Evan Miller
b8cf4f4534 Merge branch 'master' into remove-old-docs 2020-12-04 09:34:04 -05:00
Evan Miller
774b8487c6
Merge pull request #206 from evanmiller/test-pkg-config-2
Verify pkg-config on Travis
2020-12-04 09:29:53 -05:00
Evan Miller
04f0f54ecd Merge branch 'master' into remove-old-docs 2020-12-04 09:18:11 -05:00
Evan Miller
0444e0a67e Remove out of date documentation
The HTML docs have not been updated in 10+ years. The README and man
pages should suffice for now.
2020-12-04 09:14:12 -05:00
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
2c5ceced57 Remove mdbtools spec file
This is used to build RPMs, but it is out of date and not under test
coverage. If someone would like to restore it, please add some kind of
test coverage so that it does not fall out of date in the future.

See #201
2020-12-03 19:34:44 -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
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