nick black
d153ccb8f4
[ncvisual] properly size created plane
...
if we go into ncvisual_render() looking to render a number
of rows not evenly divisible by the scaling factor, we need
to get an extra row (duh). correct ncvisual_render_cell() to
reflect this. the blitters already know to fill this line in
with transparency wherever the image is not defined. fix up
rotation unit tests to reflect this. closes #1513 .
2021-04-09 23:27:06 -04:00
nick black
94839c2958
[ncdirect_stream] kill unused variable warnings
2021-04-09 18:08:23 -04:00
joseLuís
429ca673d3
rust: several fixes; add example for issue #1509
...
- fix method name: NcPlane.at_yx_cell().
- tell bidngen derive more traits when it can
- update .gitignore so it doesn't ignore rust/build
2021-04-08 14:48:16 +02:00
joseLuís
7d51756a12
rust: new poc-planebase example; doc improvements
...
- improve NcVisual.from_rgba documentation.
- fix Notcurses.term_dim_yx documentation.
- new example `poc-planebase` to help find the bug.
- improve full-capabilities example a little.
2021-04-08 13:11:06 +02:00
joseLuís
60c874f835
rust: impl ncplane_as_rgba; refactor macros
...
- rename and refactor NcPlane method rgba() to as_rgba().
- add example `issue-rgba` that shows a problem when the plane has text.
- refactor `error_ref` & `error_ref_mut` macros to allow custom return values
2021-04-08 11:07:04 +02:00
nick black
05082fc277
ncplane_as_rgba(), returns pixel geometry along with bitmap #1508
2021-04-08 04:12:11 -04:00
joseLuís
4996bebad0
rust: add constant NCOPTION_NO_CLEAR_BITMAPS
2021-04-08 09:22:56 +02:00
joseLuís
7c6083ee1a
rust: add missing functions & constants; refactor
...
- implement methods for ncplane_resize_marginalized & notcurses_debug_caps.
- add constants NCPLANE_OPTION_MARGINALIZED & NCPLANE_OPTION_VERALIGNED.
- signature updates for NcChannel* & NcPixel trait methods.
- minor improvements.
2021-04-08 08:35:35 +02:00
nick black
694a0c133f
[terminfo] only interrogate for sixel when pixel geometry is defined #1511 #1506
2021-04-08 01:15:18 -04:00
nick black
217453780e
[terminfo] remove alacritty hacks #1506 #1430
2021-04-08 01:06:38 -04:00
nick black
b1baa5e88a
[demo] print that we're checking for pixel support #1506
2021-04-08 00:55:25 -04:00
nick black
3b169dfa31
[notcurses.h] improve ncvisual_from_rgba() docs #1488
2021-04-07 20:28:21 -04:00
nick black
8e61429789
[notcurses.h] remove bogus restriction for ncvisual_render #1488
2021-04-07 19:59:19 -04:00
nick black
cc3cddf40b
[sprixel] don't yet enable sixel on alacritty
2021-04-07 19:53:14 -04:00
nick black
0febe3428f
[sprixels] simplify query_sixel()
2021-04-07 18:47:20 -04:00
joseLuís
36a7355cd8
rust: minor examples updates
2021-04-07 21:27:10 +02:00
joseLuís
ae2af14281
rust: new methods, refactor methods and planes example
...
- add NcChannelPair constructors.
- change some NcChannel methods to return Self: set(), set_alpha()
- add NcPlane methods move_rel() & resize_simple_rel().
- add example full-planes (WIP).
- remove proto-example full-basics.
- small update of poc-menu example.
2021-04-07 20:32:46 +02:00
nick black
9dad70568b
[plot] drop inline from update_sample
2021-04-07 12:29:00 -04:00
joseLuís
f2dd921caa
update info on wezterm and alacritty terminals
...
- confirmed that wezterm supports pixels.
- add a link to the alacritty repository with WIP pixel support.
2021-04-07 15:33:19 +02:00
joseLuís
fce6c6873f
fix typos
2021-04-07 15:00:48 +02:00
joseLuís
435b8cb6a7
rust: refactor examples & palette_size method
...
- refactor Notcurses.palette_size() to return an NcResult.
- refactor & rename example direct-text.rs to direct-capabilities.rs.
- new example full-capabilities.rs
2021-04-07 14:49:44 +02:00
joseLuís
1e274287f6
rust: add NcTree widget.
...
- created all methods except .goto().
- WIP callback types.
- minor updates.
- rustfmt.
2021-04-07 14:19:13 +02:00
joseLuís
aa9bf7a0e7
rust: add ncplane_abs_yx, ncplane_abs_y, ncplane_abs_x
...
- minor updates
2021-04-07 11:47:05 +02:00
joseLuís
29ac41440c
rust: add NcPlane methods resize_maximize & rgba; fix #1508
2021-04-06 19:29:03 +02:00
joseLuís
7b9a38d2f1
rust: update function-summary system of scripts
...
- update script `function_summary.sh`
- new script `compare_outputs.sh` to compile the differences between versions
- create changes files that summarizes diffs between versions
- remove outdated ouput folders
2021-04-06 18:38:09 +02:00
joseLuís
8cf52672cb
rust: rustfmt
2021-04-06 12:31:19 +02:00
joseLuís
63d8645f04
rust: improve pixel-cell example
2021-04-06 12:30:32 +02:00
joseLuís
89e38c11f3
rust: add ncvisual methods & pixel-cell example
2021-04-05 23:55:24 +02:00
joseLuís
1c5ee9eb8c
rust: add more functions and methods
...
- add functions: ncdirect_core_init & notcurses_core_init (methods pending)
- add functions & methods: ncdirect_readline & notcurses_can_braille
- minor fixes
2021-04-05 19:34:39 +02:00
joseLuís
5492119263
rust: add *_check_pixel_support functions + example
2021-04-05 11:16:34 +02:00
nick black
8db054ede7
kill off get_controlling_tty in favor of get_tty_fd #1504
2021-04-04 16:42:19 -04:00
nick black
6760929f91
rust: s/blacklist/blocklist/g
2021-04-04 14:30:05 -04:00
nick black
8c78b089e1
v2.2.5
2021-04-04 14:28:16 -04:00
nick black
7865539505
query_sixel: support alacritty's ugh decisions #1430
2021-04-04 05:37:19 -04:00
nick black
0c2e3d6e35
[sixel] make some sixeltable args const
2021-04-04 05:29:19 -04:00
Nick Black
7e78690597
[bitmaps] new unit test LoadVideoPixelScaleDifferentPlanes ( #1502 )
2021-04-04 05:19:36 -04:00
nick black
7c35d94a9b
paint: referene crender, not rvec #1482
2021-04-04 04:18:09 -04:00
nick black
0dbd3cf830
ncvisual_render_pixels: hide any old sprixels
2021-04-04 04:17:34 -04:00
nick black
2f47d9adef
[bitmaps] new unit test LoadVideoPixelScaleDifferentPlanes
2021-04-04 04:16:55 -04:00
nick black
656b3221af
refresh: initialize with init_rvec, not memset()
2021-04-04 00:07:18 -04:00
nick black
ee39fb8cd7
testing: add battery of bitmap tests
2021-04-04 00:04:56 -04:00
nick black
01b82ebab8
[README] fix links to man pages/doxygen, erp #1497
2021-04-03 21:54:10 -04:00
nick black
123447183c
[jungle] fix invalid access on some window geometries
2021-04-03 21:35:54 -04:00
nick black
9546b7e914
move logo to doc/ from data/ to keep install simple
2021-04-03 21:26:04 -04:00
nick black
3d3d235abb
[xray] update frame count for new video
2021-04-03 21:21:21 -04:00
nick black
9db3c10bfe
Merge branch 'master' of github.com:dankamongmen/notcurses
2021-04-03 21:14:54 -04:00
nick black
998ebf8254
[ncplayer] meaningless timespec dealloc
2021-04-03 21:13:36 -04:00
gmiz
7e6c6d8976
Initial logo design commit
2021-04-03 21:09:22 -04:00
nick black
ee2f150058
[sprixels] move destruction into free_plane() from ncplane_destroy()
2021-04-03 21:03:25 -04:00
nick black
16b7910b57
[sprixels] plug two memory leaks
2021-04-03 17:54:09 -04:00