1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-12-01 01:45:42 +00:00
Commit graph

22 commits

Author SHA1 Message Date
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
e70b137002 Fix sporadic failure in lexical_cast. 2016-07-11 16:45:24 +01:00
53a42fa7c0 Add bin tag to lexical_cast.
This also fixes a subtle bug: the size passed to MaxSizedArray in
int_to_string() was calculated on the max value of type F, but when
F was a signed type the max would only be for example 31 bits.
Conversion of negative numbers would then fail with an assertion.
2016-06-15 23:04:46 +01:00
f9387114bf Implement handling of signed types and fix some build errors. 2016-06-15 20:48:05 +01:00
2c5030f929 Add dedicated tests for lexical_cast and fix failures I found. 2016-06-15 17:27:32 +01:00
4b30fabbe4 New string_to_tiger function.
Comes with unit test that indirectly also tests the
previously added lexical_cast.
2016-06-15 14:57:52 +01:00
253af1a3ad Throw if glob parsing fails.
This also fixes the warning about an unused boolean variable.
2016-05-12 20:02:33 +02:00
217b41ace2 Add new tests for glob2regex and try to fix the failing one
glob2regex is not 100% accurate yet, but it works at least
for the cases in the accompanying unit test.
2016-05-12 10:23:47 +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
a625f69afd Import better-enums project from github and put it to use :)
Fix build and somewhat improve the dindexer-scan --help message.
2016-04-26 20:47:29 +02:00
12d39b203e Add unit tests to cmake 2016-04-21 00:25:52 +02:00
1956594c01 Move mediatypes.hpp/cpp to machinery.
This was needed so that machinery wouldn't depend on common.
Also moved compatibility.h to helpers include dir.
Ideally mediatypes.hpp will be merged into mediatype.hpp, or there
will be some kind of renaming because the two names are
getting really confusing.
2016-03-04 09:01:11 +01:00
2e77e4dc0b Add Glob class and use that one to help guessing content types. 2016-02-20 01:36:31 +01:00
8b1b9c48f4 Flattening is useful, so move it out of the unit test. 2016-02-20 01:34:46 +01:00
f31463480f Add stub code to detect VCDs, plus unit test. 2016-02-19 21:57:43 +01:00
0a3e469951 Support const/non-const DirIterators and SetListingViews 2016-02-16 18:51:17 +01:00
bed191c4fc Better way to construct SetListingView 2016-02-12 20:14:12 +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