Nirgal Vourgère
37cd3ecd2c
Fix SEGV if mdb-array is given a bad filename
...
See bug repport at:
http://www.forallsecure.com/bug-reports/d256a6f86b05b4ca0a1d7097b64e7c6bcd98de6d/
2013-06-26 21:08:24 +02:00
Nirgal Vourgère
ee1978161c
Check outpout buffers in ODBC SQLGetInfo
2013-06-26 00:41:12 +02:00
Nirgal Vourgère
eeadcb54f3
Use macros for depreacated function attributes
...
This will help porting on compilers that don't support it
2013-01-13 23:50:42 +01:00
Nirgal Vourgère
5eeb5c5050
Show SQLite support in gmdb2 and manual.
2013-01-13 22:41:10 +01:00
Nirgal Vourgère
8a545120d7
Migrate mdb-export changes to gmdb2
...
Support for octal/stip of binary
Customisation of escape string
Quoting is done according to types rather that empiric analysis of str
conversion.
2013-01-13 21:20:00 +01:00
Nirgal Vourgère
7e8ae9b121
print_col new FILE* outfile parameter
...
TODO: Merge that code with the one in gmdb2
2012-12-09 13:10:09 +01:00
Nirgal Vourgère
915eeb61d4
mdb-export -b octal: Encode \0 too
2012-12-03 15:35:14 +01:00
Nirgal Vourgère
a66531c74a
Added option to choose how to export blobs
...
Supported modes are:
- strip (don't export)
- raw (compatibility)
- octal (export as \ooo)
Note that gmdb2 dialog where updated, but not the code. Many fixes to do
there first :/
2012-12-02 20:52:21 +01:00
Nirgal Vourgère
473d820239
Replace map files by -export-symbols-regex use
...
We had to support -export-symbols-regex anways
And map file did not really support versions but only list which symbol
to export. So this is more simple.
2012-10-20 14:32:32 +02:00
Nirgal Vourgère
c7bbac2cab
Tweak odbc calls
...
Removed obsolete FAR from code
SQLfunction calls _SQLfunction rather than the reverse: This avoids
deprecated warning on MacOSX.
2012-10-20 14:22:59 +02:00
Nirgal Vourgère
052bb94361
Fixed some odbc prototypes
...
And also a bunch of warnings
2012-10-12 15:21:59 +02:00
Nirgal Vourgère
bd9091ce57
Backup --version-script with -export-symbols-regex
...
When ld doesn't support --version-script, use -export-symbols-regex
instead.
2012-10-12 14:33:36 +02:00
Nirgal Vourgère
ea9a4ef1e5
Drop support for SunOS style --version-script
...
Not working, and causes compilation problems on MacOS
2012-10-12 13:30:10 +02:00
Nirgal Vourgère
396992f6e1
configure: Quote AC_LANG_PROGRAM for autoconf 2.68
...
Avoid warning in recent autoconf versions. See
http://www.flameeyes.eu/autotools-mythbuster/forwardporting/autoconf.html
2012-10-11 20:32:41 +02:00
Nirgal Vourgère
cca7001f98
Added support for SunOS style --version-script
2012-10-10 18:27:52 +02:00
Nirgal Vourgère
55c52b92bb
Improved man page headers
...
. Fixed titles
. Added version to project name
. Added volume name
2012-10-10 18:26:23 +02:00
Nirgal Vourgère
d0e7eb7d8d
Disable ODBC wide char if iconv is not available
2012-10-10 14:27:30 +02:00
Nirgal Vourgère
a13e268ee2
New configure option --disable-as-needed
...
Some linkers don't support that option
2012-10-05 15:26:37 +02:00
Nirgal Vourgère
195a818064
Added documentation about need of txt2man
...
You need that for the man pages.
2012-10-05 13:55:20 +02:00
Nirgal Vourgère
851877c86c
Changed printf specifier for off_t
...
Fixes some warnings on OSX
2012-10-04 15:37:30 +02:00
Nirgal Vourgère
6b6e54bd14
Disable ld --version-script flag if not supported
...
See https://github.com/brianb/mdbtools/issues/17
Thanks libjpeg-turbo for the script (BSD license)
2012-10-04 14:31:14 +02:00
Nirgal Vourgère
23cab28913
Documentation how to generate the docbook html
2012-10-04 13:04:22 +02:00
Nirgal Vourgère
e3c9fc01e4
Added note about ldconfig need after make install
...
See https://github.com/brianb/mdbtools/issues/7
2012-08-09 16:19:57 +02:00
Nirgal Vourgère
5f09513c85
Deprecate more mdb_{init|remove}_backends
...
These functions now use the __attribute__((constructor)) & destructor.
Old names were keep for compatibility
Also put __attribute__((deprecated)) in mdbtools.h for all deprecated
functions.
2012-08-09 14:55:17 +02:00
Nirgal Vourgère
1700860912
Work around for missing __attribute((alias))
...
Some platforms such as OSX 10.7 don't have __attribute((alias)) enabled.
We need a work around there
2012-08-08 16:21:32 +02:00
Nirgal Vourgère
35c28b4efb
Added __atribute((deprecated)) when possible
2012-08-08 15:32:00 +02:00
Nirgal Vourgère
272ed28963
No longer using stock menu for custom ones
...
Avoid stderr warnings about invalid stock objects.
Put proper menu icons
2012-07-31 21:47:37 +02:00
Nirgal Vourgère
e5e299ca3c
Simple tabulation cleaning
2012-07-26 21:51:06 +02:00
Nirgal Vourgère
c91950b157
Simple tabulation cleaning
2012-07-26 21:48:12 +02:00
Nirgal Vourgère
f6cd70494c
Automatically init/exit libmdb code
...
mdb_init() and mdb_exit() are now deprecated.
2012-07-22 02:29:04 +02:00
Nirgal Vourgère
f8a3839c7f
Misc fixes in prcat and mdb_dump_catalog
...
Identation
User ACL entries
Show 6 digits for pages #
2012-07-21 13:22:04 +02:00
Nirgal Vourgère
7ff13dfada
Added see also isql(1) in mdb-sql(1)
...
That tool offers similar functionality through odbc.
2012-07-21 12:09:01 +02:00
Nirgal Vourgère
8949bde68f
Fixed 2 widget names in tabledef.glade
2012-07-20 12:50:24 +02:00
Nirgal Vourgère
33ebfc8e14
Added AM_MAINTAINER_MODE([enable])
...
See
http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
about pros and cons.
Adding that line does not change behavior, it just ease downstream
distribution.
2012-07-20 12:13:37 +02:00
Nirgal Vourgère
f4a48d0730
Added license to GtkAboutDialog
...
It is read from the COPYING file that is now copied in glade/ folder.
2012-07-15 00:34:48 +02:00
Nirgal Vourgère
c1fffc5c9e
Bumped odbc lib version to 1.1.0: unicode support
...
Drop some obsolete stuff in src/odbc/Makefile.am
2012-07-14 12:56:21 +02:00
Nirgal Vourgère
4667844720
Added -N option in mdb-export man synopsis
2012-07-08 21:52:19 +02:00
Nirgal Vourgère
2a2f706454
Show all table definition properties in gmdb2
...
I'm using show/hide for unavailable properties, like there is no input
mask for datetime. But this is not optimal since the sucture of the
window changes too much. We should have a fixed number of items in the
bottom properties table. TODO.
2012-07-08 15:19:08 +02:00
Nirgal Vourgère
f587d30995
Remaining gmdb2 info data from properties
...
New method mdb_get_catalogentry_by_name()
Bumped libmdb version from 2.0.1 to 2.1.0
2012-07-08 02:24:42 +02:00
Nirgal Vourgère
1ff5d62e30
Fixed double free SEGV in gmdb2 dissector
2012-07-08 00:26:51 +02:00
Nirgal Vourgère
ed2c282bdc
One more fix for Access 2007/2010 support
2012-07-07 23:42:23 +02:00
Nirgal Vourgère
d02eb47531
mdb-tables -T to show entry type
2012-07-07 23:42:14 +02:00
Nirgal Vourgère
a5573ab6d1
Fixed mdb-prop when there is no properties at all
...
This was printing "Unknown format"
2012-07-07 23:42:08 +02:00
Nirgal Vourgère
b0fb6a4167
Add basic support for Access 2010
...
Thanks Jakob Egger:
https://github.com/jakob/mdbtools/commit/a928a36804a29ae059e925a798307d899cdbf612
2012-07-07 21:08:25 +02:00
Nirgal Vourgère
45de22008f
Removed some unused stuff from gmdb2/sql.c
2012-07-07 19:27:54 +02:00
Jean-Michel Vourgère
58cf1baa66
Fixed not null information in gmdb
2012-07-05 01:08:47 +02:00
Jean-Michel Vourgère
d2281b2f35
Redesign of table definition window
...
New glade file
Migrated from GtkClist to GtkTreeView
Bottom window space for extra information, paving the way for more
properties display.
2012-07-05 00:00:31 +02:00
Jean-Michel Vourgère
07752f716a
Added encryption information in props dialog
2012-07-04 16:55:20 +02:00
Jean-Michel Vourgère
39019c8a6f
Clean up some unused stuff
2012-07-04 15:11:46 +02:00
Jean-Michel Vourgère
e6937ea306
Refreshed GtkAbout dialog
...
Added myself to author names
Added Access 2007 as a supported
Updated copyright date
Name property has been renamed to program-name since Gtk 2.12
2012-07-04 12:43:53 +02:00
Jean-Michel Vourgère
f4eb78ef38
Add support for JET5 in properties dialog
2012-07-04 12:41:46 +02:00
Jean-Michel Vourgère
e47923146b
Conversion of obsolete GtkCombo to GtkComboBox
2012-07-03 21:17:45 +02:00
Jean-Michel Vourgère
c566407eaf
Experimental support for JET5 .accdb files
...
Right now, they are handled like JET4 file.
2012-07-03 00:31:23 +02:00
Jean-Michel Vourgère
1db0a89ee2
Removed last compilation warnings, updated TODO
2012-07-02 23:29:05 +02:00
Jean-Michel Vourgère
ce022eb1c7
Add missing prototype: Fixes compiler warning
...
SQLGetPrivateProfileString was not defined before use.
2012-07-02 23:15:57 +02:00
Jean-Michel Vourgère
5e092ba331
Fixed odbc.c compiler warnings
...
Return SQL_ERROR when wanted column is lost
2012-07-02 23:02:35 +02:00
Jean-Michel Vourgère
212337cfaa
Renamed _mdb_put_int* into mdb_put_int*
...
These were the only symbols exported not starting with mdb_
Old names stay available as aliases
Bumped libmdb version to 2.0.1
Added these prototypes to mdbtools.h: Fixes compilation warning
Added mdb_insert_row prototype to mdbtools.h: Fixes compilation warning
2012-07-02 21:38:26 +02:00
Jean-Michel Vourgère
9c74aae165
Fixed some compiler warnings in prindex
...
Warn and continue if the field referenced by an index can't be found
Removed obsolete args from check_row
2012-07-02 14:48:34 +02:00
Jean-Michel Vourgère
8becb3fa6d
Don't try to update index if it is not found
...
This quiets compiler warning about possibly uninitialized var
2012-07-01 12:50:00 +02:00
Jean-Michel Vourgère
4c470a907d
Remove yacc output files in clean, not distclean
...
libsql yacc output files are generated by make, not configure.
So they should be removed by clean, not distclean.
2012-06-30 21:45:15 +02:00
Jean-Michel Vourgère
1cc4f659e4
Don't generate input & unput in lexer
...
This quiets the compiler warnings about defined but not used functions
2012-06-30 20:15:27 +02:00
Jean-Michel Vourgère
2ffd30a858
Fixed array overflow
2012-06-30 15:48:20 +02:00
Jean-Michel Vourgère
eb92c4b73a
Force -Wall compilation flag
2012-06-30 15:40:01 +02:00
Jean-Michel Vourgère
bc704e7575
Renamed configure.in to configure.ac
...
Recent versions of automake prefer configure.ac naming convention
2012-06-30 15:38:55 +02:00
Jean-Michel Vourgère
eaa9af89c3
About to release version 0.7
2012-06-28 23:51:22 +02:00
Nirgal Vourgère
0347ef0a16
Changed man synopsis: Can't use both -M and file
2012-06-22 15:11:33 +02:00
Nirgal Vourgère
dc1a95dab0
Typos fixes in INSTALL help file
2012-06-22 15:10:52 +02:00
Nirgal Vourgère
7634e329c7
Renamed namespace into dbnamespace: C++ keyword
2012-02-11 18:38:43 +01:00
Nirgal Vourgère
b7200c9b57
Added tests to quiet -Wall compilation
2012-02-02 20:22:30 +01:00
Nirgal Vourgère
9ee1335940
Removed <> from man synopsis
2012-02-02 09:46:11 +01:00
Nirgal Vourgère
ef08e815a1
Documentation: See also sections, mdb-header ret
2012-02-02 09:25:21 +01:00
Nirgal Vourgère
69366e198f
Warn about unsupported types in mdb-header
...
Print error message on stderr and returns 1 on failure.
2012-01-30 21:50:26 +01:00
Nirgal Vourgère
ad87174f10
Added -N documentation in man pages
2012-01-30 12:07:08 +01:00
Nirgal Vourgère
7e34078bcc
Fix namespace in mdb-export when using -I
...
Thanks George L. Emigh for the bug report.
2012-01-30 11:41:04 +01:00
Nirgal Vourgère
5269dbfd7a
Changed missing glib2 detection.
2012-01-20 00:43:02 +01:00
Nirgal Vourgère
bca37f0df9
Change source location from sf.net to github
2012-01-19 22:47:00 +01:00
Nirgal Vourgère
4d1ec96658
openjade failure detection. Cleaning.
...
- Fix the html/install removal for "make clean"
- Fix test of "userguide" when making links
- Make must fail when openjade fails. Testing doc/book1.htm is not
enough, for example when you have partial docbook installation.
2012-01-19 22:38:07 +01:00
Nirgal Vourgère
c37e82c356
Don't call exit() from libmdb.so
...
Libraries should return an error code, not kill the caller.
Thanks lintian.
2012-01-16 02:58:46 +01:00
Jean-Michel Vourgère
408793a7ea
Removed old & unused var container
2011-08-30 17:00:19 -04:00
Jean-Michel Vourgère
2b147fc1a6
Fix end of loop detection in gmdb_val_to_str
2011-08-30 16:13:15 -04:00
Jean-Michel Vourgère
0a76d5716f
Removes many compilation warnings.
2011-08-30 16:11:13 -04:00
Nirgal Vourgre
0af7d587ac
Removes almost duplicate prototype
2011-08-28 20:00:28 -04:00
Nirgal Vourgre
8c3b8d5cff
Patch gmdbtabledef.diff from Nirgal
2011-08-28 19:56:45 -04:00
Nirgal Vourgre
7656d25aaf
Patch odbclink.diff from Nirgal
2011-08-28 19:55:04 -04:00
Nirgal Vourgre
b38931b9d9
Patch asneeded.diff from Nirgal
2011-08-28 19:54:16 -04:00
Nirgal Vourgre
dd0f4c3819
Patch docs.diff from Nirgal
2011-08-28 19:53:29 -04:00
Nirgal Vourgre
07f915b3c7
Patch utfsql.diff from Nirgal
2011-08-28 19:49:54 -04:00
Nirgal Vourgre
aee657f603
Patch warnings.diff from Nirgal
2011-08-28 19:48:44 -04:00
Nirgal Vourgre
fba597765d
Patch wheredate.diff from Nirgal
2011-08-28 19:47:18 -04:00
Nirgal Vourgre
230dfc8b2b
Patch odbc.diff from Nirgal
2011-08-28 19:46:20 -04:00
Nirgal Vourgre
29dc97e3d6
Patch silentbuild.diff from Nirgal
2011-08-28 19:45:16 -04:00
Nirgal Vourgre
1f2749cdfc
Patch bufferdump.diff from Nirgal
2011-08-28 19:43:52 -04:00
Nirgal Vourgre
3e2407044d
Patch prop_abi.diff from Nirgal
2011-08-28 19:42:34 -04:00
Nirgal Vourgre
8ef50c444e
Patch nosanitize.diff form Nirgal
2011-08-28 18:56:03 -04:00
Nirgl Vourgère
3f26ec69cf
Stop exporting internal libmdbsql symbols
2011-08-10 18:02:51 -04:00
Nirgal
49a395b3c6
Stop segfaulting when export schema file name is not set.
2011-08-10 18:00:18 -04:00
Nirgal
529534dae5
Oracle numeric types
2011-08-10 18:00:18 -04:00
Nirgal
456f261cab
Bunch of fixes for compilation warnings, mostly unused vars.
2011-08-10 18:00:18 -04:00