Commit Graph

1112 Commits (d55f1b78d8ad0ec9910f18ca6813702cf5de0405)
 

Author SHA1 Message Date
nick black 45235fc076
Selector: add arrows if there are more options #302 5 years ago
nick black fad612bd2f
Use column width in selector calculations #302 5 years ago
nick black 5982707f9e
add mbswidth() function, unit tests, docs 5 years ago
nick black 741761787f
notcurses_selector(3) man page #302 5 years ago
nick black 85f042c644
add selector to README #302 5 years ago
nick black 43ce3e5ccb
selector: don't FPE on empty itemlist #302 5 years ago
nick black 05a83e54c7
Selector: inverse rather than reverse video #302 5 years ago
nick black fe51f93a4c
selector: destroy ncplane on exit 5 years ago
nick black 77432ee1c5
set ~ICRNL with termios.c_iflag #303 5 years ago
nick black 99b79cbf4f
ncselector_create: fix base_egc fuckup #302 5 years ago
nick black 6a4cfcde95
selector: always rotate options #302 5 years ago
nick black d30df23f43
selector: support non-zero default idx #302 5 years ago
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).
5 years ago
nick black 89b95981b2
Merge branch 'master' of github.com:dankamongmen/notcurses 5 years ago
nick black a57f0f234c
selector styling 5 years ago
nick black 1393ec29df debian: add two more symbols 5 years ago
nick black be133b0105
unit tests for scrolling selector 5 years ago
nick black e4dcccc409
selector: implement scrolling 5 years ago
nick black 3991b3e53a
selector: implement maxdisplay. unit tests! 5 years ago
nick black ac2b951fa9
ncselector_selected(), unit tests 5 years ago
nick black 26791bd994 CMake: correct ENV syntax 5 years ago
nick black 17de41d4b5
Debian: add new symbols 5 years ago
nick black ca628e55bb python: do all work in build directory 5 years ago
nick black 7bb864b999
CMake: check for DEB_BUILD_ARCH 5 years ago
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.
5 years ago
nick black 3ee6f44831 Debian: python3-notcurses deps on ${shlibs:Depends} 5 years ago
nick black 7ea49832ae
debian: minimum verison 4.20191017 for dh-python 5 years ago
nick black 04329707ae
Merge branch 'master' of github.com:dankamongmen/notcurses 5 years ago
nick black a667a14e9b
Debian: 1.1.2-1 in changelog 5 years ago
nick black c9bfc54381
prep for 1.1.2 5 years ago
nick black c6397f20eb
Python: require BUILD_PYTHON for now 5 years ago
nick black 7bea85bb79
Python: only do deb stuff when DEB_VENDOR is defined 5 years ago
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).
5 years ago
nick black fad46d8656
CMake: invoke python build_ext in build step #298 5 years ago
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.
5 years ago
nick black c1c25afcc7 Python: fix up debug package #298 5 years ago
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.
5 years ago
nick black 278182e1f9 Debian: 'testsuite' is in debian/control 5 years ago
nick black b2909e9e8e
Debian: try building python package #298 5 years ago
nick black 92f8d4ce26
Python: indicate devstatus beta 5 years ago
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
5 years ago
nick black eae259f3bc
CMake: include CTest to get BUILD_ENABLE 5 years ago
nick black 809caad8c0
drone: buster lacks necessary cmake 5 years ago
nick black b91029ee31
drone: run a build on stable 5 years ago
nick black 69bbe575b3 release checklist: test debian package 5 years ago
nick black 1ae0dd56e7 symbol updates for 1.1.1 5 years ago
nick black 153dd7b9b5 debian: update c++ symbols based on ubuntu focal build 5 years ago
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.
5 years ago
nick black ac791c781d
1.1.1, update version numbers 5 years ago
nick black 4e19d51e57
geom: tighten things up a bit 5 years ago