Commit Graph

1047 Commits

Author SHA1 Message Date
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
nick black
5b4e285798
cherry-pick drone update 2020-01-25 10:01:05 -05:00
nick black
aadf98179a
Debian: dep on python3-cffi and -setuptools 2020-01-25 09:59:49 -05:00
nick black
24fc43fab5
demo: support 100k+ frames in HUD 2020-01-25 08:03:58 -05:00
nick black
2cad2bbfd5 direct mode: properly initialize termcaps #77 2020-01-25 07:17:45 -05:00
nick black
bc15d517d3
python wrappers for direct mode 2020-01-25 01:42:28 -05:00
nick black
81b58234ee
direct mode: reset terminal, check vals #77 2020-01-25 01:37:51 -05:00
nick black
1fd0563093
Direct mode with its own type #77
Introduce the new type 'ncdirect', a stripped-down 'notcurses'
suitable for inline modification of regular output. Used the new
type because otherwise there were going to be if(directmode) checks
everywhere. Direct mode encompasses only colorizing and styling.
Add new man page notcurses_directmode(3). Add new section to README.
Add new PoC using direct mode RGB. Update demo table summary to use
direct mode.
2020-01-25 01:13:04 -05:00
nick black
83e40d3472
direct mode RGB PoC 2020-01-24 23:29:13 -05:00
nick black
ceb15e4e8f demo summary: PoC direct mode with color #77 2020-01-24 04:06:41 -05:00
nick black
3d4e157af6 direct-mode coloring #77 2020-01-24 04:06:41 -05:00
nick black
d8849bb4b1 uniblocks: add a few missing blocks 2020-01-24 04:06:41 -05:00