aboutsummaryrefslogtreecommitdiffstats
path: root/include/rin
Commit message (Collapse)AuthorAgeFilesLines
* diagnostics: add knobs to toggle channels.Gravatar Gediminas Jakutis 2021-03-151-0/+1
| | | | | | | | | Individual channels can now be turned off and on with a simple knob call, providing an easy way to silence a channel. Tests not included, as deemed too trivial while being complicated to properly test. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* definitions: silence a warning.Gravatar Gediminas Jakutis 2021-02-211-1/+1
| | | | | | | | Using the unlinekely macro with e.g. functions returning a pointer would result in "integer from pointer without a cast" warning. This patch works around that and silences such warnings. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: now with line numbers and filenames!Gravatar Gediminas Jakutis 2021-02-091-8/+8
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: constify what should be constified.Gravatar Gediminas Jakutis 2021-02-041-6/+6
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* meson: simplify build scripts, prune some options.Gravatar Gediminas Jakutis 2019-12-191-1/+0
| | | | | | | | Also inadvertently fixed a bug with defining _GNU_SOURCE at the wrong time, which could have possibly led to unexpected build failures down the line. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: remove obsolete definitions.Gravatar Gediminas Jakutis 2019-11-141-11/+0
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: use format strings instead.Gravatar Gediminas Jakutis 2019-11-121-1/+1
| | | | | | flags are now dropped in place of per-stream format strings. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: implement printing function's name.Gravatar Gediminas Jakutis 2019-10-242-6/+13
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: print time since program start instead.Gravatar Gediminas Jakutis 2019-10-242-0/+11
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* definitions: fix an idiot error.Gravatar Gediminas Jakutis 2019-10-081-2/+0
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: tag functions as printf-style.Gravatar Gediminas Jakutis 2019-10-082-4/+15
| | | | | | | This allows the compiler to check the format string and give warnings accordingly. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* fix copyright years everywhere.Gravatar Gediminas Jakutis 2019-10-034-4/+4
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* compat: move the gettid macro to compat.h.Gravatar Gediminas Jakutis 2019-10-032-0/+42
| | | | | | New header, meant for various compatibility definitions and such. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: allow setting output stream(s).Gravatar Gediminas Jakutis 2019-10-031-0/+10
| | | | | | | Added a function to allow changing a channel's output stream. This also makes it possible to direct output to a file. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostic: align definition values.Gravatar Gediminas Jakutis 2019-10-031-3/+3
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* diagnostics: add more prefixes.Gravatar Gediminas Jakutis 2019-10-011-0/+11
| | | | | | This also starts preparations for overhaul of this subsystem. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* time: fix copyright years ...again.Gravatar Gediminas Jakutis 2019-10-011-1/+1
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* time: add benchmarking capabilities.Gravatar Gediminas Jakutis 2019-09-301-0/+14
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* time: add timeval versions.Gravatar Gediminas Jakutis 2019-08-121-1/+11
| | | | | | | We now got functions to operate on both struct timespec and struct timeval. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* definitions: add likely/unlikely branch macros.Gravatar Gediminas Jakutis 2019-06-211-0/+17
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* time: add a generalized time comparison function.Gravatar Gediminas Jakutis 2019-06-191-0/+1
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* uuid: new module.Gravatar Gediminas Jakutis 2019-05-211-0/+29
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* gpio: removed due to being useless.Gravatar Gediminas Jakutis 2019-03-312-57/+0
| | | | Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
* time: fix header installation.Gravatar Gediminas Jakutis 2017-11-091-0/+1
|
* time: initial implementation.Gravatar Gediminas Jakutis 2017-11-091-0/+36
|
* meson: drop automake support && add initial meson support.Gravatar Gediminas Jakutis 2017-06-141-0/+9
|
* gpio: fix some names to reflect reality.Gravatar Gediminas Jakutis 2016-12-091-2/+2
|
* gpio: implement even more features.Gravatar Gediminas Jakutis 2016-12-091-1/+4
|
* gpio: implement some more features.Gravatar Gediminas Jakutis 2016-11-101-0/+16
|
* definitions: add a run-once construct macro.Gravatar Gediminas Jakutis 2016-11-041-0/+9
|
* gpio: add initial implementation.Gravatar Gediminas Jakutis 2016-10-311-0/+37
|
* diagnostic: fix a nasty forgotten semicolon problem in the header.Gravatar Gediminas Jakutis 2015-04-231-1/+1
|
* float: add array-like accessors to the vec types.Gravatar Gediminas Jakutis 2015-03-041-0/+6
|
* float: fix a nasty search-and-replace error in function names.Gravatar Gediminas Jakutis 2015-03-041-6/+6
|
* include: add definitions.hGravatar Gediminas Jakutis 2015-03-031-0/+32
|
* float: add [integer types] -> [float types] conversion functions.Gravatar Gediminas Jakutis 2015-03-031-1/+4
| | | | | | These were forgotten previously and only [float types] -> [integer types] functions were present. This commit adds the missing "reverse" functions.
* float: Move everything under the "rin_" namespace.Gravatar Gediminas Jakutis 2015-03-032-17/+16
|
* Initial commit - Release 0.0.1librin-0.0.1Gravatar Gediminas Jakutis 2015-03-033-0/+252