1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-29 01:33:46 +00:00
Commit graph

38 commits

Author SHA1 Message Date
5908828390 Implement hash_dir() using DirIterator. WiP
Keep the old implementation as well, so they can be easily tested.
Uncomment the USE_LEGACY_HASH_DIR define at the top to build with the
old function.
2016-02-16 20:29:50 +01:00
0a3e469951 Support const/non-const DirIterators and SetListingViews 2016-02-16 18:51:17 +01:00
84a2617c24 Enable interoperability between iterators 2016-02-16 18:12:26 +01:00
b94bf308f5 Prepare to allow for non-const iterators.
WiP.
2016-02-12 21:02:26 +01:00
bed191c4fc Better way to construct SetListingView 2016-02-12 20:14:12 +01:00
2a7b8437ed Make DirIterator forward only 2016-02-12 19:55:32 +01:00
32d32f63cb Fix SetListing, but some implementation is still missing 2016-02-12 14:44:32 +01:00
6362f0f002 Fix unit test 2016-02-10 09:19:54 +01:00
ada0f1df50 Add SetListingView.
I'm having linker errors in gtest, pushing to see
if this also happens on the build server.
2016-02-09 23:23:50 +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
29d605a579 ...fix build on x86_64
Hopefully this doesn't break the build on ARM 32 again -_-
2016-02-05 21:06:21 +01:00
f20d73bdab Update year on copyright notice. 2016-02-05 21:02:40 +01:00
58c7e917c5 Buildfix on ARM raspberry pi 2016-02-02 20:56:27 +01:00
9071b25dec Rename DirManager to GenericPath. 2016-01-26 23:06:36 +01:00
913cdbd59d Add app_name column to sets. 2016-01-21 20:30:38 +00:00
e2438f77fd Fix inserting new files into db. 2016-01-11 14:20:05 +00:00
7e737f56a2 Tell libpqtypes to not make copies of strings it receives.
The wrapper now copies boost::string_ref into std::string so
it's always safe to pass a string ref, even when it's not
null-terminated.
2016-01-11 12:53:37 +00:00
fa12bb2d74 Bugfix - don't store absolute paths to files in the DB.
This was introduced in a previous commit.
2016-01-11 12:53:37 +00:00
acc74bae8b Buildfix on clang and gcc Release. 2016-01-07 15:32:47 +00:00
2593d46ed7 Now there is a cpp for pq_type_helpers.hpp so move code there. 2016-01-07 14:52:32 +00:00
2655ea5f5c Add support for std::vectors as arrays.
Nested vectors are not supported.
2016-01-07 12:57:06 +00:00
f82659e370 Add move semantics. 2016-01-06 13:12:00 +00:00
f5356e0c29 Change namespace in machinery to mchlib. 2016-01-05 12:49:27 +00:00
4e29200b47 Move scan's core code into new machinery lib. 2016-01-05 12:35:46 +00:00
8b566c9fdb Make the string for pqtypes at build-time. 2016-01-04 18:03:49 +00:00
c4a2433a04 Move libpqtypes template helpers out to a new header. 2015-12-31 01:20:56 +00:00
ed0fbac5e1 connection.hpp is a public header. 2015-12-31 01:13:26 +00:00
1532d3c083 Fix reading values from ResultSet/Row.
Send correct group_id to the db in a safer way.
2015-12-31 00:38:44 +00:00
43bec4711e Clarify PGresult ownership and lifetime. 2015-12-30 10:15:36 +00:00
93a5130cc5 Move ValidationError to commonlib. 2015-12-13 16:33:58 +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
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
3899680544 Pull lengthof definition into a different header. 2015-12-04 13:48:20 +00:00
bd9ce0ef54 Send data to the database. 2015-11-11 02:01:37 +00:00