]> Sergey Matveev's repositories - nnn.git/log
nnn.git
7 years agoUse macros for flags to spawn()
Arun Prakash Jana [Tue, 20 Jun 2017 15:59:37 +0000 (21:29 +0530)]
Use macros for flags to spawn()

7 years agoUse bitfields for settings
Arun Prakash Jana [Tue, 20 Jun 2017 14:58:53 +0000 (20:28 +0530)]
Use bitfields for settings

7 years agoRe-structure header
Arun Prakash Jana [Tue, 20 Jun 2017 04:56:31 +0000 (10:26 +0530)]
Re-structure header

7 years agoAn undocumented debug mode
Arun Prakash Jana [Mon, 19 Jun 2017 16:51:08 +0000 (22:21 +0530)]
An undocumented debug mode

1. The debug file is located at /tmp/nnn_debug.
2. Debug mode is completely disabled by default. The debug binary `nnndbg` can
be built by running `make debug`.

7 years agoUse preincr and predecr
Arun Prakash Jana [Sat, 17 Jun 2017 06:58:21 +0000 (12:28 +0530)]
Use preincr and predecr

7 years agoPush curses exit() and init() to functions
Arun Prakash Jana [Thu, 15 Jun 2017 16:04:47 +0000 (21:34 +0530)]
Push curses exit() and init() to functions

7 years agoFix reasonable checkpatch reports
Arun Prakash Jana [Thu, 15 Jun 2017 14:04:56 +0000 (19:34 +0530)]
Fix reasonable checkpatch reports

7 years agoFix build failure
Arun Prakash Jana [Sun, 11 Jun 2017 14:39:42 +0000 (20:09 +0530)]
Fix build failure

7 years agoShow current config along with help
Arun Prakash Jana [Sun, 11 Jun 2017 13:54:02 +0000 (19:24 +0530)]
Show current config along with help

7 years agoSupport bookmarks
Arun Prakash Jana [Sun, 11 Jun 2017 04:15:50 +0000 (09:45 +0530)]
Support bookmarks

7 years agoSuppress output when spawning DE file manager
Arun Prakash Jana [Wed, 7 Jun 2017 05:56:33 +0000 (11:26 +0530)]
Suppress output when spawning DE file manager

7 years agoWhen filter is empty, open file on Enter
Arun Prakash Jana [Tue, 6 Jun 2017 21:34:47 +0000 (03:04 +0530)]
When filter is empty, open file on Enter

7 years agoExit once an app is found. Help, doc updates.
Arun Prakash Jana [Tue, 6 Jun 2017 16:07:16 +0000 (21:37 +0530)]
Exit once an app is found. Help, doc updates.

7 years agoSet to the lat selected file
Arun Prakash Jana [Tue, 6 Jun 2017 16:01:40 +0000 (21:31 +0530)]
Set to the lat selected file

7 years agoSet detail view mode as default, introduce light mode
Arun Prakash Jana [Tue, 6 Jun 2017 15:31:28 +0000 (21:01 +0530)]
Set detail view mode as default, introduce light mode

7 years agoWe copy the absolute file path
Arun Prakash Jana [Tue, 6 Jun 2017 14:54:04 +0000 (20:24 +0530)]
We copy the absolute file path

7 years agoOptionally use EDITOR (fallback vi) for text files
Arun Prakash Jana [Tue, 6 Jun 2017 14:46:32 +0000 (20:16 +0530)]
Optionally use EDITOR (fallback vi) for text files

7 years agodesktop opener - xdg-open on Linux and open(1) on OS X
Arun Prakash Jana [Mon, 5 Jun 2017 18:26:38 +0000 (23:56 +0530)]
desktop opener - xdg-open on Linux and open(1) on OS X

7 years agonlay - support multiple apps
Arun Prakash Jana [Mon, 5 Jun 2017 04:54:28 +0000 (10:24 +0530)]
nlay - support multiple apps

7 years agoDisable key to run top
Arun Prakash Jana [Sun, 4 Jun 2017 20:59:34 +0000 (02:29 +0530)]
Disable key to run top

7 years agoUse vlock as locker, add ^Q to quit
Arun Prakash Jana [Sun, 4 Jun 2017 18:46:43 +0000 (00:16 +0530)]
Use vlock as locker, add ^Q to quit

^Q would quit even from filter mode

7 years agoFix issues with DEL on Mac on empty regex exprn
Arun Prakash Jana [Sun, 4 Jun 2017 18:28:30 +0000 (23:58 +0530)]
Fix issues with DEL on Mac on empty regex exprn

On Mac and error is thrown if the regex expression to regcomp() is empty.

Please refer to comments at:
https://github.com/jarun/nnn/commit/c42df81ae5f1206ee586d4e2f236c77f1f0dfbbe

7 years agoUpdate documentation
Arun Prakash Jana [Sun, 4 Jun 2017 17:45:08 +0000 (23:15 +0530)]
Update documentation

7 years agoBind ^L to clear prompt
Arun Prakash Jana [Sun, 4 Jun 2017 12:22:51 +0000 (17:52 +0530)]
Bind ^L to clear prompt

7 years agoUpdate docs on navigate-as-you-type mode
Arun Prakash Jana [Sun, 4 Jun 2017 07:08:13 +0000 (12:38 +0530)]
Update docs on navigate-as-you-type mode

7 years agoInsert key for navigate-as-you-type mode
Arun Prakash Jana [Sun, 4 Jun 2017 06:15:17 +0000 (11:45 +0530)]
Insert key for navigate-as-you-type mode

7 years agoNavigate-as-you-type support
Arun Prakash Jana [Sat, 3 Jun 2017 23:19:16 +0000 (04:49 +0530)]
Navigate-as-you-type support

1. Open directories in filter mode
2. Fix arrow keys not working after filter selection (due to invalid cur entry)
3. Support `Insert` key to clear filter prompt
4. Update documentation

7 years agoUpdate HowTo on file copy, move, delete
Arun Prakash Jana [Sat, 3 Jun 2017 05:51:47 +0000 (11:21 +0530)]
Update HowTo on file copy, move, delete

Add Debian and Fedora package installation option.

7 years agofix compile warning on gcc7 (#32)
Johnathan Jenkins [Mon, 29 May 2017 17:51:44 +0000 (10:51 -0700)]
fix compile warning on gcc7 (#32)

7 years agoUse gnome-search-tool as default search utility
Arun Prakash Jana [Tue, 23 May 2017 13:19:50 +0000 (18:49 +0530)]
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.

7 years agoUpdate features
Arun Prakash Jana [Mon, 22 May 2017 14:41:13 +0000 (20:11 +0530)]
Update features

7 years agofix for glibc sys/types.h deprecation warnings (#31)
Johnathan Jenkins [Sun, 21 May 2017 01:21:48 +0000 (18:21 -0700)]
fix for glibc sys/types.h deprecation warnings (#31)

7 years agoRemove redundant variable
Arun Prakash Jana [Sun, 21 May 2017 15:27:53 +0000 (20:57 +0530)]
Remove redundant variable

7 years agoBring back plain builds (#30)
Arun Prakash Jana [Sat, 20 May 2017 02:30:35 +0000 (08:00 +0530)]
Bring back plain builds (#30)

* Bring back plain builds

* Bring back plain builds

* Bring back plain builds

* Bring back plain builds

7 years agoRemove redundant variables, function calls
Arun Prakash Jana [Fri, 19 May 2017 14:38:22 +0000 (20:08 +0530)]
Remove redundant variables, function calls

7 years agoReduce number of entry movements
Arun Prakash Jana [Wed, 17 May 2017 02:46:33 +0000 (08:16 +0530)]
Reduce number of entry movements

7 years agoRemove contraint on num_args
Arun Prakash Jana [Tue, 16 May 2017 23:04:05 +0000 (04:34 +0530)]
Remove contraint on num_args

7 years agoHome-grown xstrlcpy()
Arun Prakash Jana [Tue, 16 May 2017 16:52:49 +0000 (22:22 +0530)]
Home-grown xstrlcpy()

7 years agoAdd check to defer name to number conversion
Arun Prakash Jana [Tue, 16 May 2017 02:02:21 +0000 (07:32 +0530)]
Add check to defer name to number conversion

7 years agoUpdate help
Arun Prakash Jana [Mon, 15 May 2017 17:21:32 +0000 (22:51 +0530)]
Update help

7 years agoUpdate features
Arun Prakash Jana [Mon, 15 May 2017 16:59:40 +0000 (22:29 +0530)]
Update features

7 years agoFix #27: use catfish as default search utility
Arun Prakash Jana [Mon, 15 May 2017 14:44:13 +0000 (20:14 +0530)]
Fix #27: use catfish as default search utility

7 years agoGet rid of unsafe system(3) calls
Arun Prakash Jana [Mon, 15 May 2017 12:52:00 +0000 (18:22 +0530)]
Get rid of unsafe system(3) calls

7 years agoFix regression from 08d87405d09d5667f6a3e90703f289bb5c30521c
Arun Prakash Jana [Mon, 15 May 2017 04:48:33 +0000 (10:18 +0530)]
Fix regression from 08d87405d09d5667f6a3e90703f289bb5c30521c

7 years agoUse execlp(3) instead of popen(3)
Arun Prakash Jana [Mon, 15 May 2017 04:24:30 +0000 (09:54 +0530)]
Use execlp(3) instead of popen(3)

7 years agoUse a global buffer for isolated functions
Arun Prakash Jana [Sun, 14 May 2017 21:37:22 +0000 (03:07 +0530)]
Use a global buffer for isolated functions

7 years agoTouchbase buffer manipulation
Arun Prakash Jana [Sun, 14 May 2017 20:56:53 +0000 (02:26 +0530)]
Touchbase buffer manipulation

7 years agoReplace system(3) with spawn()
Arun Prakash Jana [Sun, 14 May 2017 19:21:36 +0000 (00:51 +0530)]
Replace system(3) with spawn()

7 years agoFix #26: Provide an option to use a custom nlay file.
Arun Prakash Jana [Sun, 14 May 2017 15:30:46 +0000 (21:00 +0530)]
Fix #26: Provide an option to use a custom nlay file.

7 years agoFix #29
Arun Prakash Jana [Sat, 13 May 2017 21:52:47 +0000 (03:22 +0530)]
Fix #29

Limit all xstrlcpy() calls by dest length.
Escape filenames in system(3) calls.

7 years agoUpdate performance matrix (more files)
Arun Prakash Jana [Sat, 13 May 2017 19:59:37 +0000 (01:29 +0530)]
Update performance matrix (more files)

7 years agoMake Makefile generic
Arun Prakash Jana [Sat, 13 May 2017 17:01:14 +0000 (22:31 +0530)]
Make Makefile generic

7 years agopkg-config for ncurses (#25)
Johnathan Jenkins [Sat, 13 May 2017 16:33:08 +0000 (09:33 -0700)]
pkg-config for ncurses (#25)

7 years agoFix #23
Arun Prakash Jana [Sat, 13 May 2017 04:57:49 +0000 (10:27 +0530)]
Fix #23

7 years agoUpdate performance figures v1.1
Arun Prakash Jana [Thu, 11 May 2017 20:31:14 +0000 (02:01 +0530)]
Update performance figures

7 years agoPrepare for release v1.1
Arun Prakash Jana [Thu, 11 May 2017 16:55:22 +0000 (22:25 +0530)]
Prepare for release v1.1

7 years agoAdd Say Thanks!, change PayPal badge
Arun Prakash Jana [Sun, 7 May 2017 08:13:29 +0000 (13:43 +0530)]
Add Say Thanks!, change PayPal badge

7 years agoOnly one check suffices (if *buf, it's > 0)
Arun Prakash Jana [Wed, 3 May 2017 19:38:17 +0000 (01:08 +0530)]
Only one check suffices (if *buf, it's > 0)

7 years agoRetain control chars when invoking external utils
Arun Prakash Jana [Wed, 3 May 2017 17:40:52 +0000 (23:10 +0530)]
Retain control chars when invoking external utils

7 years agoFix #21
Arun Prakash Jana [Wed, 3 May 2017 13:57:55 +0000 (19:27 +0530)]
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.

8 years agoConsider only dirs and files in nftw(3)
Arun Prakash Jana [Tue, 2 May 2017 12:50:03 +0000 (18:20 +0530)]
Consider only dirs and files in nftw(3)

8 years agoUpdate screencast
Arun Prakash Jana [Sun, 30 Apr 2017 16:07:02 +0000 (21:37 +0530)]
Update screencast

8 years agoUpdate scripts
Arun Prakash Jana [Sat, 29 Apr 2017 06:39:26 +0000 (12:09 +0530)]
Update scripts

8 years agoRemove sizeof() is absolute cases
Arun Prakash Jana [Sat, 29 Apr 2017 05:32:12 +0000 (11:02 +0530)]
Remove sizeof() is absolute cases

8 years agoSupport search as you type
Arun Prakash Jana [Fri, 28 Apr 2017 23:02:47 +0000 (04:32 +0530)]
Support search as you type

8 years agoOnly do releases when a tag is pushed
Michael Fenn [Fri, 28 Apr 2017 13:24:57 +0000 (09:24 -0400)]
Only do releases when a tag is pushed

8 years agoUpdate seure key
Arun Prakash Jana [Fri, 28 Apr 2017 12:53:53 +0000 (18:23 +0530)]
Update seure key

8 years agoClear history when entering directory
Arun Prakash Jana [Fri, 28 Apr 2017 12:27:06 +0000 (17:57 +0530)]
Clear history when entering directory

8 years agoAdd automatic RPM builds via travis (#18)
Michael Fenn [Fri, 28 Apr 2017 07:14:27 +0000 (03:14 -0400)]
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

8 years agoUse curses.h from libncursesw on Linux
Arun Prakash Jana [Thu, 27 Apr 2017 15:14:21 +0000 (20:44 +0530)]
Use curses.h from libncursesw on Linux

8 years agoUpdate README
Arun Prakash Jana [Wed, 26 Apr 2017 02:59:00 +0000 (08:29 +0530)]
Update README

8 years agoAdd instructions to install dependencies
Arun Prakash Jana [Tue, 25 Apr 2017 20:33:16 +0000 (02:03 +0530)]
Add instructions to install dependencies

8 years agoExit if parent has exited (#16)
aaeilm [Tue, 25 Apr 2017 19:12:07 +0000 (15:12 -0400)]
Exit if parent has exited (#16)

8 years agoHonour EDITOR and PAGER everywhere
Arun Prakash Jana [Tue, 25 Apr 2017 17:49:47 +0000 (23:19 +0530)]
Honour EDITOR and PAGER everywhere

8 years agoAdd Mentions
Arun Prakash Jana [Tue, 25 Apr 2017 16:54:47 +0000 (22:24 +0530)]
Add Mentions

8 years agoPolish change directory logic
Arun Prakash Jana [Tue, 25 Apr 2017 04:31:52 +0000 (10:01 +0530)]
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

8 years agoSupport cd .....
Arun Prakash Jana [Mon, 24 Apr 2017 13:23:03 +0000 (18:53 +0530)]
Support cd .....

8 years agoMerge pull request #14 from szlin/master
Arun Prakash Jana [Mon, 24 Apr 2017 08:55:24 +0000 (14:25 +0530)]
Merge pull request #14 from szlin/master

Add definition of PATH_MAX on GNU/Hurd

8 years agoMAX_PATH is not defined in some platforms, most notably GNU/Hurd. Therefore, I define...
SZ Lin (林上智) [Mon, 24 Apr 2017 08:03:33 +0000 (16:03 +0800)]
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.

8 years agoReformat key listing.
Arun Prakash Jana [Sun, 23 Apr 2017 21:45:06 +0000 (03:15 +0530)]
Reformat key listing.

8 years agoSupport jump to initial directory
Arun Prakash Jana [Sun, 23 Apr 2017 21:06:49 +0000 (02:36 +0530)]
Support jump to initial directory

This change remaps the & key. However, / is more relevant for filter and & makes more sense wrt. address.

8 years agoUpdate readme
Arun Prakash Jana [Sun, 23 Apr 2017 20:29:09 +0000 (01:59 +0530)]
Update readme

8 years agonlay - a highly customizable file handler
Arun Prakash Jana [Sun, 23 Apr 2017 17:42:54 +0000 (23:12 +0530)]
nlay - a highly customizable file handler

8 years agoFix build break on OS X
Arun Prakash Jana [Sat, 22 Apr 2017 14:56:22 +0000 (20:26 +0530)]
Fix build break on OS X

8 years agoDo not wait when spawning DE file manager
Arun Prakash Jana [Sat, 22 Apr 2017 14:19:00 +0000 (19:49 +0530)]
Do not wait when spawning DE file manager

8 years agoShow file details in less
Arun Prakash Jana [Sat, 22 Apr 2017 10:20:36 +0000 (15:50 +0530)]
Show file details in less

8 years agoShow help in less
Arun Prakash Jana [Sat, 22 Apr 2017 07:20:02 +0000 (12:50 +0530)]
Show help in less

8 years agoWrap etries within same line
Arun Prakash Jana [Fri, 21 Apr 2017 21:40:02 +0000 (03:10 +0530)]
Wrap etries within same line

8 years agoAdd Homebrew link
Arun Prakash Jana [Fri, 21 Apr 2017 19:42:01 +0000 (01:12 +0530)]
Add Homebrew link

8 years agoShow media information using mediainfo
Arun Prakash Jana [Fri, 21 Apr 2017 18:26:48 +0000 (23:56 +0530)]
Show media information using mediainfo

8 years agoUse NNN_DE_FILE_MANAGER
Arun Prakash Jana [Fri, 21 Apr 2017 12:22:03 +0000 (17:52 +0530)]
Use NNN_DE_FILE_MANAGER

8 years agoUpdate README.md
Arun Prakash Jana [Fri, 21 Apr 2017 03:30:46 +0000 (09:00 +0530)]
Update README.md

8 years agoHold allocated memory till program exit
Arun Prakash Jana [Thu, 20 Apr 2017 20:16:00 +0000 (01:46 +0530)]
Hold allocated memory till program exit

8 years agoUse NAME_MAX, reuse newpath, update stats
Arun Prakash Jana [Thu, 20 Apr 2017 17:50:28 +0000 (23:20 +0530)]
Use NAME_MAX, reuse newpath, update stats

8 years agoSupport . and .. at chdir prompt
Arun Prakash Jana [Thu, 20 Apr 2017 16:27:24 +0000 (21:57 +0530)]
Support . and .. at chdir prompt

8 years agoUse readline() at chdir prompt
Arun Prakash Jana [Thu, 20 Apr 2017 14:15:52 +0000 (19:45 +0530)]
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.

8 years agoSupport cd on quit
Arun Prakash Jana [Wed, 19 Apr 2017 12:52:30 +0000 (18:22 +0530)]
Support cd on quit

8 years agoMakefile: use libncurses instead of libncursesw on Darwin
Zhiming Wang [Sun, 16 Apr 2017 06:17:50 +0000 (02:17 -0400)]
Makefile: use libncurses instead of libncursesw on Darwin

macOS 10.12.4 and many earlier versions have libncurses 5.4 with wide character
support, but not libncursesw.

8 years agoUse libncursesw for internationalization
Arun Prakash Jana [Sun, 16 Apr 2017 07:35:08 +0000 (13:05 +0530)]
Use libncursesw for internationalization

Update README on dependencies

8 years ago.Bd directive has no matching .Ed
SZ Lin [Sat, 15 Apr 2017 04:00:41 +0000 (12:00 +0800)]
.Bd directive has no matching .Ed

Add .Ed to match with .Bd