1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-27 01:13:44 +00:00
Commit graph

153 commits

Author SHA1 Message Date
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
b34818c66c Minor style fix in readme 2015-12-08 16:44:26 +00:00
073fea8840 Add flattr button to bitbucket. 2015-12-08 16:41:07 +00:00
c5a798e95f Version bump 0.1.3b 2015-12-08 16:16:13 +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
980190cd44 Change readme formatting 2015-12-04 18:56:55 +00:00
e1520734a4 Add drone.io build badge 2015-12-04 18:54:16 +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
3a67f0ec29 Version bump 0.1.2 2015-12-04 12:31:53 +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
26e62df73f Change set creation time to type timestamp.
Also add a (still unused) disk_number column.
2015-11-30 18:30:30 +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
e2cfdb9edb Update readme. 2015-11-13 17:11:32 +00:00
4bf8ff3131 Add readme. 2015-11-13 16:58:51 +00:00
f48626960d Improve progress output. 2015-11-13 15:45:28 +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
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
e9a7e756e1 Replace hardcoded name with a token that can be easily replaced. 2015-11-11 17:18:35 +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
777b91b898 Add database creation queries. 2015-11-11 02:06:01 +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