Commit Graph

3526 Commits (be6362d74f6ce7438255c0e0ff2cd63793902328)
 

Author SHA1 Message Date
nick black be6362d74f
drone: use new builder 2020-11-26b 4 years ago
joseLuís b64a257ecf rust: replace cell macros with constructors
- add NcCell constructors: new(), new_blank(), with_char()
- remove cell initializer macros
- update full-basics example
- add more doc comments
4 years ago
joseLuís 58c3d66c15 rust: add ncpile funcs & upd function-summary
- add functions ncpile_create, ncpile_render, ncpile_rasterize
- add new script tools/blame-nick.sh
- upd script tools/function-summary.sh and the generated data
- upd bindgen version
4 years ago
joseLuís 657da94887 rust: add MSRV
- make a little change to ensure MSRV 1.40.0
- show MSRV (Minimum Supported Rust Version) in README
- show up-to-date state of crate dependencies in README
- update comments
4 years ago
nick black d4959eab13
fd unit tests: kill deadlock #1100 4 years ago
nick black e1e6c6a272
fd tests: use lock guards #1100 4 years ago
nick black ebc80915a3 c++/rust struck #1138 4 years ago
nick black f89ca15640 sgr-full PoC: add NCSTYLE_STRUCK #1138 4 years ago
nick black 202e3535d5 document new NCSTYLE_STRUCK #1138 4 years ago
nick black fe164b6210 add NCSTYLE_STRUCK #1138 4 years ago
nick black b33c780c88 document ncpile_render(), ncpile_rasterize() 4 years ago
nick black fd97aa844c implement ncpile_{render, rasterize}() 🦀🦀 #1135 4 years ago
nick black 7a21574798 implement notcurses_render() using ncpile_render() #1135 4 years ago
nick black 8f7fa9da44 move postpaint() out of render step #1135 4 years ago
nick black b2516d8534 Declare ncpile_render() and ncpile_rasterize() #1135 4 years ago
nick black aa5b881e84 NEWS: purge empty sections 4 years ago
nick black a2c35735d1 finish out NEWS for multipiles #1078 4 years ago
Érico Nogueira Rolim 067b35fe9d README: fix dpkg command. 4 years ago
joseLuís 433068a5ae rust: further types cleanup
- made sigset_t private.
- made FILE_LIBC & FILE_NC private.
- add NCMETRIC_ prefix to the related constants.
- Improve more comments.
4 years ago
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.
4 years ago
joseLuís 1dda2d7d58 rust: add new functions
- ncpile_create
- ncplane_reparent_family
- ncplane_resizecb
4 years ago
nick black 8c9f8d193a notcurses_version_components(): drop atoi()s #1131 4 years ago
nick black 740dc2497d NEWS: mention integer version defines 4 years ago
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.
4 years ago
nick black 7c249bf9b9
menu PoC: implement quit item 4 years ago
nick black a7c7b8ff0b
ncplane_reparent_family: fix up z-axes #1078 4 years ago
nick black 3ce7d36eed
eagle demo: explicitly request NCBLIT_2x2 4 years ago
nick black a6101d4fa2 ncplane_reparent: extract from z-axis #1078 4 years ago
nick black 43ddfd11c6 notcurses_debug(): warn on mismatched pile #1078 4 years ago
nick black 2f48c08fc4 recursive pilelock #1078 4 years ago
nick black 58e4cf626d ncplane_reparent(): excise children #1078 4 years ago
nick black 2c57ab0aff notcurses_debug: distinguish piles #1078 4 years ago
nick black 9e460ca1c2 ncplane_reparent: promote child planes #1078 4 years ago
nick black 0485c6f35d
fix tiny memory leak in ncplane_at_cursor_cell() 4 years ago
nick black b9f32cf6b5
dup_menu_sections: initialize enabled_item_count for skipped sections 4 years ago
nick black d662bd334d inline ncplane_cell_ref_yx() 4 years ago
nick black b6e5b60374 ncpile_create() not NCPLANE_OPTION_NEWPILE #1078 4 years ago
nick black 3ad9a40426 hook up piles #1078 4 years ago
nick black de082c7ba2 ncpile creation/destruction #1078 4 years ago
nick black b747af2ae8 drop NCPLANE_OPTION_NEWPILE #1078 4 years ago
nick black ee83b63107 c++: add Plane::reparent_family() #1078 4 years ago
nick black e21eef6b0e implement ncplane_reparent_family() #1078 4 years ago
nick black 0da6a8c44b add NCPLANE_OPTION_NEWPILE #1078 4 years ago
Marek Habersack c8eb3875ff [C++] API sync
Added:
 * NotCurses: `stats_alloc` (`notcurses_stats_alloc`)
 * Plane: `set_resizecb` (`ncplane_set_resizecb`)
4 years ago
nick black a2cc5f096a
notcurses_render: explicit pile rules #1078 4 years ago
nick black 2d45a74e21
notcurses_render.3: escape double pointer 4 years ago
nick black 428a4ce861
drone: build from cffi/, not python/ 4 years ago
nick black 15892627db
update tools/release.sh for new python path 4 years ago
nick black f2d3b26fcb
move python-cffi to cffi 4 years ago
nick black 27c58a0284
add crates.io crate 4 years ago