Commit Graph

3656 Commits (aeae05321428d71a09a1ea618a578e973c5b2a0c)
 

Author SHA1 Message Date
joseLuís 38bdc627a4 rust: more refactoring
- new macros module, with sleep![] and cstring![] macros.
- rename NCell constructors.
- more plane methods.
- improve doc comments.
4 years ago
joseLuís 4ea2ccc51d rust: more refactor and fixes
- create some more notcurses tests.
- rename `constructors` submodules to `wrapped`.
- fix ncplane_str so to accept &str.
- implement some rusty methods for NcPlane, as a POC.
- improve multiple doc comments.
4 years ago
nick black 5b8c71b9b0
flesh out notcurses_reel.3 #1171 4 years ago
nick black 7b7ed8441d
weakly repair accursed reel unit tests #1082 4 years ago
nick black fd9e0e6510
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black 744ba8a75c
reels: properly size cbp when drawing bottom border #1082 4 years ago
nick black e30c43906f
remove OnlyOneNotCurses unit test 4 years ago
nick black 79b9a8120e
notcurses-tester: check validity of datadir on start #1168 4 years ago
nick black 2c85142b2a
notcurses_init: don't treat setup_signals as fatal error #1168 4 years ago
nick black 186b3a2a5e kill ifdefs via explitict initialization 4 years ago
igo95862 87d1ba17e6 Made CELL_TRIVIAL_INITIALIZER compatable between C and C++ 4 years ago
igo95862 5e60e84fdf Under ISO C the empty initializer is {0} not { } 4 years ago
igo95862 5f45d9178b Added information about C standard to the CONTRIBUTING
Probably useful for people who want to contribute C code.
4 years ago
joseLuís 24640eb80e rust: big modules refactor
- remove the types module, and move the types definitions
  into submodules
- improve multiple comments
4 years ago
joseLuís 1206a281ec rust: keep refactoring and improving docs
- remove the use of inline code markings inside rustdoc [`links`],
  because they are too visually distracting.
- Use descriptive language in the doc comments, instead of imperative.
- Rename NcChannels to NcChannelPair, for improved clarity.
- Improve more comments, add inner links.
- Improve some tests.
- separate tests and constructors into submodules for cells and channels
4 years ago
joseLuís 279f36ec93 rust: more tests, refactors & improvements
- separate tests and constructors into submodules for cells and channels
- add missing functions channels_set_bg_palindex & channels_set_fg_palindex
- fix bug in channel_palindex_p function
- wrap NCSTYLE_* constants
- add more missing cell tests
- improve many doc comments
- fix some types
4 years ago
igo95862 535fffa9d5
python: Improved ISO C compliance 4 years ago
igo95862 788a327c98
python: Fixed the error check on input using wrong c type 4 years ago
igo95862 b2163e8f8c
python: Added Py_UNUSED macros for unused arguments 4 years ago
igo95862 ce3ddb8d4e
python: Fixed compile error because ncplane_options was changed 4 years ago
nick black 8083b46e3b
v2.0.9 4 years ago
nick black 698540286c ncmenu: move unrolled section on resize #1162 4 years ago
nick black fc609f9d7d ncmenu: resize and redraw callback #1165 4 years ago
nick black 6124d0e0d9
add link to ncls from man1 index 4 years ago
nick black 76f2353cb4 lock all accesses to notcurses_resize() #1162 4 years ago
nick black 1b1cc291f6 Resolve segfaults/undefined behavior on resize
Consult the new section of HACKING.md for full details. By
performing the resize check in rasterization, we potentially
have too many (3) different geometries at work once we hit
rasterization. Furthermore, we have some pessimal behavior
regarding rendering into enlarged terminals, since we don't
know the new size at render time. Instead, move it to the top
of ncpile_render(), and guard it with a lock (this was in any
case necessary, since the screen geometry can be
shared/mutated concurrently with render operations).
Closes #1162.
4 years ago
nick black 93fef72da8 mention ncls in README.md 4 years ago
nick black a7c03634c1 thoughts 4 years ago
nick black 9b1207dd5f notcurses_rasterize_inner: receive an ncpile #1162 4 years ago
nick black c6e06eef29 add some comments to rendering 4 years ago
nick black 192c583aad
try forcing LC_CTYPE, C.UTF-8 if not inhibited #1150 4 years ago
igo95862 ba04f79c44
python: Removed unneccesary comments 4 years ago
joseLuís e2ec27d413 rust: more tests, refactors & improvements
- add ncplane_putchar_yx & ncplane_putchar static functions
- complete test for channel_default_p
- add more tests for ncplane
- separate tests and constructors into submodules for ncplane and notcurses
- make public FILE_NC & FILE_LIBC
- improve integration tests.
- clean & rustfmt
- add constant NCRESULT_OK, NCRESULT_ERR and use them to refer to
  the NcResult values when appropriate
4 years ago
joseLuís a4e7513b11 rust: downgrade bindgen & pkg-config #355 4 years ago
nick black 1cfc406496
ffmpeg: error out on avcodec_send_packet error #1156 4 years ago
nick black 9b3d7531bd add igo95862 to COPYRIGHT 4 years ago
igo95862 4489c25297 igo95862's new python bindings 4 years ago
nick black 067aaa9bbb
ncls: cover up some unused-param warnings 4 years ago
nick black 55694ef966 finish ncls #693 4 years ago
nick black 84dc81fee4 ncls: render images in handle_inode() #693 4 years ago
nick black 5335e69b41 ncls: unify within lsContext #693 4 years ago
nick black bc8905b30c ncls: handle_deref() #693 4 years ago
nick black 41c7dece64 ncls: recurse into directories, when appropriate #693 4 years ago
nick black c733f33b81 ncls: add -L argument, skeleton for stat() 4 years ago
nick black 65856c37b4 ncls: more command line parameters 4 years ago
nick black de3944b114 ncls getopt skeleton #693 4 years ago
nick black b01113941d
is_egc_wordbreak(): portably initialize mbstate 4 years ago
nick black 4b682585b9
reel: don't assert() in tablet draw callback 4 years ago
nick black c2671b6fef
data model: every plane gets an egcpool 4 years ago
nick black 5868e49c6a
model.dot: combine cellmatrix+egcpool 4 years ago