Commit graph

269 commits

Author SHA1 Message Date
Vinzenz Schroeter 24e0eaaf07 sp_packet_from_parts, sp_bitmap_new_screen_sized 2024-11-23 23:47:41 +01:00
Vinzenz Schroeter 93657c9f85 Merge branch 'uniffi2' 2024-11-23 22:57:46 +01:00
Vinzenz Schroeter 0fe885e231 fix examples in flake 2024-11-23 22:57:10 +01:00
Vinzenz Schroeter 843f5a03a6 version 0.12.0 2024-11-23 21:20:06 +01:00
Vinzenz Schroeter e0249b61b8 add singleton object for constants in c# 2024-11-23 20:15:02 +01:00
Vinzenz Schroeter d5c4c61083 clippy fixes 2024-11-23 19:55:35 +01:00
Vinzenz Schroeter 666a0e6c01 add constants 2024-11-23 19:53:38 +01:00
Vinzenz Schroeter b693e9e1c9 add ruby example, update README.md 2024-11-23 18:33:27 +01:00
Vinzenz Schroeter 6137460457 update uniffi 2024-11-23 14:53:00 +01:00
Vinzenz Schroeter d0d70c079e add uniffi CharGrid 2024-11-13 19:59:55 +01:00
Vinzenz Schroeter 9553d9fe42 add uniffi CP437Grid, equals
add equals method

add uniffi copy_raw method
2024-11-13 19:59:55 +01:00
Vinzenz Schroeter 03aa432655 add uniffi compression code, clone
add uniffi clone
2024-11-13 19:59:55 +01:00
Vinzenz Schroeter 18f1ccb2dc add uniffi brightness grid and related command 2024-11-13 19:59:55 +01:00
Vinzenz Schroeter f8f5dd0d4f add fake connection to C API 2024-11-13 19:59:55 +01:00
Vinzenz Schroeter 960f12ebc5 make BitVec type alias pub, uniffi bitvec
original c# example equivalent works

add uniffi bitvec

original c# example now works with a few tweaks via uniffi
2024-11-13 19:59:55 +01:00
Vinzenz Schroeter f9c8d20654 add bitmap for uniffi, BitmapLinearWin
add uniffi BitmapLinearWin command
2024-11-13 19:59:55 +01:00
Vinzenz Schroeter 6e467502f2 add go and ruby
add ruby
2024-11-13 19:59:55 +01:00
Vinzenz Schroeter 0dc1394935 send command with connection 2024-11-13 19:59:55 +01:00
Vinzenz Schroeter 07a1b8810c basics for uniffi 2024-11-13 19:59:55 +01:00
Vinzenz Schroeter 12ba47a281 remove servicepoint_binding_cs 2024-11-13 19:55:40 +01:00
Vinzenz Schroeter 11ec30ca74 Merge branch 'uniffi-prerequisites' into 'main'
see https://github.com/cccb/servicepoint/pull/19/
2024-11-13 18:57:08 +01:00
Vinzenz Schroeter 6e25e1754d version 0.11.0 2024-11-13 18:49:50 +01:00
Vinzenz Schroeter eed6d114fc regenerate C header 2024-11-13 18:36:59 +01:00
Vinzenz Schroeter 3d74bfe05e remove Arc from WebSocket Connection 2024-11-13 18:29:48 +01:00
Vinzenz Schroeter bb34541077 remove unreachable path 2024-11-13 18:13:26 +01:00
Vinzenz Schroeter 2e8a61b627 use thiserror for more errors 2024-11-12 22:33:30 +01:00
Vinzenz Schroeter 0ca1b67cb6 fix broken links in documentation 2024-11-12 22:11:45 +01:00
Vinzenz Schroeter 7fbfb9370e move trait impls to CharGrid that are not encoding related 2024-11-12 22:10:59 +01:00
Vinzenz Schroeter ab16f57292 more From for Cp437Grid and BitVec 2024-11-12 21:55:27 +01:00
Vinzenz Schroeter eb7496b27d fix missing doc warning 2024-11-12 19:43:32 +01:00
Vinzenz Schroeter c5df317629 cargo update 2024-11-12 19:38:20 +01:00
Vinzenz Schroeter 98901f4479 err returns for series methods 2024-11-12 19:37:21 +01:00
Vinzenz Schroeter 7a23fcb54b add char grid str methods 2024-11-12 19:36:40 +01:00
Vinzenz Schroeter 01edc3dfcc move CharGrid to own file 2024-11-12 19:36:36 +01:00
Vinzenz Schroeter 85a0ea0dc3 add row and column ops for primitive grid 2024-11-12 19:36:29 +01:00
Vinzenz Schroeter eb42e0aba1 add derives, u8::from(&Brightness) 2024-11-12 19:36:12 +01:00
Vinzenz Schroeter 4f1ef8aafb replace Connection::send_mut with internal mutability 2024-11-12 19:34:50 +01:00
Vinzenz Schroeter 7bc59f6df8 add BrightnessGrid::saturating_load 2024-11-12 19:33:54 +01:00
Vinzenz Schroeter d0598446e6 make BitVec type alias pub 2024-11-12 19:33:06 +01:00
Vinzenz Schroeter c7dc935984 fix CI fails because example does not panic depending on network 2024-11-10 11:10:40 +01:00
Vinzenz Schroeter 35f87eeed9 add examples to flake 2024-11-10 01:06:55 +01:00
Vinzenz Schroeter 3db1fb643f convert shell.nix to flake.nix 2024-11-09 21:25:46 +01: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