nirgal
74b85d782a
Merge pull request #73 from rutsky/patch-3
...
fix typo: "popluated"
2015-03-05 14:57:17 +01:00
Vladimir Rutsky
772b5675dd
fix typo: "popluated"
2015-03-05 16:20:12 +03:00
nirgal
ea44a36f50
Merge pull request #72 from rutsky/patch-2
...
fix typo: "over-ride"
2015-03-04 14:29:19 +01:00
Vladimir Rutsky
2f996874af
fix typo: "over-ridden"
2015-03-04 14:11:07 +03:00
Vladimir Rutsky
270e0ae8cb
fix typo: "over-ride"
2015-03-04 14:08:52 +03:00
nirgal
6e6a410f68
Merge pull request #71 from rutsky/patch-1
...
fix typo: "enought"
2015-03-04 11:57:26 +01:00
Vladimir Rutsky
9fb36c0f07
fix typo: "enought"
2015-03-04 13:23:23 +03:00
Dmitrij D. Czarkoff
f32e2d975e
State that glib is required
...
Currently build system requires Glib, so it should be listed as hard dependency
2015-02-21 06:51:47 +01:00
Vladimir Rutsky
9f6e630246
ignore mdb-exportjson compiled binary
2015-02-20 20:23:17 +03:00
Vladimir Rutsky
3216c8de03
output all non-binary fields as unicode strings and binary fields as MongoDB extended JSON binary field
...
Now mdb-exportjson output can be successfully imported into MongoDB with
mongoimport even if:
* columns have unicode names
* there are fields of binary types (e.g. OLE)
2015-02-19 21:05:49 +03:00
Vladimir Rutsky
f894cc708f
add base64 encoding implementation from Wikibooks
...
Source <https://en.wikibooks.org/wiki/Algorithm_Implementation/Miscellaneous/Base64 >.
Licensed probably under CC-BY-SA. Compatibility with mdb-tools GPL
license should be checked.
2015-02-19 21:05:49 +03:00
Vladimir Rutsky
bc1483429d
use JSON unicode escape \uUUUU instead \xXX for [0, 0x20) characters
...
JSON specification doesn't allow `\xXX` escape sequences
2015-02-19 21:05:49 +03:00
Vladimir Rutsky
47c0698609
treat only characters with codes in [0, 0x20) range as non-ascii
2015-02-19 21:05:49 +03:00
Vladimir Rutsky
d8cba08493
fix delimiter outputting when some fields values are missing
2015-02-19 20:51:57 +03:00
Vladimir Rutsky
b842480cd5
don't drop non-ascii characters by default
...
This corresponds to `-A` option description.
2015-02-19 20:48:44 +03:00
Vladimir Rutsky
1758d99d4d
Merge PR #52 - mdb-exportjson added
2015-02-19 20:46:33 +03:00
nirgal
c314913b25
Merge pull request #67 from rutsky/patch-1
...
add missing comma
2015-02-16 15:15:26 +01:00
Vladimir Rutsky
776416ebfc
add missing comma
2015-02-16 15:11:12 +03:00
nirgal
603601982e
Merge pull request #65 from greenskeleton/master
...
Fix configure for CentOS 6
2015-01-20 19:20:07 +00:00
Sam Stuck
3a62b29a75
Fix configure for CentOS 6
2015-01-20 12:42:42 -05:00
Nirgal Vourgère
13e339c1a4
Clarify usage of --no-comments in mdb-schema
2015-01-12 18:17:50 +01:00
Jimmytaker
a5e1ab8a2e
Fix not being able to handle blobs > 16 MB. Limit now at 256 MB
2014-12-29 14:54:25 +01:00
Nirgal Vourgère
9b4d5e624b
Avoid dynamic array allocation on stack.
...
This might help some non C99 compliant compilers, while being a trivial change.
2014-12-29 13:14:45 +01:00
Nirgal Vourgère
072f7c6518
Decrease POSIX required level to 1
...
One can now compile with CFLAGS="-std=c99 -D_POSIX_C_SOURCE=1 -pedantic"
Trade getopt.h function for glib equivalents:
This mean all utilities now have long option names.
Adjust manuals and bash_completion accordingly.
Added missing manual and bash_completion for mdb-import.
2014-12-29 13:12:23 +01:00
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
Jimmytaker
850d9e169d
Fix not being able to handle blobs > 16 MB. Limit now at 256 MB
2014-12-22 20:14:40 +01:00
Jimmytaker
49bc1e3c40
New useful function (generate_table_schemas) for Windows but not only
2014-12-22 20:13:31 +01:00
Jimmytaker
cb65d4f3dd
Compiles with VC++ as a .dll. Set up to use static glib, libiconv, libintl for ease of use.
2014-12-22 20:09:43 +01:00
Jimmytaker
aab7a561f1
VS2012 Build project and gitignore update
2014-12-22 19:55:11 +01:00
Nirgal Vourgère
4b52d6bfd9
Revert previous commit
...
Files where already there
2014-10-20 11:29:54 +02:00
Mihai Draghicioiu
a2587a6830
Add database comments in mysql exports
2014-10-18 11:46:01 +02:00
Nirgal Vourgère
6df6152769
Added bash-completion and desktop files in dist/
2014-10-18 07:19:10 +02:00
Shane Mc Cormack
a3ab6c7969
Fix for dates in mdb-props
2014-10-18 06:25:54 +02:00
Maurus Cuelenaere
e2c46bad8b
Add MySQL support to mdb_print_indexes()
2014-10-17 22:18:34 +02:00
Maurus Cuelenaere
97ddfcf8b2
Introduce MDB_BACKEND_* enum
2014-10-17 22:16:49 +02:00
Nirgal Vourgère
157f4f4761
fix ENABLE_SK undefined, autoconf summary
2014-10-17 17:15:46 +02:00
Nirgal Vourgère
6f79a63c23
Normalise configure.ac help messages
2014-10-17 14:55:58 +02:00
Nirgal Vourgère
70ee236de9
Using iodbc-config --cflags --libs to get config
2014-10-17 12:49:49 +02:00
Nirgal Vourgère
4b08559d66
autoconf graciously fail on missing pkg-config
2014-10-17 11:10:22 +02:00
nirgal
85f8efc85f
Merge pull request #59 from paulfitz/prune-headers
...
remove unneeded headers
2014-10-17 04:09:38 +00:00
Paul Fitzpatrick
3f52803c19
remove unneeded headers
2014-10-16 18:40:13 -04:00
tyzhaoqi
9ab40e83e6
Fix binary outout
...
Closes issue #44
2014-07-24 08:10:49 +02:00
David Hicks
f2890dc1d0
Add hexadecimal binary output conversion option
...
This commit adds another binary output conversion option to convert
binary blobs into hexadecimal notation, similar to the output of the
following command:
xxd -p binaryfile.bin | tr -d '\n'
(In other words, a single line string of hexadecimal characters
representing a binary blob)
When exporting SQL INSERT statements for SQLite and PostgreSQL and when
the hexadecimal notation is specified with 'mdb-export -b hex ...',
special consideration is given to ensure that binary blobs are safely
written to the SQLite or PostgreSQL database.
Signed-off-by: David Hicks <david@hicks.id.au >
2014-06-29 04:12:06 +10:00
Ugo Di Girolamo
5057419da9
Add new binary util - mdb-exportjson
...
A new binary util for exporting mdb rows as json lines.
This is very useful for importing mdb data to mongo in combination with mongoimport.
The code is vastly similar to the mdb-export but there are enough dissimilarities and disagreement
about flag values that I thought a separate util is warranted.
2014-05-21 22:35:06 -04:00
lovelytwo
a89baeacf5
Segfault fix on memo zero length multiple page
...
While converting memo field to string, stop processing on zero length multiple
page.
2014-05-02 15:12:16 +02:00
Nirgal Vourgère
95cf90d8ea
README update: mdb-dump is in extra
...
Thanks scottfurry
Closes github issue #50
2014-05-02 14:52:27 +02:00
Maurus Cuelenaere
65b573637e
Add MySQL support to mdb_print_indexes()
2014-03-17 13:30:40 +01:00
Maurus Cuelenaere
cce6cfead2
Introduce MDB_BACKEND_* enum
2014-03-17 13:30:28 +01:00
Nirgal Vourgère
dfd752ec02
Spelling fix
...
Suppress has 2 p in English, thanks lintian.
2014-01-04 15:16:46 +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