417e7105d3
Import Sprout. This is to fix the build on clang.
...
Sprout is needed because pow, log2 and log10 are constexpr on gcc,
but that's nonstandard. Sprout provides the constexpr version of
those functions.
Also fix warnings. I still get plenty of warnings about some suggested
paretheses, but it seems to be a bug from clang. See
https://llvm.org/bugs/show_bug.cgi?id=21629 for the bug report.
2016-07-11 19:30:21 +01:00
5f5b2b5770
New core library.
2016-07-08 14:49:40 +01:00
2d2c7d0b9e
Merge remote-tracking branch 'origin/dev' into dev
2016-06-07 22:46:09 +01:00
0ab66fa1f1
Stub implementation of a Redis backend.
2016-06-07 22:45:30 +01:00
624bba121f
Remove hardcoded path to postgresql backend and make the search dynamic
2016-06-06 19:54:20 +02:00
742d024bfb
Implement label and uuid retrieval for the disk being scanned.
2016-06-03 20:26:54 +02:00
dfe3655296
Re-enable navigate in the postgre plugin.
2016-06-02 09:35:33 +02:00
780cd9b0ca
Re-enable locate in the postgre plugin.
2016-06-01 10:29:23 +02:00
3608d7b76c
Re-enable scan in the postgre plugin.
...
This also adds a public dependency to machinery in the header-only
backend project. This is because the backend does need functionality
from machinery, such as FileRecordData and TigerHash.
2016-05-31 20:03:31 +02:00
8f51f82abc
Re-enable delete subcommand
2016-05-31 10:30:16 +02:00
c009c07c9d
Temporarily disable broken stuff
2016-05-27 21:50:09 +02:00
c97a08860f
Get rid of the DB_BACKEND build setting.
2016-05-27 20:29:32 +02:00
064fc0cf1a
Create intermediate backend lib to help loading backend plugins.
2016-05-27 20:28:26 +02:00
8f98495049
Make dindexer-common depend on postgre backend and fix build
2016-05-24 09:57:03 +02:00
5203fbece2
Move db tagging functions to a new postgresql backend lib.
2016-05-22 02:54:49 +01:00
70ec3e10d9
Update build switches.
2016-05-14 16:10:47 +02:00
94ebfbdfcb
Move git hash into a dedicated .h so less compiling happens after a commit
2016-05-13 10:21:45 +02:00
05aaaebe0d
Import glob2regex
...
It's still missing ast optimization and some code cleanup is also
needed, but it should be working in the general case.
Also write a small unit test for it.
2016-05-11 20:36:23 +02:00
cfcbcce9e9
Wrong statement in cmake file
2016-05-11 20:13:59 +02:00
da222940ca
Update copyright year in -h message
...
Also make it nicer/easier (hopefully) to remember and to update it next
time.
2016-05-04 19:39:46 +02:00
a508a22af8
New empty action "tag"
2016-05-04 09:43:54 +02:00
e636c1dc13
Version bump 0.1.5b
2016-04-30 19:43:28 +02:00
c21779adde
Tell needed compiler features to cmake instead of -std=c++11 flag
2016-04-26 20:47:29 +02:00
a9bb28d0a8
Include CTest instead of calling enable_testing() manually
2016-04-26 20:45:49 +02:00
343c44add5
Add an option to compile the build date into dindexer's binary
2016-04-22 01:35:57 +02:00
12d39b203e
Add unit tests to cmake
2016-04-21 00:25:52 +02:00
abde34e240
Add unit test for cli programs
2016-04-21 00:22:00 +02:00
50e3f6f0ed
Don't build tests from lib pbl
2016-04-19 00:34:02 +02:00
3e130cd346
Import pbl c library
2016-04-18 22:52:35 +02:00
aee6c35ede
Gather more build env info and show them when doing -b
2016-03-17 09:50:52 +01:00
a75eee1325
Add DINDEXER_NATIVE_RELEASE cmake option.
...
Allows to pass -march=native to dindxer projects and to libpqtypes.
CMake min version raised to 3.3 since externalproject_add didn't
support generator expressions prior to that version.
2016-03-17 09:11:13 +01:00
6991fee7f7
Add support for bash autocomplete in main dindexer
...
I'm not sure this is something that should be in the code, since
compgen -W "delete locate navigate query scan" loc
would do just the same as
dindexer --printactions=loc
so this is a duplicated functionality. However this commit is
self-contained, so it should be easy to revert it, if needed.
2016-03-16 00:01:29 +01:00
566951a638
Enable creation of deb, rpm and tgz
2016-02-12 21:10:40 +01:00
c89d4b69d5
Add install target.
2016-02-11 09:07:36 +01:00
f094f31477
Allow user to set c++11 abi if using gcc 5
2016-02-10 20:55:52 +01:00
4cbc1c0df6
Fix build on gcc 5+
2016-02-10 20:14:46 +01:00
346946340d
First implementation of set_listing.
...
Trying to move the depth-first iteration logic into
an iterator-like interface. Work in progress WiP
2016-02-09 21:35:13 +01:00
58c7e917c5
Buildfix on ARM raspberry pi
2016-02-02 20:56:27 +01:00
99732f6dd8
Add stub for new navigate command.
2016-01-22 15:55:19 +00:00
9de4827983
Version bump 0.1.4b
2016-01-11 14:20:06 +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
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
ff926d85a4
Define BOOST_SPIRIT_USE_PHOENIX_V3=1
2015-12-29 19:12:15 +00:00
d2b18cd157
Remove some warnings happening on gcc 4.9.
2015-12-29 17:32:48 +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
45e5b7bc8d
Implement "locate" action.
2015-12-14 13:00:10 +00:00
57d925034d
Begin working on the "query" action.
2015-12-13 16:46:42 +00:00
986f0c8db3
Buildfix and minor changes
2015-12-13 16:14:05 +00:00