Commit graph

128 commits

Author SHA1 Message Date
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
Vinzenz Schroeter 1a69cb0932 include README.md in doctest, fix example 2024-05-26 16:17:11 +02:00
Vinzenz Schroeter 8bf1452e31 fix c# example 2024-05-26 14:58:05 +02:00
Vinzenz Schroeter ccbba9ad83 split README 2024-05-26 14:53:26 +02:00
Vinzenz Schroeter 3780c2063d set version to 0.5.0 2024-05-26 14:18:02 +02:00
Vinzenz Schroeter c92493fad1 move examples into package (include them in published crate) 2024-05-26 13:55:19 +02:00
Vinzenz Schroeter 5514f60c28 exclude packages from tests so cargo test --all works 2024-05-26 13:25:36 +02:00
Vinzenz Schroeter d1db850fd4 remove duplicate lock files, cargo update 2024-05-26 13:19:35 +02:00
Vinzenz Schroeter f759395393 move c_api into binding_c crate, update C# binding 2024-05-26 13:15:11 +02:00
Vinzenz Schroeter edcad6fd03 improve c build 2024-05-26 11:40:52 +02:00
Vinzenz Schroeter f2d98af532 rename to servicepoint, new dir structure, WIP build.rs 2024-05-25 11:16:37 +02:00