Arun Prakash Jana
bf28a096ba
Use macros for return codes
5 jaren geleden
tanyaionova
3ad5f7f6cb
Remove duplicate code ( #295 )
These three lines are exact copy of 4555-4557.
As opener is not changed in between, we can delete these
5 jaren geleden
Arun Prakash Jana
b151e13548
Use generic msg
5 jaren geleden
Arun Prakash Jana
277f156c37
Fix #291
5 jaren geleden
Arun Prakash Jana
4d6f304204
Fix #290 : terminate g_buf correctly
5 jaren geleden
Arun Prakash Jana
a9392463b0
Fix #290 : wchar_t may vary in size
5 jaren geleden
Arun Prakash Jana
a4c38d8547
Fix #287
5 jaren geleden
Arun Prakash Jana
4679daa761
Fix #285
5 jaren geleden
Arun Prakash Jana
aa56b99326
Add widely available cmatrix as locker fallback
5 jaren geleden
Arun Prakash Jana
32b3445f3b
Use case insensitive version sort to compare
5 jaren geleden
Arun Prakash Jana
538995487b
Wait and show command output when running a command
5 jaren geleden
Arun Prakash Jana
dba87bfdbe
Fix warning on CentOS 6 (refer to #282 )
5 jaren geleden
Sijmen J. Mulder
da60f55559
Don't ignore fwrite errors
Fixes warning on CentOS 6:
src/nnn.c:754: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
5 jaren geleden
Sijmen J. Mulder
121bbe566b
Fix sign conversion and comparison warnings
Building on i386 (NetBSD or Debian):
src/nnn.c: In function 'selectiontofd':
src/nnn.c:783:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (pos <= lastpos) {
^
src/nnn.c:791:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos <= lastpos) {
^
src/nnn.c: In function 'showcplist':
src/nnn.c:823:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos && pos == copybufpos)
^
src/nnn.c: In function 'xlink':
src/nnn.c:1955:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (pos < copybufpos) {
5 jaren geleden
Arun Prakash Jana
80c35e85bd
Support XDG_CONFIG_HOME
5 jaren geleden
Arun Prakash Jana
fa4f082ac0
Move cd on quit file
The new location is ~/.config/nnn/.lastd
5 jaren geleden
Arun Prakash Jana
dee5e5a8e9
Move clang-tidy config
5 jaren geleden
Arun Prakash Jana
1dbbcac84f
Use local buffers for events
5 jaren geleden
Arun Prakash Jana
7f8766247f
Use pipes.sh as fallback user lock
5 jaren geleden
Arun Prakash Jana
4a98d8db50
Use pipes.sh as locker fallback
5 jaren geleden
Arun Prakash Jana
c7f83dd179
Commented check
5 jaren geleden
Arun Prakash Jana
fcb29fa578
Fix #276
5 jaren geleden
Arun Prakash Jana
f269be5802
Restrict opening 0B files.
See #187 . The behaviour has always remained so confusing. In my case a 0B file
opens in the GUI editor though I have NNN_USE_EDITOR set. We have a sensible
message in place to help users with what to do next.
5 jaren geleden
Arun Prakash Jana
35fc77027a
Fix #274
5 jaren geleden
Arun Prakash Jana
75768ad29e
Use mode=0755 when creating dirs
5 jaren geleden
Arun Prakash Jana
b767d3335c
Create ~/.config if missing
5 jaren geleden
Arun Prakash Jana
5ea8218e4f
Prepare for release v2.5
5 jaren geleden
Arun Prakash Jana
788dc80bb6
Code refactor
5 jaren geleden
Arun Prakash Jana
0d05d71a0f
file: use dereference
5 jaren geleden
Arun Prakash Jana
6ce511cddb
Simplify batch rename
5 jaren geleden
Arun Prakash Jana
93a2d174f0
PR #265 : Replace dependency on vidir
Author: @bruce-hill
5 jaren geleden
Arun Prakash Jana
2c2d497809
Update patool wrapper
5 jaren geleden
Arun Prakash Jana
5f6ceb2f43
Support bsdtar
5 jaren geleden
Bruce Hill
a752235892
Alternate scrolling rules.
5 jaren geleden
Arun Prakash Jana
9dc3976533
Middle click to visit parent dir
5 jaren geleden
Arun Prakash Jana
ace449c0e9
Simpler permission string generation
5 jaren geleden
Arun Prakash Jana
e83f4ca62f
Refactor coolsize
5 jaren geleden
Arun Prakash Jana
fb4728bc31
Get rid of redundant buffer
5 jaren geleden
Arun Prakash Jana
d803521c6d
Fix #264
5 jaren geleden
Arun Prakash Jana
3157ef1214
Code refactor
5 jaren geleden
Arun Prakash Jana
95eaa636ef
Fix #261
5 jaren geleden
Arun Prakash Jana
3ca86eafbe
Get device info from path
5 jaren geleden
Bruce Hill
b5272a3973
Adding scrolloff option.
5 jaren geleden
Arun Prakash Jana
bd653ac91e
Code refactor
5 jaren geleden
Arun Prakash Jana
7cb2d22e9f
Fix build break
5 jaren geleden
Bruce Hill
2297373306
Fix #257 : fix the logic for determining which file was clicked.
5 jaren geleden
Arun Prakash Jana
c8e54ce4e2
Code refactor
5 jaren geleden
Arun Prakash Jana
30aaa12e6f
Fix #257
5 jaren geleden
Arun Prakash Jana
b093d98a6e
Fix regression with opening binary file
5 jaren geleden
Arun Prakash Jana
3e54217ae9
Fix build break
5 jaren geleden