1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-25 00:53:43 +00:00
Commit graph

226 commits

Author SHA1 Message Date
29d605a579 ...fix build on x86_64
Hopefully this doesn't break the build on ARM 32 again -_-
2016-02-05 21:06:21 +01:00
f20d73bdab Update year on copyright notice. 2016-02-05 21:02:40 +01:00
58c7e917c5 Buildfix on ARM raspberry pi 2016-02-02 20:56:27 +01:00
c5824c36bd List directories first in the output of ls. 2016-01-29 23:30:59 +00:00
b422d5efbd Forgot to commit the new db schema 2016-01-29 20:20:31 +01:00
f40600d6e2 Implement ls into subdirectories 2016-01-29 20:15:16 +01:00
362a5d3128 Modernize AutomemBase and add some assertions 2016-01-28 19:02:15 +01:00
394ae7672a Optimization - replace inner vector with static mem container in dbsource. 2016-01-28 18:13:13 +01:00
8cbd9560ec Implement listing sets from the db (ls) 2016-01-27 19:18:10 +01:00
9071b25dec Rename DirManager to GenericPath. 2016-01-26 23:06:36 +01:00
138f112254 Implement cd and pwd commands 2016-01-26 22:53:30 +01:00
eccf86f59e gitignore 2016-01-26 22:52:53 +01:00
c455582a4e Provide some wrappers so adding commands is more convenient. 2016-01-22 19:54:32 +00:00
99732f6dd8 Add stub for new navigate command. 2016-01-22 15:55:19 +00:00
588d735593 Add missing $3 for the new app_name parameter.
Fixes crash after scanning a disk.
2016-01-22 15:54:39 +00:00
eb618f0842 Remove stray cout. 2016-01-22 09:52:34 +00:00
9ee89b815a Fix mimetype retrieval and make code a bit more readable. 2016-01-22 09:45:20 +00:00
913cdbd59d Add app_name column to sets. 2016-01-21 20:30:38 +00:00
9f3b27f0b5 Fix scan hanging after listing directories. 2016-01-21 16:56:54 +00:00
fd333a1c00 Update copyright year. 2016-01-13 10:46:16 +00:00
9de4827983 Version bump 0.1.4b 2016-01-11 14:20:06 +00:00
e2438f77fd Fix inserting new files into db. 2016-01-11 14:20:05 +00:00
4c97105d97 Buildfix - pthread is needed when building in Release. 2016-01-11 12:53:37 +00:00
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