Commit Graph

588 Commits

Author SHA1 Message Date
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:
a928a36804
2012-07-07 21:08:25 +02:00
jakob
88ff1c023e Basic support for Complex Columns (Access 2007+)
The major new feature in Access 2007 where so called complex columns.
These can be multivalued fields, attachments, or MEMO fields with
version history. All of them are implemented using hidden helper tables,
and the column itself has type MDB_COMPLEX (0x12) which is basically a
long int used as a key.

This commit adds basic support for this complex type to libmdb.
2012-07-07 20:23:20 +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
nirgal
1c26aa14f8 Merge pull request #9 from cielavenir/odbcw
Although I used a workaround, it works with unicode, at least.
2012-06-30 05:22:51 -07:00
Will Daniels
04b6cf5232 Export REPID as string & use char(38) in mysql 2012-06-29 02:28:51 +02:00
branche
433dfd028c Although I used a workaround, it works with unicode, at least. 2012-03-03 12:06:16 +09: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
Filip Van Raemdonck
21a4229e40 Reduce function scopes
This patch removes a few function declarations from the catch-all gmdb.h as
they are defined and used only in a single file, and turns them in to static
(file local) functions instead.
2012-02-02 19:42:39 +01:00
Filip Van Raemdonck
e88c8d2043 Aestetic type changes
In gmdb2/sql.c there are some incorrect uses of treeviews and models.
Attached patch fixes or improves variable type definitions and adds
and removes some typecasts as needed.
2012-02-02 19:41:13 +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
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
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
nirgal
4c7e9c2bd3 Fix typo in FSF address header.
Licence is LGPL as stated above.
2012-01-06 13:18:50 +01:00
nirgal
5a3fc74d5a Fix FSF address
Obsolete files src/gmdb/gtkhlist.* were containing the old one.
2012-01-02 01:27:32 +01:00
Jean-Michel Vourgère
4cc277cbcc Version 0.7~rc1 2011-09-04 17:18:56 -04:00
Jean-Michel Vourgère
c46fdfa782 Fixed 64 compilation & odbc unittest 2011-09-04 17:17:35 -04:00
Jean-Michel Vourgère
a4a1685b1f 4c847948fc + short dates 2011-09-04 17:16:47 -04:00
Jean-Michel Vourgère
2b72bcdc6f SQLDescribeCol: fill pcbColName even when szColName is null. 2011-09-04 17:15:52 -04:00
Jean-Michel Vourgère
0919ca2a89 More simple map file without revisions. Add ODBCINST*. 2011-09-04 17:15:00 -04:00
Jean-Michel Vourgère
cc7f9d8fa1 put back container initialisation from previous warning patch 2011-09-04 17:13:53 -04: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
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
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