aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2020-02-13Use s in statusbar to indicate selection enabledGravatar Arun Prakash Jana
2020-02-12Enable UTF8 for PCREGravatar Arun Prakash Jana
2020-02-12Prepare for release v3.0Gravatar Arun Prakash Jana
2020-02-10Do not end selection on redrawGravatar Arun Prakash Jana
2020-02-09Fix prefix calcualtionGravatar Arun Prakash Jana
2020-02-09When a file is edited, vim adds a \n at the endGravatar Arun Prakash Jana
2020-02-09Simplify and fix common prefix calculationGravatar Arun Prakash Jana
2020-02-08Fix build breakGravatar Arun Prakash Jana
2020-02-08Use xrealpath() to show unresolved symlinksGravatar Arun Prakash Jana
2020-02-08Ignore . and .. in file listGravatar Arun Prakash Jana
2020-02-081. dirname() loses path, 2. use realpath()Gravatar Arun Prakash Jana
2020-02-08Show target file size in list modeGravatar Arun Prakash Jana
2020-02-08Fix empty dir on list filesGravatar Arun Prakash Jana
2020-02-07Clear filter on a manual dir relaodGravatar Arun Prakash Jana
2020-02-04Minor refactorGravatar Arun Prakash Jana
2020-02-02Late allocate memory for path pointersGravatar Arun Prakash Jana
2020-02-02xrealloc() may move memoryGravatar Arun Prakash Jana
2020-02-02Fix build breakGravatar Arun Prakash Jana
2020-02-02Refactor file list processingGravatar Arun Prakash Jana
2020-02-01Fix #446Gravatar Arun Prakash Jana
2020-02-01Reduce the number of redundant checksGravatar Arun Prakash Jana
2020-02-01List of files as input (#443)Gravatar KlzXS
* Start implementation on show list of files as input * Remove tmp dir on exit, set global flag * Bug fixes and improvements * Follow symlinks when in list paths mode * Fix bugs * Add flag check * Add message for invalid paths and style fixes * Change the message * Addressing review comments * Handle errno being set * Fix CI break * Decreased startup memory usage and removed loops * Fix CI break
2020-02-01Do not swallow keypress after printwait (#461)Gravatar Maxim Baz
2020-02-01Use _exit() to terminate childrenGravatar Arun Prakash Jana
The NNN_PIPE file gets deleted after spawning a child in NOWAIT mode. Steps: - open `nnn` with option `-x` - press `;o` (custom binding) to open fzopen plugin - press `^J` to select a file; it will spawn plugin `.cbcp` in NOWAIT mode - when the intermediate child quits, the NNN_PIPE of parent is also deleted
2020-02-01Ignore link assuming stdscr is NULLGravatar Arun Prakash Jana
2020-02-01Fix #459Gravatar Arun Prakash Jana
The following changes are made: - STDOUT and STDIN are redirected to /dev/null when spawning rclone rclone blocks and also shows error/warning messages. nnn needs to spawn rclone and return without waiting. To avoid the rclone messages from corrupting the screen nnn makes the child silent. Note: sshfs returns after mount with a proper error code - prompt only if both sshfs and rclone are installed
2020-01-31Auto-proceed on open (key + to toggle)Gravatar Arun Prakash Jana
2020-01-30Run GUI app as pluginGravatar Arun Prakash Jana
2020-01-29Fallbacks for absent NAME_MAX and PATH_MAX (#455)Gravatar Sijmen J. Mulder
* Fallbacks for absent NAME_MAX and PATH_MAX Certainly NAME_MAX isn't guaranteed to exist and on (some versions of?) Illumos and SmartOS it doesn't, so provide some reasonably accommodating fallbacks. * Smaller limits * Remove now redundant PATH_MAX definition for Hurd
2020-01-29Use enough buffer length for file namesGravatar Arun Prakash Jana
2020-01-27Fix typoGravatar Arun Prakash Jana
2020-01-27Exit prompt on ^D at empty promptGravatar Arun Prakash Jana
2020-01-27Added more readline bindings (#452)Gravatar Ethan R
2020-01-24PCRE 2 - fix check for filter matchGravatar Arun Prakash Jana
Kind contribution from uno20001: https://old.reddit.com/r/C_Programming/comments/etavho/file_manager_nnn_needs_help_with_pcre/fffk4wr/
2020-01-24PCRE 2 - fix compilation errorGravatar Arun Prakash Jana
2020-01-24PCRE - add error handlingGravatar Arun Prakash Jana
2020-01-24Detach process with F_NOWAIT (#450)Gravatar KlzXS
* Experimental PCRE library support To compile with PCRE install libpcre-dev(el) and run: cc -Wall -Wextra -O3 -DPCRE -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/usr/include/ncursesw -I/usr/include -o nnn src/nnn.c -lreadline -lncursesw -ltinfo -lpcre * Detach process with F_NOWAIT Co-authored-by: Mischievous Meerkat <engineerarun@gmail.com>
2020-01-24Experimental PCRE library supportGravatar Arun Prakash Jana
To compile with PCRE install libpcre-dev(el) and run: cc -Wall -Wextra -O3 -DPCRE -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/usr/include/ncursesw -I/usr/include -o nnn src/nnn.c -lreadline -lncursesw -ltinfo -lpcre
2020-01-23Do not show file name in status barGravatar Arun Prakash Jana
Both in light and detail modes we show more characters than in status bar.
2020-01-23Lazy unmount, umount (macOS) supportGravatar Arun Prakash Jana
2020-01-22Check if path exists before trying to createGravatar Arun Prakash Jana
2020-01-22Use indicative dir names when creatingGravatar Arun Prakash Jana
2020-01-21Remove redundant variables/assignmentsGravatar Arun Prakash Jana
2020-01-21Remove redundant checkGravatar Arun Prakash Jana
2020-01-20Initialize maskGravatar Arun Prakash Jana
2020-01-20Code refactorGravatar Arun Prakash Jana
2020-01-19RefactorGravatar Arun Prakash Jana
2020-01-19Copy current name in APIGravatar Arun Prakash Jana
2020-01-18RefactorGravatar Arun Prakash Jana
2020-01-18checkpatch.pl fixesGravatar Arun Prakash Jana