Commit Graph

575 Commits

Author SHA1 Message Date
nick black
7889ffc0a8
kill duplicate documentation 2019-12-25 00:47:13 -05:00
nick black
99fb662f59
eagle: speed up eagles on small screens 2019-12-25 00:35:10 -05:00
nick black
8d26803ed8
fix linear interpolation on large geometries #216 2019-12-25 00:12:21 -05:00
nick black
7424b3b78c
grid: fix boundary conditions on large displays 2019-12-24 23:55:48 -05:00
nick black
4ba9845143 grid: better background on last scene 2019-12-24 23:50:21 -05:00
nick black
1554685165
boxdemo: default background cell explicitly #211 2019-12-24 05:44:13 -05:00
nick black
4b953e33f2
render: carry state across renders #203 2019-12-24 05:34:39 -05:00
nick black
5dfe861de4 drone drone drone 2019-12-24 04:07:17 -05:00
nick black
f887023aa6 ubuntu-build 2019-12-24 04:06:20 -05:00
nick black
58332f5ce0 drone: drop duplicate entry 2019-12-24 04:01:25 -05:00
nick black
b0bdaaa0b9
build for ubuntu:focal 2019-12-24 03:58:37 -05:00
nick black
873badfc80 relax dep on libgtest...hrm 2019-12-24 03:57:44 -05:00
nick black
c61513901f
try building on ubuntu-bionic 2019-12-24 03:25:04 -05:00
nick black
90735c67ba
make test in autobuilder 2019-12-24 03:04:41 -05:00
nick black
4c80791682
erp 2019-12-24 03:00:21 -05:00
nick black
bdecfef3d2
drone: build on both debian stable and unstable 2019-12-24 02:51:01 -05:00
nick black
dfa6c91257
add 'q' to man page 2019-12-24 02:17:33 -05:00
nick black
e8064f717b
xray: kill subplane when done 2019-12-24 02:13:55 -05:00
nick black
43e0cb3d30
xray: prep for CELL_ALPHA_BLEND #191 2019-12-24 02:04:05 -05:00
nick black
ca5e14cdad
xraydemo: isolate avi/text 2019-12-24 01:17:49 -05:00
nick black
53efe2bd1f
demo-view: don't exit on spurious wakeup 2019-12-24 01:17:26 -05:00
nick black
2601fe9191
demo-input: pass 'q' through in addition to interrupt 2019-12-24 01:17:02 -05:00
nick black
a14ec34d78
intro: blink warning if screen is small 2019-12-24 01:16:45 -05:00
nick black
4e0ebde876
intro: advertise 'q' demo: print full matrix 2019-12-24 00:47:31 -05:00
nick black
9e9e5ef648
demoinput: process 'q' at all times 2019-12-24 00:47:20 -05:00
nick black
1017bf42e0
panelreeldemo: stop advertising 'q' 2019-12-24 00:46:55 -05:00
nick black
17a55261dc
witherworms: allow them more space 2019-12-24 00:46:36 -05:00
nick black
86efad6f67
griddemo: clip rgb values, kill white line on side 2019-12-24 00:46:12 -05:00
nick black
efcfa372ae
ULTRAMEGAOK: toplevel event handler #207
enable mouse events in the demo. spawn a thread from main() which
brokers all input events. it will consume mouse events, and
publish keyboard events to a queue. rewrite all demo notcurses_getc()
calls to demo_getc() equivalents.
2019-12-24 00:10:20 -05:00
nick black
368da5bd81
update output API documentation #210 #209 2019-12-23 23:17:09 -05:00
nick black
219b8c65ea
Merge branch 'master' of github.com:dankamongmen/notcurses 2019-12-23 23:14:41 -05:00
nick black
452e1d302e
output API enhancements #210 #209
Allow -1 in move specification to remain where we are on that
axis (#210), necessary for context-sensitive aligned output.
Add _aligned forms to printf and vprintf. Invert various output
functions so that simpler form is static inline wrapper around
more complicated form, rather than complicated form being a
static inline composition, facilitating atomic move+output. All
output forms now have a simple form (no alignment, placement at
cursor), an _aligned() form, and a _yx() form.
2019-12-23 23:12:29 -05:00
nick black
30a3cc0a4e Merge branch 'master' of github.com:dankamongmen/notcurses 2019-12-23 22:55:41 -05:00
nick black
0b8eb20811 ncvisual_render: direct cell_load into framebuffer
Saves about 10% of wall clock time on 'eagle', nice.
2019-12-23 22:55:11 -05:00
nick black
1d9bf7bb59
update unit tests for ../data move 2019-12-23 19:44:30 -05:00
nick black
6156fa72b0
build/run documentation 2019-12-23 19:16:57 -05:00
nick black
1de8611e2f
move test data to data/, simplify install rule 2019-12-23 19:16:49 -05:00
nick black
7dd875a230 sync documentation to new input code #165 2019-12-23 19:08:12 -05:00
nick black
f742676aee Mouse support using button event tracking #165
Request and parse up mouse messages. We handle up to 11 mouse
buttons, 3 modifiers (currently thrown away), motion while
holding down a button, and loss/gain of focus. I've added twelve
new NCKEYs: one for each button, and one for release. In addition,
I've introduced the 'ncinput' struct, which encodes the nckey plus
extra data. The only extra data thus far is coordinates for mouse
events. It is not necessary to provide a ncinput to all input
functions; NULL can be provided if the caller doesn't care about
details. All demos are updated. notcurses-input has been updated
to decode full information of returned ncinputs.

The primary resource for this work was Dickey at al's "XTerm Control
Sequences", https://invisible-island.net/xterm/ctlseqs/ctlseqs.html.
2019-12-23 19:08:12 -05:00
nick black
aceda89261 input: add NCKEY_MOUSEEVENT, match against CSI prefix #165 2019-12-23 19:08:12 -05:00
nick black
b4b4b3684a yaml 2019-12-23 19:08:12 -05:00
nick black
1bc2bcf31e multiple pipelines 2019-12-23 19:08:12 -05:00
Marek Habersack
c819063d80 Install *.avi test files too 2019-12-23 19:07:50 -05:00
nick black
1555edfa6c
notcurses: disable mouse events on startup/shutdown 2019-12-23 03:38:38 -05:00
nick black
fc17a104b4
notcurses_options: clear screen on start 2019-12-23 03:36:37 -05:00
nick black
78633de427
mouse: use SGR extended coordinates 2019-12-23 03:36:29 -05:00
nick black
ae52d04435
notcurses-input: dim previous lines 2019-12-23 03:36:13 -05:00
nick black
ab47ab8976
notcurses_mouse_on()/_off() #165 2019-12-23 02:47:34 -05:00
nick black
046d0314b9
add links to useful man pages 2019-12-22 22:45:20 -05:00
nick black
fe7b6bbf89
Samoa, tula'i ma sisi ia lau fu'a, lou pale lea! 2019-12-22 16:59:16 -05:00