Commit Graph

1135 Commits

Author SHA1 Message Date
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
nick black
e899f8b7ed demo summary: also print real FPS 2020-01-24 04:06:41 -05:00
nick black
2ea10d4b28 Remove clear_screen_start option
As it turns out, we can't portably load the initial terminal contents
(there are some hacks of various EXTREME nature, but none of them are
worth it for the rather limited benefit). The O(1)-time damage
inference requires knowledge of what was previously present to
inibit unnecessary draws. We would then need some special cell value
indicating "not yet written to" to distinguish a purposeful null
cell from an initial cell. Again, we could do this, but for what value?

Finally, the idea of clearing new area on SIGWINCH was always flawed,
as we can't do that from a signal handler.

With the advent of direct mode #77, the reason for this largely goes
away in any case.
2020-01-24 04:06:41 -05:00
nick black
5992d3f610
debian: update copyrights 2020-01-22 22:43:45 -05:00
nick black
d1d4b9f14e
debian policy 4.5.0.0 2020-01-22 22:38:25 -05:00
nick black
78650e00da
replace gibberish with einstein field equation RHS 2020-01-22 22:07:23 -05:00
nick black
55699c6a3c
render summary: autoscale all times 2020-01-22 08:28:56 -05:00
nick black
4f719b5405
top-level credit to @grendello for c++ wrappers #212 2020-01-22 06:51:25 -05:00
Marek Habersack
75a90461dd Add C++ bindings 2020-01-22 06:47:43 -05:00
nick black
22f71c9a80
implement quantize_rgb8() for linux console #288 #4 2020-01-21 00:43:36 -05:00
nick black
48025cd794
report Alt in ncinput #228 2020-01-20 00:10:18 -05:00
nick black
be3a53f3cf
input: function key defs through kf59 2020-01-20 00:00:09 -05:00
nick black
1aa462385e
detect ctrl+letter, prep ncinput appropriately #228 2020-01-19 23:45:55 -05:00