Arun Prakash Jana
3fd9e6ace7
Add -DNORL when var O_STATIC is set
2020-01-25 23:44:28 +05:30
Arun Prakash Jana
bc177fd266
Revert "Test static packaging"
...
This reverts commit dbcbaa583c
.
2020-01-25 08:55:07 +05:30
Arun Prakash Jana
dbcbaa583c
Test static packaging
2020-01-25 08:36:50 +05:30
Arun Prakash Jana
a2288594d1
Move compilation notes to Wiki
2020-01-24 23:42:05 +05:30
Arun Prakash Jana
1684d7b24e
Makefile option to compile with PCRE lib
...
Command: make O_PCRE=1 strip
2020-01-24 23:29:05 +05:30
Arun Prakash Jana
e5ad7d81ff
PCRE 2 - fix check for filter match
...
Kind contribution from uno20001:
https://old.reddit.com/r/C_Programming/comments/etavho/file_manager_nnn_needs_help_with_pcre/fffk4wr/
2020-01-24 22:46:47 +05:30
Arun Prakash Jana
196c09ab9b
PCRE 2 - fix compilation error
2020-01-24 22:25:27 +05:30
Arun Prakash Jana
e2d37632ea
PCRE - add error handling
2020-01-24 19:00:45 +05:30
KlzXS
27617c0446
Detach process with F_NOWAIT ( #450 )
...
* 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-24 18:58:43 +05:30
Arun Prakash Jana
827875c3ef
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
2020-01-24 02:17:48 +05:30
Arun Prakash Jana
d67ad84360
Add static compilation flag
...
make command:
make O_STATIC=1 O_NORL=1 strip
2020-01-23 22:22:07 +05:30
Arun Prakash Jana
50df09b918
Do not show file name in status bar
...
Both in light and detail modes we show more characters than in status bar.
2020-01-23 21:21:24 +05:30
Arun Prakash Jana
de4b817998
Lazy unmount, umount (macOS) support
2020-01-23 02:00:16 +05:30
Arun Prakash Jana
d224016011
nuke: add glow to preview markdown
2020-01-22 23:20:31 +05:30
Arun Prakash Jana
60dfb79b8d
Check if path exists before trying to create
2020-01-22 20:09:16 +05:30
Arun Prakash Jana
a87be62204
Use indicative dir names when creating
2020-01-22 00:00:33 +05:30
Arun Prakash Jana
8d6f766e75
Remove redundant variables/assignments
2020-01-21 23:09:05 +05:30
Arun Prakash Jana
8df6602fac
Remove redundant check
2020-01-21 21:53:45 +05:30
Arun Prakash Jana
a6f5f1ebc8
Update badges
2020-01-21 18:29:54 +05:30
Arun Prakash Jana
abd1df8770
Initialize mask
2020-01-20 23:33:57 +05:30
Arun Prakash Jana
9b45b05746
Code refactor
2020-01-20 19:09:10 +05:30
Arun Prakash Jana
d0f26e7c30
Revert "Update badges"
...
This reverts commit 3d98daaf27
.
2020-01-20 08:38:20 +05:30
Arun Prakash Jana
3d98daaf27
Update badges
2020-01-20 08:37:04 +05:30
Arun Prakash Jana
0f1e648032
Refactor
2020-01-19 21:24:33 +05:30
Arun Prakash Jana
7677cd4417
Copy current name in API
2020-01-19 10:49:40 +05:30
Arun Prakash Jana
1c6fd9c7d7
Refactor
2020-01-18 23:31:39 +05:30
Arun Prakash Jana
5e7c42c822
checkpatch.pl fixes
2020-01-18 22:49:35 +05:30
Arun Prakash Jana
4d01aa78ae
Shorten env vars
2020-01-18 21:05:44 +05:30
Arun Prakash Jana
6c2dc7fc95
Use macro
2020-01-18 20:57:51 +05:30
Arun Prakash Jana
cfdd745611
Get rid of modulo operation
2020-01-18 20:43:28 +05:30
Arun Prakash Jana
9b054d51f4
Key F5 toggle hidden
2020-01-18 19:55:09 +05:30
Arun Prakash Jana
afb7efc860
Merge functions
2020-01-18 14:58:48 +05:30
Siddharth Dushantha
1dd691d20b
fixed a formating error ( #444 )
...
Some normal text was indent a little, which caused to to become a code
2020-01-18 14:24:48 +05:30
Arun Prakash Jana
dd02fb6049
Use simpler logic to show progress on Linux
2020-01-18 14:16:18 +05:30
Arun Prakash Jana
5f18a0892c
Clear lastname is the top file is deleted
2020-01-17 20:26:14 +05:30
Arun Prakash Jana
679374680f
Revert "Revert "Fixed calculation of capacity on OpenBSD ( #441 )""
...
This reverts commit 681b22d5c7
.
The statvfs man page:
http://man7.org/linux/man-pages/man3/statvfs.3.html
says clearly:
fsblkcnt_t f_blocks; /* Size of fs in f_frsize units */
I missed this earlier.
2020-01-17 20:08:45 +05:30
Arun Prakash Jana
64667b377d
Options -e and -t
...
Replaces the following environment variables:
- NNN_USE_EDITOR
- NNN_IDLE_TIMEOUT
2020-01-17 19:37:57 +05:30
Arun Prakash Jana
94a233b808
Fix: crash on entering empty dir, then press down
2020-01-17 03:36:57 +05:30
Arun Prakash Jana
4f233c161a
Remove redundant check
2020-01-17 02:40:02 +05:30
Arun Prakash Jana
feec63ebb3
Use do-while instead of while
2020-01-16 23:09:19 +05:30
Arun Prakash Jana
681b22d5c7
Revert "Fixed calculation of capacity on OpenBSD ( #441 )"
...
This reverts commit 527e995f1f
.
2020-01-16 22:58:12 +05:30
Arun Prakash Jana
7086df5c78
Update docs
2020-01-16 22:49:16 +05:30
Arun Prakash Jana
f9d38d1420
A fancier prompt
2020-01-16 19:35:46 +05:30
Maxim Baz
0fd1f142c7
Quit with an error code ( #442 )
...
* Quit with an error code
* Use `Q` as "quit with err"
* Remove extra var and simplify conditions
* Revert combining conditions
* Fix formatting
* Format help with as much tabs as possible
2020-01-16 19:25:48 +05:30
Martin Ziemer
527e995f1f
Fixed calculation of capacity on OpenBSD ( #441 )
2020-01-16 16:40:30 +05:30
Maxim Baz
d1b2bb1e76
Release improvements, take 2 ( #440 )
...
* Revert "Undo changes from #417 "
* Do not remove .git folder
2020-01-15 17:54:29 +05:30
Arun Prakash Jana
38de6efd48
Change command order
2020-01-15 17:18:10 +05:30
Arun Prakash Jana
22454d6893
Update docs
2020-01-15 15:01:14 +05:30
Arun Prakash Jana
3a4dd4c469
Fix alignment
2020-01-15 14:10:46 +05:30
Arun Prakash Jana
8ea1bc7430
Undo changes from #417
2020-01-15 11:22:54 +05:30