Commit Graph

186 Commits

Author SHA1 Message Date
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
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
6e92492117
docs, python: add notcurses_canchangecolor() 2020-01-19 06:16:09 -05:00
nick black
dec2ab515e python: update palette256 API wrapper 2020-01-19 04:07:25 -05:00
nick black
bee5be9d80
chunli: finalize out 2020-01-19 02:30:46 -05:00
nick black
1e403123e1
s/notcurses_render/demo_render/g pass 2020-01-18 21:17:05 -05:00
Nick Black
3d612aebcb
ruins color cycling demo #253 (#287)
* palette_set: update pal256 damage map #230
* drone: use newest builders
* palette: send oc on exit for color reset #285
* palette_new: copy existing palette in #230
* Python: use checkRGB everywhere
* more palette unit testing
* add ncplane_set_*_palindex()
* render fg palindex #230
* palette index color is out of 1000
* jungle demo works #253
2020-01-18 20:42:29 -05:00
nick black
6434593afb
notcurses-demo.1: add copyrights 2020-01-18 16:06:39 -05:00
nick black
b02acd8631
Curry a void* to fader callbacks #284 2020-01-17 09:30:53 -05:00
nick black
98fe08727b fallen: open the curtain on patents.png 2020-01-17 08:35:28 -05:00
nick black
3bd0732e81 notcurses_view: accept -s option 2020-01-17 08:35:28 -05:00
nick black
011f7524bb reject bad demo spec before starting 2020-01-17 08:35:28 -05:00
nick black
55b7dc992b notcurses_resize(3) man page #279 2020-01-17 08:35:28 -05:00
nick black
7860e1eace first start of fallin' demo 2020-01-17 08:35:28 -05:00
nick black
08f6fa0e79 implement ncplane_dup() 2020-01-17 08:35:28 -05:00
nick black
6365fc0917 encode palette index into channels/attr #230 2020-01-17 08:35:28 -05:00
nick black
684bcdcc8c introduce palette256 #230 2020-01-17 08:35:28 -05:00
nick black
76228019ee cell.3: update cell_blend_*() signatures 2020-01-15 05:20:58 -05:00
nick black
2c2542a553 docs/rust/python: update versions to 1.1.0 2020-01-15 04:50:54 -05:00
nick black
3af3372dfd
index.html for html documentation 2020-01-14 16:48:39 -05:00
nick black
8f07eb9ffe
hierarchal->hierarchical 2020-01-14 16:46:16 -05:00
nick black
adf808110d
convert remaining man1 pages to pandoc 2020-01-14 16:20:24 -05:00
nick black
dd7f8eff4b
ncvisual_stream: add timescale param 2020-01-14 15:50:17 -05:00
nick black
5e1764d9b1
ncvisual_stream: add timescale param 2020-01-14 15:50:16 -05:00
nick black
7c687faea0
pulsing text + unit test + docs #163 2020-01-14 01:09:37 -05:00
nick black
23b5078ed1
pulsing text declarations 2020-01-14 01:09:26 -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
1b83c8b182
uniblock: drop rtl blocks for now #183 #259 2020-01-12 10:15:56 -05:00
nick black
4fca9425d9 notcurses_cell.3: add clipped 2020-01-12 07:46:38 -05:00
nick black
d5c82e2024 notcurses_ncplane.3: add ncplane_clipped() 2020-01-12 07:46:38 -05:00
nick black
6fc38cdf42 notcurses-demo.1: syntax fix for man page 2020-01-12 00:09:37 -05:00
nick black
d057473c4c
notcurses-demo.1: migrate to pandoc 2020-01-11 01:59:02 -05:00
nick black
eba64b0990
man page syntax fixups 2020-01-10 10:56:13 -05:00
nick black
dd3046ddf3
notcurses_input.3: fix syntax 2020-01-10 10:30:39 -05:00
nick black
5a555ff917
v1.0.2 2020-01-09 05:50:20 -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
1a2cccaa18 fold out ncplane_move_cursor_yx() wherever possible #257 2020-01-05 03:46:51 -05:00
Nick Black
f5c6297902
Chun Li demo (#251)
* chun li demo
* ncvisual_decode: allow multiple renders of the same frame
* add -H to notcurses-demo man page
* update section 1 man page versions
2020-01-04 07:21:54 -05:00
nick black
5dd90f3735 add ncplane_dim_[yx] quick accessors 2020-01-04 04:34:29 -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
03636b14d3
maxcolor -> trans, document loglevels 2020-01-03 12:13:03 -05:00
nick black
9ceb708c00 man page syntax fixes 2020-01-03 05:51:27 -05:00
nick black
029256e6fc
notcurses-input docs 2020-01-01 22:39:16 -05:00
nick black
dee889ee05
some documentation on cells/threads 2020-01-01 22:06:07 -05:00
nick black
94f597a9bb ronn -> pandoc #245 2020-01-01 21:26:21 -05:00
nick black
e81e58035e
notcurses_at_yx() added 2019-12-31 20:51:20 -05:00
nick black
d1921943ee
notcurses_ncplane(3) details 2019-12-31 18:53:52 -05:00
nick black
5c3dc72e51
update notcurses_ncplane(3) SEE ALSO links 2019-12-30 13:13:42 -05:00
nick black
41ff6fa5bd
update man pages for ncplane_new() 2019-12-30 07:49:06 -05:00
nick black
ed980f1059 pull _get from all accessors 2019-12-30 01:10:10 -05:00
nick black
924d80f0d5
don't blend default colors #235 2019-12-29 17:49:38 -05:00
nick black
f48cdd2a0e
more man pages (#213) 2019-12-29 16:41:28 -05:00
nick black
d06ea0463c
cell man page #213 2019-12-29 16:26:04 -05:00
nick black
fabb2f44d4
notcurses_render ronn syntax fix #213 2019-12-29 03:48:33 -05:00
nick black
46b1b8e622
notcurses_stats man page #213 2019-12-29 03:24:32 -05:00
nick black
e3e619beae
notcurses_render ma page #213 2019-12-29 02:30:25 -05:00
nick black
2bc3717a01
link up man references (#213) 2019-12-28 22:47:50 -05:00
nick black
a43eab6921
notcurses_newplane(3) man page #213 2019-12-28 22:05:55 -05:00
nick black
665d54e33c
man page linking (#213) 2019-12-28 21:54:02 -05:00
nick black
daad1c7ea3
more man pages (#213) 2019-12-28 21:02:54 -05:00
nick black
a0d00c8aa3
man page work (#213) 2019-12-28 20:57:10 -05:00
nick black
9849e66c43
section 3, not 3notcurses 2019-12-28 20:17:34 -05:00
nick black
502a1bf0e8
notcurses_stop(3) man page #213 2019-12-28 20:15:11 -05:00
nick black
734708616b
html documentation 2019-12-28 20:11:08 -05:00
nick black
7c5a13e7ac
notcurses_init(3) man page #213 2019-12-28 19:58:05 -05:00
nick black
21c3861804
s/bannner/banner/g, heh 2019-12-28 18:37:44 -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
e05bde3d5a
gimme a bit of top-level man page 2019-12-27 08:16:13 -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
6ffbe195cc
man: fix up groff syntax 2019-12-25 11:59:30 -05:00
nick black
24350ed51e
get everybody read for 0.9.3 2019-12-25 11:55:07 -05:00
nick black
dfa6c91257
add 'q' to man page 2019-12-24 02:17:33 -05:00
nick black
708159c686
x-ray demo 2019-12-22 12:27:35 -05:00
Nick Black
9b81de3789
O(1) passive damage detection #189 (#197)
* notcurses: set up lastframe #189
* render: o(1) take no prisoners damage detection #189
2019-12-22 08:08:53 -05:00
nick black
c3fa7ea664
bleachworm replaces widechomper #177 2019-12-22 00:27:43 -05:00
nick black
792b1f2cfb
notcurses-demo: accept -p to find data files #160 2019-12-20 01:32:14 -05:00
Nick Black
957549105b
Wide character rigor (#117) (#157)
* unidamage PoC
* add cell_load_simple()
* clear CELL_WIDEASIAN_MASK in cell_load()
* split out render code
* add CELL_SIMPLE_INITIALIZER
* widecolor: fix message plane
* widecolor: simplify color increments
* document wide character handling
* unit tests for wide obliteration #117
* widechar obliteration hardening #117
* widecolor -> widechomper, update man page
2019-12-18 04:38:43 -05:00
nick black
a72bf25907
install section 3 man page 2019-12-12 07:38:04 -05:00
Nick Black
0d2c43603b
Luigi in Mega Man world (#127)
* uniblock-demo: reset background to black
* warning about quantization
* some luigi love
* update cell documentation
* add unit test for move of stdplane
* MoveToLowerRight unit test
* ncplane_move_yx(): error to move stdscr
* better box permutations test
* luigi in megaman2 world
* stats: don't print 'em if we haven't got 'em
2019-12-10 06:02:49 -05:00
nick black
065d44001c
change demo order 2019-12-08 14:05:48 -05:00
nick black
92fb071fb1
basic man pages for -view and -input 2019-12-05 10:18:02 -05:00
nick black
e1356a2183
install man pages 2019-12-05 10:12:47 -05:00