nick black
1f296256e3
ncreel_trim: work on borderless reels #818
2020-08-09 21:46:49 -04:00
nick black
f586e7f47d
ncreel_draw_tablet: properly resize borderless border plane #818
2020-08-09 21:24:12 -04:00
nick black
9fd7ba44dc
ncreel_redraw: handle 0-line data planes via genocide
2020-08-09 18:04:55 -04:00
nick black
d10c9a6401
ncreel: pre-trim nuke for bottom #818
2020-08-09 17:57:10 -04:00
nick black
9988700588
drop patreon link, patreon is the lame
2020-08-09 17:49:21 -04:00
nick black
48615b8b3d
CMake: missed a word in title =] :D
2020-08-09 17:47:21 -04:00
Nick Black
11d6a4eb89
New reel layout algorithm #818 ( #870 )
...
New reel layout algorithm based on trimming and sifting. Fixes the original issue of #818 , though I'm not marking that bug fixed until I've resolved the little issues remaining with this one.
Back off CMake version dependency, see if we can get by with 3.11.4 for EPEL8 #851
Simplify tablet drawing tremendously by separating tablet border and data planes. Callbacks no longer need worry about the borders; they can simply fill the plane they're handed. #833
Improve notcurses_debug() a bit
Add ncplane_new_named() and friends to expose plane naming to the user.
Add internal ncplane_genocide() to kill a plane and all its bound descendents
New industrial-strength ncreel unit testing
notcurses-ncreel now accepts -ln for log level n
Add ncplane_parent() and ncplane_parent_const()
2020-08-09 17:40:59 -04:00
nick black
dbdbf32b5e
cull .gitignore of obsolete contents
2020-08-09 11:10:10 -04: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
joseLuís
a0264c6a4b
add build dir and vim temp files to .gitignore
2020-08-09 16:30:38 +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
nick black
75e805d1f1
selector/multiselect: interpret pgdown/up as arrows #862
2020-08-08 21:20:47 -04:00
nick black
b977b5b84d
zoo demo: selectors go behind exposition plane #835
2020-08-08 21:11:13 -04: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
nick black
3bb95824fc
update some terminology
2020-08-08 10:53:32 -04:00
nick black
2f3fba59c8
revert early-morning idiocy #866
2020-08-08 10:30:57 -04:00
nick black
4232ca1427
blitters PoC: hoist ncv creation from main loop #866
2020-08-08 10:28:38 -04:00
José Luis Cruz
9366028919
Remove warnings about improper_ctypes
...
Fixes : #856
2020-08-08 15:32:02 +02:00
nick black
73e71622f7
ncneofetch: free up some allocations
2020-08-08 08:05:19 -04:00
nick black
4f5be0b100
tests: treat TERM=unknown like unset TERM #865
2020-08-08 07:54:09 -04:00
nick black
c21f0fb812
ncselector_dim_yx: eliminate boundary checks
2020-08-07 21:09:11 -04:00
nick black
c0ffe0ae91
reeldemo: kill compiler warning with grim cast
2020-08-07 17:56:59 -04:00
nick black
9ae3fe4728
update some terminology
2020-08-07 16:31:50 -04: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
4c822f80a9
comment and move ncpixel API
2020-08-07 14:34:00 -04:00
nick black
0da11f4c3e
linebreak on html footer
2020-08-07 14:33:55 -04:00
nick black
703fbc853e
zoo: differentiate title from borders
2020-08-07 13:32:50 -04:00
José Luis Cruz
7aef3e4fca
fix typo
...
foreground > background
2020-08-07 13:23:36 -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
59fe0cb829
zoo demo: color up selectors
2020-08-06 04:10:57 -04:00
nick black
e17f7198e7
printf(%lc) is wint_t not wchar_t
2020-08-06 03:08:00 -04:00
nick black
58f7dab1c0
doc it up (a plan for ncreels, that is)
2020-08-06 01:13:21 -04:00
nick black
a080ac83b8
ncreel: remove wresize wrapper, introduce direction_e
2020-08-06 01:13:21 -04:00
nick black
3ba98c8b22
move ncselector defintiion into selector.c
2020-08-06 01:13:21 -04:00
nick black
c618096083
ncselector_redraw(): don't call notcurses_render() #627
2020-08-05 21:26:32 -04:00
nick black
7fc761296f
release: fix twine syntax
2020-08-03 02:52:27 -04:00
nick black
fa76f5a432
v1.6.11
2020-08-03 02:47:07 -04:00
nick black
ead60d06cc
unexport cell_egc_idx()
2020-08-02 23:45:58 -04:00
nick black
ca2a6501e6
rasterize: remove noforeground check, no longer useful
2020-08-02 23:37:14 -04:00
nick black
78fdad0f43
demo: simplify HUD code, print top to bottom
2020-08-02 21:41:15 -04:00
nick black
bc9ecd86a8
kill -Wempty-body warning
2020-08-02 19:17:23 -04:00
Cheong Sik Feng
ccbb3fda22
use ncplane_resize_simple() instead of ncplane_resize()
2020-08-02 19:15:13 -04:00
Cheong Sik Feng
91613528f2
resize plane in additem and delitem when necessary
...
Signed-off-by: Cheong Sik Feng <sikfeng@gmail.com>
2020-08-02 19:15:13 -04:00
nick black
c6e136f7c9
index.html: center bottom text
2020-08-02 16:10:20 -04:00