Commit Graph

2920 Commits

Author SHA1 Message Date
nick black
99d90a4ecf
charset vs charencoding terminology 2020-08-14 16:30:54 -04:00
nick black
b980d7deee
sgr-direct PoC 2020-08-14 15:55:27 -04:00
nick black
b315c31141
ncdirect: fix style transitions #890 2020-08-14 08:32:27 -04:00
Nick Black
963ac742fb tablet_coordinates(): remove unused function 2020-08-14 08:04:26 -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
nick black
aebf2cdb9c
CMake: restore 3.14.0+ requirements 2020-08-13 23:38:10 -04:00
nick black
e6dda217a0 python: bring tabletcb definition up to date 2020-08-13 17:12:49 -04: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
nick black
26899f3544
s/8 bit/8-bit/g 2020-08-13 11:56:18 -04:00
José Luis Cruz
e596f9230f fix ncpixel alpha mask 2020-08-13 11:55:36 -04:00
nick black
dc7c3c0487
Merge branch 'master' of github.com:dankamongmen/notcurses into master 2020-08-13 11:35:58 -04:00
nick black
52103af364
Cell: overlap RGB and palette indices #884 2020-08-13 11:35:53 -04: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
nick black
097bf20d07
Merge branch 'master' of github.com:dankamongmen/notcurses into master 2020-08-12 19:14:01 -04:00
nick black
172ef7580f
update notcurses_cell and USAGE: 32MB egcpool max 2020-08-12 19:13:57 -04: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
c7ebdd2988 update rust paths in .gitignore 2020-08-12 17:55:51 +02:00
joseLuís
e22232774d rust: add direct-image example 2020-08-12 17:53:50 +02:00
nick black
490f517bd9
tools/release.sh: reflect rust unification #883 2020-08-12 10:47:46 -04: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
12a136cf6e
ncplane_puttext: remove meaningless assignment 2020-08-12 09:19:14 -04:00
nick black
1ada631e94 purge rust/notcurses 2020-08-12 08:42:22 -04:00
nick black
ce5484c13c
notcurses_lex_scalemode(): return 0 on success 2020-08-12 07:10:10 -04:00
nick black
733da37bb5
zoo: render the last bit of text 2020-08-12 06:37:35 -04:00
nick black
7c373ecc3a
zoo demo: correct delaytime for spooling 2020-08-12 05:42:30 -04:00
nick black
8aa0986f7d
zoo: support widget use for the duration #835 2020-08-12 03:27:31 -04:00
nick black
7d1e4fae54
plug memory leak in PoC direct 2020-08-12 03:03:10 -04:00
nick black
d5eca34cd5
plug memory leak in PoC selector 2020-08-12 03:00:19 -04:00
Nick Black
c3508d524b
ncplane_puttext() work for longer lines (#880)
* The zoo demo made manifest that we had some serious problems handling sequences of longer lines in ncplane_puttext(). This remedies most of the problems, though it's not yet perfect. #871
* Guard notcurses* for NULL in log*() #878 #879
* Fix memory leak in ncdirect_dump_plane()
2020-08-12 02:43:52 -04:00
nick black
4de70913bf logging: only fallback to stderr on NULL nc for error/warn 2020-08-12 01:53:13 -04:00
nick black
05689b4828 logging: guard for NULL nc argument #878 2020-08-12 01:49:31 -04:00
nick black
3d96b5249b ncdirect_dump_plane(): plug memory leak of egc 2020-08-12 01:48:52 -04:00
nick black
3895eb911a
not anymore, we're not 2020-08-11 20:47:17 -04:00
nick black
45e5d95774
ugh 2020-08-11 19:45:00 -04:00
Nick Black
0c935d0aea
Merge pull request #875 from dankamongmen/joseluis-patch-1
fix return types
2020-08-11 16:46:51 -04:00
Nick Black
e7ad2829e9
Merge branch 'master' into joseluis-patch-1 2020-08-11 16:46:18 -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
7070e532d6 fix typos 2020-08-11 17:04:09 +02:00
joseLuís
7abda11404 add comments for ncpixel functions 2020-08-11 16:59:39 +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