aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix error messages if library could not be loaded.Andreas Grois2021-05-011-5/+6
| | | | | Previously rather useless memory addresses were written in user-visible error messages. Now it's the actual file path.
* Make before_text and after_text do something.Andreas Grois2021-05-013-7/+18
|
* Add new fields to config: before_text and after_text. Unused.Andreas Grois2021-04-282-2/+32
| | | | | Will be added to main program later. Also tests need to be updated, because by default the newly added fields are present as empty strings.
* Move deserializer of config into separate file.Andreas Grois2021-04-283-171/+169
|
* Remove TODO document. For now it's done.Andreas Grois2021-04-261-3/+0
|
* Add options: List plugins, and get plugin help.Andreas Grois2021-04-266-19/+157
| | | | | | This fixes the TODO document's notes about not being able to get help for individual plugins, and about not having any means to list all loadable plugins.
* New clippy lints, better code...Andreas Grois2021-04-264-13/+25
|
* Update gettext-rs version, tweak Clap dependencies.Andreas Grois2021-04-252-105/+11
| | | | | We still might want to get rid of those dependencies. They really bloat the executable, especially Clap.
* Fix warnings with new Rust versionAndreas Grois2021-04-251-2/+2
|
* Remove redundant .cargo foldersAndreas Grois2021-04-252-4/+0
|
* Switch clock to cdylib, makes it use a lot less RAM (800 kb)Andreas Grois2021-04-251-1/+1
|
* Move printing sample config to separate function.Andreas Grois2021-04-221-9/+26
|
* Reduce data type in clock to u64.Andreas Grois2021-04-222-14/+18
| | | | | This still gives us more than 8000 years of range, and uses a tiny bit less CPU time.
* Fix rounding issue in clock:Andreas Grois2021-04-222-6/+21
| | | | | | Sleep a millisecond if otherwise an update would get skipped. This happens if a refresh is requested in the last millisecond before the next synchronized update is expected.
* Rename "elements" in config to "element" to make config readableAndreas Grois2021-04-222-10/+14
|
* Change format for clock refresh rate once more.Andreas Grois2021-04-223-6/+14
| | | | It's now optional again, but needs its own block.
* Simplified clock config. It now only has 2 options for rates.Andreas Grois2021-04-222-30/+55
| | | | | | | Either it's updating every n seconds (float) but not synchronized to the actual UTC time, or it's updating synchronized, but with the limitation that the update rate is given as updates/(30 minutes). Explanation why this format was chosen is in the source file.
* Fix rounding errors. There's still a TODO:Andreas Grois2021-04-221-13/+12
| | | | | | | If the clock is started 1 ms before the configured time interval, it currently will skip one update. Because waiting times up to 30 minutes are planned to be supported, this can cause the clock to be quite wrong for quite some time...
* Fix that separators/texts were swappedAndreas Grois2021-04-211-1/+1
|
* Enforce system allocator (sanity and such...)Andreas Grois2021-04-201-1/+3
|
* Simple synchronized clock (limited to full seconds or 1/x seconds)Andreas Grois2021-04-201-14/+35
|
* Clock now does something (but isn't done yet).Andreas Grois2021-04-194-7/+39
|
* Add translations for auto-generated Clap options.Andreas Grois2021-04-193-56/+85
|
* Update translationsAndreas Grois2021-04-193-90/+116
|
* Fix typo in Germanpo fileAndreas Grois2021-04-191-4/+4
|
* Add local home directory path support for localization.Andreas Grois2021-04-192-2/+7
|
* Update German translation.Andreas Grois2021-04-192-13/+290
|
* Add commandline handling and hardcoded default paths.Andreas Grois2021-04-185-14/+374
|
* First semi-working implementation.Andreas Grois2021-04-1830-110/+1416
|
* Initial commit. Borked, so don't useAndreas Grois2021-04-076-0/+454