nick black
0c566cd74a
[ncvisual] pipe transcolor through #1518
4 years ago
joseLuís
932f4c1b7c
[rust] simplify issue-1509 example
4 years ago
nick black
33929cf91e
[rust] update to nccell
4 years ago
joseLuís
bc80350384
[rust] several fixes
...
- fix after renaming cell functions.
- fix some NcVisual method names and docs
- fix some rustdoc warnings
4 years ago
nick black
9fdfd33d30
[cffi] update cell_release to nccell_release
4 years ago
nick black
849ec2748f
[rust] nccell updates
4 years ago
nick black
ff76dba6ed
cell_strdup -> nccell_strdup
4 years ago
nick black
94a2badc06
Merge branch 'master' of github.com:dankamongmen/notcurses
4 years ago
nick black
0fc5f7835d
[docs] cell_release -> nccell_release
4 years ago
nick black
d504e972cc
cell_release -> nccell_release
4 years ago
joseLuís
1afe6f162e
rust: add new pixel geometry functionality
...
- add NcPlane method .pixelgeom.
- upgrade full-capabilities example.
- fix NcVisual method .blitter_geom docs.
- rustfmt
4 years ago
nick black
9dbcef9969
stop exporting lookup_blitset()
...
the media code that makes up non-core libnotcurses called
into lookup_rgba(). instead, have them use the new
funtion ncvisual_blitter_geom() to access the actual blitter
being used. we can then hide lookup_blitset(), which ought
never have been exported. closes #1519 .
4 years ago
nick black
d4fff6a921
check wcwidth('⣿') for braille support
4 years ago
joseLuís
66d4f323e8
rust: fix .gitignore; remove issue example
...
- make .gitignore just ignore the *root* build dir
- remove unneeded rust/.gitignore
- remove no longer needed issue-rgba.rs
4 years ago
nick black
1f67f540e6
[stacking] guard tests for quadrants
4 years ago
nick black
1720457467
[rotate] fix unit tests for odd number of columns
4 years ago
joseLuís
8e8c20468b
rust: update function-summary
...
- add PENDING-changes.md file to keep track.
- remove output-* folder, no longer needed.
- move old bindgen*rs and changes*txt files to history/.
4 years ago
nick black
17a27427ec
[visual] guard quadblitter tests with check
4 years ago
nick black
7488a84121
[xray] bring slider plane to top #1518
4 years ago
nick black
80d93fdfb6
disable quadrants except where whitelisted #1517
...
Require a known-good TERM heuristic match to enable
quadrants (NCBLIT_2x2); they otherwise decay to halves
(NCBLIT_2x1). The only terminal that supports quadrants
but does not support sextants is the Linux console, where
we program quadrants directly into the font table,
like a beast. Closes #1517 , and #1298 if we're lucky.
4 years ago
nick black
62242f0e41
[terminfo] add alacritty hack for sixel #1430
4 years ago
nick black
cf3a6317aa
export ncdirect_stream()
4 years ago
nick black
53894caccb
add ncdirect_stream #1346
4 years ago
Nick Black
04b1ba8ed2
Dankamongmen/unify geom ( #1514 )
...
deprecate ncvisual_geom() in favor of new ncvisual_blitter_geom(), which allows caller to get the blitter used. replace the checks and calculations in ncvisual_render() with a call to ncvisual_blitter_geom(), unifying the two paths (and eliminating several bugs in the unloved ncvisual_geom()).
4 years ago
nick black
945b560dc2
mention direct mode in CURSES document
4 years ago
nick black
35e44d81c5
caps-rendered: differentiate sixel v kitty
4 years ago
nick black
1f33ada62e
[cffi] update for ncplane_as_rgba()
4 years ago
nick black
582bdebbc3
lol remove notcurses_debug() from notcurses_render()
4 years ago
nick black
f294c6bb0b
add ncplane_pixelgeom() #1507
4 years ago
nick black
d75590694a
[drone] enable qrcodegen where available
4 years ago
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 .
4 years ago
nick black
94839c2958
[ncdirect_stream] kill unused variable warnings
4 years ago
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
4 years ago
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.
4 years ago
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
4 years ago
nick black
05082fc277
ncplane_as_rgba(), returns pixel geometry along with bitmap #1508
4 years ago
joseLuís
4996bebad0
rust: add constant NCOPTION_NO_CLEAR_BITMAPS
4 years ago
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.
4 years ago
nick black
694a0c133f
[terminfo] only interrogate for sixel when pixel geometry is defined #1511 #1506
4 years ago
nick black
217453780e
[terminfo] remove alacritty hacks #1506 #1430
4 years ago
nick black
b1baa5e88a
[demo] print that we're checking for pixel support #1506
4 years ago
nick black
3b169dfa31
[notcurses.h] improve ncvisual_from_rgba() docs #1488
4 years ago
nick black
8e61429789
[notcurses.h] remove bogus restriction for ncvisual_render #1488
4 years ago
nick black
cc3cddf40b
[sprixel] don't yet enable sixel on alacritty
4 years ago
nick black
0febe3428f
[sprixels] simplify query_sixel()
4 years ago
joseLuís
36a7355cd8
rust: minor examples updates
4 years ago
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.
4 years ago
nick black
9dad70568b
[plot] drop inline from update_sample
4 years ago
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.
4 years ago
joseLuís
fce6c6873f
fix typos
4 years ago