9d24a108d8
Hide the cmake warning from gtest.
...
Really gtest, sort it out already!
2016-08-10 01:48:27 +02:00
f28ff13492
travis is not getting the -fPIC right for pq it seems.
...
Also make top-level cmake file default to Release if
no build type is given.
2016-07-15 20:02:42 +01:00
53540e40d8
Fix incredis.hpp not found error.
2016-07-15 18:47:57 +01:00
b84c31fb15
Buildfix on travis.
...
Don't include incredis when not needed, or cmake will look for hiredis.
Install hiredis and enable redis backend explicitly.
2016-07-15 17:12:40 +01:00
29c71c9222
Merge
2016-07-15 15:51:42 +01:00
2f6c4f3dab
Remove incredis and import it as a submodule.
2016-07-14 17:30:45 +01:00
7a3438def6
Fix namespaces.
...
Build works, except for incredis which I'm going to move out anyways.
2016-07-14 16:02:15 +01:00
a5477c99cf
Import duckhandy as a submodule and fix includes.
2016-07-14 15:52:03 +01:00
3edb83dce3
Add new shared_git_project module for cmake.
2016-07-14 14:05:19 +01:00
4e41ea1864
Move hiredis wrapper into a separate .so
...
...but the new cmake file has some ugly hacks. Trying to work on
the problems...
2016-07-13 15:13:59 +01:00
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
fabca35b0a
Prefix cmake option DB_OWNER_NAME with DINDEXER_
2016-06-17 09:30:26 +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