Commit Graph

100 Commits

Author SHA1 Message Date
Nirgal Vourgère
2a70e16a8b Allow CFLGAS="-std=c99 -D_POSIX_C_SOURCE=2"
Use glib function:
strcasecmp -> g_ascii_strcasecmp
bzero -> memset
strdup -> g_strdump

Don't use arithmetic void*+int
2014-12-28 12:36:55 +01:00
Nirgal Vourgère
b5fb8243a1 Moved gmdb help arch from rarian to gnome-doc
And fixed gmdb.xml: <listitem> cannot contains <guiitem> dirrectly. Added a <para> wrapper.
2013-10-24 21:48:51 +02:00
Nirgal Vourgère
d9d58d3cae Added bash-completion snipets 2013-10-22 11:01:15 +02:00
Nirgal Vourgère
b449ed159d Added .desktop file for gmdb 2013-10-22 11:01:07 +02:00
Nirgal Vourgère
a7a39a34ee Refresh help makefiles from gnome-doc-utils 2013-08-11 14:02:02 +02:00
Nirgal Vourgère
7841d30d43 Revert use of config.h
Revert
7162e8db74
088493d499

And drop AC_CONFIG_HEADERS so that config goes though the command line.
No longer generating config.h, update .gitignore
2013-07-15 02:42:12 +02:00
Nirgal Vourgère
5312060544 Changed gmdb2 output filenames to textentries
GtkFileChooserButton was cripled by gtk developers so that it now only support
selecting an existing file for overwrite.
https://bugzilla.gnome.org/show_bug.cgi?id=157384

TextEntries is really not user friendly, but it's better than forced overwrite.
2013-07-14 19:06:59 +02:00
Nirgal Vourgère
088493d499 Update autoconf/automake standards
Generated files config.guess config.sub depcomp install-sh ltmain.sh missing
and ylwrap have been moved to build-aux/

Ran autoupdate

Replaced AC_TRY_LINK/AC_TRY_COMPILE by AC_LINK_IFELSE/AC_COMPILE_IFELSE

Droped -I$(top_srcdir)/include from CFLAGS since AC_CONFIG_HEADERS already
adds the -I

Fixed bison detection

Added AM_PROG_AR as required by autoreconf -i -Wall

Updated NEWS and .gitignore
2013-07-09 18:39:03 +02:00
Nirgal Vourgère
603bfa365a Fix warning if large file support is enabled 2013-07-04 11:19:11 +02:00
Nirgal Vourgère
7162e8db74 Include config.h in all .c files
Need to be the first file since it may define large files support
and other options.
2013-07-04 10:53:13 +02:00
Nirgal Vourgère
6938e3c128 Changed the gmdb warning when SQL is disabled
--enable-sql option is no more.
2013-06-28 20:15:39 +02:00
Nirgal Vourgère
7a1637982c Fix build if yacc is missing 2013-06-28 20:07:44 +02: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
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
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
Hans de Goede
c83cdc1b9b Gray close items until file is open
This fixes a double close SEGV
2012-07-28 00:03:30 +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
8949bde68f Fixed 2 widget names in tabledef.glade 2012-07-20 12:50:24 +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
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
b0fb6a4167 Add basic support for Access 2010
Thanks Jakob Egger:
a928a36804
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
2ffd30a858 Fixed array overflow 2012-06-30 15:48:20 +02: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
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
dd0f4c3819 Patch docs.diff from Nirgal 2011-08-28 19:53:29 -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
Bernhard Reiter
457b5a77ec Migrate from Gtk1 File Selector to Gtk2 File Chooser 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
Brian Bruns
5e4e31d1c9 format security patch from Nirgal Vourgère 2011-03-20 15:26:52 -04:00
Brian Bruns
d794c6e2a1 patch default_values from Nirgal Vourgère 2011-02-16 18:59:25 -05:00
Brian Bruns
39277312d4 patch 'schema2' from Nirgal Vourgère 2011-02-16 18:58:22 -05:00
Brian Bruns
0eea4c148f patch schema-indexes from Nirgal Vourgère 2011-02-16 18:57:05 -05:00
Brian Bruns
037b9bc8fc remove cvsignore and add gitignore per Jeff Smith 2010-11-01 09:30:24 -04:00