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