24 Commits

Author SHA1 Message Date
Arnaud
fa8aadb591
feat: protocol filter (#15)
* Add Protocol filter

* Temporary point on fork

* Use ord instead of int
2026-07-13 17:21:02 +04:00
Constantine Molchanov
eae41079b8
Remove cmake (#11)
* Tests: Dockerfile: Remove cmake from deps.

* Tests: Dockerfile: Replace manual libplum building with nimble task.

* Build libplum without cmake.

* Use {.compile.} to compile libplum as part of tha package; remove separate build task.

* Rewrite flags construction, pass flags to compile, remove passC.

* Add localPassC.

* Combine libplum units to libplum_units.c.

* Tests: Dockerfile: Add the units file to the image.

* Add missing flags.

* CI: Remove redundant cmake invocations.

* Remove redundant nimble task invocation.
2026-07-07 12:02:45 +04:00
Arnaud
648b508939
Fix comment 2026-06-05 11:32:05 +04:00
Arnaud
bdea6ef3b5
Replace the activeMappings table with an atomic counter 2026-06-05 11:29:27 +04:00
Arnaud
055e8410af
Clean up destroyMapping doc and redundant guard 2026-06-05 11:00:53 +04:00
Arnaud
e6afcf2f96
Close the mapping signal after its single guaranteed fire 2026-06-05 10:46:48 +04:00
Arnaud
30111fa7c5
Close the mapping signal only from the chronos loop thread 2026-06-05 09:52:37 +04:00
Arnaud
83d1866877
Format 2026-06-01 18:38:47 +04:00
Arnaud
e50f341ad8
Use Nim types in init signature 2026-06-01 18:33:20 +04:00
Arnaud
f3d74da7bc
Add module-level raises pragma 2026-06-01 18:30:04 +04:00
Arnaud
c2b5693e42
Update comment 2026-06-01 18:27:52 +04:00
Arnaud
d65e1098e2
Fix handle close 2026-06-01 18:22:53 +04:00
Arnaud
baa8d7a819
Add more tests 2026-06-01 17:22:10 +04:00
Arnaud
7f84c28d91
Check if the mapping is being destroyed in hasMapping 2026-06-01 15:43:28 +04:00
Arnaud
c9a976fe6e
Add documentation about onStateChange usage 2026-06-01 15:30:49 +04:00
Arnaud
f66c6114f9
Remove duplicated pragma 2026-06-01 15:27:47 +04:00
Arnaud
4532517ca5
Add safety guard when destroying the mapping 2026-06-01 15:20:23 +04:00
Arnaud
9867ec4787
Add try and finally to make sure teardown is called 2026-06-01 15:16:41 +04:00
Arnaud
5a3600278f
Add nph formating 2026-05-19 14:15:26 +04:00
Arnaud
9f7833edf1
Remove GCC marning 2026-05-19 11:28:20 +04:00
Arnaud
1269e80605
Add pmp tests and mapping protocol 2026-05-18 15:16:27 +04:00
Arnaud
adde1b5d27
Fix a memory issue with refc because the handle was freed by gc 2026-05-18 11:43:56 +04:00
Arnaud
d1470443fa
Update project 2026-05-14 16:40:10 +04:00
Arnaud
21e98b41a1
Initial commit 2026-05-14 12:23:10 +04:00