Commit Graph

56 Commits (master)

Author SHA1 Message Date
nick black e0c5cf5838
NCOPTION_SCROLLING, alias NCOPTION_CLI_MODE 2 years ago
nick black 406abe53aa
[ncls] use notcurses c interface exclusively 2 years ago
nick black 11b25bff07 [ncls] no scaling unless necessary or specified #2008 2 years ago
nick black 0059fea1ba [ncls] don't destroy planes 2 years ago
nick black 569cae4a46 [ncls] draw filenames in the correct place 2 years ago
nick black 489a36d291 [ncls] get things working in CLI mode #2026 2 years ago
nick black d51260f932 [ncls] switch to CLI mode #2026 2 years ago
nick black a831cef4e5 [windows] no lstat #2006 2 years ago
nick black b429da0457 [ncls] implement -L option / symlink handling #2006 2 years ago
KristofferC a3c37932d6 check __MINGW32__ instead of __MINGW64__ 3 years ago
Kristoffer Carlsson 4106a2888a change to use a value of 0 instead 3 years ago
Kristoffer Carlsson 12822d8b62 always define `AT_NO_AUTOMOUNT` if it is not defined 3 years ago
nick black 0383afdff8
[ncls] handle_dir: fold r into return value 3 years ago
nick black 46bbee55f3
[grid] fold ret into return value 3 years ago
nick black 455ec4eb66
combine path_seperator() functions 3 years ago
nick black 5840885fd1 ncls: opendir() instead of openat+fdopendir for Windows #2062 3 years ago
nick black 3c8a313fac ncls: use stat() not fstatat() for Windows #2062 3 years ago
nick black 7539532b0e
ncls, fix relative paths, arghghghgh 3 years ago
nick black f4bac90a17
ncls: properly separate paths #2063 3 years ago
nick black 54c8189ed2
fix msys2 build for real 3 years ago
nick black bbaa3f4afa get ncls compiling on windows, windows terminal has quads+braille 3 years ago
nick black f303573f29
remove use of std::filesystem in ncls to build on Mojave 3 years ago
nick black ef49288db1
ncls: formatting 3 years ago
nick black 74dba98c68
ncls: use NCSCALE_SCALE_HIRES by default even with NCBLIT_PIXEL 3 years ago
nick black a21113a66a
ncls: use NCSCALE_HIRES with NCBLIT_PIXEL by default 3 years ago
nick black 68e498a583
ncls: disable cursor 3 years ago
nick black e813e3abe4
ncls: default to NCBLIT_PIXEL #1835 3 years ago
nick black 0d7a5a5ef8 remove the majority of notcurses_check_pixel_support() calls #1469 3 years ago
nick black 42f26fcb1e ncls: update to prep_image() maxy/maxx #1661 3 years ago
nick black 3e15a9423e
ncls: use c++ iostreams everywhere 3 years ago
nick black b8ab28c60f
[ncls] emit a newline following each image 3 years ago
nick black ede7594971
[ncls] accept -s for scaling mode #1411 3 years ago
nick black 9728e79396 [ncplayer] obey margins in direct mode #1411 3 years ago
nick black d99b16a1ba ncpp: error_guard<int> in get_dim_x/y() #1413 3 years ago
nick black 91b83ea2d9
ncls: accept -b param to specify blitter 3 years ago
nick black 76e1f01572
ncls: use NCBLIT_PIXEL 3 years ago
nick black c0cad0d497
sixel: heap-allocate ctable directly 3 years ago
nick black a9ccbc28f9
ncls: support -V/--version #1266 3 years ago
nick black 23d3e03386
ncls: handle --help option 3 years ago
nick black 638dde7657
remove unnecessary args from ncdirect_raster_frame() #1248 3 years ago
nick black dd1cdc40d5 add NCSCALE_NONE_HIRES, NCSCALE_SCALE_HIRES #1250 3 years ago
Nick Black 730e9f69ec
Multithreaded ncls (#1232)
Thread out ncls to perform the media decode in different threads, in parallel. Only the display needs be locked. On a directory of 200 files on my 39070X, this speeds ncls from ~5s to ~1s. On 75 files, we go from ~.5s to ~.2s. On a single file, we lose about 5%. To facilitate this, ncdirect_render_image() has been split into two helpers, ncdirect_render_frame() and ncdirect_raster_frame().
4 years ago
nick black 0fb455f0ee
ncls: don't flush output after each line 4 years ago
nick black 6b859b6a32
ncls: add --align argument #1195 4 years ago
nick black e7f208342f
ncls: don't create Ncpp ctx until post-getopt #1194 4 years ago
nick black 2922b8c663
define AT_NO_AUTOMOUNT to 0 on freebsd #1187 4 years ago
nick black 838280ce6b
ncls: don't use AT_NO_AUTOMOUNT on freebsd 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