|
7e737f56a2
|
Tell libpqtypes to not make copies of strings it receives.
The wrapper now copies boost::string_ref into std::string so
it's always safe to pass a string ref, even when it's not
null-terminated.
|
2016-01-11 12:53:37 +00:00 |
|
|
fa12bb2d74
|
Bugfix - don't store absolute paths to files in the DB.
This was introduced in a previous commit.
|
2016-01-11 12:53:37 +00:00 |
|
|
3f48d00ad9
|
Add new str_path_size() method.
Refactor code to allow an easier implementation.
|
2016-01-11 12:53:37 +00:00 |
|
|
acc74bae8b
|
Buildfix on clang and gcc Release.
|
2016-01-07 15:32:47 +00:00 |
|
|
5c0a8e0725
|
Warning fix in Release.
|
2016-01-07 15:13:03 +00:00 |
|
|
742801f332
|
Add note about PostgreSQL versions.
|
2016-01-07 15:13:03 +00:00 |
|
|
1077661e50
|
Implement searching for sets by name.
Searching for sets also prints the total count of files and
directories in that set.
|
2016-01-07 15:13:03 +00:00 |
|
|
2593d46ed7
|
Now there is a cpp for pq_type_helpers.hpp so move code there.
|
2016-01-07 14:52:32 +00:00 |
|
|
2655ea5f5c
|
Add support for std::vectors as arrays.
Nested vectors are not supported.
|
2016-01-07 12:57:06 +00:00 |
|
|
f82659e370
|
Add move semantics.
|
2016-01-06 13:12:00 +00:00 |
|
|
6edfb08383
|
Store mime type and charset in the db.
|
2016-01-06 02:18:42 +00:00 |
|
|
839b9dd49a
|
Generate a table scheme with some valid username.
Have main prog print the new build time constant.
|
2016-01-05 14:12:36 +00:00 |
|
|
c7b44f6368
|
Use parametric queries.
|
2016-01-05 13:30:17 +00:00 |
|
|
9beedf7210
|
Add "Program overview".
|
2016-01-05 13:24:12 +00:00 |
|
|
f5356e0c29
|
Change namespace in machinery to mchlib.
|
2016-01-05 12:49:27 +00:00 |
|
|
4e29200b47
|
Move scan's core code into new machinery lib.
|
2016-01-05 12:35:46 +00:00 |
|
|
487b8efe61
|
Refactor Indexer so that writing to the db is done outside.
|
2016-01-05 11:24:23 +00:00 |
|
|
8b566c9fdb
|
Make the string for pqtypes at build-time.
|
2016-01-04 18:03:49 +00:00 |
|
|
c4a2433a04
|
Move libpqtypes template helpers out to a new header.
|
2015-12-31 01:20:56 +00:00 |
|
|
ed0fbac5e1
|
connection.hpp is a public header.
|
2015-12-31 01:13:26 +00:00 |
|
|
1532d3c083
|
Fix reading values from ResultSet/Row.
Send correct group_id to the db in a safer way.
|
2015-12-31 00:38:44 +00:00 |
|
|
9bb5689d48
|
Remove query_void() methods. query() is just fine.
|
2015-12-30 10:20:52 +00:00 |
|
|
43bec4711e
|
Clarify PGresult ownership and lifetime.
|
2015-12-30 10:15:36 +00:00 |
|
|
ff926d85a4
|
Define BOOST_SPIRIT_USE_PHOENIX_V3=1
|
2015-12-29 19:12:15 +00:00 |
|
|
c6f034d98e
|
Replace spirit phoenix with standalone phoenix includes.
|
2015-12-29 19:02:56 +00:00 |
|
|
a3f44bce8d
|
Use new parametric query_void() instead of manual insert into sets.
|
2015-12-29 18:11:15 +00:00 |
|
|
d2b18cd157
|
Remove some warnings happening on gcc 4.9.
|
2015-12-29 17:32:48 +00:00 |
|
|
390b69e150
|
Use parametric sql functions to insert new files.
Refactoring so that there are no extra copies of data being inserted.
|
2015-12-29 17:32:22 +00:00 |
|
|
a91e75829f
|
Fix libpqtypes as external project.
Note: due to a bug in cmake/ninja, this change introduces
problems when building with ninja. See:
https://cmake.org/Bug/view.php?id=15256
|
2015-12-27 03:09:08 +00:00 |
|
|
d8f3578497
|
Add libpqtypes from http://libpqtypes.esilo.com/
|
2015-12-26 22:16:51 +00:00 |
|
|
c409a3e0a2
|
Make main dindexer show options used to build.
|
2015-12-26 14:51:49 +00:00 |
|
|
05979e24a2
|
Add split_mime() function.
|
2015-12-26 14:50:40 +00:00 |
|
|
148b60ee97
|
Add retrieving the mime type.
This is not being stored to the db yet.
|
2015-12-15 11:26:04 +00:00 |
|
|
2b7d8a6783
|
Don't scatter the casted type throughout the code.
|
2015-12-14 13:05:13 +00:00 |
|
|
45e5b7bc8d
|
Implement "locate" action.
|
2015-12-14 13:00:10 +00:00 |
|
|
cc5bb9bc34
|
Sort commands printed in help output.
Also fix const-correctness. Hopefully.
|
2015-12-14 11:55:22 +00:00 |
|
|
ebdd24a8f5
|
Improve dindexer explanation in readme.
|
2015-12-13 17:31:21 +00:00 |
|
|
57d925034d
|
Begin working on the "query" action.
|
2015-12-13 16:46:42 +00:00 |
|
|
93a5130cc5
|
Move ValidationError to commonlib.
|
2015-12-13 16:33:58 +00:00 |
|
|
986f0c8db3
|
Buildfix and minor changes
|
2015-12-13 16:14:05 +00:00 |
|
|
bef901c56c
|
Print git revision in --version.
|
2015-12-12 20:27:31 +00:00 |
|
|
861ea2c809
|
Implement deleting sets from the db.
|
2015-12-12 20:20:57 +00:00 |
|
|
4a0ddb4beb
|
Hide expand() implementation into settings.cpp.
|
2015-12-12 20:02:42 +00:00 |
|
|
74afa9f502
|
Rename settings stuff as it got moved to commonlib.
|
2015-12-12 17:41:34 +00:00 |
|
|
6e7176be10
|
Move DBSettings to common lib.
|
2015-12-12 17:23:50 +00:00 |
|
|
0373743b61
|
Hack to retrieve the wrong value from boost's exception.
|
2015-12-12 16:53:16 +00:00 |
|
|
8a4afa241e
|
Begin work on the new delete action.
|
2015-12-12 16:53:09 +00:00 |
|
|
e6680b0bf1
|
Add example code to create a new action.
|
2015-12-10 22:13:06 +00:00 |
|
|
10b9be1f85
|
Print human-readable autodetected media type.
|
2015-12-10 16:31:11 +00:00 |
|
|
6c30621400
|
Put some common stuff into a separate library.
|
2015-12-10 15:33:38 +00:00 |
|