Commit Graph

97 Commits

Author SHA1 Message Date
Arun Prakash Jana 16ec5d3351
Use gnome-search-tool as default search utility
Reasons:

gnome-search-tool is much more powerful than other tools in its category. It
supports numerous search parameters like size, modification date and supports
text search.
2017-05-23 18:57:19 +05:30
Johnathan Jenkins ab6bdbee6d
fix for glibc sys/types.h deprecation warnings (#31) 2017-05-22 19:27:35 +05:30
Arun Prakash Jana 1e1518c147
Remove redundant variable 2017-05-22 19:27:33 +05:30
Arun Prakash Jana 7727b745ed
Remove redundant variables, function calls 2017-05-20 07:12:57 +05:30
Arun Prakash Jana 95cdb78c6c
Reduce number of entry movements 2017-05-17 08:16:33 +05:30
Arun Prakash Jana 8263c9c419
Remove contraint on num_args 2017-05-17 04:44:46 +05:30
Arun Prakash Jana b817699b7f
Home-grown xstrlcpy() 2017-05-16 22:22:49 +05:30
Arun Prakash Jana 3243a3082a
Add check to defer name to number conversion 2017-05-16 07:32:21 +05:30
Arun Prakash Jana e671dcd092
Update help 2017-05-15 22:51:32 +05:30
Arun Prakash Jana 71bc3c7432
Fix #27: use catfish as default search utility 2017-05-15 20:14:13 +05:30
Arun Prakash Jana ba49beac79
Get rid of unsafe system(3) calls 2017-05-15 18:23:07 +05:30
Arun Prakash Jana 463c270caf
Fix regression from 08d87405d0 2017-05-15 10:18:33 +05:30
Arun Prakash Jana 20216a995b
Use execlp(3) instead of popen(3) 2017-05-15 10:02:58 +05:30
Arun Prakash Jana d01d689340
Use a global buffer for isolated functions 2017-05-15 03:07:22 +05:30
Arun Prakash Jana a279f58b91
Touchbase buffer manipulation 2017-05-15 02:26:53 +05:30
Arun Prakash Jana 9fb728170a
Replace system(3) with spawn() 2017-05-15 00:51:36 +05:30
Arun Prakash Jana e4f72170d0
Fix #26: Provide an option to use a custom nlay file. 2017-05-14 21:00:46 +05:30
Arun Prakash Jana d1924756c7
Fix #29
Limit all xstrlcpy() calls by dest length.
Escape filenames in system(3) calls.
2017-05-14 11:31:30 +05:30
Arun Prakash Jana 33c4a227d2
Make Makefile generic 2017-05-13 22:31:14 +05:30
Johnathan Jenkins 9eed24bbac pkg-config for ncurses (#25) 2017-05-13 22:03:08 +05:30
Arun Prakash Jana cbbe03247e
Fix #23 2017-05-13 10:27:49 +05:30
Arun Prakash Jana a310176160
Prepare for release v1.1 2017-05-11 22:25:22 +05:30
Arun Prakash Jana 58f8905ea3
Only one check suffices (if *buf, it's > 0) 2017-05-04 01:08:17 +05:30
Arun Prakash Jana a3852a6cb1
Retain control chars when invoking external utils 2017-05-03 23:10:52 +05:30
Arun Prakash Jana 08d87405d0
Fix #21
We are converting multi-byte to wide char and vice versa to replace the escape
chars with ?. Otherwise we run the risk of breaking a Unicode code point.
2017-05-03 19:58:40 +05:30
Arun Prakash Jana b730c116d6
Consider only dirs and files in nftw(3) 2017-05-02 18:20:03 +05:30
Arun Prakash Jana 64d06ccaee
Remove sizeof() is absolute cases 2017-04-29 11:02:12 +05:30
Arun Prakash Jana 1fdcaef4f5
Support search as you type 2017-04-29 09:52:43 +05:30
Arun Prakash Jana 7f4c1a447b Clear history when entering directory 2017-04-28 17:57:38 +05:30
Michael Fenn 41235445e7 Add automatic RPM builds via travis (#18)
* Add automatic RPM builds via travis

* readline.h must be imported after stdio.h to pick up def of FILE
2017-04-28 12:44:27 +05:30
Arun Prakash Jana 4af8ba19f1
Use curses.h from libncursesw on Linux 2017-04-27 20:44:21 +05:30
aaeilm 92236abf31 Exit if parent has exited (#16) 2017-04-26 00:42:07 +05:30
Arun Prakash Jana 0fd6a392db
Honour EDITOR and PAGER everywhere 2017-04-25 23:20:04 +05:30
Arun Prakash Jana 3096dfefde
Polish change directory logic
1. Strip end spaces and slashes
2. Do NOT change dir if in the same dir
3. Don't go back beyond startup dir with '-'
4. Reset oldpath on cd (other than cd . and ..)
5. Reset filter
6. Update features in README
2017-04-25 22:07:09 +05:30
Arun Prakash Jana febda38c14
Support cd ..... 2017-04-24 18:53:03 +05:30
SZ Lin (林上智) 1ec5eb1231 MAX_PATH is not defined in some platforms, most notably GNU/Hurd. Therefore, I define it here to 4096 which is the same value in limits.h. 2017-04-24 16:03:33 +08:00
Arun Prakash Jana 012662ab89
Reformat key listing. 2017-04-24 07:36:26 +05:30
Arun Prakash Jana b4166192e6
Support jump to initial directory
This change remaps the & key. However, / is more relevant for filter and & makes more sense wrt. address.
2017-04-24 02:36:49 +05:30
Arun Prakash Jana 00aaee9ff1
nlay - a highly customizable file handler 2017-04-23 23:31:08 +05:30
Arun Prakash Jana ff18d580c5
Fix build break on OS X 2017-04-22 21:43:17 +05:30
Arun Prakash Jana 4790d17d04
Do not wait when spawning DE file manager 2017-04-22 19:49:00 +05:30
Arun Prakash Jana b19778fdff
Show file details in less 2017-04-22 15:50:36 +05:30
Arun Prakash Jana a5dedd6c24
Show help in less 2017-04-22 12:50:02 +05:30
Arun Prakash Jana 4f17c6bd65
Wrap etries within same line 2017-04-22 03:10:02 +05:30
Arun Prakash Jana 07d4252b63
Show media information using mediainfo 2017-04-21 23:56:48 +05:30
Arun Prakash Jana 4e7e871990
Use NNN_DE_FILE_MANAGER 2017-04-21 17:52:03 +05:30
Arun Prakash Jana 34a8ec2881
Hold allocated memory till program exit 2017-04-21 08:46:55 +05:30
Arun Prakash Jana f10ef49534
Use NAME_MAX, reuse newpath, update stats 2017-04-20 23:20:28 +05:30
Arun Prakash Jana 79c1c56cbf
Support . and .. at chdir prompt 2017-04-20 21:57:24 +05:30
Arun Prakash Jana 89224cfa98
Use readline() at chdir prompt
With the features the readline library provides it would be too naive to ignore.
We break out of the curses mode into the prompt and get back in.
This change introduces dependency on libncurses.
2017-04-20 20:10:58 +05:30