Commit Graph

1008 Commits

Author SHA1 Message Date
nick black
85f042c644
add selector to README #302 2020-01-31 17:33:47 -05:00
nick black
43ce3e5ccb
selector: don't FPE on empty itemlist #302 2020-01-31 02:49:34 -05:00
nick black
05a83e54c7
Selector: inverse rather than reverse video #302 2020-01-31 00:55:25 -05:00
nick black
fe51f93a4c
selector: destroy ncplane on exit 2020-01-31 00:28:34 -05:00
nick black
77432ee1c5
set ~ICRNL with termios.c_iflag #303 2020-01-31 00:26:52 -05:00
nick black
99b79cbf4f
ncselector_create: fix base_egc fuckup #302 2020-01-31 00:02:00 -05:00
nick black
6a4cfcde95
selector: always rotate options #302 2020-01-30 23:05:30 -05:00
nick black
d30df23f43
selector: support non-zero default idx #302 2020-01-30 22:42:25 -05:00
nick black
09d2e35372 C++ wrappers: kill Visual::destroy_plane() #299
ncvisual_destroy() already calls ncplane_destroy() when
appropriate. There's never a need for the C++ wrappers
to explicitly free the Visual's underlying Plane. With
this change, valgrind no longer complains upon exiting
notcurses-view(1).
2020-01-30 22:17:07 -05:00
nick black
89b95981b2
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-01-30 22:16:08 -05:00
nick black
a57f0f234c
selector styling 2020-01-30 22:16:03 -05:00
nick black
1393ec29df debian: add two more symbols 2020-01-30 20:52:43 -05:00
nick black
be133b0105
unit tests for scrolling selector 2020-01-30 19:57:39 -05:00
nick black
e4dcccc409
selector: implement scrolling 2020-01-30 19:54:20 -05:00
nick black
3991b3e53a
selector: implement maxdisplay. unit tests! 2020-01-30 19:37:21 -05:00
nick black
ac2b951fa9
ncselector_selected(), unit tests 2020-01-30 16:40:02 -05:00
nick black
26791bd994 CMake: correct ENV syntax 2020-01-30 09:50:30 -05:00
nick black
17de41d4b5
Debian: add new symbols 2020-01-30 09:25:18 -05:00
nick black
ca628e55bb python: do all work in build directory 2020-01-30 09:22:34 -05:00
nick black
7bb864b999
CMake: check for DEB_BUILD_ARCH 2020-01-30 08:57:11 -05:00
Nick Black
da0283ac25
Selector widget #166, subtitles #95 (#301)
Get rid of annoying empty line in notcurses-view (and ncvisuals at offsets in general)
Implement most of the Selector widget. Need to add styling and scrolling still. #166
Reenable ubuntu focal build
Subtitles! We decode them, and display them in notcurses-view. If ncvisual_simple_streamer() is provided an extra ncplane, it will use it to display subtitles. #95
We now build Python by default, as things are working much better.
ncplane_set_base() now takes channel, attrword, and EGC, so you can usually avoid having to set up and release a cell. ncplane_set_base_cell() takes over duty from ncplane_set_base() for ease of conversion.
notcurses-demo and notcurses-view now both accept a 0 for delay multiplier, meaning 'go as fast as you possibly can'. Very small multipliers (e.g. 0.00001) no longer cause floating point exceptions.
fading routines no longer cause floating point exceptions on very small timescales.
2020-01-30 08:55:01 -05:00
nick black
3ee6f44831 Debian: python3-notcurses deps on ${shlibs:Depends} 2020-01-29 01:27:45 -05:00
nick black
7ea49832ae
debian: minimum verison 4.20191017 for dh-python 2020-01-29 01:11:23 -05:00
nick black
04329707ae
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-01-29 01:09:10 -05:00
nick black
a667a14e9b
Debian: 1.1.2-1 in changelog 2020-01-29 01:08:32 -05:00
nick black
c9bfc54381
prep for 1.1.2 2020-01-29 01:03:00 -05:00
nick black
c6397f20eb
Python: require BUILD_PYTHON for now 2020-01-29 00:58:55 -05:00
nick black
7bea85bb79
Python: only do deb stuff when DEB_VENDOR is defined 2020-01-29 00:42:59 -05:00
nick black
345ed60abd
Improve smcup handling
If we're going to issue smcup to switch to the alternate screen,
flush immediately after doing so. Otherwise, subsequent output
prior to the first render can be swept away. See growlight issue
75: https://github.com/dankamongmen/growlight/issues/75. In the
demo, we now get this output either (a) at the beginning (if smcup
is inhibited) or (b) at the end (default). Only perform our pause
on startup in case (a).
2020-01-29 00:25:18 -05:00
nick black
fad46d8656
CMake: invoke python build_ext in build step #298 2020-01-28 21:43:56 -05:00
nick black
a2f061a91d Python: build debian packages successfully #298
With this, we can finally build Python Debian packages. Of course,
it wrecks our standard Python installation capabilities. I'll need
fix that. I'm talking on #debian-python IRC now.
2020-01-28 19:00:42 -05:00
nick black
c1c25afcc7 Python: fix up debug package #298 2020-01-28 16:43:02 -05:00
nick black
a340286b49 Debian: clean up copyright file
We were drawing a dep5-copyright-license-name-not-unique lintian
warning. I've eliminated the duplicate Apache-2.0 text, combining
the sections. Furthermore, I've relicensed the Debian files
under Apache-2.0 mainly to reduce complexity.
2020-01-28 16:25:40 -05:00
nick black
278182e1f9 Debian: 'testsuite' is in debian/control 2020-01-27 23:27:18 -05:00
nick black
b2909e9e8e
Debian: try building python package #298 2020-01-27 23:24:01 -05:00
nick black
92f8d4ce26
Python: indicate devstatus beta 2020-01-27 23:12:54 -05:00
Nick Black
16dfe05a93
Build and install Python wrappers #294 (#298)
* cmake: build python extension
* Python: remove obsolete clear_screen_start
* Debian: python3-cffi, not python-cffi
* Debian: add dep on python3-setuptools
* Python: build extension module from CMake #294
* Python: install python wrappers #294
* drone: disable focal for now
2020-01-27 23:10:47 -05:00
nick black
eae259f3bc
CMake: include CTest to get BUILD_ENABLE 2020-01-27 03:32:08 -05:00
nick black
809caad8c0
drone: buster lacks necessary cmake 2020-01-27 02:54:10 -05:00
nick black
b91029ee31
drone: run a build on stable 2020-01-27 02:50:13 -05:00
nick black
69bbe575b3 release checklist: test debian package 2020-01-27 02:23:27 -05:00
nick black
1ae0dd56e7 symbol updates for 1.1.1 2020-01-27 02:20:50 -05:00
nick black
153dd7b9b5 debian: update c++ symbols based on ubuntu focal build 2020-01-27 02:18:24 -05:00
Marek Habersack
cd6d1e16d1 Properly clean up when NotCurses instance is destructed
We need to set `_instance` to `nullptr` or we'll leave a dangling
pointer.
2020-01-27 02:18:05 -05:00
nick black
ac791c781d
1.1.1, update version numbers 2020-01-27 02:15:38 -05:00
nick black
4e19d51e57
geom: tighten things up a bit 2020-01-27 00:58:34 -05:00
nick black
25dde8c889
FAQ entry about hiding planes 2020-01-26 22:24:56 -05:00
nick black
652cfbc9f1
more dumb geometry block tricks 2020-01-25 22:35:26 -05:00
nick black
c3d4ac8caa
geom.c: PoC fun with geometric shapes 2020-01-25 22:21:47 -05:00
nick black
c04a68896c
README: add FAQ entry about c++ scopes 2020-01-25 11:06:08 -05:00