Commit Graph

691 Commits

Author SHA1 Message Date
nick black
6bff720122 initial API + documentation for ncprogbar #1202 2020-12-13 09:12:08 -05:00
nick black
be3bd474f6
model.dot: simplify 2020-12-13 06:01:12 -05:00
nick black
520ce356b0
add 2.1.0 to history 2020-12-13 03:24:20 -05:00
nick black
6edafd1f84
v2.1.0 2020-12-13 03:04:23 -05:00
nick black
fd2acde1b1 rename cell->nccell, keep alias #1200 2020-12-13 00:49:37 -05:00
nick black
8497ee1877
v2.0.12 2020-12-12 06:42:47 -05:00
nick black
1239ac7a29
mathtext PoC: loop properly 2020-12-10 09:22:26 -05:00
nick black
eb485cda21
v2.0.11 2020-12-09 00:34:37 -05:00
nick black
a3220b8a73
add ncplane_descendant_p(), unit test it #1192 2020-12-09 00:18:47 -05:00
nick black
e60a7aa463
add stat for notcurses_refresh() 2020-12-06 13:45:35 -05:00
nick black
361a253aea
v2.0.10 2020-12-06 13:22:26 -05:00
nick black
4cf4a4ce0b
egcpool: fix cell_egc_idx() math #1179 2020-12-06 11:55:45 -05:00
nick black
14fa544433
add NCPLOT_OPTION_PRINTSAMPLE #1183 2020-12-06 06:33:54 -05:00
nick black
e5306f6197
widestomp PoC: eliminate color weirdness #1175 2020-12-03 13:09:19 -05:00
nick black
6fb5c1e512 Fill out some API holes, improve some comments
- Disambiguate the docs for ncplane_erase()
- Add ncpile_top(), ncpile_bottom()
- Refuse attempts to modify the standard plane's resizecb
- Copy alignment and resizecb in ncplane_dup()
- Add cell_load_egc32()
2020-12-03 01:02:16 -05:00
nick black
5b8c71b9b0
flesh out notcurses_reel.3 #1171 2020-12-02 20:15:53 -05:00
nick black
8083b46e3b
v2.0.9 2020-12-01 04:37:37 -05:00
nick black
6124d0e0d9
add link to ncls from man1 index 2020-12-01 04:34:04 -05:00
nick black
a7c03634c1 thoughts 2020-12-01 04:17:39 -05:00
nick black
c733f33b81 ncls: add -L argument, skeleton for stat() 2020-11-29 10:44:04 -05:00
nick black
65856c37b4 ncls: more command line parameters 2020-11-29 10:44:04 -05:00
nick black
c2671b6fef
data model: every plane gets an egcpool 2020-11-29 07:34:45 -05:00
nick black
5868e49c6a
model.dot: combine cellmatrix+egcpool 2020-11-29 07:31:26 -05:00
nick black
911f4eccc4
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-11-28 23:55:45 -05:00
nick black
a24bb1b663
index.html: use text-size rather than h2 2020-11-28 23:55:41 -05:00
nick black
4d524f92bc apply htole() in ncpixel_*() #1130 2020-11-28 23:55:17 -05:00
nick black
253b9582b2
index.html: scale down headers by one 2020-11-28 20:46:59 -05:00
nick black
d5797d84d5 update data model diagram, link to debminiconf talk in history 2020-11-28 20:45:16 -05:00
nick black
3f9d87f5e6 include data model on web page 2020-11-28 20:45:16 -05:00
nick black
465a0ffbcb Improve handling of dot->graph documentation
Remove the pre-rendered model.png, a generated output. Add a
dot target to CMake, predicated on USE_DOXYGEN (since we have
REQUIRED dot in our Doxygen spec). Generate the png in the
output path. Rename stacks to piles in model.dot.
2020-11-28 20:45:16 -05:00
nick black
918520b21e notcurses_metric: reference notcurses_output(3) 2020-11-28 20:45:16 -05:00
nick black
dd8423dff3 embiggen notcurses_metric(3), add unit test #1107 2020-11-28 20:45:16 -05:00
Marek Habersack
c5c9432ac0 [Misc] A hodgepodge of tiny changes
CMake:
  Simplify cmake target+version config generation and make it actually
  work.  With the changes it is now possible to detect and use
  `Notcurses` in the following way:

     find_package(Notcurses REQUIRED)
     ...
     target_link_libraries(myapp PRIVATE notcurses::notcurses)

  Also, added the same CMake configuration for `Notcurses++`, to be used
  in the following way:

     find_package(Notcurses REQUIRED
     find_package(Notcurses++ REQUIRED)
     ...
     target_link_libraries(myapp PRIVATE notcurses++::notcurses++)

Docs:
  `notcurses_cell(3)`: `cell_styles_{on,off} -> cell_{on,off}_styles`
  and `cell_load_simple` -> `cell_load_char`

C++ API:
  * Plane: added constructors taking `ncplane_options const&` instead of
    the multitude of individual parameters
  * Plane: drop `struct` when `ncplane_options` is used.
  * Plane: added `strdup` (`cell_strdup`)
  * Plane: added `extract` (`cell_extract`)
2020-11-28 17:46:23 -05:00
nick black
47d5347f01
run mojibake after normal; it looks cool 2020-11-27 21:07:23 -05:00
nick black
2e78ae1c5e
update logo to notcurses II xray #1144 2020-11-27 20:55:38 -05:00
nick black
2a45620cd6
v2.0.8 2020-11-27 16:49:56 -05:00
nick black
b33c780c88 document ncpile_render(), ncpile_rasterize() 2020-11-25 19:19:31 -05:00
nick black
b6e5b60374 ncpile_create() not NCPLANE_OPTION_NEWPILE #1078 2020-11-23 22:58:05 -05:00
nick black
b747af2ae8 drop NCPLANE_OPTION_NEWPILE #1078 2020-11-23 22:58:05 -05:00
nick black
0da6a8c44b add NCPLANE_OPTION_NEWPILE #1078 2020-11-23 22:58:05 -05:00
nick black
a2cc5f096a
notcurses_render: explicit pile rules #1078 2020-11-22 08:19:17 -05:00
nick black
2d45a74e21
notcurses_render.3: escape double pointer 2020-11-22 08:07:04 -05:00
nick black
73b2f1bf19
v2.0.7 2020-11-22 00:22:11 -05:00
nick black
acdcf9e41f
v2.0.6 2020-11-21 23:35:24 -05:00
nick black
537caa2173
v2.0.5 2020-11-21 22:29:02 -05:00
nick black
512794c64e
index.html: link to hype video 2020-11-21 22:15:11 -05:00
Nick Black
47cc9f9ecd
Initial easybook chapter (#1129)
* some mdbook #785

* more chapter 1
2020-11-21 22:13:27 -05:00
nick black
c0cb5c7ff9
add ncplane_resizecb() #1124 2020-11-18 08:00:02 -05:00
nick black
6084105c68
add ncplane_set_resizecb() #1124 2020-11-18 07:49:22 -05:00
nick black
35f52cec3f index.html: drop newline at bottom 2020-11-17 23:42:36 -05:00
nick black
1e6f8e4901 USAGE/python/man: update ncplane_options #1115 2020-11-17 23:42:36 -05:00
nick black
9283db5ec9 notcurses.3.md: clean up intro a bit 2020-11-17 23:42:36 -05:00
nick black
c713c4c9ec ncplane_reparent: new stacks #1078 2020-11-17 23:42:36 -05:00
nick black
8ab9bd4687
man pages: trim overlong lines 2020-11-17 02:25:40 -05:00
nick black
cedf8761f5
Merge branch 'master' of github.com:dankamongmen/notcurses 2020-11-13 19:07:21 -05:00
nick black
0e23fbee19
valery quote 2020-11-13 19:07:17 -05:00
joseLuís
566a2bb902 add the rendered png file of the notcurses model
`dot -Tpng doc/model.dot -o doc/model.png && optipng doc/model.png`
2020-11-13 17:14:39 +01:00
nick black
259b2b6012
make it clear that sixel is not yet supported 2020-11-11 03:12:37 -05:00
nick black
7622cefc3a
v2.0.4 2020-11-10 10:50:30 -05:00
nick black
0d31a03be9
v2.0.3 2020-11-09 13:45:59 -05:00
nick black
f0836b6e65
graphviz dot model of notcurses data structures 2020-11-07 15:22:43 -05:00
nick black
3fbfe181ed
man pages: update some unsigned flags to uint64_t 2020-11-06 18:15:57 -05:00
nick black
8325102827
man pages: argument syntax for remaining entries #1103 2020-11-06 16:49:35 -05:00
nick black
530dda1002
man page argument syntax: fade, fds #1103 2020-11-06 16:44:06 -05:00
nick black
6f9f063f1d
notcurses_directmode.3: argument syntax #1103 2020-11-06 16:41:17 -05:00
nick black
cf75598f03
argument syntax for man pages: cell, channels #1103 2020-11-06 16:21:24 -05:00
nick black
7018f2589f
notcurses_capabilities.3: argument syntax #1103 2020-11-06 16:11:59 -05:00
nick black
173265a99f
notcurses_visual.3.md: set argument names off in italic #1103 2020-11-06 16:10:58 -05:00
nick black
c411b0a7b8
get your head in the fucking game nicholas #1059 2020-11-05 16:31:07 -05:00
joseLuís
00b5445418 fix typos 2020-11-04 18:27:36 +01:00
nick black
168f0642e4
notcurses_visual.3 update man page syntax 2020-11-02 00:40:54 -05:00
nick black
4fb09431ac
notcurses_visual/notcurses-view: update man pages for sexblitter 2020-11-01 08:40:06 -05:00
nick black
84dde41dc8
add xcfs for galleries in doc/ 2020-11-01 00:07:21 -04:00
nick black
fd29cab463
quadblitter all different unit test #1080 2020-10-31 23:45:10 -04:00
nick black
e3a617f20d demo: add skeleton of (k)eller #736 2020-10-29 18:15:42 -04:00
nick black
8b171c215e notcurses-view: accept sexblitter for -b 2020-10-29 18:15:42 -04:00
nick black
8d66938a0e sexblitter: purge NCBLIT_1x1x4, add NCBLIT_3x2 #1071 2020-10-29 18:15:42 -04:00
nick black
3e75b1e090
notcurses-view.1: typos, expand on default behavior 2020-10-28 18:41:34 -04:00
nick black
21d0a3751a
notcurses_directmode.3: kill obsolete claim 2020-10-26 14:33:35 -04:00
nick black
5639c9e1a9
index.html: embed youtube atop man pages 2020-10-25 11:42:07 -04:00
nick black
a0e66b884f
add youtube iframe 2020-10-25 11:39:56 -04:00
nick black
e2b3cb056a
index: remove amazon link 2020-10-25 11:33:46 -04:00
nick black
8189d21709
v2.0.2 2020-10-25 10:10:50 -04:00
nick black
0c0404ec51
clarify DFSG for notcurses-demo.1 2020-10-23 10:52:18 -04:00
nick black
ac60e80923 notcurses-view: add -L for looping #1066 2020-10-21 00:47:21 -04:00
nick black
b35c680f48 add LoopVideo unit test #1066 2020-10-21 00:47:21 -04:00
nick black
8919d6fe70 ncvisual_rewind 2020-10-21 00:47:21 -04:00
nick black
19efd2c10a declare ncdirect_printf_aligned() in man page + python #1074 2020-10-19 09:40:10 -04:00
nick black
974cfdf789
pngcrush doc/logo-1280x640.png, 130k -> 100k 2020-10-19 08:05:29 -04:00
nick black
d2dcd9c06d
notcurses_direct.3: properly document ncdirect_putstr()'s return value #1072 2020-10-19 04:24:40 -04:00
nick black
a4546c86e3
v2.0.1 2020-10-19 03:15:32 -04:00
nick black
0b825c619e
add notcurses_stddim_yx_const() 2020-10-19 01:38:25 -04:00
nick black
fe7eededa8
Merge branch 'master' of github.com:dankamongmen/notcurses into master 2020-10-18 23:15:57 -04:00
nick black
10e206409c
notcurses_visual.3: talk about 4x1 and 8x1 2020-10-18 23:15:50 -04:00
nick black
46bd3dc4b4 notcurses-view.1: add -q, -h to man page #1069 2020-10-18 21:52:00 -04:00
nick black
a0afbdfb15
notcurses-view: support -b to select blitter #1063 2020-10-17 19:52:19 -04:00
nick black
3229fa53b3
add ncinput_equal_p() predicate #1059 2020-10-15 03:14:19 -04:00
nick black
6623fc92a0
ncmenu_item_set_status: man page, NEWS, python, c++ #1057 2020-10-15 03:03:43 -04:00
nick black
65974aeb0b
v2.0.0 2020-10-12 12:33:21 -04:00
nick black
6636181ddd
notcurses.3.md: capitalize Notcurses throughout 2020-10-12 09:45:44 -04:00
nick black
a7a75d4c12
draw_borders: account for all border masks 2020-10-11 06:39:21 -04:00
nick black
8c9611d085
v1.7.6 2020-10-09 20:07:01 -04:00
nick black
d101d2d2d9 add ncdirect_init() inhibit cbreak flag #1049 2020-10-07 07:43:50 -04:00
nick black
f9e2c7863b
add notcurses_stats_alloc #1043 2020-10-06 23:33:28 -04:00
nick black
270b1b20ee implement notcurses_render_to_buffer() #214 2020-10-04 11:43:25 -04:00
nick black
b4f1065f69 declare notcurses_render_to_buffer() #214 2020-10-04 11:43:25 -04:00
nick black
29c7f960cc add writeout_ stats, document stats #1039 2020-10-04 10:04:02 -04:00
nick black
20a49d053d
v1.7.5 2020-09-29 13:12:17 -04:00
nick black
afa65f640f update notcurses_plane.3 and USAGE.md for new styles API 2020-09-29 13:09:44 -04:00
nick black
8d347d14bb
move ncreel to PoCs, don't install #1033 2020-09-28 07:20:16 -04:00
nick black
20bf1ae2d4
nctablet_ncplane() -> nctablet_plane() 2020-09-27 16:46:39 -04:00
nick black
ec85dd1c3b
ncreel_destroy: return void 2020-09-27 15:57:03 -04:00
nick black
f02263e977
v1.7.4 2020-09-20 17:30:46 -04:00
nick black
bfdf801a12 depth-first corecursion, not breadth-first 2020-09-20 08:54:56 -04:00
nick black
7b51bab79a add resizecb to ncplane_options struct #869 2020-09-20 08:54:56 -04:00
nick black
36aed3c521 add ncplane_create() + ncplane_options #1020 2020-09-20 05:52:27 -04:00
nick black
607c03edc4
rename _rgb_clipped functions rgb8_clipped 2020-09-19 21:55:01 -04:00
nick black
4459efa216
v1.7.3 2020-09-19 21:21:52 -04:00
nick black
a4367fcfb5 rip out ncplane_ creation functions #985 2020-09-18 17:46:57 -04:00
nick black
e42dbdfd60 _stainable() -> _stained() #985 2020-09-18 02:02:08 -04:00
nick black
c85ac831c6 man pages: update for rgb name changes #985 2020-09-18 01:39:21 -04:00
nick black
2c0cf54f96 index.html: link to issues 2020-09-16 14:25:41 -04:00
nick black
bb58e4db41 notcurses-demo.1: add note about wcwidth 2020-09-16 14:25:25 -04:00
nick black
4bb1f3fc85 mbswidth -> ncstrwidth() #985 2020-09-15 01:39:42 -04:00
nick black
dab7247cdd
mbswidth: use utf8_egc_len() for segmentation #1014 2020-09-15 00:29:53 -04:00
nick black
94aa8f08f1
grid looks better before mojibake #1012 2020-09-14 02:42:01 -04:00
nick black
5fc9f7b367
plot: update man page #627 2020-09-13 14:40:18 -04:00
nick black
c3e5e47a2a
ncreader: conform to the New Way #627 2020-09-13 13:53:11 -04:00
nick black
4f04f1bc31 remove bgchannels field from selector_options #627 2020-09-13 13:22:58 -04:00
nick black
306948507f ncmultiselect: normalize per new widget API #627 #1006 2020-09-13 13:22:58 -04:00
nick black
cc98b51276 ncselector: finish out man page #627 2020-09-13 13:22:58 -04:00
nick black
bc097a5674
v1.7.2 2020-09-10 04:14:01 -04:00
nick black
af05ae7a92 man pages: document NCREADER_OPTION_CURSOR 2020-09-06 23:10:16 -04:00
nick black
f88c8ae79c
expose ncvisual_default_blitter(), name blitter in notcurses-view #995 2020-09-06 12:56:16 -04:00
nick black
f4f8a06a73
index.html: add link to notcurses-direct-pydemo.1 2020-09-01 22:04:07 -04:00
nick black
c7cb149d95
notcurses.3: update CMake module name 2020-09-01 22:02:36 -04:00
nick black
3afcfc97d6
ncreader: define NCREADER_OPTIONS_EMACSKEYS 2020-08-31 22:43:42 -04:00
nick black
70f062aff5
v1.7.1 2020-08-31 21:49:39 -04:00
nick black
2f28420034 rename ncplane_putsimple() -> ncplane_putchar() #912 2020-08-31 21:14:29 -04:00
nick black
64fe8f6c07
v1.7.0 2020-08-30 19:12:16 -04:00
nick black
4c7a1d0427 ncdirect_init: add flags parameter #976 2020-08-30 13:38:33 -04:00
nick black
c93243fd54
v1.6.20 2020-08-30 01:25:44 -04:00
nick black
ffa9dcc862
people <3 chunli; move her up in demo sequence 2020-08-29 20:52:54 -04:00
nick black
a48e840542 document ncreel a bit more 2020-08-29 18:24:45 -04:00
nick black
66f80c77f9
add ncplane_y() and ncplane_x() 2020-08-29 15:50:45 -04:00
nick black
e92b7fd6ea
v1.6.19 2020-08-27 12:43:28 -04:00
nick black
6526e58c00
v1.6.18.4 2020-08-27 12:30:29 -04:00
nick black
6ea73e6e45
v1.6.18.3 2020-08-27 08:18:38 -04:00
nick black
550c02d8ac
v1.6.18.2 2020-08-27 07:26:28 -04:00
nick black
d11d8175d0
v1.6.18.1 2020-08-27 03:10:48 -04:00