Commit Graph

212 Commits (d82f0934b397fa035b42b76810bfc2b423a76d92)

Author SHA1 Message Date
joseLuís d82f0934b3 rust: show inline documentation for curated bindings 4 years ago
joseLuís 27628e961a rust: improve bindings 4 years ago
joseLuís a40cabb9d0 rust: move integration tests out of lib.rs 4 years ago
joseLuís c8316d75ae rust: continue improving bindings and API
- use libc types and functions directly when possible
	- char32_t -> u32 -> char
	- size_t -> u64
	- free()
	- strcmp()
	NOTE: it seems libc::timespec doesn't work with notcurses_getc()
- rename types
  	- Input -> NcInput
	- Scale -> NcScale
- `suppuabize` function is now private.
- `bindings` module is now public.
- improve comments.
4 years ago
joseLuís 98a2fcf336 rust: explicit bindgen imports for a better world 4 years ago
joseLuís 4beec0845f rust: type changes
- rename types in order to make them more similar to the original ones,
  and so that they play better alongside the higher types defined by
  notcurses-rs.
  	- Plane -> NcPlane
	- DirectMode -> NcDirect
	- DirectModeFlags -> NcDirectFlags
	- FullMode -> Notcurses
	- Align -> NcAlign
	- Blitter -> NcBlitter
	- Scale -> NcScale
- make `types` module re-exportable.
- rename nc module to notcurses.
- improve comments.
4 years ago
joseLuís d59d05990b rust: direct mode changes
- rename ncdirect_start to ncdirect_new
- add direct mode option flags
- fix examples
- refactor comments
4 years ago
joseLuís 94827c12a2 rust: update dependencies 4 years ago
joseLuís fed2d7cb9b rust: fix comments 4 years ago
joseLuís e8ff092f50 rust: fix input; add constructor 4 years ago
joseLuís 2f3d99e4e7 rust: fix visual 4 years ago
joseLuís cfb2bf0824 rust: add input module with 1 static function 4 years ago
joseLuís 09bdf6ebd4 rust: add visual module 4 years ago
joseLuís cb16c52eef rust: review functions; update headers 4 years ago
joseLuís 40621b7b95 rust: finish converting missing rgb calls 4 years ago
joseLuís 42250179f3 rust: add `Blitter` and `Scale` types 4 years ago
nick black 8189d21709
v2.0.2 4 years ago
nick black a4546c86e3
v2.0.1 4 years ago
nick black 65974aeb0b
v2.0.0 4 years ago
nick black 8c9611d085
v1.7.6 4 years ago
nick black c6c157a5ad
notcurses_stats_alloc() everywhere 4 years ago
nick black 20a49d053d
v1.7.5 4 years ago
joseLuís bcc5481899 rust: update example
- use ncdirect_flush function for flushing
4 years ago
joseLuís 5be9edd6f4 rust: convert all rgb calls & new plane functions #1024
- add (TBD) ncplane_putchar, ncplane_putchar_yx
- delete ncplane_bound, ncplane_new, ncplane_pusimple & ncplane_putsimple_yx
- rename `.*_[bf]g.*_rgb` → .`*_[bf]g.*_rgb8`
- rename `.*_[bf]g` → .`*_[bf]g.*_rgb`
4 years ago
joseLuís a09ed747ca rust: update example direct-cursor 4 years ago
nick black f02263e977
v1.7.4 4 years ago
nick black 21b8a50da0
rust: s/NCCHANNEL_ALPHA_MASK/CHANNEL_ALPHA_MASK/g 4 years ago
nick black 97dc50db1a kill stray entry in NEWS 4 years ago
nick black 4459efa216
v1.7.3 4 years ago
nick black e42dbdfd60 _stainable() -> _stained() #985 4 years ago
nick black bc097a5674
v1.7.2 4 years ago
nick black 70f062aff5
v1.7.1 4 years ago
nick black 64fe8f6c07
v1.7.0 4 years ago
nick black 4c7a1d0427 ncdirect_init: add flags parameter #976 4 years ago
nick black c93243fd54
v1.6.20 4 years ago
nick black e92b7fd6ea
v1.6.19 4 years ago
nick black 6526e58c00
v1.6.18.4 4 years ago
nick black 6ea73e6e45
v1.6.18.3 4 years ago
nick black 550c02d8ac
v1.6.18.2 4 years ago
nick black d11d8175d0
v1.6.18.1 4 years ago
nick black 6d7f9eb501
v1.6.18 4 years ago
nick black 026b94969d cffi heap allocations are zero-initialized #942 4 years ago
joseLuís 1e6558fed9 new type aliases FullMode & Input 4 years ago
joseLuís 246cde91f9 +notcurses_align & modify ncplane_align #937 4 years ago
nick black 4ebf8f748c
v1.6.16 4 years ago
joseLuís eab553d3d1 rust: update libc 4 years ago
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 ed748a5162 rust: new example: direct cursor
issue: only updates the screen after a newline
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