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
|
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 |
|
Vinzenz Schroeter
|
4dfb405792
|
update dependencies
|
2024-10-11 21:42:26 +02:00 |
|
Vinzenz Schroeter
|
942968fcf4
|
fix error message, add test
|
2024-10-11 21:38:47 +02:00 |
|
Vinzenz Schroeter
|
03f7495695
|
add function to load Cp437Grid from str
|
2024-10-11 21:38:24 +02:00 |
|
Vinzenz Schroeter
|
21cc7e3f12
|
fixup! hide packets to reduce api surface for new users
|
2024-10-11 21:37:28 +02:00 |
|
Vinzenz Schroeter
|
46cb48c126
|
convert between origin units
|
2024-10-11 21:36:27 +02:00 |
|
Vinzenz Schroeter
|
78b5d1180b
|
hide packets to reduce api surface for new users
|
2024-10-10 23:41:08 +02:00 |
|
Vinzenz Schroeter
|
26bace8990
|
add links to documentation, add some docs
|
2024-10-10 23:17:19 +02:00 |
|
Vinzenz Schroeter
|
d3e135e508
|
add optimization to suppress gcc warning about not being able to apply hardening
|
2024-10-10 22:07:55 +02:00 |
|
Vinzenz Schroeter
|
eb43ccfa6d
|
convert cp437-grid to tuple
|
2024-09-07 15:18:51 +02:00 |
|
Vinzenz Schroeter
|
9ab87f6748
|
update packages
|
2024-09-07 15:16:36 +02:00 |
|
Vinzenz Schroeter
|
96c010de56
|
set version to 0.8.0
|
2024-09-07 15:14:44 +02:00 |
|
Vinzenz Schroeter
|
e46391ca5f
|
replace usages of 'this' as parameter name
|
2024-09-07 15:14:29 +02:00 |
|
Vinzenz Schroeter
|
3e3a933ecb
|
fix example
|
2024-09-07 14:53:19 +02:00 |
|
Vinzenz Schroeter
|
c712b037d0
|
improve which doc line is the first because this one is displayed in docs in the overview
|
2024-09-07 14:50:59 +02:00 |
|
Vinzenz Schroeter
|
acc35b6727
|
add ability to send commands directly in C code, annotate which functions may return null
|
2024-09-07 14:35:16 +02:00 |
|
Vinzenz Schroeter
|
53f05efb3d
|
re-enable sorting because otherwise the order is different on my other machine
|
2024-09-07 14:19:18 +02:00 |
|
Vinzenz Schroeter
|
aa359cc807
|
rename _dealloc to _free
|
2024-09-07 14:11:15 +02:00 |
|
Vinzenz Schroeter
|
f45c8090ec
|
fix URL
|
2024-09-07 13:55:27 +02:00 |
|
Vinzenz Schroeter
|
cec31ad5b5
|
regenerate C# bindings, apparently Cp437Grid has been missing
|
2024-09-07 13:34:13 +02:00 |
|
Vinzenz Schroeter
|
341c0ef2cd
|
change cbindgen sorting to None
|
2024-09-07 13:25:35 +02:00 |
|
Vinzenz Schroeter
|
eddeb2ea2d
|
re-export everything from top-level for nicer docs
|
2024-09-07 12:23:32 +02:00 |
|
Vinzenz Schroeter
|
e97418b51b
|
named fields instead of tuple for Packet, doc adjustments
|
2024-09-07 11:47:42 +02:00 |
|
Vinzenz Schroeter
|
16e06dd78a
|
copy paste command docs
|
2024-09-06 20:10:14 +02:00 |
|
Vinzenz Schroeter
|
051dbfabea
|
wrap and rename ALL the types
|
2024-09-05 21:25:15 +02:00 |
|
Vinzenz Schroeter
|
b9fc06117e
|
wip connection trait
|
2024-08-29 23:22:52 +02:00 |
|
Vinzenz Schroeter
|
5e141f1fbc
|
clone in c example
|
2024-08-29 22:25:11 +02:00 |
|
Vinzenz Schroeter
|
d385d8e1d4
|
add packet clone
|
2024-08-29 22:23:23 +02:00 |
|
Vinzenz Schroeter
|
c9c51dcdc2
|
improve doc comments
|
2024-08-29 22:02:53 +02:00 |
|
Vinzenz Schroeter
|
e0d5eff494
|
remove C prefix in csbindgen
|
2024-08-29 21:40:33 +02:00 |
|
Vinzenz Schroeter
|
956e5df812
|
CCommand (opaque wrapper around Command for C)
|
2024-08-29 21:39:47 +02:00 |
|
Vinzenz Schroeter
|
a91e0e6eed
|
update csbindgen to improve comment formatting
|
2024-08-29 20:03:07 +02:00 |
|
Vinzenz Schroeter
|
14faeb1238
|
replace * with - for bullets in comments
|
2024-08-29 19:39:18 +02:00 |
|
Vinzenz Schroeter
|
d48180ddb2
|
set version to 0.7.0
|
2024-06-27 19:41:13 +02:00 |
|
Vinzenz Schroeter
|
7252ad5abe
|
move code to make functions smaller
|
2024-06-27 19:38:07 +02:00 |
|
Vinzenz Schroeter
|
fc0705b826
|
more examples and documentation
|
2024-06-26 17:05:07 +02:00 |
|
Vinzenz Schroeter
|
e3c418efcf
|
add examples for brightness, replace ByteGrid with PrimitiveGrid
|
2024-06-25 22:33:53 +02:00 |
|
Vinzenz Schroeter
|
52080c0ad0
|
minor tweaks to examples
|
2024-06-25 22:18:57 +02:00 |
|
Vinzenz Schroeter
|
a4189e2a86
|
update c# binding
|
2024-06-25 22:18:57 +02:00 |
|
Vinzenz Schroeter
|
4cd86d3494
|
examples, format
|
2024-06-23 18:03:50 +02:00 |
|
Vinzenz Schroeter
|
555d917d96
|
separate types for c api
|
2024-06-23 18:03:50 +02:00 |
|
Vinzenz Schroeter
|
c554fbd800
|
wip BrightnessGrid
|
2024-06-23 15:14:18 +02:00 |
|
Vinzenz Schroeter
|
e0647bacd6
|
encode origin unit in type
|
2024-06-23 13:59:47 +02:00 |
|
Vinzenz Schroeter
|
672b5e0581
|
docs, formatting
|
2024-06-23 13:59:47 +02:00 |
|
Vinzenz Schroeter
|
c4c6708533
|
limit brightness to valid levels, optional rand dependency to implement Distribution trait
fixup! limit brightness to valid levels, optional rand dependency to implement Distribution trait
|
2024-06-23 13:59:47 +02:00 |
|
Vinzenz Schroeter
|
e1f009ee6f
|
examples: error message on connection failure
|
2024-06-23 13:51:09 +02:00 |
|
Vinzenz Schroeter
|
649e2a39c3
|
version 0.6.0
|
2024-06-05 20:35:20 +02:00 |
|
Vinzenz Schroeter
|
a488131481
|
c# project file
|
2024-06-05 20:29:41 +02:00 |
|
Vinzenz Schroeter
|
894de966bc
|
more tests
|
2024-06-05 20:23:44 +02:00 |
|
Vinzenz Schroeter
|
b08fd97066
|
more tests, move stuff
|
2024-06-05 20:14:05 +02:00 |
|
Vinzenz Schroeter
|
9a4987787e
|
add brightness tester
|
2024-06-03 22:49:00 +02:00 |
|
Vinzenz Schroeter
|
59301a5fc5
|
add PixelGrid::iter_mut, tests
|
2024-06-03 22:48:12 +02:00 |
|
Vinzenz Schroeter
|
a4d53d0e56
|
add missing docs
|
2024-06-03 22:10:52 +02:00 |
|
Vinzenz Schroeter
|
947a3fe60e
|
replace bit_vec module with bitvec library
|
2024-06-03 21:54:00 +02:00 |
|
Vinzenz Schroeter
|
c600761f29
|
remove iter from trait
|
2024-06-03 19:32:10 +02:00 |
|
Vinzenz Schroeter
|
17d41ef6c6
|
add more iterators
|
2024-06-02 14:34:22 +02:00 |
|
Vinzenz Schroeter
|
ee0c9dceab
|
add some iterators
|
2024-06-02 14:03:40 +02:00 |
|
Vinzenz Schroeter
|
b8baf8127d
|
remove duplicate code into trait impl
|
2024-06-02 14:00:31 +02:00 |
|
Vinzenz Schroeter
|
c017b85962
|
remove duplicate fn
|
2024-06-02 13:20:31 +02:00 |
|
Vinzenz Schroeter
|
ffe3a87319
|
add grid functions for getting references or optional values
|
2024-06-02 13:16:26 +02:00 |
|
Vinzenz Schroeter
|
6d562a4962
|
remove Grid::window(), move Grid::new() to implementations
|
2024-06-02 13:13:49 +02:00 |
|
Vinzenz Schroeter
|
372582cec6
|
fix C README
|
2024-05-30 21:56:16 +02:00 |
|
Vinzenz Schroeter
|
3dc18a4765
|
fix cargo: output should be cargo::
|
2024-05-30 21:55:55 +02:00 |
|
Vinzenz Schroeter
|
084c3df1db
|
should not have been pub use, documentation fixes
|
2024-05-28 22:23:21 +02:00 |
|
Vinzenz Schroeter
|
347fdb3bd0
|
version 0.5.1
|
2024-05-28 21:52:52 +02:00 |
|
Vinzenz Schroeter
|
deceb2088f
|
fix make file path, regenerate bindings
|
2024-05-28 21:28:42 +02:00 |
|
Vinzenz Schroeter
|
24e36d1927
|
even more documentation
|
2024-05-28 21:25:59 +02:00 |
|
Vinzenz Schroeter
|
7211e1fdc7
|
remove accidental struct duplicate
|
2024-05-28 20:39:41 +02:00 |
|
Vinzenz Schroeter
|
d351eef6fa
|
more documentation
|
2024-05-28 20:37:55 +02:00 |
|
Vinzenz Schroeter
|
daaa31a276
|
add crate doc to examples
|
2024-05-28 20:28:20 +02:00 |
|
Vinzenz Schroeter
|
e135bd60a7
|
add more documentation, add doc lint
|
2024-05-28 19:38:43 +02:00 |
|