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
bef901c56c
Print git revision in --version.
2015-12-12 20:27:31 +00:00
6e7176be10
Move DBSettings to common lib.
2015-12-12 17:23:50 +00:00
8a4afa241e
Begin work on the new delete action.
2015-12-12 16:53:09 +00:00
6c30621400
Put some common stuff into a separate library.
2015-12-10 15:33:38 +00:00
c5a798e95f
Version bump 0.1.3b
2015-12-08 16:16:13 +00:00
2cdf0cb3b9
Allow disabling media autodetection at build time.
...
Use DINDEXER_WITH_MEDIA_AUTODETECT.
2015-12-08 16:07:21 +00:00
c82b41207e
Enable more warnings (and fix some).
2015-12-08 13:57:12 +00:00
fe2ea40c4f
Implement autodetect set type.
...
Only supports HardDisk, Directory, CdRom, DVD, BluRay for now.
2015-12-08 13:56:46 +00:00
87bc031e65
Rename update action to scan.
2015-12-04 19:40:02 +00:00
8708ef9503
Add dispatcher program.
...
Invoke like dindexer <action> a b c and it will exec
ACTIONS_PATH/dindexer-<action> a b c
or
ACTIONS_PATH/<action>/dindexer-<action> a b c
2015-12-04 16:32:32 +00:00
fca9b94afd
Make one more empty target that only carries include paths.
2015-12-04 16:30:41 +00:00
d8be48d2e8
Reorganize source code in directories.
2015-12-04 12:58:13 +00:00
3a67f0ec29
Version bump 0.1.2
2015-12-04 12:31:53 +00:00
56735c9d86
Get the config file path from cmake.
2015-11-13 19:25:32 +00:00
8d4e8b86b1
Version bump.
2015-11-12 14:07:57 +00:00
f7441292bc
Add optional verbose mode that shows the number of hashed files.
2015-11-12 14:07:26 +00:00