joseLuís
cac8202e03
rust: egc char related fixes
2020-08-19 18:36:49 +02:00
joseLuís
f25ba1b83c
rust: +11 plane functions, ±finishing ncplane.
...
- Functions ncplane_putw* considered unnecessary from Rust.
- Functions & macros ncplane_printf* pending evaluation.
2020-08-19 18:09:58 +02:00
joseLuís
9b827f22b6
rust: +6 plane functions
2020-08-19 03:21:29 +02:00
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.
2020-08-19 03:18:47 +02:00
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
2020-08-18 20:46:12 +02:00
joseLuís
9c08411e27
rust: rustfmt
2020-08-18 18:28:17 +02:00
joseLuís
e324cd404c
rust: finish notcurses functions
...
+4 notcurses functions
2020-08-18 16:27:53 +02:00
joseLuís
154d3ef312
rust: +14 cell functions
...
WIP: cell_prime & cells_load_box
2020-08-18 15:33:26 +02:00
joseLuís
5eb9dc37d4
rust: finish channel functions
...
remove channels_blend()
2020-08-18 15:31:33 +02:00
nick black
05da44b06b
hide blending functions #917
2020-08-18 08:41:55 -04:00
joseLuís
a4d5817940
rust: cargo clippy alias
2020-08-18 13:09:39 +02:00
joseLuís
18f90e394c
rust: +22 cell functions
2020-08-18 00:01:47 +02:00
joseLuís
6cfd3d6ad7
rust: fix clippy compat with bindgen
...
and fix a couple of lints in plane.rs
2020-08-17 18:21:37 +02:00
joseLuís
b1b8400165
rust: +8 plane functions; refactor
2020-08-17 17:54:43 +02:00
joseLuís
a5fecf021e
rust: update cells code
2020-08-17 17:54:17 +02:00
joseLuís
4382487652
rust: update example
2020-08-17 17:54:07 +02:00
joseLuís
8eefeb2a73
rust: fix builder rerun condition
2020-08-16 21:58:29 +02:00
nick black
49ae79341d
v1.6.15
2020-08-16 11:04:43 -04:00
joseLuís
ccac3d033e
rust: update types
2020-08-16 16:22:58 +02:00
joseLuís
59546eaf40
rust: update dependency cstr_core; fixes #898
2020-08-16 16:20:48 +02:00
nick black
dc99d56ac1
v1.6.14
2020-08-16 10:06:33 -04:00
nick black
e897de3700
v1.6.13
2020-08-16 08:54:22 -04:00
nick black
202b88615f
kill ncplane_styles(), duplicates ncplane_attrs()
2020-08-16 07:26:16 -04:00
nick black
8b072c0b5f
rust: attrword -> stylemask, u32 -> u16
2020-08-16 01:44:36 -04:00
joseLuís
62e9c28a0a
rust: update types info
2020-08-14 11:09:38 +02:00
joseLuís
8c2ed36c3a
rust: update types info
2020-08-14 10:40:37 +02:00
joseLuís
9ff74c393a
rust: improve types info
2020-08-13 22:15:36 +02:00
joseLuís
d9596883d3
rust: make examples no_std compatible too
2020-08-13 22:14:00 +02:00
joseLuís
5ba618d6a8
rust: several fixes
...
- rename Alpha to AlphaBits
- fix pixel alpha mask
- fix syntax errors
2020-08-13 17:28:59 +02:00
joseLuís
55ad6153d2
rust: add a lot of info about types
2020-08-13 17:23:13 +02:00
joseLuís
d3d8051f36
rust: fix channel tests
2020-08-13 09:13:50 +02:00
joseLuís
d0f691af5f
rust: +8 plane functions; fix headers; minor fixes
2020-08-13 00:47:00 +02:00
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.
2020-08-13 00:19:16 +02:00
joseLuís
e1cfe9394f
+2 plane functions; fix comments
2020-08-12 18:13:03 +02:00
joseLuís
4ac4f1b09e
rust: clean root, move build files inside folder
2020-08-12 18:10:18 +02:00
joseLuís
e22232774d
rust: add direct-image example
2020-08-12 17:53:50 +02:00
nick black
adcabfae52
rust: assimilate #883
2020-08-12 10:46:59 -04:00
nick black
9704f5cbe7
v1.6.12
2020-08-12 09:37:59 -04:00
nick black
1ada631e94
purge rust/notcurses
2020-08-12 08:42:22 -04:00
joseLuís
efdb4ba4f1
pass rustfmt & fix typos
2020-08-11 18:31:18 +02:00
joseLuís
03f2e7c871
rust: implement palette functions
2020-08-11 18:29:49 +02:00
joseLuís
dbec390fac
rust: improve some channel functions
...
Functions `channel_set()`, `channels_set_fg()`, `channels_set_bg()`
don't return an error anymore. Instead of failing when the rgb value
has any of the last 8 bits set, now it just ignores those bits.
2020-08-11 16:41:18 +02:00
joseLuís
6424e453aa
rust: add test modules skeletons
2020-08-11 14:31:57 +02:00
joseLuís
ec92d13306
rust: improve info headers
2020-08-11 14:25:40 +02:00
joseLuís
da34965fcd
rust: implement pixel functions
2020-08-11 12:27:40 +02:00
joseLuís
7790913d2f
fix typos & improve comments
2020-08-11 11:38:30 +02:00
joseLuís
8b01f26730
rust: improve info headers for maximum consistency
...
and implement 1 palette fuction
2020-08-11 11:31:29 +02:00
joseLuís
70adc5645b
rust: reimplement keys fns & consts
2020-08-11 10:50:51 +02:00
joseLuís
a29fa0395d
add handy cargo aliases
2020-08-10 23:56:57 +02:00
joseLuís
ba660aa69b
make rust bindings no_std compatible, fixes #872
2020-08-10 23:56:09 +02:00
joseLuís
0362a11f63
make it compatible with no_std environment
2020-08-10 23:48:56 +02:00
joseLuís
799407f98c
prepare modules for pending work
2020-08-10 23:44:40 +02:00
joseLuís
2f1b4074eb
fix & refactor Rust bindings
...
- move types functions out of lib.rs into their own modules
- add modules types, and for cell & plane functions
- change error handling for consistency with the underlying lib
- reformat the code
2020-08-09 16:48:26 +02:00
José Luis Cruz
92350b4694
turn off doctests
...
Fixes bindgen errors due to invalid Rust comments imported from functions `ncmultiselector_options` and `ncselector_item`.
Related:
- https://github.com/rust-lang/rust-bindgen/issues/426
- https://github.com/rust-lang/rust-bindgen/issues/1749
2020-08-09 16:24:58 +02:00
joseLuís
e9bf400a7e
tidy up & update crate deps, categories & keywords
2020-08-09 13:36:43 +02:00
joseLuís
84c637d3e8
copy all comments as doc Rust comments
...
In principle it would be better to write the comments intented
for documentation as `///` (or `/** */` for multi-line), but
this way it works mostly, without having to change them all.
There are two comments that are not valid Rust doc-comments,
and arerendered badly: The are the ones in:
`ncmultiselector_options` and `ncselector_item`.
2020-08-08 18:32:45 +02:00
joseLuís
de643589b1
export all new channel functions
2020-08-08 18:04:00 +02:00
José Luis Cruz
8368380b66
Merge pull request #867
...
Remove warnings about improper_ctypes
2020-08-08 17:54:51 +02:00
joseLuís
590fbf4f1f
move channels.rs to libnotcurses-sys crate
2020-08-08 17:49:12 +02:00
joseLuís
2842ffb751
add remaining channel functions
2020-08-08 10:53:32 -04:00
joseLuís
2e640d4146
rewriting the channels inline functions in Rust
2020-08-08 10:53:32 -04:00
José Luis Cruz
9366028919
Remove warnings about improper_ctypes
...
Fixes : #856
2020-08-08 15:32:02 +02:00
joseLuís
1caba6ac29
refactor test module
...
- new function for creating the notcurses options for tests
- hide the initial statistics for cleaner test output
- reformat file with rustfmt
2020-08-07 15:39:01 -04:00
nick black
df25fc99b9
rust: generate direct mode bindings
...
When we split direct.h out from notcurses.h, I forgot to add
the new header file to the bindgen-rs includes. I've added
it, and also added a simple directmode unit test.
Closes #853 . Thanks @joseluis for reporting this issue!
2020-08-06 08:15:53 -04:00
nick black
fa76f5a432
v1.6.11
2020-08-03 02:47:07 -04:00
nick black
8cfd1677c4
v1.6.10
2020-08-01 17:53:19 -04:00
nick black
d126c71dd6
v1.6.9
2020-07-26 23:27:11 -04:00
nick black
f8c16ceb79
v1.6.8
2020-07-26 22:20:52 -04:00
nick black
4f8673b0e9
v1.6.7
2020-07-26 21:25:52 -04:00
nick black
f6d1aa74fc
serial_test seems sufficient?
2020-07-21 23:35:24 -04:00
nick black
a1c68b78cb
serial_test seems sufficient?
2020-07-21 23:35:03 -04:00
nick black
17f1323c20
v1.6.6
2020-07-19 21:55:10 -04:00
nick black
308b49da5a
v1.6.5
2020-07-19 21:16:53 -04:00
nick black
b2e924319b
v1.6.4
2020-07-19 20:09:14 -04:00
nick black
a4ee5bd9c7
v1.6.3
2020-07-16 12:53:42 -04:00
nick black
3f544a4ed1
v1.6.2
2020-07-15 23:34:25 -04:00
Nick Black
9ca7d14c2b
rust: drop libc_stdout from libnotcurses-sys tests #788
2020-07-13 02:41:19 -04:00
Nick Black
e3e7b40440
rust: use pkg-config results for -I values #788
2020-07-13 02:35:50 -04:00
nick black
1cc0371373
v1.6.1
2020-07-12 03:20:50 -04:00
nick black
284dfc4fad
v1.6.0
2020-07-04 22:40:32 -04:00
nick black
6ab11e679f
v1.5.3
2020-06-28 16:18:57 -04:00
nick black
64d42212a3
v1.5.2
2020-06-19 15:25:41 -04:00
nick black
bea281d120
rust: update for new notcurses_options
2020-06-14 18:16:44 -04:00
nick black
0657267274
v1.5.1
2020-06-14 17:17:49 -04:00
nick black
4d9171aee1
rust: get libnotcurses-sys compiling #704
2020-06-11 23:32:31 -04:00
nick black
7fc38d8fdd
v1.5.0
2020-06-08 06:05:17 -04:00
nick black
3bc9a4cfa2
v1.4.5
2020-06-05 06:09:17 -04:00
nick black
6bbf15cbd4
bump rust versions
2020-06-03 10:12:28 -04:00
nick black
354ece5826
v1.4.4.1
2020-06-01 16:18:56 -04:00
nick black
230f3af8e1
v1.4.4
2020-06-01 15:32:23 -04:00
nick black
c08c9b7f7f
v1.4.3
2020-05-22 09:18:39 -04:00
nick black
5537692bd1
cells_rounded_box() is now exported
2020-05-17 10:36:20 -04:00
nick black
99990e9a92
sigh, rust
2020-05-17 09:23:56 -04:00
nick black
32d3ae91c8
v1.4.2.3
2020-05-17 09:01:53 -04:00
nick black
e132c6bb24
v1.4.2.2
2020-05-17 08:11:48 -04:00
nick black
49fb03655e
v1.4.2.1
2020-05-17 07:59:04 -04:00
nick black
38e67abd9d
v1.4.2
2020-05-17 07:29:10 -04:00
nick black
8b5b44cf36
v1.4.1
2020-05-10 22:21:48 -04:00
nick black
6a22040584
v1.4.0
2020-05-10 21:36:48 -04:00
nick black
e2b610506f
v1.3.4
2020-05-07 01:38:35 -04:00
nick black
8feb01c7cc
rust: use ncplane_dim_{y|x} from libnotcurses-sys
2020-05-02 08:23:48 -04:00
nick black
0d38adc60a
rust: move inline replacements to libnotcurses-sys
2020-05-02 08:13:15 -04:00
nick black
ff18138349
rust: ncplane_perimeter(), cells_rounded_box()
2020-05-02 08:04:13 -04:00
nick black
63f65a0902
rust: proper subslice in ncplane_putstr()
2020-05-02 07:17:17 -04:00
nick black
05753bd91a
v1.3.3
2020-04-26 21:25:23 -04:00
nick black
5909f8f000
minimum of 0.4.0 for serial_test
2020-04-21 06:30:46 -04:00
nick black
70c5facbc3
rust: implement ncplane_putstr_yx()
2020-04-21 06:25:02 -04:00
nick black
790a953c82
list libqrcodegen in README
2020-04-20 06:58:58 -04:00
nick black
1dad2c6b50
v1.3.2
2020-04-19 02:24:03 -04:00
nick black
e00ef4aca9
prep for 1.3.1
2020-04-18 00:35:15 -04:00
nick black
86e225dc4c
prep for 1.3.0 #460
2020-04-11 22:00:34 -04:00
nick black
24a9343b0b
prep for 1.2.9
2020-04-11 12:39:54 -04:00
nick black
69b716f7f8
prep for 1.2.8
2020-04-10 16:19:41 -04:00
nick black
89809d5b59
prep for 1.2.7
2020-04-09 20:21:33 -04:00
nick black
6d366380ed
prep for 1.2.6
2020-04-08 10:10:47 -04:00
Nick Black
c2a645e9af
Rust wrapper work ( #454 )
...
* packaging: s/libtinfo/Terminfo/g
* rust: add stddim_yx()
* rust: check for valid init in unit tests
* rust: serialize up tests
* constify notcurses_term_dim_yx()
* rust: add dim wrappers
* remove notcurses_resize() from public API #367
* call notcurses_resize() from notcurses_refresh() #367
2020-04-08 05:39:41 -04:00
nick black
c2d7983afc
rust: merge up from colloquy branch
2020-04-08 01:21:34 -04:00
nick black
df3dc6b5bc
prep for 1.2.5
2020-04-04 18:49:16 -04:00
nick black
9d7d7ebd8a
rust: add getc_blocking()
2020-04-04 04:34:49 -04:00
nick black
a3323fb22c
Enforce UTF8 where necessary in unit tests #428
...
Certain unit tests required UTF8 encoding on the output
terminal to work (#428 ). This includes anything which does
any kind of fill. Add enforce_utf8() checks to all such
tests that were missing them. Unit tests once again pass in
a pure ASCII environment.
2020-03-29 04:46:30 -04:00
nick black
6c81cb3b45
rust: use libnotcurses-sys, add test
2020-03-27 06:27:26 -04:00
nick black
cbacf006e5
libnotcurses-sys: update tests for new notcurses_options
2020-03-27 05:57:10 -04:00
nick black
7c6b655483
v1.2.4
2020-03-24 16:25:47 -04:00
Nick Black
c056a0a026
Subregion renders #293 ( #404 )
...
Add four new fields to notcurses_options: margin_{tblr}, which requests margins to the top, right, bottom, and left. Render only within those margins, leaving the screen otherwise untouched (well, cleared if using the alternate screen). #293
2020-03-13 05:07:33 -04:00
nick black
ac683e21d2
v1.2.3
2020-03-07 18:53:36 -05:00
nick black
e72111ac8b
v1.2.2
2020-02-24 00:03:00 -05:00
nick black
88c49df1b1
v1.2.1
...
DSFG demo can't have luigi
s/1.2.0/1.2.1/g
2020-02-20 05:13:22 -05:00
nick black
b2210f0cf9
Rust: build libnotcurses-sys from CMake #320
2020-02-18 13:18:20 -05:00
nick black
2b08c53075
prep for 1.2.0
2020-02-17 21:57:52 -05:00
nick black
7043cfcc65
rust: prep for 1.1.8
2020-02-11 19:14:01 -05:00
nick black
887726b0d9
Debian: move all symbols/history to 1.1.8
2020-02-11 19:11:34 -05:00
nick black
1e676cc0f1
rust: update cargo.locks for 1.1.7
2020-02-11 18:48:54 -05:00
nick black
cda600a4aa
:/
2020-02-10 21:37:20 -05:00
nick black
34546afc73
Rust: add basic unit tests #101
2020-02-05 05:28:42 -05:00
nick black
b284901d18
prep for 1.1.6
2020-02-05 04:08:42 -05:00
nick black
2b6b6f996a
drone: new builders
2020-02-05 00:20:52 -05:00
nick black
429e00d612
v1.1.5
2020-02-04 23:26:55 -05:00
nick black
f8ee8b2a10
rust: update Cargo.locks
2020-02-02 13:39:33 -05:00
nick black
60c19017f0
v1.1.4
2020-02-02 02:48:22 -05:00
nick black
746ef96ea1
prep for v1.1.3
2020-02-01 02:37:55 -05:00
nick black
c9bfc54381
prep for 1.1.2
2020-01-29 01:03:00 -05:00
nick black
ac791c781d
1.1.1, update version numbers
2020-01-27 02:15:38 -05:00
nick black
17a1ff3de3
require notcurses 1.1.0 for libnotcurses-sys-rs
2020-01-19 13:46:36 -05:00
nick black
1a4ca80616
debian: finalize 1.1.0 rust: update version to 1.1.0
2020-01-19 10:09:16 -05:00
nick black
f857edd09d
libav: render spaces when possible
2020-01-15 04:50:54 -05:00
nick black
f1b17e964b
add package stuffs
2020-01-15 04:50:54 -05:00
nick black
17df279b66
libnotcurses-sys rust lowlevel bindings
2020-01-15 04:50:54 -05:00
nick black
2c2542a553
docs/rust/python: update versions to 1.1.0
2020-01-15 04:50:54 -05:00
nick black
0330919564
add notes about python release
2020-01-09 06:47:46 -05:00
nick black
5a555ff917
v1.0.2
2020-01-09 05:50:20 -05:00
nick black
7e40453199
v1.0.1
2020-01-09 05:22:34 -05:00
nick black
202115d826
Add python3-all-dev build-dep
2020-01-07 16:15:27 -05:00
nick black
af1a5ea528
v1.0.0. Give. Sympathize. Control.
2020-01-04 08:39:20 -05:00
nick black
136779826c
cargo: 0.9.9
2020-01-01 11:27:12 -05:00
nick black
f2df310edb
v0.9.9
2020-01-01 07:28:03 -05:00
nick black
24350ed51e
get everybody read for 0.9.3
2019-12-25 11:55:07 -05:00
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
2019-12-25 10:11:24 -05:00