aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix clippy warningsJokler2018-06-161-4/+1
|
* Url: Use shorter timeout for title downloadsJokler2018-05-111-2/+20
| | | | | A new function has been added to the Url/download util to allow setting different timeouts.
* Add usefulness rating function to url titlesJokler2018-04-071-35/+71
|
* Fixed buffer bug in the download functionJokler2018-03-201-1/+1
|
* Use Error & ErrorKind pair instead of simple enumsJokler2018-03-021-11/+23
| | | | | | | | | | | | Each plugin should define its own errors with a respective variant in the main ErrorKind of frippy. A new procedural macro was added to reduce the boilerplate required for new error system. It can be used by deriving "Error" and adding a name for the Error via the "error" attribute. So far non of the plugins except for Url and Factoids use their own errors yet.
* Use lossy UTF8 conversion and add a log_error functionJokler2018-03-011-5/+21
|
* Simplify the download functionJokler2018-03-011-25/+4
|
* Create errors with failureJokler2018-02-281-58/+43
| | | | | The plugins are mostly not using the new errors yet and the error handling in the Factoids plugin is just temporary.
* Fix UTF8 errors in the download functionJokler2018-02-271-6/+21
|
* Run rustfmt and clippyJokler2018-02-241-7/+6
|
* Add download function & fromurl commandJokler2018-02-131-0/+59