Commit Graph

201 Commits

Author SHA1 Message Date
nick black
4c334aaf2b
CMake: explicitly link in avcodec 2020-02-06 22:55:55 -05:00
nick black
74775b97ec
enmetric->ncmetric #324 2020-02-05 20:18:11 -05:00
nick black
c519c95fff
panelreel -> ncreel #324 2020-02-05 17:29:42 -05:00
nick black
b284901d18
prep for 1.1.6 2020-02-05 04:08:42 -05:00
nick black
116453bfec notcurses-demo(1): add note about DFSG build #316 2020-02-04 23:18:40 -05:00
nick black
ab3a91c5d0
python for ncdirect 2020-02-04 04:16:16 -05:00
nick black
0271ba5abf python: fix debuild when no notcurses is present 2020-02-04 02:12:14 -05:00
nick black
aea6cdab08
CMake: isometrize data for testing 2020-02-02 11:50:33 -05:00
nick black
31a07dab33
menu: extend across width of screen #179 2020-02-02 06:02:57 -05:00
nick black
60c19017f0
v1.1.4 2020-02-02 02:48:22 -05:00
nick black
20e4c106a2
FreeBSD build fixen #304 2020-02-01 04:12:54 -05:00
nick black
99b79cbf4f
ncselector_create: fix base_egc fuckup #302 2020-01-31 00:02:00 -05:00
nick black
26791bd994 CMake: correct ENV syntax 2020-01-30 09:50:30 -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
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
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
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
ac791c781d
1.1.1, update version numbers 2020-01-27 02:15:38 -05:00
Marek Habersack
75a90461dd Add C++ bindings 2020-01-22 06:47:43 -05:00
nick black
2c2542a553 docs/rust/python: update versions to 1.1.0 2020-01-15 04:50:54 -05:00
nick black
adf808110d
convert remaining man1 pages to pandoc 2020-01-14 16:20:24 -05:00
nick black
d9b721971a
merge in doc changes 2020-01-12 14:49:42 -05:00
nick black
3c7b9777e4
throw analytics into man pages 2020-01-12 14:48:35 -05:00
nick black
d057473c4c
notcurses-demo.1: migrate to pandoc 2020-01-11 01:59:02 -05:00
nick black
5a555ff917
v1.0.2 2020-01-09 05:50:20 -05:00
nick black
1be4025289
CMake: true fix for #208, use NOTCURSES_SHARE 2020-01-09 05:51:18 -05:00
nick black
7e40453199
v1.0.1 2020-01-09 05:22:34 -05:00
nick black
202115d826 Add python3-all-dev build-dep 2020-01-07 16:15:27 -05:00
nick black
fac377b2bc CMake: require python3 2020-01-07 16:15:27 -05:00
nick black
a170e4334a
cmake: write install prefix #208 2020-01-05 04:53:43 -05:00
Nick Black
f6975d11d5
Docs/API sweep for 1.0.0 #244 #249 (#250)
* sync up some docs #244
* sync README and man page
* notcurses_output() man page work
* pull attr/channels from output functions #244
* witherworm: clean up explicit moves #244
* still more man page work
* notcurses_lines, last of the man pages i think
* panelreel man page #244
* debian: ruby-ronn->pandoc
* debian: full multiarch compliance
* debian: symbols file
* pandoc: fix syntax for lexgrog
* fm6.mkv: strip audio
* pandoc: fix up apropos man syntax #249
* ncurses_lines man page
2020-01-04 02:37:55 -05:00
nick black
94f597a9bb ronn -> pandoc #245 2020-01-01 21:26:21 -05:00
nick black
390ca477bd
CMake: NAME_WLE requires CMake 3.14 2020-01-01 19:06:57 -05:00
nick black
6cfdeca95d
cmake: kill GLOB rule 2020-01-01 10:11:48 -05:00
nick black
f2df310edb
v0.9.9 2020-01-01 07:28:03 -05:00
nick black
328f72444e
use out own doctest 2019-12-30 07:00:51 -05:00
nick black
46b1b8e622
notcurses_stats man page #213 2019-12-29 03:24:32 -05:00
nick black
8ebc63da4b
fix up cmake syntax 2019-12-29 01:57:17 -05:00
nick black
734708616b
html documentation 2019-12-28 20:11:08 -05:00
nick black
f024cee3a1
unittests: support -p argument #218 2019-12-27 17:43:24 -05:00
Nick Black
ce2a390b52
Out with googletest, in with doctest #202 (#231)
* introduce doctest over googletest #202
* call dtester in in targets
* doctest conversion #202
* channel.cpp -> doctest #202
* egcpool tests -> doctest #202
* input tests to doctester
* zaxis -> doctest
* drone: always define LANG
* libav to doctest #202
* panelreel tests to doctest #202
* spec that a C++17 compiler is now required for doctest #202
* enmetric tests -> doctest #202
* fade tests -> doctest #202
* notcurses test case -> doctest #202
* last conversion to doctest #202
* finish move to doctest #202
* drone: set up make test
2019-12-27 17:20:20 -05:00
nick black
38cff7e54f
man pages #213 2019-12-27 08:35:16 -05:00
nick black
4ce774ba13
man pages: fix install #213 2019-12-27 08:20:48 -05:00
nick black
38ace7677f
build man pages properly #213 2019-12-27 08:01:15 -05:00
nick black
cad8471d76
build man pages using ronn 2019-12-27 07:36:42 -05:00
nick black
8a8e297835
fix horrible cmake mistake ugh 2019-12-27 05:27:51 -05:00
nick black
b2acb31c0b freebsd: get SIGWINCH/ppoll #196 2019-12-27 02:48:13 -05:00
nick black
cf2712ec6d no-ffmpeg: don't try to define _view() 2019-12-27 02:48:13 -05:00
nick black
24350ed51e
get everybody read for 0.9.3 2019-12-25 11:55:07 -05:00
nick black
cb2bf16a73 support building sans ffmpeg #153 2019-12-25 02:24:10 -05:00
nick black
1de8611e2f
move test data to data/, simplify install rule 2019-12-23 19:16:49 -05:00
Marek Habersack
c819063d80 Install *.avi test files too 2019-12-23 19:07:50 -05:00
Nick Black
4278a53523
Dankamongmen/no prisoners damage (#198)
* notcurses: set up lastframe #189
* render: o(1) take no prisoners damage detection
* EAAAAAAAAAAGLES
* slight background on intro
* 0.9.2
2019-12-22 09:29:56 -05:00
nick black
7e9378cd01
v0.9.1 2019-12-21 03:55:29 -05:00
Nick Black
0e0925a84e
Planereel exploration app, panelreel logic fixes (#188)
* planereels tester #180
* suppress_banner in all tests
* tabletcb: start passing back tablet
* properly initialize fbbytes stat
* panelreel: logic fixes #178
* install all testing data
2019-12-20 20:38:13 -05:00
nick black
37ed8300cb
fix up man page destination path 2019-12-18 06:49:30 -05:00
nick black
c4e4f921f3
changeover for 1.0.0 2019-12-18 06:49:05 -05:00
nick black
0f175e58d3
unidamage PoC #117 2019-12-17 00:33:51 -05:00
nick black
54eb41cf3a
panelreel-demo: done after demodelay * 5 #135 2019-12-13 20:25:48 -05:00
nick black
1821867e35
move outfp out of notcurses_options #130 2019-12-12 07:59:48 -05:00
nick black
a72bf25907
install section 3 man page 2019-12-12 07:38:04 -05:00
nick black
fa6394b021
PoCs need dep on local include 2019-12-12 07:08:53 -05:00
nick black
3a79cbf469
proof of concept support. sgr binary 2019-12-12 04:52:59 -05:00
nick black
e1356a2183
install man pages 2019-12-05 10:12:47 -05:00
nick black
73dd2f7ad7
prep for 0.9.0-pre 2019-12-05 04:37:50 -05:00
nick black
7e5e6bc545
slider-demo: force more squarish appearance 2019-12-05 00:43:09 -05:00
nick black
d09029f7f4
use -std=c11 not -std=gnu11 2019-12-03 13:31:04 -05:00
nick black
1ebfb2c9e3
enable -DFORTIFY_SOURCE=2 for all code 2019-12-03 13:26:49 -05:00
nick black
c70bc7b2a4
slider-demo: work atop a background 2019-12-02 07:20:47 -05:00
nick black
f6b70fd839
prep for 0.4.0 2019-12-02 06:02:03 -05:00
nick black
148a206c7e install all test data 2019-12-01 22:58:35 -05:00
nick black
999f33a2ee
0.3.0-pre 2019-12-01 20:56:42 -05:00
Nick Black
426f632300
Panelreels port #52 (#90)
Port of panelreels, unit tests, and panelreel-demo from outcurses #52.
Doesn't completely work yet, but is surprisingly close!
2019-12-01 17:48:38 -05:00
nick black
627be30e1c install test png 2019-12-01 15:29:59 -05:00
nick black
fb37f8351f CMake: use proper LIBRARY_DIRS when linking notcurses.so #86 2019-12-01 15:29:59 -05:00
Nick Black
a7d50b557d
ncplane_at_cursor (#76), CCCflag, nonblocking stdin (#78) (#84)
* put stdin into nonblocking mode, retry on short write to stdout #78
* wrap getc_blocking() around a poll #78
* get CCCflag from terminfo. stop clearing the screen in render/startup
* implement ncplane_at_cursor() #76
* ncplane_at_cursor() unit test for simples #76
* PlaneAtCursorComplex unit test #76
* PlaneAtCursorInsane() unit test #76
* nplane_at_cursor: return number of bytes, not just 0/-1
* uniblock-demo: add a bunch of pages from Unicode 12
* demo: make -d delay multiplier a float
* egcpool: check offset against poolsize in check_validity()
* notcurses_init(): set smkx/rmkx to NULL with pass_through_esc
* PlaneAtCursorAttrs unit test #76
* add ncplane_styles() accessor
2019-11-30 22:53:24 -05:00
nick black
a037cdfe5a
add new notcurses-input binary #8 2019-11-29 00:20:30 -05:00
nick black
5f3a12bc63
pre-0.2.0 2019-11-28 22:32:49 -05:00
nick black
c6da5d5e7a
v0.1.0 2019-11-28 22:23:00 -05:00
nick black
951c848ad9 minimum avformat version of 57 2019-11-28 11:43:49 -05:00
nick black
8dfd050ab7 add ncplane_destroy() #26 2019-11-27 18:32:46 -05:00
nick black
f948904f7b libavutil linkage #61 2019-11-27 18:32:46 -05:00
nick black
cf557ff500 ncurses-view #61 2019-11-27 18:32:46 -05:00
nick black
f14ee490f2
CMake: visibility=hidden by default #56 2019-11-27 01:02:05 -05:00
nick black
e64f7a22ff
v0.0.9 2019-11-26 22:50:53 -05:00
nick black
66b06e9d91 add libav 0.29+ to deps 2019-11-26 20:23:40 -05:00
nick black
f20e8fde4b add notcurses_image_open() #23 2019-11-26 20:23:40 -05:00
nick black
6ee3de2b78
CMake: expose _XOPEN_SOURCE as PUBLIC 2019-11-26 01:42:04 -05:00
Nick Black
b93bcebf0b
Extended grapheme clusters (#15)
Introduce egcpool for attached storage
Hook up style support
Switch entirely to UTF-8 char from wchar_t (#14)
Pull out next EGC in cell_load (#14)
2019-11-24 12:36:46 -05:00
Nick Black
7e92c8bb82
documentation and declarations (#13)
ncplane: flesh out API
ncplane: line and erase APIs
README.md: document differences from ncurses
notcurses_init(): print long term name
CMake: link librt into notcurses
cell: move functionality out to header
2019-11-23 09:05:32 -05:00
nick black
157b4bdc52 cmake: turn on -Wshadow 2019-11-21 08:51:57 -05:00
nick black
17bc714c4d
define cell struct 2019-11-17 22:02:43 -05:00
nick black
b6ee41b355
link in tinfo, call setupterm() 2019-11-17 12:55:12 -05:00
nick black
70df86ba17
version string, notcurses_version() 2019-11-17 05:04:41 -05:00