Commit Graph

2789 Commits (9e6e884a495039f7ad8bbba44060b238f14f61a9)
 

Author SHA1 Message Date
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
4 years ago
joseLuís a0264c6a4b add build dir and vim temp files to .gitignore 4 years ago
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
4 years ago
joseLuís e9bf400a7e tidy up & update crate deps, categories & keywords 4 years ago
nick black 75e805d1f1
selector/multiselect: interpret pgdown/up as arrows #862 4 years ago
nick black b977b5b84d
zoo demo: selectors go behind exposition plane #835 4 years ago
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`.
4 years ago
joseLuís de643589b1 export all new channel functions 4 years ago
José Luis Cruz 8368380b66
Merge pull request #867
Remove warnings about improper_ctypes
4 years ago
joseLuís 590fbf4f1f move channels.rs to libnotcurses-sys crate 4 years ago
joseLuís 2842ffb751 add remaining channel functions 4 years ago
joseLuís 2e640d4146 rewriting the channels inline functions in Rust 4 years ago
nick black 3bb95824fc update some terminology 4 years ago
nick black 2f3fba59c8
revert early-morning idiocy #866 4 years ago
nick black 4232ca1427
blitters PoC: hoist ncv creation from main loop #866 4 years ago
José Luis Cruz 9366028919
Remove warnings about improper_ctypes
Fixes: #856
4 years ago
nick black 73e71622f7
ncneofetch: free up some allocations 4 years ago
nick black 4f5be0b100
tests: treat TERM=unknown like unset TERM #865 4 years ago
nick black c21f0fb812 ncselector_dim_yx: eliminate boundary checks 4 years ago
nick black c0ffe0ae91 reeldemo: kill compiler warning with grim cast 4 years ago
nick black 9ae3fe4728 update some terminology 4 years ago
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
4 years ago
nick black 4c822f80a9
comment and move ncpixel API 4 years ago
nick black 0da11f4c3e
linebreak on html footer 4 years ago
nick black 703fbc853e
zoo: differentiate title from borders 4 years ago
José Luis Cruz 7aef3e4fca fix typo
foreground > background
4 years ago
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!
4 years ago
nick black 59fe0cb829
zoo demo: color up selectors 4 years ago
nick black e17f7198e7
printf(%lc) is wint_t not wchar_t 4 years ago
nick black 58f7dab1c0 doc it up (a plan for ncreels, that is) 4 years ago
nick black a080ac83b8 ncreel: remove wresize wrapper, introduce direction_e 4 years ago
nick black 3ba98c8b22 move ncselector defintiion into selector.c 4 years ago
nick black c618096083
ncselector_redraw(): don't call notcurses_render() #627 4 years ago
nick black 7fc761296f
release: fix twine syntax 4 years ago
nick black fa76f5a432
v1.6.11 4 years ago
nick black ead60d06cc
unexport cell_egc_idx() 4 years ago
nick black ca2a6501e6
rasterize: remove noforeground check, no longer useful 4 years ago
nick black 78fdad0f43
demo: simplify HUD code, print top to bottom 4 years ago
nick black bc9ecd86a8
kill -Wempty-body warning 4 years ago
Cheong Sik Feng ccbb3fda22 use ncplane_resize_simple() instead of ncplane_resize() 4 years ago
Cheong Sik Feng 91613528f2 resize plane in additem and delitem when necessary
Signed-off-by: Cheong Sik Feng <sikfeng@gmail.com>
4 years ago
nick black c6e136f7c9
index.html: center bottom text 4 years ago
nick black bf18be1816
index.html: embed packaging status matrix 4 years ago
nick black b0c1a0ae18
zoo: fix reference to loaded file, use find_data() 4 years ago
nick black 3d6fad1477
python: update ncreader_options definition 4 years ago
nick black 9443b2f316
release: supply -s -udankamongmen to twine 4 years ago
nick black 8cfd1677c4
v1.6.10 4 years ago
nick black 5c5077840e
intro/hud: place things a bit tighter to avoid HUD stomping intro line 4 years ago
nick black ce8b34da86 Glyph transparency in selector backgrounds #847 4 years ago
nick black 7e43077128
ncselector_additem: extend longops/longdesc if necessary #846 4 years ago