]> Sergey Matveev's repositories - nnn.git/log
nnn.git
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

8 years agoAdd 'How to', devs sections
Arun Prakash Jana [Sat, 15 Apr 2017 01:21:10 +0000 (06:51 +0530)]
Add 'How to', devs sections

8 years agoAdd program help
Arun Prakash Jana [Fri, 14 Apr 2017 18:44:25 +0000 (00:14 +0530)]
Add program help

8 years agoAdd badges
Arun Prakash Jana [Fri, 14 Apr 2017 17:46:01 +0000 (23:16 +0530)]
Add badges

8 years agoSupport key 'q' to exit extra screens
Arun Prakash Jana [Fri, 14 Apr 2017 17:26:06 +0000 (22:56 +0530)]
Support key 'q' to exit extra screens

8 years agoFix #8: Use digits for month, re-arrange date, time
Arun Prakash Jana [Fri, 14 Apr 2017 16:23:05 +0000 (21:53 +0530)]
Fix #8: Use digits for month, re-arrange date, time

8 years agoFix #8: set loale post ncurses init
Arun Prakash Jana [Fri, 14 Apr 2017 14:13:37 +0000 (19:43 +0530)]
Fix #8: set loale post ncurses init

8 years agoOption -S: start in disk usage analyzer mode
Arun Prakash Jana [Fri, 14 Apr 2017 11:20:16 +0000 (16:50 +0530)]
Option -S: start in disk usage analyzer mode

8 years agoAdd a quickstart section
Arun Prakash Jana [Thu, 13 Apr 2017 15:44:30 +0000 (21:14 +0530)]
Add a quickstart section

8 years agoAdd installation instructions
Arun Prakash Jana [Thu, 13 Apr 2017 15:03:16 +0000 (20:33 +0530)]
Add installation instructions

8 years agoMove man to $PREFIX/share/man v1.0
Arun Prakash Jana [Thu, 13 Apr 2017 14:56:09 +0000 (20:26 +0530)]
Move man to $PREFIX/share/man

8 years agoUpdate README
Arun Prakash Jana [Thu, 13 Apr 2017 14:40:23 +0000 (20:10 +0530)]
Update README

8 years agoPrepare for release v1.0
Arun Prakash Jana [Thu, 13 Apr 2017 13:43:33 +0000 (19:13 +0530)]
Prepare for release v1.0

8 years agoAdd Makefile.generic, update docs
Arun Prakash Jana [Thu, 13 Apr 2017 02:42:10 +0000 (08:12 +0530)]
Add Makefile.generic, update docs

8 years agoSupport open current dir in desktop file manager
Arun Prakash Jana [Wed, 12 Apr 2017 16:48:03 +0000 (22:18 +0530)]
Support open current dir in desktop file manager

8 years agoUpdate README.md
Arun Prakash Jana [Wed, 12 Apr 2017 06:28:30 +0000 (11:58 +0530)]
Update README.md

8 years agorealloc() 32 entries at a time
Arun Prakash Jana [Tue, 11 Apr 2017 13:46:06 +0000 (19:16 +0530)]
realloc() 32 entries at a time

8 years agoMaximize rlimit, switch to detail view in du mode
Arun Prakash Jana [Tue, 11 Apr 2017 04:47:50 +0000 (10:17 +0530)]
Maximize rlimit, switch to detail view in du mode

8 years ago.travis.yml: bring back -Werror
Zhiming Wang [Tue, 11 Apr 2017 01:40:31 +0000 (21:40 -0400)]
.travis.yml: bring back -Werror

Convert warnings to errors on CI, or they'll go unnoticed.

8 years agoFix #4.
Arun Prakash Jana [Mon, 10 Apr 2017 21:13:38 +0000 (02:43 +0530)]
Fix #4.

8 years agoOptimize dentfill
Arun Prakash Jana [Mon, 10 Apr 2017 19:41:06 +0000 (01:11 +0530)]
Optimize dentfill

8 years agoToggle help and file details screens with same key
Arun Prakash Jana [Mon, 10 Apr 2017 13:05:30 +0000 (18:35 +0530)]
Toggle help and file details screens with same key

8 years agoUse static vars
Arun Prakash Jana [Mon, 10 Apr 2017 12:47:12 +0000 (18:17 +0530)]
Use static vars

8 years agoShow unprivileged free blocks in du mode
Arun Prakash Jana [Mon, 10 Apr 2017 04:51:44 +0000 (10:21 +0530)]
Show unprivileged free blocks in du mode

8 years agoUpdate README
Arun Prakash Jana [Sun, 9 Apr 2017 21:50:13 +0000 (03:20 +0530)]
Update README

8 years agoInitial path: support sort by disk usage
Arun Prakash Jana [Sun, 9 Apr 2017 18:41:29 +0000 (00:11 +0530)]
Initial path: support sort by disk usage

8 years agoKey - to jump to last visited directory
Arun Prakash Jana [Sat, 8 Apr 2017 08:16:03 +0000 (13:46 +0530)]
Key - to jump to last visited directory

8 years agoRemove redundant search when entering directory
Arun Prakash Jana [Sat, 8 Apr 2017 05:44:51 +0000 (11:14 +0530)]
Remove redundant search when entering directory

8 years agoAdd notes on fallback opener
Arun Prakash Jana [Thu, 6 Apr 2017 07:06:59 +0000 (12:36 +0530)]
Add notes on fallback opener

8 years agoShow marker only when spawning a shell.
Arun Prakash Jana [Thu, 6 Apr 2017 04:27:32 +0000 (09:57 +0530)]
Show marker only when spawning a shell.

8 years agoBrand new video. Thanks @zmwangx!
Arun Prakash Jana [Thu, 6 Apr 2017 00:57:16 +0000 (06:27 +0530)]
Brand new video. Thanks @zmwangx!

8 years agoTry fallbak for missing apps, use popen wrapper
Arun Prakash Jana [Wed, 5 Apr 2017 16:48:21 +0000 (22:18 +0530)]
Try fallbak for missing apps, use popen wrapper

8 years agoResolve ~ (HOME) at chdir prompt
Arun Prakash Jana [Wed, 5 Apr 2017 04:55:59 +0000 (10:25 +0530)]
Resolve ~ (HOME) at chdir prompt

8 years agoShow notifier only for associations
Arun Prakash Jana [Tue, 4 Apr 2017 14:27:44 +0000 (19:57 +0530)]
Show notifier only for associations

8 years agoDisable checksum calculation
Arun Prakash Jana [Tue, 4 Apr 2017 04:37:44 +0000 (10:07 +0530)]
Disable checksum calculation

Calculation can take very long. Most Unix-ish OSes have utilities to do this.

8 years agovim-ish binding for jump to first and last entry
Arun Prakash Jana [Tue, 4 Apr 2017 03:46:29 +0000 (09:16 +0530)]
vim-ish binding for jump to first and last entry

It was troubling me. Mimicking 'gg' would have been hacky and would need
additional processing... 'g' was free. Who cares even if you press twice? ;)

8 years agoFix warnings. Harden compilation.
Arun Prakash Jana [Mon, 3 Apr 2017 20:10:04 +0000 (01:40 +0530)]
Fix warnings. Harden compilation.

8 years agoMerge pull request #3 from zmwangx/travis
Arun Prakash Jana [Mon, 3 Apr 2017 19:35:35 +0000 (01:05 +0530)]
Merge pull request #3 from zmwangx/travis

Test on Travis

8 years agoAdd .travis.yml
Zhiming Wang [Mon, 3 Apr 2017 19:00:17 +0000 (15:00 -0400)]
Add .travis.yml

8 years agoASCII Art to indicate nnn launched program
Arun Prakash Jana [Mon, 3 Apr 2017 19:07:44 +0000 (00:37 +0530)]
ASCII Art to indicate nnn launched program

8 years agoAllow custom CFLAGS and CPPFLAGS in Makefile
Zhiming Wang [Mon, 3 Apr 2017 18:50:21 +0000 (14:50 -0400)]
Allow custom CFLAGS and CPPFLAGS in Makefile

This is consistent with the fact that custom LDFLAGS are already allowed, and
for once, it makes warning options easier to control.

Also use automatic variables $@ and $^ consistently.

8 years agoUpdate static associations
Arun Prakash Jana [Mon, 3 Apr 2017 18:15:53 +0000 (23:45 +0530)]
Update static associations

8 years agoUse double quotes to handle file names with spaces
Arun Prakash Jana [Mon, 3 Apr 2017 18:03:31 +0000 (23:33 +0530)]
Use double quotes to handle file names with spaces

Remove dependency on cut.

8 years agoAdd help screen on keybinds
Arun Prakash Jana [Mon, 3 Apr 2017 17:03:46 +0000 (22:33 +0530)]
Add help screen on keybinds

8 years agoShow stat, file, md5, sh256 in file details
Arun Prakash Jana [Mon, 3 Apr 2017 14:58:55 +0000 (20:28 +0530)]
Show stat, file, md5, sh256 in file details

This commit adds dependencies on file, openssl and cut binaries.

8 years agoShow file details
Arun Prakash Jana [Sun, 2 Apr 2017 23:35:14 +0000 (05:05 +0530)]
Show file details

We closely follow the output for stat(1).

8 years agoRemove redundant stuff
Arun Prakash Jana [Sun, 2 Apr 2017 15:45:31 +0000 (21:15 +0530)]
Remove redundant stuff

1. Have a faster copy of strlcpy()
2. Remove redundant legacy files
3. Fix an issue with NULL check on array name

8 years agoOptimize directory search
Arun Prakash Jana [Sun, 2 Apr 2017 08:48:54 +0000 (14:18 +0530)]
Optimize directory search

8 years agoUse standard function for numeric sort
Arun Prakash Jana [Sun, 2 Apr 2017 05:32:07 +0000 (11:02 +0530)]
Use standard function for numeric sort

Numeric is numeric i.e., n, -n. +n.
Other forms such as --n, ++n, -c, +c should not be considered numeric.

If size is same (e.g. dirs), use alphanum sort.

8 years agoRevert non-portable optimization
Arun Prakash Jana [Sun, 2 Apr 2017 02:45:07 +0000 (08:15 +0530)]
Revert non-portable optimization

8 years agoMerge pull request #2 from zmwangx/gitignore
Arun Prakash Jana [Sun, 2 Apr 2017 02:15:26 +0000 (07:45 +0530)]
Merge pull request #2 from zmwangx/gitignore

Add .gitignore to ignore compilation products

8 years agoAdd .gitignore to ignore compilation products
Zhiming Wang [Sat, 1 Apr 2017 21:42:49 +0000 (17:42 -0400)]
Add .gitignore to ignore compilation products

8 years agoShow message when trying to go above /
Arun Prakash Jana [Sat, 1 Apr 2017 21:20:56 +0000 (02:50 +0530)]
Show message when trying to go above /

8 years agoShow directories first
Arun Prakash Jana [Sat, 1 Apr 2017 20:18:33 +0000 (01:48 +0530)]
Show directories first

8 years agoSupport sort by numeric value for numeric names
Arun Prakash Jana [Sat, 1 Apr 2017 17:40:12 +0000 (23:10 +0530)]
Support sort by numeric value for numeric names

8 years agoShow sort order if applied
Arun Prakash Jana [Sat, 1 Apr 2017 12:31:54 +0000 (18:01 +0530)]
Show sort order if applied