Commit Graph

36 Commits (c64f42b717240344bfb2bf7c5723f4833f4ac450)

Author SHA1 Message Date
joseLuís 2c1c150969 rust: add more type aliases, format
add new type aliases for: cell, ncplane, palette256, ncalign_e &
ncdirect + alignment constants.
4 years ago
joseLuís 8c2d7bc5ac rust: EGC type safe wrapping for real this time 4 years ago
joseLuís 73961c04ce rust: rename ffi:: namespace to nc::
+rustfmt
4 years ago
joseLuís 9dc847c8b5 rust: add simple wrapper over ncdirect_init 4 years ago
joseLuís e975211a29 rust: even safer casting to char 4 years ago
joseLuís 356b44b015 rust: finish up EGC type safe wrapping. 4 years ago
joseLuís 3e4a074f8f rust: del ncplane_highgradient_sized due to #922 4 years ago
joseLuís cac8202e03 rust: egc char related fixes 4 years ago
joseLuís f25ba1b83c rust: +11 plane functions, ±finishing ncplane.
- Functions ncplane_putw* considered unnecessary from Rust.
- Functions & macros ncplane_printf* pending evaluation.
4 years ago
joseLuís 9b827f22b6 rust: +6 plane functions 4 years ago
joseLuís 915d59fb3e rust: +2 cell functions, finishing cells
- cell_prime and cells_load_box are unsafe fn, until a safer abstraction
  is built around gcluster, to avoid raw pointers dereferencing.
4 years ago
joseLuís 11287b6081 rust: rename types, add cell init macros
- +3 macros: cell_initializer, cell_simple_initializer and
  cell_trivial_initializer
- rename GraphemeCluster to EGC and GraphemeClusterBackStop to
EGCBackstop
- improve EGC doc comments
4 years ago
joseLuís 9c08411e27 rust: rustfmt 4 years ago
joseLuís e324cd404c rust: finish notcurses functions
+4 notcurses functions
4 years ago
joseLuís 154d3ef312 rust: +14 cell functions
WIP: cell_prime & cells_load_box
4 years ago
joseLuís 5eb9dc37d4 rust: finish channel functions
remove channels_blend()
4 years ago
nick black 05da44b06b
hide blending functions #917 4 years ago
joseLuís 18f90e394c rust: +22 cell functions 4 years ago
joseLuís 6cfd3d6ad7 rust: fix clippy compat with bindgen
and fix a couple of lints in plane.rs
4 years ago
joseLuís b1b8400165 rust: +8 plane functions; refactor 4 years ago
joseLuís a5fecf021e rust: update cells code 4 years ago
joseLuís ccac3d033e rust: update types 4 years ago
nick black 202b88615f
kill ncplane_styles(), duplicates ncplane_attrs() 4 years ago
nick black 8b072c0b5f rust: attrword -> stylemask, u32 -> u16 4 years ago
joseLuís 62e9c28a0a rust: update types info 4 years ago
joseLuís 8c2ed36c3a rust: update types info 4 years ago
joseLuís 9ff74c393a rust: improve types info 4 years ago
joseLuís 5ba618d6a8 rust: several fixes
- rename Alpha to AlphaBits
- fix pixel alpha mask
- fix syntax errors
4 years ago
joseLuís 55ad6153d2 rust: add a lot of info about types 4 years ago
joseLuís d3d8051f36 rust: fix channel tests 4 years ago
joseLuís d0f691af5f rust: +8 plane functions; fix headers; minor fixes 4 years ago
joseLuís 4720f23b12 rust: improve some channel functions & comments
Functions `channel_set_alpha()`, `channels_set_fg_alpha()` &
`channels_set_bg_alpha()` don't return an error anymore. Instead
of failing when the alpha value has others bits set, it gets
cleaned of other possible bits with bitmasking.

And in case of trying to use high contrast for the background
alpha gets reset to a default opaque.
4 years ago
joseLuís e1cfe9394f +2 plane functions; fix comments 4 years ago
nick black adcabfae52
rust: assimilate #883 4 years ago
nick black 17df279b66 libnotcurses-sys rust lowlevel bindings 5 years ago
Nick Black 4571b57ece
Rust/FreeBSD (#221)
* rust bindings
* update release documentation with Rust info
* panelreel tester: accept command-line options#180
* input: char32_t not wchar_t in output
* freebsd compilation issues #196
5 years ago