nick black
3db9397df4
Merge branch 'master' of github.com:dankamongmen/notcurses
2020-02-29 23:16:40 -05:00
nick black
43a8fcf195
augh! fix hidden alignment problem
2020-02-29 23:16:36 -05:00
nick black
c6f27f1bee
notcurses_resize() update docs #367
2020-02-29 23:05:51 -05:00
nick black
e679816731
demo: set up input eventfd #390
...
When we process input in the demo, write a packet to an
eventfd we set up in input_dispatcher(). This way,
demo components can poll() on that. #390
2020-02-29 22:58:52 -05:00
nick black
e6bbcd2e70
Selector: properly place scroll arrows #388
...
When the selector body was being sized by the header
or footer (as opposed to option+desc length), our scroll
arrows are misplaced. They now land properly. Mouse
clicks are properly placed now, and screenshots have been
updated in the guide.
2020-02-29 18:16:19 -05:00
nick black
c87a9ed5dd
Gradients: set alpha, better prechecks #389
...
Gradients can't use palette-indexed color, so don't allow it
in either the foreground or background of any channels. All
channels must have the same alpha setting, which will be matched
in the gradient. #389
2020-02-29 16:35:57 -05:00
nick black
1030409096
move fill/stain routines into fill.c
2020-02-29 15:50:29 -05:00
nick black
a39efb1d6d
move selector, menu documentation to book
2020-02-28 03:24:09 -05:00
nick black
fce0d9d88d
README: send multimedia to book
2020-02-27 12:09:01 -05:00
nick black
13beb9703f
move some README content to the book
2020-02-27 11:56:14 -05:00
Marek Habersack
3467a0adef
[C++] API sync
...
Added:
* NCKey: `ScrollUp`, `ScrollDown` and `Return`
* Plane: is_mouse_event (`ncplane_mouseevent_p`)
2020-02-27 11:48:36 -05:00
nick black
5d8da395b9
demo: Fix JSON output for multiple runs #387
2020-02-27 08:40:00 -05:00
nick black
0dc5456035
Emit JSON on -J arg to demo #387
...
Accept -J as a parameter requiring an option to notcurses-demo(1).
Update the man page and usage message to reflect this. Open the
specified file for binary writing with truncation at option parsing
time; fail out if we can't open it. At the end of the demo, write
the results out as JSON, using full precision for all values #387 .
2020-02-27 05:17:07 -05:00
nick black
87cac84db2
remove obsolete FIXME
2020-02-25 02:36:51 -05:00
nick black
b7a028569c
gradient: support default/palette #376
2020-02-24 23:17:28 -05:00
nick black
5b4c6c14e3
gradient: implement + test 1d fills
2020-02-24 22:54:21 -05:00
nick black
5f971a6baa
ignore Cargo.lock for libraries
2020-02-24 22:01:46 -05:00
nick black
b6438e415d
poc/geom: three new stupid unicode tricks
2020-02-24 22:01:16 -05:00
nick black
4fb8500631
README: add link to mailing list
2020-02-24 19:42:18 -05:00
nick black
2c98013150
python: fix up seqnum reference
2020-02-24 19:40:01 -05:00
nick black
519f77dd7f
notcurses_refresh: resynthesize unoptimized stream #380
2020-02-24 19:35:39 -05:00
nick black
fddff356a4
ncdirect_clear(): don't deref null clear
2020-02-24 18:56:09 -05:00
nick black
0a1f36cbfa
debian: add ncdirect_ new to symbols
2020-02-24 18:31:24 -05:00
nick black
a09bdc4ade
Add seqnum field to ncinput #374
2020-02-24 18:11:39 -05:00
nick black
ddd33fea31
ncdirect_move() doc, readme, python, c++ #382
2020-02-24 16:56:51 -05:00
nick black
a626178b16
ncdirect: cursor movement / geom detection #382
2020-02-24 16:30:51 -05:00
nick black
508da16b77
debian: drop graphviz build dep
2020-02-24 05:54:35 -05:00
nick black
91f59b763d
don't deadlock in demo when cancelled
2020-02-24 00:58:49 -05:00
nick black
e72111ac8b
v1.2.2
2020-02-24 00:03:00 -05:00
nick black
0e3be34d2c
demo: hook up Ctrl+L to refresh #379
2020-02-23 23:57:27 -05:00
nick black
9db4bdd599
ncselector: move to mouse press #305
2020-02-23 23:57:27 -05:00
nick black
2b0efddb27
poc/menu: make menu items visible
2020-02-23 23:57:27 -05:00
nick black
773b85e81e
poc/menu: kill brown-bagger, add backgrounds #383
2020-02-23 23:57:27 -05:00
nick black
c9a0964034
menu: check for mousepress #306
2020-02-23 23:57:27 -05:00
nick black
40428fd05e
Cell: non-OPAQUE always sets non-default bit
2020-02-23 12:11:28 -05:00
nick black
bdd0917ea4
selector: transparent where we aren't
2020-02-23 09:38:58 -05:00
nick black
5980c9ae66
sliders: always an even width, for centering 2-digit IDs
2020-02-23 07:16:07 -05:00
nick black
9206329ea7
uniblock: annihilate RTL glitches, finally #259
2020-02-23 07:05:27 -05:00
nick black
e7cc4a098c
debian: update symbols file
2020-02-23 06:04:38 -05:00
nick black
78595399a1
demo: properly color vertbar in summary line
2020-02-23 06:00:09 -05:00
nick black
339185dd6f
demo: handle_input() deadline check #377
2020-02-23 05:34:45 -05:00
nick black
58b67a56af
demo: still show elapsed time when aborting
2020-02-23 05:06:26 -05:00
nick black
a88683fe3c
sliders: stainable numbers
2020-02-23 05:04:59 -05:00
nick black
a9298e89e3
selector: scroll with mouse #305
2020-02-23 04:14:48 -05:00
nick black
bf60c51b3d
nckey: aliases NCKEY_ENTER, SCROLL_*
2020-02-23 04:00:52 -05:00
nick black
9b0603bb32
Implement + test ncplane_mouseevent_p() #305
2020-02-23 03:50:17 -05:00
Marek Habersack
945c3a5f4f
[C++] API sync
...
Added:
* Cell: get_addrword (`cell.attrword`)
* Cell: get_channels (`cell.channels`)
* NotCurses: get_stdplane overloads (`notcurses_stddim_yx`)
* Plane: putc (support for `ncplane_putsimple_stainable`,
`ncplane_putegc_stainable`, `ncplane_putwegc_stainable`)
* Plane: format (`ncplane_format`)
* Plane: stain (`ncplane_stain`)
* Plane: translate (`ncplane_translate`)
2020-02-23 02:57:01 -05:00
nick black
3f493691d0
Debian: pass USE_PYTHON=off to cmake #363
2020-02-22 22:22:54 -05:00
nick black
3483f019e3
NOTCURSES_SHARE: purely a C thing now #363
2020-02-22 21:50:33 -05:00
nick black
93c8860c13
Install to CMAKE_INSTALL_DATADIR, though #363
2020-02-22 21:35:04 -05:00