15 Commits

Author SHA1 Message Date
andri lim
57ff0b8555
Add push raises (#101)
* Add push raises

* Fix gcsafe violation

* remove debug code
2024-02-12 12:39:19 +07:00
tersec
7217854b60
rm deprecated ValidIpAddress support (#96) 2024-01-25 12:05:18 +01:00
tersec
7568f1b7c3
support IpAddress in contexts ValidIpAddress is supported (#95) 2023-10-27 09:49:03 +00:00
Etan Kissling
dbe8d61f7f
require secondarySources to be gcsafe (#86)
Avoid Nim 2.0 warning in callers of `confutils.load`.

```
Warning: 'loadImpl' is not GC-safe as it performs an indirect call via 'secondarySources' [GcUnsafe2]
```
2023-07-31 14:56:44 +02:00
Adam Uhlíř
2028b41602
feat: integrate env. variable support natively (#70) 2023-04-19 12:54:48 +03:00
jangko
38dfeaaabd
reduce compiler warnings 2023-02-15 15:26:53 +07:00
jangko
a1f3b22bbe
fix ci for nim 1.6 and devel
- rm -f nimble.lock to allow nim 1.2,1.4,1.6, and devel run test with nimble
- upgrade ubuntu runner to 20.04
- upgrade github actions to v3
2023-02-12 13:05:41 +07:00
jangko
a26bfab7e5
fix config file test due to toml-serialization changes 2022-09-23 09:45:15 +07:00
tersec
fc03a0c4e1
rm TaintedString for string; some proc -> func (#53)
* rm TaintedString for string; some proc -> func

* procs which interact with macros in certain ways can't be funcs in Nim 1.2
2022-06-03 18:24:59 +00:00
jangko
8f8f715f76
fix nnkAccQuoted entry processing in config-file
fixes #47
2022-04-16 18:28:38 +07:00
Zahary Karadjov
0a88d30e00
Clean up the obsolete config loading code; Fix the tests 2022-03-05 15:07:57 +02:00
Zahary Karadjov
0fc26c5b25
Bugfixes for the config file support
- The config files processing was not taking into account the `name`
  pragma of the configuration object fields.

- The required fields were not searched within config files before
  reporting an error that they are missing.

- Fields with the same names were not supported in different case branches

- The loaded config file path can now depend on the configuration
  supplied through the command-line.
2022-03-04 23:24:58 +02:00
jangko
29c4a1870f implement config file tests 2020-11-02 16:17:51 +02:00
jangko
f3a048f9ea config file integration into confutils 2020-11-02 16:17:51 +02:00
jangko
4981d719a1
setup ci 2020-10-20 15:35:47 +07:00