Commit Graph

2789 Commits

Author SHA1 Message Date
nick black
a009eb946c linux console: prep table for shims #201 2020-07-13 23:23:27 -04:00
Nick Black
50ce76bad8
Add kernel unicode-to-font mappings dynamically for line-drawing characters (#794)
Part 1 of a two-part revolution in Linux console graphics. Map all the line-drawing Unicode characters to similar glyphs. This means all our nice corners freely translate into rigid corners etc in the console, rather than hateful default characters (usually black diamonds). The demo and all widgets now look correct when drawing lines and boxes. Next, we'll add the actual glyphs for the block-drawing characters, and we'll have the finest graphics ever seen on a text-mode Linux console. #201
2020-07-13 18:04:43 -04:00
nick black
62f6896715
CMake: remove python stuff; it'll be built externally 2020-07-13 08:30:32 -04:00
nick black
fa343c92a4
install pkg-config to libdata on FreeBSD #792 2020-07-13 08:14:18 -04:00
nick black
1792f820e4
drone: shift ubuntu docker back to 2020-07-13a 2020-07-13 06:19:05 -04:00
nick black
ff569d7114
terminfo: chop off $<N> syntax #769 2020-07-13 05:54:59 -04:00
nick black
1c95241948
fileroller/procroller: check widget destructor for error #793 2020-07-13 05:26:29 -04:00
Nick Black
9ca7d14c2b rust: drop libc_stdout from libnotcurses-sys tests #788 2020-07-13 02:41:19 -04:00
Nick Black
e3e7b40440 rust: use pkg-config results for -I values #788 2020-07-13 02:35:50 -04:00
nick black
1e39589c08
drone: update to 2020-07-13a builders 2020-07-13 01:56:24 -04:00
nick black
b0990c1389
dumbass 2020-07-13 01:52:53 -04:00
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
2020-07-13 01:21:41 -04:00
nick black
992eaea8d0
tetris: swap colors on level change 2020-07-12 08:29:51 -04:00
nick black
f5a84620d2
CMake: remove rust stuff; it's built externally 2020-07-12 06:36:55 -04:00
nick black
1cc0371373
v1.6.1 2020-07-12 03:20:50 -04:00
nick black
894c6d15f6
tetris: start on level 1 2020-07-12 03:12:42 -04:00
nick black
3a7dabd2c8
notcurses-tester: use -l6 2020-07-12 02:55:58 -04:00
nick black
4619492f28
doc up the linux console 2020-07-12 02:55:48 -04:00
nick black
20178290fc
Fill out some more C++ unit tests, basic ones #538 2020-07-12 01:42:17 -04:00
nick black
20864949fa
ncneofetch: check for swapped cursor coordinates #765 2020-07-11 01:38:23 -04:00
nick black
5cf912feb6
ncplane_printf_stainable() and _vfprintf_stainable() #754 2020-07-10 23:58:37 -04:00
nick black
4a97c139e6
add ncplane_putstr_stainable() #754 2020-07-10 23:43:47 -04:00
nick black
a6b002fa77 add ncdirect box-drawing functions #753 2020-07-10 18:41:25 -04:00
nick black
96c6dc8e16 add ncdirect_canopen_images() and ncdirect_canutf8() #753 2020-07-10 18:41:25 -04:00
nick black
c783244185 ncdirect_hline_interp(), ncdirect_vline_interp(), dirlines PoC #753 2020-07-10 18:41:25 -04:00
nick black
750f88b70a split direct into its own header 2020-07-10 18:41:25 -04:00
nick black
b617587ade
demo_nanosleep_abstime_ns: silence compiler warning 2020-07-10 13:18:55 -04:00
nick black
9ff805e754
demo_nanosleep_abstime_ns: fix test sense, swallow input #782 2020-07-10 12:38:21 -04:00
nick black
4b893164e1
ncplane_stain(): only stain valid EGCs #777 2020-07-10 11:58:46 -04:00
nick black
5512158fc5
postpaint(): no need to replace nul with space #777 2020-07-10 11:15:23 -04:00
nick black
a97297192d
Exceptions unit test: drop bad stops 2020-07-09 21:17:00 -04:00
nick black
5e207f4158
unit test for merging down fills 2020-07-09 21:16:31 -04:00
nick black
460ba7683d
Exceptions: reenable CHECK_THROWS_AS specifier #538 2020-07-09 04:31:59 -04:00
nick black
0ca1716cbd
README: purge alignment div, apache 2.0 badge 2020-07-09 04:16:03 -04:00
Nick Black
6685ff2767
right-align other badges alongside ToC 2020-07-09 04:10:39 -04:00
nick black
573a248da4
add Repology badge 2020-07-09 04:04:10 -04:00
nick black
3457ffb59f
FdsAndSubprocs test: use ncplane_putnstr(s) #778 2020-07-09 03:27:41 -04:00
nick black
ea183c0d66
fdthread: stop being an asshole and NUL terminate the input #778 2020-07-09 03:27:06 -04:00
nick black
3ef1a3a07d
add notcurses_version_components() 2020-07-09 02:17:55 -04:00
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
2020-07-09 02:02:23 -04:00
nick black
3918ab6999
reproduce some notes regarding terminal emulators 2020-07-08 01:13:58 -04:00
nick black
c809913c22
ncreel: remove {tbrl}off from USAGE, python, docs #627 2020-07-06 16:00:29 -04:00
nick black
479dd00739
ncreel: purge {tblr}off fields; these are ncplane properties #627 2020-07-06 15:59:29 -04:00
nick black
8a9a0c35e0
remove debugging cruft 2020-07-06 01:54:13 -04:00
nick black
da765ebdaa
mojibake: don't stomp right side of boxes 2020-07-05 13:39:48 -04:00
nick black
8afd25fef6
FAQ entry about screen #757 2020-07-05 11:24:44 -04:00
nick black
f2af24648d
mojibake: add all remaining emoji collations #770 2020-07-05 11:01:55 -04:00
nick black
2c37f2c4ba
mojibake: second third of the emoji collations #770 2020-07-05 10:52:51 -04:00
nick black
fd83cc8639
mojibake: add all unicode 13 emoji via CLDR order #770 2020-07-05 10:34:07 -04:00
nick black
b6330d142b
add notcurses_render_file() #491 2020-07-05 07:14:07 -04:00