Commit graph

240 commits

Author SHA1 Message Date
Vinzenz Schroeter 05aff8b2dd add fake connection to C API 2024-10-20 12:29:08 +02:00
Vinzenz Schroeter 240766dc11 add dunder to prevent name clashes 2024-10-20 12:08:19 +02:00
Vinzenz Schroeter c3022e567c checkout submodules in github action 2024-10-19 16:30:36 +02:00
Vinzenz Schroeter 0b80ce4968 add AggressiveInlining attribute 2024-10-19 16:19:09 +02:00
Vinzenz Schroeter f968f92917 add Load methods with Spans 2024-10-19 16:04:01 +02:00
Vinzenz Schroeter f836220259 annotate which parameters are consumed, move constants 2024-10-19 15:31:54 +02:00
Vinzenz Schroeter 57c66d9d31 move extensions into classes 2024-10-19 14:45:21 +02:00
Vinzenz Schroeter 1f23bc8afc add docs to public methods instead of native ones 2024-10-19 14:35:03 +02:00
Vinzenz Schroeter 67969d5b43 generate most of the c# binding with a fork of csbindgen 2024-10-19 14:21:50 +02:00
Vinzenz Schroeter 91cc982394 use GroupedNativeMethods 2024-10-16 22:46:34 +02:00
Vinzenz Schroeter 01f2f90121 csbindgen one file per file 2024-10-16 21:59:35 +02:00
Vinzenz Schroeter 55aa7ecf4c pass through real types to c# 2024-10-16 20:56:55 +02:00
Vinzenz Schroeter db98709ca7 fix second target with same name replaces first 2024-10-16 20:41:26 +02:00
Vinzenz Schroeter 30d74ff07d
Merge pull request #13 from cccb/fonts
More CP437, PrimitiveGrid::map, renamings
2024-10-16 20:10:57 +02:00
Vinzenz Schroeter 28f2720464 Version 0.10.0 2024-10-16 20:07:52 +02:00
Vinzenz Schroeter 9193cfec10 csbindgen seems change order all the time, maybe input ordering helps 2024-10-16 20:02:35 +02:00
Vinzenz Schroeter ac6954322a fix constant types c# 2024-10-16 20:02:06 +02:00
Vinzenz Schroeter cbadd85f07 use Origin::ZERO constant 2024-10-16 19:21:45 +02:00
Vinzenz Schroeter 97a994fca2 do not name struct in C api 2024-10-16 18:34:21 +02:00
Vinzenz Schroeter 16a0afe08d add constants for brightness in C api 2024-10-16 18:29:36 +02:00
Vinzenz Schroeter a858261540 use constants from generated file 2024-10-15 22:54:32 +02:00
Vinzenz Schroeter 590b21d433 use NonNull as return type in C API 2024-10-15 22:23:52 +02:00
Vinzenz Schroeter c6450d7759 rename sp_bit_vec_* to sp_bitvec_* 2024-10-15 21:55:05 +02:00
Vinzenz Schroeter fbc8cd6c31 rename sp_bit_vec_* to sp_bitvec_* 2024-10-15 21:50:43 +02:00
Vinzenz Schroeter a08d439366 formatting changes, mostly resulting from the shorter name 2024-10-15 21:37:36 +02:00
Vinzenz Schroeter 78a4d4dbcf add Brightness::saturating_from 2024-10-15 21:37:36 +02:00
Vinzenz Schroeter 593a975d5c rename convert to map
also use the fact that T is known to be Copy
2024-10-15 21:37:36 +02:00
Vinzenz Schroeter bd0ecd77d2 rename PixelGrid to Bitmap 2024-10-15 21:37:36 +02:00
Vinzenz Schroeter f64ce6e57e regenerate language bindings 2024-10-14 22:28:41 +02:00
Vinzenz Schroeter 8d3ca4dfad clippy fixes 2024-10-14 22:28:41 +02:00
Vinzenz Schroeter f2ff07d9d9 add NULL checks - rest 2024-10-14 22:28:41 +02:00
Vinzenz Schroeter 2e1cb6f681 add NULL checks - command 2024-10-13 18:56:29 +02:00
Vinzenz Schroeter bcb73999da add NULL checks - brightness_grid 2024-10-13 18:22:26 +02:00
Vinzenz Schroeter 03becf19b5 add NULL checks - bit_vec 2024-10-13 18:12:55 +02:00
Vinzenz Schroeter 68d809c714 prefix enum names for better C consumption 2024-10-13 17:36:32 +02:00
Vinzenz Schroeter be17319993 add unit tests 2024-10-13 16:51:32 +02:00
Vinzenz Schroeter ab82900414 improve whitespace handling when converting between string and grid 2024-10-13 16:31:03 +02:00
Vinzenz Schroeter 526f6264bf easier conversion of PrimitiveGrids 2024-10-13 16:13:12 +02:00
Vinzenz Schroeter e1ca802268 CP437 conversion functions 2024-10-13 13:45:28 +02:00
Vinzenz Schroeter ce946c2fb8 improve docs 2024-10-13 13:41:22 +02:00
Vinzenz Schroeter f7fddda8f1 improve announce example 2024-10-13 13:40:26 +02:00
Vinzenz Schroeter dbbe631741 fix enable all features for docs.rs, bump version again for re-upload 2024-10-12 20:07:55 +02:00
Vinzenz Schroeter 3a605da0d5 Merge branch 'easier-text' 2024-10-12 19:58:38 +02:00
Vinzenz Schroeter 55524a69e2 fix doctest, enable all features for docs.rs 2024-10-12 19:53:47 +02:00
Vinzenz Schroeter 9b618d4f35 bump version to 0.9.0, cleanup readme 2024-10-12 19:44:17 +02:00
Vinzenz Schroeter 366aec054f close connection on drop 2024-10-12 19:33:49 +02:00
Vinzenz Schroeter 5f8f691464 add tests 2024-10-12 18:38:43 +02:00
Vinzenz Schroeter 3d47b41106 conversion between UTF-8 and CP-437 2024-10-12 18:23:36 +02:00
Vinzenz Schroeter c7764c49e1 add websocket binary message protocol 2024-10-12 16:18:27 +02:00
Vinzenz Schroeter f434b5bf83 udp protocol as feature 2024-10-12 13:04:56 +02:00