Commit Graph

469 Commits

Author SHA1 Message Date
tastytea 0df8e69c88
Set the maximum number of threads to use dynamically.
continuous-integration/drone/push Build is passing Details
The formula is reported_number_of_threads / 3 + 1. Each thread works on at least
50 entries.
2019-08-08 19:06:57 +02:00
tastytea cc4bc18062
Link pthread into binary.
continuous-integration/drone/push Build is passing Details
2019-08-08 17:42:23 +02:00
tastytea 14ec7638e8
Use up to 2 threads for searching.
continuous-integration/drone/push Build is failing Details
2019-08-08 15:41:32 +02:00
tastytea c0d10423ba
Changed vector<Database::entry> to list<Database::entry>. 2019-08-08 15:19:42 +02:00
tastytea d946d25a5b
Re-enable --regex. Forgot to add the callback.
continuous-integration/drone/push Build is passing Details
2019-08-08 10:13:49 +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 82f471755e
Improved library-documentation. 2019-08-07 20:32:46 +02:00
tastytea 84f9c0ad97
Add Poco::Data.
continuous-integration/drone/push Build is passing Details
2019-08-07 19:52:51 +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 cbcd64e172
Made ~URI virtual. 2019-08-07 15:14:00 +02:00
tastytea 1fe59de7e4
Make exports possible again.
continuous-integration/drone/push Build is passing Details
The vector of entries was always empty after the refactoring.
2019-08-07 10:33:27 +02:00
tastytea c218c23f97
Fix archiving by extracting the Content-Location header.
continuous-integration/drone/push Build is passing Details
2019-08-06 19:56:57 +02:00
tastytea f8a5f881f3
Fixed NMH JSON. The path was incomplete.
continuous-integration/drone/push Build is passing Details
2019-08-06 19:33:54 +02:00
tastytea dcef2b8a28
Commented out unused code. 2019-08-06 19:31:48 +02:00
tastytea 1b0fd8cd75
Made argument identifiers lowercase.
continuous-integration/drone/push Build is passing Details
2019-08-06 19:02:22 +02:00
tastytea 85675c8b98
Remove value from handle_info(). 2019-08-06 18:42:17 +02:00
tastytea e2eb8a1f41
Removed erroneous newline in --help output.
continuous-integration/drone/push Build is passing Details
2019-08-06 18:38:03 +02:00
tastytea a90faf7d11
Added PocoFoundation to fallback.
continuous-integration/drone/push Build is passing Details
2019-08-06 17:58:19 +02:00
tastytea 9c925e855d
Added fallback for incomplete Poco distributions.
continuous-integration/drone/push Build is failing Details
2019-08-06 17:35:12 +02:00
tastytea e6b0463e59
Merge branch 'main' into develop 2019-08-06 17:31:52 +02:00
tastytea e79f003a79
Prepend scheme://host to location if server returns only path. 2019-08-06 17:23:49 +02:00
tastytea aedbebc6f6
Moved from popl to Poco for option parsing.
continuous-integration/drone/push Build is failing Details
2019-08-06 17:14:32 +02:00
tastytea 786912133b
Moved packages recipe to cmake/.
continuous-integration/drone/push Build is passing Details
2019-08-06 12:47:45 +02:00
tastytea 90fff35e0e
Added error handling to calls to archive service. 2019-08-06 12:40:52 +02:00
tastytea 862e90274e
Added error handling to http_extract. 2019-08-06 12:17:39 +02:00
tastytea 9bf6031b92
Replaced ICU with POCO. 2019-08-06 12:00:18 +02:00
tastytea d28d5357c9
Added libxdg-basedir dependency to remwhareadConfig.cmake. 2019-08-06 12:00:18 +02:00
tastytea 92eef4c64d
Transformed the search functions into a class.
Deleted unicode tests because they are covered by search tests.
2019-08-06 12:00:17 +02:00
tastytea df59f484c6
Display right include paths in Doxygen output.
continuous-integration/drone/push Build is passing Details
2019-08-05 23:35:49 +02:00
tastytea a40a394b1a
Added CMake commands to reference and updated Doxyfile.
continuous-integration/drone/push Build is passing Details
2019-08-05 20:17:10 +02:00
tastytea 949dbb14a7
Correct dependencies in pkg-config file.
continuous-integration/drone/push Build is passing Details
2019-08-05 19:18:08 +02:00
tastytea 982350241a
Tweak RPM dependencies. 2019-08-05 19:17:28 +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 1d7153008a
Use numbers instead of constants for HTTP response code check.
continuous-integration/drone/push Build is failing Details
Poco 1.7 doesn't have HTTPResponse::HTTP_PERMANENT_REDIRECT.
2019-08-05 18:49:17 +02:00
tastytea d74b3cabfa
Replace libxdg-basedir with Poco::Path. 2019-08-05 18:40:36 +02:00
tastytea 85b112faf0
Fixed wrong dependency in cmake module. 2019-08-05 18:38:50 +02:00
tastytea 406c2486f7
Added HTTP proxy support.
continuous-integration/drone/push Build is failing Details
2019-08-05 18:23:34 +02:00
tastytea d4db780925
Added Poco::Foundation and subtracted Poco::Util from linked libs. 2019-08-05 17:00:53 +02:00
tastytea 1f446388e5
Support plain HTTP as well. 2019-08-05 17:00:34 +02:00
tastytea 54492ff979
CI: changed cmake-6 on stretch to clang-7 on buster.
continuous-integration/drone/push Build is passing Details
2019-08-05 10:53:53 +02:00
tastytea fd2db04aad
Fixed the additional search paths for the dependency-workarounds. 2019-08-04 22:25:04 +02:00
tastytea d70bbd3f57
Ficed CI recipe.
continuous-integration/drone/push Build is failing Details
For some reason stretch has to be explicitly specified if stretch-backports are
added?
2019-08-04 22:21:12 +02:00
tastytea 5e18bbdf50
Added workaround for when Poco*Config.cmake recipes cannot be found.
continuous-integration/drone/push Build is failing Details
2019-08-04 20:04:55 +02:00
tastytea 9d0dd589a7
Replaced curlpp with POCO. Only HTTPS support fo far.
continuous-integration/drone/push Build is failing Details
curlpp seems dead. 🙁
2019-08-04 18:46:53 +02:00
tastytea 3895f0531a
Revert "CI: Added --keep-going to make commands."
continuous-integration/drone/push Build is failing Details
This reverts commit b1d973f2a2.
It didn't help, the error is raised by cmake, not make.
2019-08-03 22:41:15 +02:00
tastytea b1d973f2a2
CI: Added --keep-going to make commands.
continuous-integration/drone/push Build is failing Details
curlpp has a buggy pkg-config file with a relative include directory.
2019-08-03 22:33:40 +02:00
tastytea b4e845a352
Updated CMake recipes and changed file structure.
continuous-integration/drone/push Build is failing Details
2019-08-03 22:27:08 +02:00
tastytea 083a08beb8
Re-ordered and reformatted cmake recipes.
continuous-integration/drone/push Build is passing Details
2019-07-30 07:52:37 +02:00
tastytea ee53604e6e
Updated package generation recipe.
continuous-integration/drone/push Build is passing Details
* Reformatted it.
* Added a few things to the source package ignmore list.
* Added libicu-devel to RPM dependencies.
2019-07-30 06:58:21 +02:00
tastytea 4aec2fafb3
Simplyfied entry comparison in operator ==(). 2019-07-29 12:50:53 +02:00