Commit Graph

987 Commits (b57d6eb8d82d8a7ecd1efd87bd851dc89c914ca8)

Author SHA1 Message Date
nick black 6c7c9be6d2 require explicit check for pixel support
Add `notcurses_check_pixel_support()` and
`ncdirect_check_pixel_support()` per #1367. Removes
NCOPTION_VERIFY_SIXEL, again per #1367. Adds
`free_terminfo_cache()`, and calls it from both
`notcurses_stop_minimal()` and `ncdirect_stop()`.
Update all documentation. Closes #1371 and #1367.
3 years ago
nick black 40746e76e6 s/nonehi/hires/g 3 years ago
nick black 036d0a8697 s/NCBLIT_SIXEL/NCBLIT_PIXEL/g #1095 3 years ago
nick black aa4da3f335
nctree: drop bchannels from options 3 years ago
Nick Black e30b12a480
nctree (#1361)
The nctree widget, PoC, and unitt rs #1164.
3 years ago
nick black 11dbf7701e
link to markdown from index.html 3 years ago
nick black bd92552aa4
Merge branch 'master' of github.com:dankamongmen/notcurses 3 years ago
nick black 58066d2018
HISTORY: add 2.2.0 from 2021-02-08 3 years ago
nick black 2221120543 add SIGILL to documented fatal signals #1357 3 years ago
nick black c10f5a40ce
v2.2.2 3 years ago
nick black 2741b049cb
don't expose nctree in 2.2.2 3 years ago
nick black bb14694000 add nctree movement api #1164 3 years ago
nick black 3eb42d6c0c implment nctree_create()/free() #1164 3 years ago
nick black 7a698310b6 ncinput is not opaque 3 years ago
nick black 14ce0ace73 man pages: relate nctree and ncreel #1164 3 years ago
nick black 2ae618c06b add new man page notcurses_tree.3 #1164 3 years ago
nick black 1b1e0b88be
ncplane_qrcode: drop blitter argument, update docs 3 years ago
nick black 0e7bf80ee9 hack up direct_mode_player #1342 3 years ago
nick black 2e6b07081e ncplayer: -k will use direct mode #1342 3 years ago
nick black be4a9154a8
v2.2.1 3 years ago
nick black c6c137d688
ncplayer.1: describe -q option completely 3 years ago
nick black 898f34f924
ncplayer: suppress banners when given 'q' #1342 3 years ago
joeyt aa02cf855a fix some dank typos
Looks like the release process used a regex(?) to replace that included some
unintended targets.  Microsoft link broke in 2.2.0; CELL_ALPHA_TRANSPARENT
continually replaced since 2.0.1.
3 years ago
nick black 3cdf7160de
v2.2.0 3 years ago
nick black cff8767de7
notcurses_visual.3: fix up markdown syntax 3 years ago
nick black 6b126f4049
add notcurses_canbraille() capability test 3 years ago
nick black 2cd8b9d82e
Further reduction of our gigantic README
Extract Curses differences and adaptation sections, and
move them to doc/CURSES.md. Reference this new document
in README.md. We now have sufficiently few sections that
we can dispense with the ToC. Do so.
3 years ago
nick black dc436ec026
reorganize documentation, trim README.md 3 years ago
nick black 54ca2249df
v2.1.8 3 years ago
nick black b3569b6aef
Initialize Readline on demand
Eliminate NCDIRECT_OPTION_NO_READLINE (it was only introduced in
Notcurses 2.1.6). Add a new function, ncdirect_readline(). Upon
first call to this function, initialize libreadline. Destroy
libreadline in ncdirect_stop() iff we initialized it. Add
hilodirect guessing game PoC from #1325. Rename
notcurses_directmode.3 to notcurses_direct.3. Closes #1326.
3 years ago
nick black 289d0d6a54
notcurses.3: proper linker syntax for notcurses 3 years ago
nick black 43dd0440f7
add raster timing stats #1324 3 years ago
nick black 2491b693ba
Add missing channel_set_palindex()
Implement channels_set_fg_palindex() and channels_set_bg_palindex()
in terms of channel_set_palindex(). Add missing entries to
notcurses_channels.3 man page. Use uint32_t in place of unsigned
when dealing with channels in notcurses.h.
3 years ago
nick black b0915d1db6 Proper transparent blitter stacking
This completes the work for #1068. This addressed a subtle issue.
When we're using pixel->semigraphic art, we want slightly different
rendering. Essentially, imagine that we have two images, each two
pixels tall and one pixel wide. The top image is a transparent pixel
above a white pixel. The bottom image is a white pixel above a black
pixel. We'd expect the result to be two white pixels, but we can
instead get a black pixel above a white pixel. This is because the
*background* color is being merged from the bottom plane, but really
we want the *top* color. Ncvisuals are now blitted along with
information regarding which quadrants they draw over, and when
appropriate, we invert the foreground and background. Closes #1068.
3 years ago
nick black 294d3b7535
ncls.1: fix man syntax 3 years ago
nick black 76983d6ba7
add skip path writeup to HACKING.md 3 years ago
nick black 89c3fd46f3
release-checklist: drop reprepro 3 years ago
nick black 6ebedd73bd
notcurses_core.3: syntax in SEE ALSO 4 years ago
nick black 7eafcfe598
rename notcurses-tetris -> nctetris 4 years ago
nick black 121f10a9c5
v2.1.7 4 years ago
nick black 57271d09ce
v2.1.6 4 years ago
nick black 822d41eb8f
document notcurses-core split 4 years ago
nick black dd210871d6
Reorder demos slightly
'dragon' looks much cooler when it has residue from the
prior demo still on the screen. 'yield' won't do, though,
as it's a graphic (which, devoid of color, looks like
nothing). move it after 'highcontrast'. move 'normal' up
after 'trans' so as never to present too much reading
to the user at once. users hate reading =[. this also
makes 'mojibake' look cooler while we're at it.

Signed-off-by: nick black <dankamongmen@gmail.com>
4 years ago
nick black 6d15aacc52 add notcurses_core.3.md man page #1301 4 years ago
nick black 1631818784
rename notcurses-view to ncplayer #1299 4 years ago
Nick Black 9112185657
Split up notcurses/notcurses-core (#1297)
Extract `libnotcurses-core` from `libnotcurses`. The former contains everything except multimedia code. The latter contains multimedia stuff (a wrapper around FFmpeg or OIIO). If built with `-DUSE_MULTIMEDIA=none`, there will not be any `libnotcurses.so` generated. `libnotcurses.so` uses library constructors/destructors to insert its implementation into the `ncvisual` stack at runtime. Users linking `-lnotcurses` will get the full implementation; users linking `-lnotcurses-core` only will get the stack less multimedia code.

The upshot of this is that someone can compile/install only `libnotcurses-core`, and a program linked against it will work just fine. This eliminates the need to install the full (large) dependency stack of the multimedia code unless necessary. This will hopefully be useful for e.g. installers etc. Closes #339.
4 years ago
nick black 3ecdde74d0
v2.1.5 4 years ago
nick black 5dfd0f94eb start replacing allglyph with animate #1263 4 years ago
nick black 1108ebb5b6
Fix up some subtle pile issues
ncplane_destroy() needs to call ncplane_reparent_family(), not
ncplane_reparent() as it was doing (closes #1291). ->absy and
->absx actually are absolute; return them directly for an O(1)
ncplane_abs_yx() (down from O(N), huzzah). Add some unit tests
related to destroying and reparenting (#1286). Add ncplane_abs_y()
and ncplane_abs_x(), document them, etc.
4 years ago
nick black 1c0a623b8b
document new function ncplane_abs_yx() #1286 4 years ago
nick black 68b340e3c8
ncdirect: prep readline for use #1120 4 years ago
nick black 974377f46d
first mdbook program 4 years ago
nick black ae1463245d examples: directmode text 4 years ago
nick black 30db4af874 mdbook 4 years ago
nick black 19c41170c1
link to x/open curses 4 years ago
nick black f88caf5128
s/Fullscreen mode/Rendered mode/g 4 years ago
nick black 38f472c3b0
example book chapters #785 4 years ago
nick black 2048f8bc11
notcurses_plane.3: fix some syntax 4 years ago
nick black 7e05d0438a
notcurses_init.3: fix up some syntax 4 years ago
nick black ec037023a7
notcurses.3: add period at end of sentence 4 years ago
nick black e617acecc7
v2.1.4 4 years ago
nick black 18958e98cd update nccell def in docs 4 years ago
nick black 0c38728ceb Remove CELL_WIDEASIAN_MASK from docs #1277 4 years ago
nick black 21f6b5fc8a
notcurses.3: talk about piles, update threading section #1264 4 years ago
nick black 998cf02f34
add NCDIRECT_NO_QUIT_SIGHANDLERS #1271 4 years ago
nick black 555a3262b1
add channel_palindex and friends 4 years ago
nick black af07822d35 Document base cell better
Improve the documentation for ncplane_set_base_cell() and
ncplane_set_base(). Go by render.c's authority (all three
channels are independently checked for transparency, and
replaced with the base cell if so--egc, fg, and bg). Add a
BASE CELL section to notcurses_plane.3. Check for, and reject,
an nccell which is secondary among a multicolumn EGC.

Closes #1238.
4 years ago
nick black 70b74a749b
v2.1.3 4 years ago
nick black a9ccbc28f9
ncls: support -V/--version #1266 4 years ago
nick black e37b466eea
notcurses-demo: support 'V' for version out #1266 4 years ago
nick black 5c3818b103
notcurses-demo.1: use proper pandoc syntax 4 years ago
nick black 84d6d0fae2
mention notcurses-demo geometry requirements 4 years ago
nick black 99f04fd7e3
correct title for notcurses_progbar.3 link in index.html 4 years ago
nick black f471ab15df
update copyrights for 2021, ho humm 4 years ago
nick black 279d9a7f43
ncls.1 man page: mention --help 4 years ago
nick black 7e20a25482
ncdirect_*_palindex -> ncdirect_set_*_palindex #1261 4 years ago
nick black f1253560ad
ncdirect: set_ on rgb functions #1261 4 years ago
nick black 713498efc5
syntax error in notcurses_input.3 4 years ago
nick black e6d1cbb2b4
clean up notcurses_input.3 4 years ago
nick black 0fb8427fca
notcurses-demo.1: better mojibake description 4 years ago
nick black 5cf546b84f
notcurses-demo.1: add Alt+d and P commands 4 years ago
nick black c62b0d3aa1
finish sentence in notcurses-demo man page 4 years ago
nick black 58bc9bd3bc
fix up writeout stats, report in shutdown banner 4 years ago
nick black 55d563b646
v2.1.2 4 years ago
nick black dd1cdc40d5 add NCSCALE_NONE_HIRES, NCSCALE_SCALE_HIRES #1250 4 years ago
nick black 9268109778
update man pages for ncvisual_media_defblitter() #1114 4 years ago
nick black 1002347c9e
HACKING: document right-to-left shittery 4 years ago
nick black 248dd1fff2
add dynamic linesig control #1228 4 years ago
nick black c0316ee96c view: document and parse -t time argument #1229 4 years ago
nick black d6d5757b1d
v2.1.1 4 years ago
nick black a0c722ff0d
notcurses_nccell.3 -> notcurses_cell.3 4 years ago
nick black 66bd8c9769
pull model.png out of index.html 4 years ago
nick black 6b859b6a32
ncls: add --align argument #1195 4 years ago
nick black d56ea8b5e7 progbar: remove egcs options 4 years ago
nick black 82ffac8eed remove ncprogbar locking options #1202 4 years ago
nick black 1d74979718 progbar core / poc #1202 4 years ago
nick black 6bff720122 initial API + documentation for ncprogbar #1202 4 years ago
nick black be3bd474f6
model.dot: simplify 4 years ago
nick black 520ce356b0
add 2.1.0 to history 4 years ago
nick black 6edafd1f84
v2.1.0 4 years ago
nick black fd2acde1b1 rename cell->nccell, keep alias #1200 4 years ago
nick black 8497ee1877
v2.0.12 4 years ago
nick black 1239ac7a29
mathtext PoC: loop properly 4 years ago
nick black eb485cda21
v2.0.11 4 years ago
nick black a3220b8a73
add ncplane_descendant_p(), unit test it #1192 4 years ago
nick black e60a7aa463
add stat for notcurses_refresh() 4 years ago
nick black 361a253aea
v2.0.10 4 years ago
nick black 4cf4a4ce0b
egcpool: fix cell_egc_idx() math #1179 4 years ago
nick black 14fa544433
add NCPLOT_OPTION_PRINTSAMPLE #1183 4 years ago
nick black e5306f6197
widestomp PoC: eliminate color weirdness #1175 4 years ago
nick black 6fb5c1e512 Fill out some API holes, improve some comments
- Disambiguate the docs for ncplane_erase()
- Add ncpile_top(), ncpile_bottom()
- Refuse attempts to modify the standard plane's resizecb
- Copy alignment and resizecb in ncplane_dup()
- Add cell_load_egc32()
4 years ago
nick black 5b8c71b9b0
flesh out notcurses_reel.3 #1171 4 years ago
nick black 8083b46e3b
v2.0.9 4 years ago
nick black 6124d0e0d9
add link to ncls from man1 index 4 years ago
nick black a7c03634c1 thoughts 4 years ago
nick black c733f33b81 ncls: add -L argument, skeleton for stat() 4 years ago
nick black 65856c37b4 ncls: more command line parameters 4 years ago
nick black c2671b6fef
data model: every plane gets an egcpool 4 years ago
nick black 5868e49c6a
model.dot: combine cellmatrix+egcpool 4 years ago
nick black 911f4eccc4
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black a24bb1b663
index.html: use text-size rather than h2 4 years ago
nick black 4d524f92bc apply htole() in ncpixel_*() #1130 4 years ago
nick black 253b9582b2
index.html: scale down headers by one 4 years ago
nick black d5797d84d5 update data model diagram, link to debminiconf talk in history 4 years ago
nick black 3f9d87f5e6 include data model on web page 4 years ago
nick black 465a0ffbcb Improve handling of dot->graph documentation
Remove the pre-rendered model.png, a generated output. Add a
dot target to CMake, predicated on USE_DOXYGEN (since we have
REQUIRED dot in our Doxygen spec). Generate the png in the
output path. Rename stacks to piles in model.dot.
4 years ago
nick black 918520b21e notcurses_metric: reference notcurses_output(3) 4 years ago
nick black dd8423dff3 embiggen notcurses_metric(3), add unit test #1107 4 years ago
Marek Habersack c5c9432ac0 [Misc] A hodgepodge of tiny changes
CMake:
  Simplify cmake target+version config generation and make it actually
  work.  With the changes it is now possible to detect and use
  `Notcurses` in the following way:

     find_package(Notcurses REQUIRED)
     ...
     target_link_libraries(myapp PRIVATE notcurses::notcurses)

  Also, added the same CMake configuration for `Notcurses++`, to be used
  in the following way:

     find_package(Notcurses REQUIRED
     find_package(Notcurses++ REQUIRED)
     ...
     target_link_libraries(myapp PRIVATE notcurses++::notcurses++)

Docs:
  `notcurses_cell(3)`: `cell_styles_{on,off} -> cell_{on,off}_styles`
  and `cell_load_simple` -> `cell_load_char`

C++ API:
  * Plane: added constructors taking `ncplane_options const&` instead of
    the multitude of individual parameters
  * Plane: drop `struct` when `ncplane_options` is used.
  * Plane: added `strdup` (`cell_strdup`)
  * Plane: added `extract` (`cell_extract`)
4 years ago
nick black 47d5347f01
run mojibake after normal; it looks cool 4 years ago
nick black 2e78ae1c5e
update logo to notcurses II xray #1144 4 years ago
nick black 2a45620cd6
v2.0.8 4 years ago
nick black b33c780c88 document ncpile_render(), ncpile_rasterize() 4 years ago
nick black b6e5b60374 ncpile_create() not NCPLANE_OPTION_NEWPILE #1078 4 years ago
nick black b747af2ae8 drop NCPLANE_OPTION_NEWPILE #1078 4 years ago
nick black 0da6a8c44b add NCPLANE_OPTION_NEWPILE #1078 4 years ago
nick black a2cc5f096a
notcurses_render: explicit pile rules #1078 4 years ago
nick black 2d45a74e21
notcurses_render.3: escape double pointer 4 years ago
nick black 73b2f1bf19
v2.0.7 4 years ago
nick black acdcf9e41f
v2.0.6 4 years ago
nick black 537caa2173
v2.0.5 4 years ago
nick black 512794c64e
index.html: link to hype video 4 years ago
Nick Black 47cc9f9ecd
Initial easybook chapter (#1129)
* some mdbook #785

* more chapter 1
4 years ago
nick black c0cb5c7ff9
add ncplane_resizecb() #1124 4 years ago
nick black 6084105c68
add ncplane_set_resizecb() #1124 4 years ago
nick black 35f52cec3f index.html: drop newline at bottom 4 years ago
nick black 1e6f8e4901 USAGE/python/man: update ncplane_options #1115 4 years ago
nick black 9283db5ec9 notcurses.3.md: clean up intro a bit 4 years ago
nick black c713c4c9ec ncplane_reparent: new stacks #1078 4 years ago
nick black 8ab9bd4687
man pages: trim overlong lines 4 years ago
nick black cedf8761f5
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black 0e23fbee19
valery quote 4 years ago
joseLuís 566a2bb902 add the rendered png file of the notcurses model
`dot -Tpng doc/model.dot -o doc/model.png && optipng doc/model.png`
4 years ago
nick black 259b2b6012
make it clear that sixel is not yet supported 4 years ago
nick black 7622cefc3a
v2.0.4 4 years ago
nick black 0d31a03be9
v2.0.3 4 years ago
nick black f0836b6e65
graphviz dot model of notcurses data structures 4 years ago
nick black 3fbfe181ed
man pages: update some unsigned flags to uint64_t 4 years ago
nick black 8325102827
man pages: argument syntax for remaining entries #1103 4 years ago
nick black 530dda1002
man page argument syntax: fade, fds #1103 4 years ago
nick black 6f9f063f1d
notcurses_directmode.3: argument syntax #1103 4 years ago
nick black cf75598f03
argument syntax for man pages: cell, channels #1103 4 years ago
nick black 7018f2589f
notcurses_capabilities.3: argument syntax #1103 4 years ago
nick black 173265a99f
notcurses_visual.3.md: set argument names off in italic #1103 4 years ago
nick black c411b0a7b8
get your head in the fucking game nicholas #1059 4 years ago
joseLuís 00b5445418 fix typos 4 years ago
nick black 168f0642e4
notcurses_visual.3 update man page syntax 4 years ago
nick black 4fb09431ac
notcurses_visual/notcurses-view: update man pages for sexblitter 4 years ago
nick black 84dde41dc8
add xcfs for galleries in doc/ 4 years ago
nick black fd29cab463
quadblitter all different unit test #1080 4 years ago
nick black e3a617f20d demo: add skeleton of (k)eller #736 4 years ago
nick black 8b171c215e notcurses-view: accept sexblitter for -b 4 years ago
nick black 8d66938a0e sexblitter: purge NCBLIT_1x1x4, add NCBLIT_3x2 #1071 4 years ago
nick black 3e75b1e090
notcurses-view.1: typos, expand on default behavior 4 years ago
nick black 21d0a3751a
notcurses_directmode.3: kill obsolete claim 4 years ago
nick black 5639c9e1a9
index.html: embed youtube atop man pages 4 years ago
nick black a0e66b884f
add youtube iframe 4 years ago
nick black e2b3cb056a
index: remove amazon link 4 years ago
nick black 8189d21709
v2.0.2 4 years ago
nick black 0c0404ec51
clarify DFSG for notcurses-demo.1 4 years ago
nick black ac60e80923 notcurses-view: add -L for looping #1066 4 years ago
nick black b35c680f48 add LoopVideo unit test #1066 4 years ago
nick black 8919d6fe70 ncvisual_rewind 4 years ago
nick black 19efd2c10a declare ncdirect_printf_aligned() in man page + python #1074 4 years ago
nick black 974cfdf789
pngcrush doc/logo-1280x640.png, 130k -> 100k 4 years ago
nick black d2dcd9c06d
notcurses_direct.3: properly document ncdirect_putstr()'s return value #1072 4 years ago
nick black a4546c86e3
v2.0.1 4 years ago
nick black 0b825c619e
add notcurses_stddim_yx_const() 4 years ago
nick black fe7eededa8
Merge branch 'master' of github.com:dankamongmen/notcurses into master 4 years ago
nick black 10e206409c
notcurses_visual.3: talk about 4x1 and 8x1 4 years ago
nick black 46bd3dc4b4 notcurses-view.1: add -q, -h to man page #1069 4 years ago
nick black a0afbdfb15
notcurses-view: support -b to select blitter #1063 4 years ago
nick black 3229fa53b3
add ncinput_equal_p() predicate #1059 4 years ago
nick black 6623fc92a0
ncmenu_item_set_status: man page, NEWS, python, c++ #1057 4 years ago
nick black 65974aeb0b
v2.0.0 4 years ago
nick black 6636181ddd
notcurses.3.md: capitalize Notcurses throughout 4 years ago
nick black a7a75d4c12
draw_borders: account for all border masks 4 years ago
nick black 8c9611d085
v1.7.6 4 years ago
nick black d101d2d2d9 add ncdirect_init() inhibit cbreak flag #1049 4 years ago
nick black f9e2c7863b
add notcurses_stats_alloc #1043 4 years ago
nick black 270b1b20ee implement notcurses_render_to_buffer() #214 4 years ago
nick black b4f1065f69 declare notcurses_render_to_buffer() #214 4 years ago
nick black 29c7f960cc add writeout_ stats, document stats #1039 4 years ago
nick black 20a49d053d
v1.7.5 4 years ago
nick black afa65f640f update notcurses_plane.3 and USAGE.md for new styles API 4 years ago
nick black 8d347d14bb
move ncreel to PoCs, don't install #1033 4 years ago
nick black 20bf1ae2d4
nctablet_ncplane() -> nctablet_plane() 4 years ago
nick black ec85dd1c3b
ncreel_destroy: return void 4 years ago
nick black f02263e977
v1.7.4 4 years ago
nick black bfdf801a12 depth-first corecursion, not breadth-first 4 years ago
nick black 7b51bab79a add resizecb to ncplane_options struct #869 4 years ago
nick black 36aed3c521 add ncplane_create() + ncplane_options #1020 4 years ago
nick black 607c03edc4
rename _rgb_clipped functions rgb8_clipped 4 years ago
nick black 4459efa216
v1.7.3 4 years ago
nick black a4367fcfb5 rip out ncplane_ creation functions #985 4 years ago
nick black e42dbdfd60 _stainable() -> _stained() #985 4 years ago
nick black c85ac831c6 man pages: update for rgb name changes #985 4 years ago
nick black 2c0cf54f96 index.html: link to issues 4 years ago
nick black bb58e4db41 notcurses-demo.1: add note about wcwidth 4 years ago
nick black 4bb1f3fc85 mbswidth -> ncstrwidth() #985 4 years ago
nick black dab7247cdd
mbswidth: use utf8_egc_len() for segmentation #1014 4 years ago
nick black 94aa8f08f1
grid looks better before mojibake #1012 4 years ago
nick black 5fc9f7b367
plot: update man page #627 4 years ago
nick black c3e5e47a2a
ncreader: conform to the New Way #627 4 years ago
nick black 4f04f1bc31 remove bgchannels field from selector_options #627 4 years ago
nick black 306948507f ncmultiselect: normalize per new widget API #627 #1006 4 years ago
nick black cc98b51276 ncselector: finish out man page #627 4 years ago
nick black bc097a5674
v1.7.2 4 years ago
nick black af05ae7a92 man pages: document NCREADER_OPTION_CURSOR 4 years ago
nick black f88c8ae79c
expose ncvisual_default_blitter(), name blitter in notcurses-view #995 4 years ago
nick black f4f8a06a73
index.html: add link to notcurses-direct-pydemo.1 4 years ago
nick black c7cb149d95
notcurses.3: update CMake module name 4 years ago
nick black 3afcfc97d6
ncreader: define NCREADER_OPTIONS_EMACSKEYS 4 years ago
nick black 70f062aff5
v1.7.1 4 years ago
nick black 2f28420034 rename ncplane_putsimple() -> ncplane_putchar() #912 4 years ago
nick black 64fe8f6c07
v1.7.0 4 years ago
nick black 4c7a1d0427 ncdirect_init: add flags parameter #976 4 years ago
nick black c93243fd54
v1.6.20 4 years ago
nick black ffa9dcc862
people <3 chunli; move her up in demo sequence 4 years ago
nick black a48e840542 document ncreel a bit more 4 years ago
nick black 66f80c77f9
add ncplane_y() and ncplane_x() 4 years ago
nick black e92b7fd6ea
v1.6.19 4 years ago
nick black 6526e58c00
v1.6.18.4 4 years ago
nick black 6ea73e6e45
v1.6.18.3 4 years ago
nick black 550c02d8ac
v1.6.18.2 4 years ago
nick black d11d8175d0
v1.6.18.1 4 years ago
nick black 602607d737 notcurses_directmode.3: mention cbreak mode 4 years ago
nick black 6d7f9eb501
v1.6.18 4 years ago
nick black 9d75f575db
ncplane_set_[fb]channels 4 years ago
nick black 70a28feb63
ncreader: horizontal scrolling mostly works #839 4 years ago
nick black 7cbb2e9110 zoo demo: show cursor in reader box #835 4 years ago
nick black a53d5a21a8 disable/enable cursor for rasterize 4 years ago
nick black d900fdb7fa ncreader: create off-screen plane for horizontal scrolling #839 4 years ago
nick black fbaa451ff9 ncreader: allow NCREADER_OPTION_HORSCROLL #839 4 years ago
nick black d610bd3ece flesh out reader.3 4 years ago
nick black cab19cf790 Cursor work (placement, drop RETAIN_CURSOR) #953
notcurses_enable_cursor() now accepts placement arguments.
both it and notcurses_disable_cursor() now return int rather
than void. add notcurses_cursor_move_yx().
4 years ago
nick black 4dd1d6a4c8 Annihilate nc_err_e and all infrastructure #948 4 years ago
nick black f2d92b0f05
bring notcurses_cell.3 up to date #949 4 years ago
nick black 8b75769476
flesh out notcurses_stop.3 #949 4 years ago
nick black 1ac789adf2
unite email addresses in man pages 4 years ago
nick black c9c1f2841e
man page polishing 4 years ago
nick black 8914df6445
metric.3: one of these yes, one of these not so much 4 years ago
nick black 07267ad421
index.html: fix capabilities link, egads, thanks @joseluis #946 4 years ago
nick black 026b94969d cffi heap allocations are zero-initialized #942 4 years ago
Nick Black 73dc0a7d69
Zoo 2, electric boogaloo (#939)
* Reimplement the widget zoo demo. The previous PoC
  was a multithreaded monster with behavior dependent
  on screen geometry. Replace it with a single thread state
  machine. Closes #936.
* Support titles for ncplot. Adds title to the ncplot_options
  struct, which may be NULL. Closes #941 .
* Properly color ncplot according to maxchannels and
  minchannels. Closes #940
* Add tools/function-table.sh script for generating public API list.
4 years ago
nick black 4ebf8f748c
v1.6.16 4 years ago
nick black 5c533c9f1a
ncplot: support legend styling 4 years ago
Nick Black 359ad1d36d
Generalized mergedown #779 (#932)
* Rename ncplane_mergedown -> ncplane_mergedown_simple()
* New ncplane_mergedown(), fully general projection of src to dst
4 years ago
Nick Black e1cf346ddb
internalize highgradient_sized implementation #920 (#922)
internalize highgradient_sized implementation #920
4 years ago
nick black 05da44b06b
hide blending functions #917 4 years ago
nick black a2c95814b7 Remove cell_simple_p()
Get notcurses-tetris working again, since its collision
detection relied on simple vs non-simple EGCs, which are
no longer an operative concept. Closes #899.
4 years ago
nick black 49ae79341d
v1.6.15 4 years ago
nick black dc99d56ac1
v1.6.14 4 years ago
nick black 5ade4b1f1e
notcurses_plane.3: remove ncplane_styles() 4 years ago
nick black f2dce8ab3f
update docs for tabletcb from ncreel 4 years ago
nick black e897de3700
v1.6.13 4 years ago
nick black 78803f8c1d
ncmultiselector: support pgup/pgdown #862 4 years ago
nick black cdec910d7e
bulk up notcurses_selector.3 man page #862 4 years ago
nick black d884dea8d7 notcurses-capabilities man page 4 years ago
nick black f9eed1c412 palette_size is unsigned #891 4 years ago
nick black 16ff667325 blissful endianness-opacity
not caring about endianness is the opiate of the masses.
happy, happy masses. remove endianness.h and all its baleful
influence by explicitly breaking up the cell structure. #892
4 years ago
nick black 935ae0378b demo changes
* Tighten up the HUD, now only as large as it needs be
* Show another digit on timer (milliseconds)
* Move allgraph towards the back
4 years ago
nick black 172ef7580f
update notcurses_cell and USAGE: 32MB egcpool max 4 years ago
nick black 9704f5cbe7
v1.6.12 4 years ago
nick black 3895eb911a
not anymore, we're not 4 years ago
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()
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 fa76f5a432
v1.6.11 4 years ago
nick black ead60d06cc
unexport cell_egc_idx() 4 years ago
nick black bc9ecd86a8
kill -Wempty-body warning 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 8cfd1677c4
v1.6.10 4 years ago
nick black 2dcab374c4 mojibake: fix some row overruns #842 4 years ago
nick black 78a7b4d255 constify ncreader_options->egc 4 years ago
nick black f5f9808d80 install notcurses-pydemo.1 as part of python #836 4 years ago
nick black d9b0a8fac4
throw up affiliate link 4 years ago
nick black 7174a84e94 zoo: add multiselector 4 years ago
nick black f62277a69b add zoo demo #628 4 years ago
nick black bac02bccd0
selector/multiselect: kill itemcount options field #831 4 years ago
nick black 9976efdcef
notcurses-demo: fedora/ubuntu also use DFSG tarball 4 years ago
nick black a9fda488af
repology link in index.html 4 years ago
nick black d126c71dd6
v1.6.9 4 years ago
nick black f8c16ceb79
v1.6.8 4 years ago
nick black 1c55c8cdd0
remove cell_noforeground_p() from docs 4 years ago
nick black d59ff71a6c
remove cell_noforeground_p() from python 4 years ago
nick black 19207ffcdd
release: automate debian build 4 years ago
nick black 4f8673b0e9
v1.6.7 4 years ago
nick black 54d0420161
tools/release: automate release process #826 4 years ago
nick black 28be87a849
ncblitter_e: improve documentation 4 years ago
nick black 6ea968c522 declare ncmenu_mouse_selected() #819 4 years ago
nick black 2ecfb84fe8 index.html: fix up h2 syntax 4 years ago
nick black 17f1323c20
v1.6.6 4 years ago
nick black 104bbfef50
add notcurses_lex_blitter() 4 years ago
nick black 308b49da5a
v1.6.5 4 years ago
nick black b2e924319b
v1.6.4 4 years ago
nick black 37ceb753bf
notcurses-view: print blitter name #805 4 years ago
nick black e0155c7d56 CELL_ALPHA_HIGHCONTRAST unit tests #748 4 years ago
nick black a4ee5bd9c7
v1.6.3 4 years ago
nick black 3f544a4ed1
v1.6.2 4 years ago
Nick Black dbc83c41b3
linuxconsole PoC (#791)
* use ioctl(KDGETMODE) to detect Linux console
* diagnostic on KDGETMODE
* add logdebug()
* unit test for notcurses_drop_planes(), add ncplane_putnstr_aligned()
* linuxconsole PoC
* linuxconsole: dump unicode->font table
* linuxconsole: explode glyphs
* linuxconsole: show 7 glyphs per 'line'
* linuxconjammer: shim console font with half blocks
* signals: handler for SIGTERM
* man pages: update notcurses_init() for options
* add NCOPTION_NO_FONT_CHANGES #201
4 years ago
nick black 1cc0371373
v1.6.1 4 years ago
nick black 3a7dabd2c8
notcurses-tester: use -l6 4 years ago
nick black 4a97c139e6
add ncplane_putstr_stainable() #754 4 years ago
nick black a6b002fa77 add ncdirect box-drawing functions #753 4 years ago
nick black 96c6dc8e16 add ncdirect_canopen_images() and ncdirect_canutf8() #753 4 years ago
nick black c783244185 ncdirect_hline_interp(), ncdirect_vline_interp(), dirlines PoC #753 4 years ago
nick black 750f88b70a split direct into its own header 4 years ago
nick black 3ef1a3a07d
add notcurses_version_components() 4 years ago
Nick Black 162f9910c2
Tons of work on ncreel (#776)
Tons of work on ncreel (#627, #749, #694)
Improve reel demo: get input wired up once more, avoid the FPS demo at bottom, print pointer and line count in each tablet, use new ncreel API. Improve notcurses-ncreel explorer: kill memory leaks (#694), draw tablets better, use new ncreel API. Fix bug in ncreel core where cruft could be left on the screen, via a very gross brute force algorithm. I'll likely come back and make this a bit less ghastly in the future #749. Remove weird one-off input system from ncreel, residue from outcurses. Make some of the normalizing changes speced out in #627

* ncreel: give each tablet an index, and print it #749
* reel: eliminate FIXME + param to insert_tabler() #749
* ncreel: label tablets with their adress to correlate against debugging logs #749
* more terminal environment variable notes
* TERMS.md: add Sakura, st
* ncreel: move legend out of reel proper
* ncreel_options: dump min/max_supported_rows/cols #627
* ncreel: remove weird one-off input layer #627
* ncreel: add ncreel_offer_input()
* reel demo: call demo_getc()
* reel demo: rig up input to demo main
* ncreel: drop ncreel_del_focused(), properly bind tablets
* reel demo: don't free up necessary plane
* ncreel: don't pull absolute locations of tablets
* ncreel: place tablets correctly in boundrel
* reel demo: add back support for left/right
* reel demo: restore thread movement
* ncreel: remove a great deal of complexity
* reel demo: stay out of FPS graph's way
* ncreel: give each tablet an index, and print it #749
* reel: eliminate FIXME + param to insert_tabler() #749
* ncreel: label tablets with their adress to correlate against debugging logs #749
* ncreel: move legend out of reel proper
* ncreel_options: dump min/max_supported_rows/cols #627
* ncreel: remove weird one-off input layer #627
* ncreel: add ncreel_offer_input()
* reel demo: call demo_getc()
* reel demo: rig up input to demo main
* ncreel: drop ncreel_del_focused(), properly bind tablets
* reel demo: don't free up necessary plane
* ncreel: don't pull absolute locations of tablets
* ncreel: place tablets correctly in boundrel
* reel demo: add back support for left/right
* reel demo: restore thread movement
* ncreel: remove a great deal of complexity
* reel demo: stay out of FPS graph's way
* reel: tighten up reel following redraw
* reel: fix upper-left corner of topless perimeter
* ncreel: print linecount, return clipped value
* reel: draw focused tablet relative to reel
* reel: brute force decruftification, how embarrassing #749
4 years ago
nick black c809913c22
ncreel: remove {tbrl}off from USAGE, python, docs #627 4 years ago
nick black b6330d142b
add notcurses_render_file() #491 4 years ago
nick black 284dfc4fad
v1.6.0 4 years ago
nick black 7a022a4c76 ncneofetch: show palette via direct mode #750 4 years ago
nick black 6ab11e679f
v1.5.3 4 years ago
nick black d568e0619c
docs/USAGE: CELL_FG_MASK -> CELL_FG_RGB_MASK 4 years ago
nick black 354152b48b
Redefine CELL_ALPHA_ in their natural forms
CELL_ALPHA_OPAQUE et al were defined as 0..3, meaning
CELL_ALPHA_SHIFT had to be used to compare them to their
channel representations. Instead, define them in said
representation outright, eliminating the need to shift while
retaining arithmetic properties, and zero initialization for
CELL_ALPHA_OPAQUE. Eliminate CELL_ALPHA_SHIFT #738.
4 years ago
nick black b35e4c1e80 index.html: move doxygen link to top bar 4 years ago
nick black 1dfcb826a6 skeleton of mojibake demo #689 4 years ago
nick black 0ad87ef8bb
manpages: restore '*' for ncdirect_init() 4 years ago
nick black 64d42212a3
v1.5.2 4 years ago
nick black 4a3d436e5b
drone: update builders 4 years ago
nick black 79d3ae67e4
add notcurses_cantruecolor() 4 years ago
nick black 31bd01b56d index: fix notcurses_metric reference 4 years ago
nick black ffab8b5294 lay groundwork for ncneofetch #550 4 years ago
nick black 0be0b208de
man pages: s/the console/a terminal/g 4 years ago
nick black 472b6a3f54
release checklist: add fedora 4 years ago
nick black 8ff0d92ad7
testing-checklist: add LANG=C, needed for debuilder 4 years ago
nick black 0657267274
v1.5.1 4 years ago