|
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 |
|
|
8a4afa241e
|
Begin work on the new delete action.
|
2015-12-12 16:53:09 +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 |
|
|
a0b87e6a2d
|
Manage read errors.
If instructed to continue on errors, store info correctly in the db.
|
2015-12-10 12:13:16 +00:00 |
|
|
ed3dea8f2c
|
More assertions and more explicit code.
|
2015-12-09 18:36:46 +00:00 |
|
|
3a4c11ad4c
|
Buildfix when blkid.h is not available.
|
2015-12-08 16:13:36 +00:00 |
|
|
2cdf0cb3b9
|
Allow disabling media autodetection at build time.
Use DINDEXER_WITH_MEDIA_AUTODETECT.
|
2015-12-08 16:07:21 +00:00 |
|
|
97de157724
|
Refactor the new media type autodetection code.
|
2015-12-08 16:03:30 +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 |
|
|
20ebc10b0c
|
Dynamically build the type list for the help message.
|
2015-12-04 19:32:57 +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 |
|
|
3899680544
|
Pull lengthof definition into a different header.
|
2015-12-04 13:48:20 +00:00 |
|
|
d8be48d2e8
|
Reorganize source code in directories.
|
2015-12-04 12:58:13 +00:00 |
|
|
3c1b7108f3
|
Allow type "C" (for CD-Rom)
|
2015-12-04 12:30:48 +00:00 |
|
|
5f8756ef1b
|
Store access time and modify time in the db.
|
2015-12-01 16:35:46 +00:00 |
|
|
f1c3deea63
|
Group parameters in a struct when calling filesearcher's callback.
|
2015-12-01 16:34:22 +00:00 |
|
|
8b9241757d
|
Don't save to DB if the disk has been added already.
|
2015-11-27 20:41:36 +00:00 |
|
|
e957fde12c
|
Enable uppercase hash-to-string conversion.
|
2015-11-27 20:34:42 +00:00 |
|
|
51d0bfdf7a
|
Avoid messages clashing on stdout in debug.
This quickfix completely disables progress output in debug.
|
2015-11-27 19:54:03 +00:00 |
|
|
f6c638e6e4
|
Fix wrong assertion.
|
2015-11-27 19:49:29 +00:00 |
|
|
56735c9d86
|
Get the config file path from cmake.
|
2015-11-13 19:25:32 +00:00 |
|
|
f48626960d
|
Improve progress output.
|
2015-11-13 15:45:28 +00:00 |
|
|
f7441292bc
|
Add optional verbose mode that shows the number of hashed files.
|
2015-11-12 14:07:26 +00:00 |
|
|
a82ab4a4ed
|
Bugfix in Release.
|
2015-11-11 20:13:03 +00:00 |
|
|
49a9702115
|
Make a macro for verbosity.
|
2015-11-11 20:12:55 +00:00 |
|
|
911da3bb00
|
Add column 'type' to sets and take its value on command line.
|
2015-11-11 20:06:14 +00:00 |
|
|
585c7f45b7
|
Allow passing set name and search path as command line parameters.
|
2015-11-11 19:24:10 +00:00 |
|
|
9a25846880
|
Fix release build.
|
2015-11-11 17:14:51 +00:00 |
|
|
292e32b38f
|
Read db connection parameters from a yml file.
|
2015-11-11 17:08:17 +00:00 |
|
|
413bf0444b
|
Update DB tables and insert set along with new files.
|
2015-11-11 13:30:41 +00:00 |
|
|
444d2a2fa3
|
Limit insertion to 100 records per query, but this is still suboptimal.
|
2015-11-11 12:35:52 +00:00 |
|
|
4236b2ece8
|
Fix hashing and db insertion.
|
2015-11-11 12:28:04 +00:00 |
|
|
bd9ce0ef54
|
Send data to the database.
|
2015-11-11 02:01:37 +00:00 |
|
|
a00d30b0ee
|
Calculate hash for all entries.
|
2015-11-10 17:48:22 +00:00 |
|
|
1dee8e0f83
|
Implement SSE2 Tiger hashing.
|
2015-11-09 16:50:56 +00:00 |
|
|
d07dc9a7da
|
New Indexer class.
|
2015-11-06 19:48:38 +00:00 |
|
|
4fcc2cf25c
|
New make_relative_path() function.
|
2015-11-06 19:48:18 +00:00 |
|
|
3f8cda06aa
|
Improve interface and add some getters.
|
2015-11-06 19:48:02 +00:00 |
|
|
485796db48
|
Keep paths in a string pool.
|
2015-11-06 17:57:07 +00:00 |
|
|
109ce9b82a
|
Use string_ref instead of string and implement join().
|
2015-11-05 17:22:34 +01:00 |
|
|
31a70945bb
|
First import
|
2015-11-05 15:32:31 +01:00 |
|