Commit Graph

12 Commits

Author SHA1 Message Date
tastytea e1ee5d7b37
Remove dependency on libxdg-basedir and pkg-config. 2019-10-27 05:05:51 +01:00
tastytea 2c4fb47f63
Changed namespace-indentation and header order. 2019-09-30 13:23:45 +02:00
tastytea f48b07f323
Refactored for better readability.
continuous-integration/drone/push Build is passing Details
Ran clang-tidy over the code, took most of the advice.
2019-09-25 03:58:29 +02:00
tastytea 76ed9e9222
Don't return empty entry if no data is matched.
continuous-integration/drone/push Build is passing Details
Add check if number of rows is != 0.
2019-09-06 02:10:08 +02:00
tastytea c0d10423ba
Changed vector<Database::entry> to list<Database::entry>. 2019-08-08 15:19:42 +02:00
tastytea 7143e09901
Read the time when retrieving data from database.
continuous-integration/drone/push Build is passing Details
The datetime format is SQLite, the function expected ISO 8601.
2019-08-07 20:39:12 +02:00
tastytea fafb0c8aa1
Switched from vsqlite++ to POCO.
continuous-integration/drone/push Build is failing Details
2019-08-07 19:41:58 +02:00
tastytea 6d16b2598e
Revert "Replace libxdg-basedir with Poco::Path."
This reverts commit d74b3cabfa.

Poco::Path::dataHome() is only available in >= 1.9.
2019-08-05 19:11:37 +02:00
tastytea d74b3cabfa
Replace libxdg-basedir with Poco::Path. 2019-08-05 18:40:36 +02:00
tastytea 4aec2fafb3
Simplyfied entry comparison in operator ==(). 2019-07-29 12:50:53 +02:00
tastytea b3bb1f05f2
namespaced library.
continuous-integration/drone/push Build is passing Details
2019-07-27 09:59:43 +02:00
tastytea 7fb23ee207
Split code into library and cli. 2019-07-26 20:58:24 +02:00