joseLuís
8b6495a894
rust: rename type aliases for consistency
...
Rename all bound types so that they start by Nc (and constants by NC),
except Notcurses:
- rename Cell to NcCell.
- rename CELL_* constants to NCCELL_*.
- rename Channel to NcChannel & Channels to NcChannels.
- rename CHANNEL_* constants to NCCHANNEL_*.
- rename Egc to NcChar & EgcBackstop to NcCharBackstop.
- rename Palette to NcPalette & PaletteIndex to NcPaletteIndex.
- rename IntResult to NcResult.
- rename Color to NcColor.
- rename Rgb to NcRgb.
- rename AlphaBits to NcAlphaBits.
- rename StyleMask to NcStyleMask.
- rename LIBC_FILE to FILE_LIBC & NC_FILE to FILE_NC.
Also:
- new type NcTime for timespec.
- rustfmt.
2020-11-25 13:27:45 +01:00
joseLuís
1dda2d7d58
rust: add new functions
...
- ncpile_create
- ncplane_reparent_family
- ncplane_resizecb
2020-11-25 10:50:31 +01:00
nick black
8c9f8d193a
notcurses_version_components(): drop atoi()s #1131
2020-11-24 04:19:47 -05:00
nick black
740dc2497d
NEWS: mention integer version defines
2020-11-24 04:19:47 -05:00
nick black
7b3c391643
Add more version-related defines ( #1131 )
...
Add NOTCURSES_VERNUM_* as integer preprocessor definitions of
the four version components. Add NOTCURSES_VERNUM_ORDERED as
a 32-bit totally comparable integer. Preserve the definitions
of NOTCURSES_VERSION_*, defining them in terms of VERNUMs.
Don't use TWEAK in version, since it usually isn't defined.
2020-11-24 04:19:47 -05:00
nick black
7c249bf9b9
menu PoC: implement quit item
2020-11-24 03:23:32 -05:00
nick black
a7c7b8ff0b
ncplane_reparent_family: fix up z-axes #1078
2020-11-24 03:15:55 -05:00
nick black
3ce7d36eed
eagle demo: explicitly request NCBLIT_2x2
2020-11-24 02:53:54 -05:00
nick black
a6101d4fa2
ncplane_reparent: extract from z-axis #1078
2020-11-24 02:46:30 -05:00
nick black
43ddfd11c6
notcurses_debug(): warn on mismatched pile #1078
2020-11-24 02:46:30 -05:00
nick black
2f48c08fc4
recursive pilelock #1078
2020-11-24 02:46:30 -05:00
nick black
58e4cf626d
ncplane_reparent(): excise children #1078
2020-11-24 02:46:30 -05:00
nick black
2c57ab0aff
notcurses_debug: distinguish piles #1078
2020-11-24 02:46:30 -05:00
nick black
9e460ca1c2
ncplane_reparent: promote child planes #1078
2020-11-24 02:46:30 -05:00
nick black
0485c6f35d
fix tiny memory leak in ncplane_at_cursor_cell()
2020-11-24 02:36:41 -05:00
nick black
b9f32cf6b5
dup_menu_sections: initialize enabled_item_count for skipped sections
2020-11-24 00:36:44 -05:00
nick black
d662bd334d
inline ncplane_cell_ref_yx()
2020-11-23 22:58:05 -05:00
nick black
b6e5b60374
ncpile_create() not NCPLANE_OPTION_NEWPILE #1078
2020-11-23 22:58:05 -05:00
nick black
3ad9a40426
hook up piles #1078
2020-11-23 22:58:05 -05:00
nick black
de082c7ba2
ncpile creation/destruction #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
ee83b63107
c++: add Plane::reparent_family() #1078
2020-11-23 22:58:05 -05:00
nick black
e21eef6b0e
implement ncplane_reparent_family() #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
Marek Habersack
c8eb3875ff
[C++] API sync
...
Added:
* NotCurses: `stats_alloc` (`notcurses_stats_alloc`)
* Plane: `set_resizecb` (`ncplane_set_resizecb`)
2020-11-23 19:18:42 -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
428a4ce861
drone: build from cffi/, not python/
2020-11-22 03:12:38 -05:00
nick black
15892627db
update tools/release.sh for new python path
2020-11-22 01:47:09 -05:00
nick black
f2d3b26fcb
move python-cffi to cffi
2020-11-22 01:45:23 -05:00
nick black
27c58a0284
add crates.io crate
2020-11-22 01:17:50 -05:00
nick black
500e0af6f0
don't require pypandoc 1.5; 1.4 is enough
2020-11-22 00:48:31 -05:00
nick black
0097d76ab4
deal by hand with github-release filename changes
2020-11-22 00:24:48 -05:00
nick black
73b2f1bf19
v2.0.7
2020-11-22 00:22:11 -05:00
nick black
ec92b663d8
mark blitting tests as warn for now #1130
2020-11-22 00:19:40 -05:00
nick black
874026829e
release: note githubrelease dependency
2020-11-21 23:43:41 -05:00
nick black
acdcf9e41f
v2.0.6
2020-11-21 23:35:24 -05:00
nick black
decf622f6c
blit tests: ntole() on input pixels #1130
2020-11-21 23:27:38 -05:00
nick black
537caa2173
v2.0.5
2020-11-21 22:29:02 -05:00
nick black
65ed8c0d86
undeprecate ncplane_new(); why break running code?
2020-11-21 22:26:49 -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
dd1e7f3b7e
document ncplane_reparent() more completely
2020-11-21 22:08:55 -05:00
nick black
9829abf0d0
migrate all direct uses to ncplane_notcurses()
2020-11-21 05:08:55 -05:00
nick black
5215338e00
ncdirect_render_image: reset color within flushed region #1127
2020-11-21 02:44:35 -05:00
nick black
dee1ec861d
drone: use ubuntu 2020-11-21a builder
2020-11-21 02:44:21 -05:00
nick black
1328fc7cf8
drop -V argument from CTest
2020-11-20 19:45:02 -05:00
joseLuís
e23cd63aac
rust: improve comments
...
- use new syntax for doclinks
- improve some comments
- add README
2020-11-20 20:17:37 +01:00
nick black
7ee2d98f82
reel PoC: handle resizes
2020-11-18 08:36:59 -05:00
nick black
8dd8937ff3
notcurses.h: purge tildes
2020-11-18 08:01:27 -05:00