Trương Chương Dương
6ed4188994
Fix error when ccompile by mingw32 and remove the $ from example shell script ( #448 )
...
build / linux (clang, enable-glib, disable-iconv) (push) Has been cancelled
build / linux (clang, enable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc, disable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc, disable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc, enable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc, enable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc-10, disable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc-10, disable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc-10, enable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc-10, enable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc-9, disable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc-9, disable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc-9, enable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc-9, enable-glib, enable-iconv) (push) Has been cancelled
build / macos (clang, disable-glib, disable-iconv) (push) Has been cancelled
build / macos (clang, disable-glib, enable-iconv) (push) Has been cancelled
build / macos (clang, enable-glib, disable-iconv) (push) Has been cancelled
build / macos (clang, enable-glib, enable-iconv) (push) Has been cancelled
build / macos (gcc, disable-glib, disable-iconv) (push) Has been cancelled
build / macos (gcc, disable-glib, enable-iconv) (push) Has been cancelled
build / macos (gcc, enable-glib, disable-iconv) (push) Has been cancelled
build / macos (gcc, enable-glib, enable-iconv) (push) Has been cancelled
build / macos-iodbc (clang, disable-glib) (push) Has been cancelled
build / macos-iodbc (clang, enable-glib) (push) Has been cancelled
build / macos-iodbc (gcc, disable-glib) (push) Has been cancelled
build / macos-iodbc (gcc, enable-glib) (push) Has been cancelled
build / windows (disable-glib, disable-iconv) (push) Has been cancelled
build / windows (disable-glib, enable-iconv) (push) Has been cancelled
build / windows (enable-glib, disable-iconv) (push) Has been cancelled
build / windows (enable-glib, enable-iconv) (push) Has been cancelled
* Fix build error with mingw32
* Remove $ from shell example
---------
Co-authored-by: hacrot3000 <hacrot3000@gmail.com>
2025-05-20 09:00:20 -04:00
Evan Miller
b81b1c9271
Version 1.0.1
build / linux (clang, enable-glib, disable-iconv) (push) Has been cancelled
build / linux (clang, enable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc, disable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc, disable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc, enable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc, enable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc-10, disable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc-10, disable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc-10, enable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc-10, enable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc-9, disable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc-9, disable-glib, enable-iconv) (push) Has been cancelled
build / linux (gcc-9, enable-glib, disable-iconv) (push) Has been cancelled
build / linux (gcc-9, enable-glib, enable-iconv) (push) Has been cancelled
build / macos (clang, disable-glib, disable-iconv) (push) Has been cancelled
build / macos (clang, disable-glib, enable-iconv) (push) Has been cancelled
build / macos (clang, enable-glib, disable-iconv) (push) Has been cancelled
build / macos (clang, enable-glib, enable-iconv) (push) Has been cancelled
build / macos (gcc, disable-glib, disable-iconv) (push) Has been cancelled
build / macos (gcc, disable-glib, enable-iconv) (push) Has been cancelled
build / macos (gcc, enable-glib, disable-iconv) (push) Has been cancelled
build / macos (gcc, enable-glib, enable-iconv) (push) Has been cancelled
build / macos-iodbc (clang, disable-glib) (push) Has been cancelled
build / macos-iodbc (clang, enable-glib) (push) Has been cancelled
build / macos-iodbc (gcc, disable-glib) (push) Has been cancelled
build / macos-iodbc (gcc, enable-glib) (push) Has been cancelled
build / windows (disable-glib, disable-iconv) (push) Has been cancelled
build / windows (disable-glib, enable-iconv) (push) Has been cancelled
build / windows (enable-glib, disable-iconv) (push) Has been cancelled
build / windows (enable-glib, enable-iconv) (push) Has been cancelled
2024-12-26 07:28:56 -05:00
Evan Miller
7625bfaebf
Build fixes
2024-12-26 06:33:37 -05:00
Cédric Luthi
0d67eb4c73
Fix ODBC_LIBS for unixODBC ( #415 )
...
Using `$libdir` doesn't work and produces an error when configuring with ` ./configure --with-unixodbc=$(brew --prefix)`
> configure:21209: gcc -o conftest -g -O2 -Wall -Werror -L/opt/homebrew/${exec_prefix}/lib conftest.c -lodbcinst >&5
> ld: warning: directory not found for option '-L/opt/homebrew/${exec_prefix}/lib'
> ld: library not found for -lodbcinst
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
Note that `warning: directory not found for option '-L/.../${exec_prefix}/lib'` is always emitted but if unixodbc is installed in `/usr/local/lib` linking would still work.
2023-07-04 14:56:41 -04:00
Evan Miller
f7ae5e3f3c
Require glib2 2.68 or later (for g_memdup2) ( #400 )
2022-12-17 07:08:44 -05:00
Evan Miller
0b96ecaff1
Fix windows GH action ( #399 )
2022-12-17 05:33:40 -05:00
Evan Miller
1f88aac676
Version 1.0.0
2021-10-24 09:05:19 -04:00
Evan Miller
c3df30837e
Fix appveyor build
2021-09-30 09:59:16 -04:00
Evan Miller
5946750058
Version 1.0.0, Beta 7
2021-09-29 15:53:46 -04:00
Evan Miller
b0a1f00113
Version 1.0.0, Beta 6
2021-09-12 16:00:21 -04:00
Evan Miller
77ee311eec
Rearrange some ODBC code
...
Move unixODBC specific code to its own source file, and support old
iODBC installations that have only iodbinst.h.
2021-09-08 11:07:17 -04:00
Evan Miller
30d55a87ef
Version 1.0.0, Beta 5
2021-09-06 15:22:23 -04:00
Evan Miller
2aea0e2e41
Version 1.0.0, Beta 4
2021-08-25 08:49:57 -04:00
Evan Miller
ddd1be91a8
iconv fixes
2021-08-24 19:36:34 -04:00
Evan Miller
41d2a797ab
Check for mbstowcs_l separately
2021-08-24 15:15:34 -04:00
Evan Miller
0164b4df1a
Move Unicode ODBC functions to separate file (remove ODBC's iconv)
...
Use wcstombs and friends to perform Unicode conversion inside the ODBC
driver. Functionality should be identical as before, except that
installations without iconv will now be able to compile and install the
Unicode (libmdbodbcW) driver.
iconv remains present in the main libmdb library.
2021-08-23 13:39:39 -04:00
Evan Miller
00d597b6d3
Simplify header
2021-08-22 21:33:33 -04:00
Evan Miller
d1369407c5
--disable-iconv configure option
2021-08-22 11:36:31 -04:00
Evan Miller
0346f00735
Report iconv support at end of configure
2021-08-22 07:38:20 -04:00
Evan Miller
f9c11b52cf
Version 1.0.0, Beta 3
2021-08-20 08:29:13 -04:00
Evan Miller
f71924dab6
Use AC_USE_SYSTEM_EXTENSIONS
...
Defining _XOPEN_SOURCE explicitly in the source file leads to all kinds
of cross-platform headaches, plus incompatibilities between
configure-time capabilities and compile-time features. Let autoconf sort
out how to expose the largest number of functions in a way that is
consistent between configuration and compilation.
2021-08-20 08:06:19 -04:00
Evan Miller
148eed1546
Fix pkg-config Cflags
...
Previously we needed the cflags to include the original HAVE_ICONV value
so that MdbHandle looked the same to client applications as it did to
the compiled library. Now we use a .in file for the header so that these
definitions are not necessary when the client is compiling.
2021-08-20 07:24:40 -04:00
Evan Miller
3ad1669b2e
Restore previous MdbHandle struct layout
2021-08-20 07:20:50 -04:00
Evan Miller
45dcdbc5a6
Fix AC_PROG_LEX warning with autoconf 2.70
2021-08-19 18:23:37 -04:00
Evan Miller
0f0ecb0202
Clean up configure.ac
2021-08-19 18:23:20 -04:00
Evan Miller
e8c40a136d
Version 1.0.0, Beta 2
2021-08-19 07:58:28 -04:00
Evan Miller
c1bb53d930
Ensure compiler supports thread-local storage
2021-08-19 07:44:19 -04:00
Evan Miller
33b9dfa52f
Version 1.0.0, Beta 1
2021-08-04 17:04:49 -04:00
Evan Miller
2a58435fbf
Fix build
2021-08-04 15:39:09 -04:00
Evan Miller
e88e3cc7e7
Remove HAVE_ macros from mdbtools.h and mdbsql.h
...
Generate mdbtools.h at configure-time. This ensures that the public
interface matches the compiled structures.
See #316
2021-08-04 15:29:23 -04:00
Evan Miller
f3053fbd45
MDB Tools 0.9.4, Beta 1
2021-07-18 14:01:24 -04:00
Evan Miller
9fe8c43ab8
Remove obsolete AC_HEADER_STDC macro
2021-07-17 10:35:00 -04:00
Evan Miller
fe77bc5c8e
Remove uses of ntohl
2021-07-14 09:33:24 -04:00
Evan Miller
373b7ff4c4
Version 0.9.3, final
2021-05-01 07:03:58 -04:00
Evan Miller
e52c47d561
MDB Tools 0.9.3, Beta 4
2021-04-25 13:25:57 -04:00
Evan Miller
74fd4b1ff9
MDB Tools 0.9.3, Beta 3
2021-04-16 13:43:03 -04:00
Evan Miller
a47224bb80
Version 0.9.3, Beta 2
2021-04-08 14:59:50 -04:00
Evan Miller
fe0175aa63
Migrate to g_memdup2 ( #288 )
...
With fakeglib and older versions of GLib, fall back to g_memdup with
a #define inside mdbprivate.h.
Fixes #287
2021-04-05 09:04:29 -04:00
Evan Miller
c494f0d746
SQL: Allow spaces in DB names (remove wordexp.h)
...
Fixes #292
2021-04-04 22:07:31 -04:00
Evan Miller
7d10a50faf
Version 0.9.3, Beta 1
2021-03-31 09:10:29 -04:00
Sam James
686110d224
configure.ac: Respect --libdir for unixODBC
...
When searching for unixODBC, we want to use
the libdir passed in to autotools (--libdir)
to ensure that we find the library
for the correct ABI.
It is possible that we pick up the wrong
copy from e.g. /usr/lib/ where a 32-bit
unixODBC copy of the library exists
when we're in the middle of a 64-bit build.
Use ${libdir} to ensure we respect
any preferences/information given and
search for ODBC in the right place.
Note that this previously affected
us with iODBC but that's since been
resolved by using their
iodbc-config binary.
Bug: https://bugs.gentoo.org/697568
Signed-off-by: Sam James <sam@gentoo.org>
2021-02-27 14:33:23 +00:00
Evan Miller
9b200549d7
Version 0.9.2, final
2021-02-27 09:04:27 -05:00
Evan Miller
d59abb99b4
Version 0.9.2, Beta 6
2021-02-22 09:02:06 -05:00
Evan Miller
abe820c66c
Version 0.9.2, Beta 5
2021-02-15 19:59:23 -05:00
Dan Church
65c9c2763a
Add -DHAVE_GLIB to library cflags if needed
2021-02-10 14:21:25 -06:00
Evan Miller
0c34e1aa2b
Versio 0.9.2, Beta 4
2021-02-05 14:02:12 -05:00
Evan Miller
77f78ea757
Version 0.9.2, Beta 3
2021-01-29 08:32:49 -05:00
Evan Miller
848303f9f0
Version 0.9.2, Beta 2
2021-01-20 09:14:29 -05:00
Evan Miller
52cd0779d6
Version 0.9.2, Beta 1
2021-01-15 08:26:04 -05:00
Evan Miller
c0880f0e40
Fix potential realloc() memory leak reading OLE objects
...
See oss-fuzz/28791
2021-01-07 21:11:12 -05:00