Commit Graph

18 Commits

Author SHA1 Message Date
Madeorsk 2552fa9db9 Add finally callback to promises.
continuous-integration/drone/push Build is failing Details
A finally callback is called on success or fail of the promise.
2023-07-15 19:51:44 +02:00
Madeorsk a98502b1bb Fix warning on onsigint function argument.
continuous-integration/drone/push Build is failing Details
2023-07-15 19:08:42 +02:00
Madeorsk cade15a437 Fix warning about function definitions without argument.
continuous-integration/drone/push Build is failing Details
2023-07-15 14:44:35 +02:00
Madeorsk e81c5e2690 Add a function to try to get a result or throw the error if there is one.
continuous-integration/drone/push Build is failing Details
2023-07-15 14:42:33 +02:00
Madeorsk 02c72c21fe Add Windows support for ksrfiles. 2023-06-14 17:52:31 +02:00
Madeorsk c6b3fde6d4 Add an error system, with its function result system that can carry a value and an error at the same time. 2023-02-12 17:38:57 +01:00
Madeorsk 70c666f460 Fix bold reset code. 2023-02-12 17:03:47 +01:00
Madeorsk da1c00b84f Add line break at the end of a ksrlog. 2023-02-12 17:00:37 +01:00
Madeorsk 71a16f22f1 ksrfiles : do not null-terminate buffer when reading a file, and fix file path when testing. 2023-02-12 16:52:44 +01:00
Madeorsk de5075571b Fix warning on test main functions prototypes. 2023-02-12 16:38:21 +01:00
Madeorsk a6f65c9e5b Add new logging functions, more styling attributes, and test it. 2023-02-12 16:31:42 +01:00
Madeorsk 63c4b3df3e Improve krsforeach definition to accept arguments without parentheses. 2023-02-11 19:23:26 +01:00
Madeorsk b2577c710e Declare libksr dependency to enable subprojects import.
continuous-integration/drone/push Build is failing Details
2021-08-10 00:12:53 +02:00
Madeorsk fd612b1d39 Setup Drone automatic tests. 2021-08-06 16:18:16 +02:00
Madeorsk b5d14cf502 Fix meson configuration for older versions. 2021-08-01 00:10:00 +02:00
Madeorsk 46b6f24432 Create first structures and functions.
+ Create ksrarrays.
+ Create ksrbuffers.
+ Create ksrpromises.
+ Create ksregex.
+ Create strings and files helper functions.
+ Define some logging constants.

+ Setup basic unit tests and code coverage.
2021-07-31 19:06:57 +02:00
Madeorsk da24fc588a Fix license details. 2021-07-30 19:20:53 +02:00
Madeorsk c38e27cd07 Initial commit 2021-07-30 19:17:29 +02:00