]> Sergey Matveev's repositories - nnn.git/log
nnn.git
10 years agoNow nextsel() just maps keys to actions
lostd [Thu, 6 Nov 2014 08:54:20 +0000 (10:54 +0200)]
Now nextsel() just maps keys to actions

10 years agoStyle fix in a comment
lostd [Fri, 31 Oct 2014 23:56:26 +0000 (01:56 +0200)]
Style fix in a comment

10 years agoEmulate ls -F completely including sockets and FIFOs
lostd [Fri, 31 Oct 2014 23:55:26 +0000 (01:55 +0200)]
Emulate ls -F completely including sockets and FIFOs

10 years agoEnsure manprefix exists
sin [Mon, 27 Oct 2014 13:56:33 +0000 (13:56 +0000)]
Ensure manprefix exists

10 years agoRevert "No need to manually strip trailing slashes"
lostd [Thu, 23 Oct 2014 15:38:00 +0000 (18:38 +0300)]
Revert "No need to manually strip trailing slashes"

This reverts commit abd301333da81b72070fbb575dcd0824d3af038e.

10 years agoDocument the old path history thing
lostd [Thu, 23 Oct 2014 15:26:06 +0000 (18:26 +0300)]
Document the old path history thing

10 years agoThe queue header is not needed for now
lostd [Thu, 23 Oct 2014 15:14:18 +0000 (18:14 +0300)]
The queue header is not needed for now

10 years agoWe don't use realpath(3) anymore
lostd [Thu, 23 Oct 2014 15:12:17 +0000 (18:12 +0300)]
We don't use realpath(3) anymore

10 years agoGet rid of the LIFO history, an oldpath is enough
lostd [Thu, 23 Oct 2014 15:10:45 +0000 (18:10 +0300)]
Get rid of the LIFO history, an oldpath is enough

10 years agoIf you call makepath() with an absolute name it returns a copy of it
lostd [Thu, 23 Oct 2014 14:53:26 +0000 (17:53 +0300)]
If you call makepath() with an absolute name it returns a copy of it

10 years agoDon't attempt to go back if on the relative root
lostd [Thu, 23 Oct 2014 14:39:39 +0000 (17:39 +0300)]
Don't attempt to go back if on the relative root

10 years agoOnly use chdir(3) just before spawning a shell
lostd [Thu, 23 Oct 2014 14:37:12 +0000 (17:37 +0300)]
Only use chdir(3) just before spawning a shell

10 years agoTry to open file to see access errors on the status bar
lostd [Wed, 22 Oct 2014 21:31:45 +0000 (00:31 +0300)]
Try to open file to see access errors on the status bar

10 years agoCreate test files and directories
lostd [Wed, 22 Oct 2014 21:12:57 +0000 (00:12 +0300)]
Create test files and directories

10 years agoOnly free history path if it is valid
lostd [Wed, 22 Oct 2014 19:32:45 +0000 (22:32 +0300)]
Only free history path if it is valid

10 years agoStrip trailing whitespace
lostd [Wed, 22 Oct 2014 19:12:09 +0000 (22:12 +0300)]
Strip trailing whitespace

10 years agoKeep history based on paths instead of positions
lostd [Wed, 22 Oct 2014 18:05:59 +0000 (21:05 +0300)]
Keep history based on paths instead of positions

10 years agorealloc() behaves like free() if size is 0
sin [Wed, 22 Oct 2014 16:57:59 +0000 (17:57 +0100)]
realloc() behaves like free() if size is 0

10 years agoManpage reword
sin [Wed, 22 Oct 2014 16:43:55 +0000 (17:43 +0100)]
Manpage reword

10 years agoSome systems define this already.
sin [Wed, 22 Oct 2014 16:41:16 +0000 (17:41 +0100)]
Some systems define this already.

10 years agoStyle fix
sin [Wed, 22 Oct 2014 16:31:08 +0000 (17:31 +0100)]
Style fix

10 years agoCall dentfree() when we quit
sin [Wed, 22 Oct 2014 16:28:27 +0000 (17:28 +0100)]
Call dentfree() when we quit

10 years agoRename testopendir() to canopendir()
sin [Wed, 22 Oct 2014 16:26:35 +0000 (17:26 +0100)]
Rename testopendir() to canopendir()

10 years agoTest if we can back out/enter directories
sin [Wed, 22 Oct 2014 16:25:25 +0000 (17:25 +0100)]
Test if we can back out/enter directories

10 years agoAdd pushhist(), pophist() and forgethist()
sin [Wed, 22 Oct 2014 16:07:04 +0000 (17:07 +0100)]
Add pushhist(), pophist() and forgethist()

10 years agoSave one level of indentation
sin [Wed, 22 Oct 2014 15:56:31 +0000 (16:56 +0100)]
Save one level of indentation

10 years agoVertical spacing fixes
sin [Wed, 22 Oct 2014 15:55:26 +0000 (16:55 +0100)]
Vertical spacing fixes

10 years agoSave one level of indentation
sin [Wed, 22 Oct 2014 15:53:38 +0000 (16:53 +0100)]
Save one level of indentation

10 years agoUse fstatat() wherever possible
sin [Wed, 22 Oct 2014 15:50:30 +0000 (16:50 +0100)]
Use fstatat() wherever possible

10 years agoInitialize `n' and `dents'
sin [Wed, 22 Oct 2014 15:33:59 +0000 (16:33 +0100)]
Initialize `n' and `dents'

10 years agoCheck getch() against ERR
sin [Wed, 22 Oct 2014 15:30:27 +0000 (16:30 +0100)]
Check getch() against ERR

10 years agoRemember to set dents to NULL
sin [Wed, 22 Oct 2014 15:28:23 +0000 (16:28 +0100)]
Remember to set dents to NULL

10 years agoInclude sys/wait.h for waitpid()
sin [Wed, 22 Oct 2014 15:27:08 +0000 (16:27 +0100)]
Include sys/wait.h for waitpid()

10 years agoRemove unused vars
sin [Wed, 22 Oct 2014 15:25:59 +0000 (16:25 +0100)]
Remove unused vars

10 years agoJust let the commands show up
lostd [Wed, 22 Oct 2014 15:24:05 +0000 (18:24 +0300)]
Just let the commands show up

10 years agoAdd dentfill() and dentfree()
sin [Wed, 22 Oct 2014 15:21:50 +0000 (16:21 +0100)]
Add dentfill() and dentfree()

10 years agoFunctions for setting and clearing the prompt
lostd [Wed, 22 Oct 2014 14:54:13 +0000 (17:54 +0300)]
Functions for setting and clearing the prompt

10 years agoMore accurate description
lostd [Wed, 22 Oct 2014 14:27:53 +0000 (17:27 +0300)]
More accurate description

10 years agoFree tmp string if dirname fails
lostd [Wed, 22 Oct 2014 14:21:53 +0000 (17:21 +0300)]
Free tmp string if dirname fails

10 years agoNo need for a temporary buffer
sin [Wed, 22 Oct 2014 14:14:33 +0000 (15:14 +0100)]
No need for a temporary buffer

xdirname() uses xstrdup() internally so we are safe to use that
pointer directly.

10 years agoOnly free() after xstrdup()
sin [Wed, 22 Oct 2014 14:05:14 +0000 (15:05 +0100)]
Only free() after xstrdup()

10 years agoAdd a KNOWN ISSUES sections
sin [Wed, 22 Oct 2014 13:59:15 +0000 (14:59 +0100)]
Add a KNOWN ISSUES sections

10 years agoAdd xdirname() again and give dirname(3) another chance
lostd [Wed, 22 Oct 2014 14:02:15 +0000 (17:02 +0300)]
Add xdirname() again and give dirname(3) another chance

10 years agoRemove xdirname()
sin [Wed, 22 Oct 2014 13:44:16 +0000 (14:44 +0100)]
Remove xdirname()

dirname(3) should be shot to death.

10 years agoUse stat() instead of open() + fstat()
sin [Wed, 22 Oct 2014 13:33:00 +0000 (14:33 +0100)]
Use stat() instead of open() + fstat()

10 years agoForget all history on manual dir change
lostd [Wed, 22 Oct 2014 13:26:58 +0000 (16:26 +0300)]
Forget all history on manual dir change

10 years agoAdd section on history
sin [Wed, 22 Oct 2014 13:28:47 +0000 (14:28 +0100)]
Add section on history

10 years agoAdd xdirname() to avoid quirks with dirname(3)
sin [Wed, 22 Oct 2014 13:22:55 +0000 (14:22 +0100)]
Add xdirname() to avoid quirks with dirname(3)

10 years agoNo need to manually strip trailing slashes
sin [Wed, 22 Oct 2014 13:18:15 +0000 (14:18 +0100)]
No need to manually strip trailing slashes

We use realpath() now.

10 years agoAdd xstrdup() and xrealpath()
sin [Wed, 22 Oct 2014 13:15:27 +0000 (14:15 +0100)]
Add xstrdup() and xrealpath()

10 years agoAdd xmalloc() + xrealloc()
sin [Wed, 22 Oct 2014 13:10:04 +0000 (14:10 +0100)]
Add xmalloc() + xrealloc()

10 years agoprinterr() should print to stderr
sin [Wed, 22 Oct 2014 13:08:16 +0000 (14:08 +0100)]
printerr() should print to stderr

10 years agoUpdate manpage wording
sin [Wed, 22 Oct 2014 12:57:24 +0000 (13:57 +0100)]
Update manpage wording

10 years agoUpdate keybind list
sin [Wed, 22 Oct 2014 12:55:10 +0000 (13:55 +0100)]
Update keybind list

10 years agoClarify filter semantics when executed as root
sin [Wed, 22 Oct 2014 12:28:00 +0000 (13:28 +0100)]
Clarify filter semantics when executed as root

10 years agoRemove duplicate info from README
sin [Wed, 22 Oct 2014 12:24:35 +0000 (13:24 +0100)]
Remove duplicate info from README

It is a pain to maintain both the README and the manpage.

10 years agoFix manpage
sin [Wed, 22 Oct 2014 11:57:22 +0000 (12:57 +0100)]
Fix manpage

.Bl needs a matching .El

10 years agoRemove TODO
sin [Wed, 22 Oct 2014 11:53:02 +0000 (12:53 +0100)]
Remove TODO

10 years agoAdd manpage
sin [Wed, 22 Oct 2014 11:52:45 +0000 (12:52 +0100)]
Add manpage

10 years agoStill use some of the implicit magic
lostd [Tue, 21 Oct 2014 19:58:46 +0000 (22:58 +0300)]
Still use some of the implicit magic

10 years agoUse double spacing on sentence start, smaller text width, style
lostd [Tue, 21 Oct 2014 17:42:01 +0000 (20:42 +0300)]
Use double spacing on sentence start, smaller text width, style

10 years agoAdd install/uninstall targets
sin [Tue, 21 Oct 2014 15:52:40 +0000 (16:52 +0100)]
Add install/uninstall targets

10 years agoUpdate outdated comment
sin [Tue, 21 Oct 2014 15:34:31 +0000 (16:34 +0100)]
Update outdated comment

10 years agoFix typo
sin [Tue, 21 Oct 2014 15:27:46 +0000 (16:27 +0100)]
Fix typo

10 years agoExplain filters a bit more
sin [Tue, 21 Oct 2014 15:24:08 +0000 (16:24 +0100)]
Explain filters a bit more

10 years agoAlways use realpath() and properly chdir() so relative changes via 'c' work
sin [Tue, 21 Oct 2014 14:52:59 +0000 (15:52 +0100)]
Always use realpath() and properly chdir() so relative changes via 'c' work

10 years agoAdd '*' suffix to executables
sin [Tue, 21 Oct 2014 14:36:23 +0000 (15:36 +0100)]
Add '*' suffix to executables

10 years agoUpdate README
sin [Tue, 21 Oct 2014 14:32:49 +0000 (15:32 +0100)]
Update README

10 years agoFix segfault in readln()
sin [Tue, 21 Oct 2014 14:29:35 +0000 (15:29 +0100)]
Fix segfault in readln()

This could be reproduced simply by doing: [TAB] and backspacing
a few times.

10 years agoNo need to strdup()
sin [Tue, 21 Oct 2014 14:17:44 +0000 (15:17 +0100)]
No need to strdup()

10 years agoAdd 'c' command to change into a destination directory by typing the path
sin [Tue, 21 Oct 2014 14:13:21 +0000 (15:13 +0100)]
Add 'c' command to change into a destination directory by typing the path

10 years agoAdd missing break
sin [Tue, 21 Oct 2014 13:57:09 +0000 (14:57 +0100)]
Add missing break

10 years agomore typo and grammar fixes for README
Alex-P. Natsios [Tue, 21 Oct 2014 13:50:27 +0000 (16:50 +0300)]
more typo and grammar fixes for README

10 years agoAdd SEL_SH and bring out spawning of the shell in the main loop
sin [Tue, 21 Oct 2014 13:54:32 +0000 (14:54 +0100)]
Add SEL_SH and bring out spawning of the shell in the main loop

10 years agoAdd comment about less(1)
sin [Tue, 21 Oct 2014 13:34:06 +0000 (14:34 +0100)]
Add comment about less(1)

10 years agoFix typo in README
sin [Tue, 21 Oct 2014 13:27:38 +0000 (14:27 +0100)]
Fix typo in README

10 years agoREADME contributed by z3bra
sin [Tue, 21 Oct 2014 13:25:33 +0000 (14:25 +0100)]
README contributed by z3bra

10 years agoAdd '!' command to spawn a shell in cwd
sin [Tue, 21 Oct 2014 13:21:00 +0000 (14:21 +0100)]
Add '!' command to spawn a shell in cwd

10 years agoAdd flac to default associations
sin [Tue, 21 Oct 2014 11:07:20 +0000 (12:07 +0100)]
Add flac to default associations

10 years agoShow hidden files if run as root
sin [Tue, 21 Oct 2014 11:03:53 +0000 (12:03 +0100)]
Show hidden files if run as root

10 years agoInclude util.h and remove ifdef for Linux
sin [Tue, 21 Oct 2014 10:37:34 +0000 (11:37 +0100)]
Include util.h and remove ifdef for Linux

10 years agoRemove unused global variable
sin [Tue, 21 Oct 2014 10:35:57 +0000 (11:35 +0100)]
Remove unused global variable

10 years agoMove some more config params to config.def.h
sin [Tue, 21 Oct 2014 10:35:08 +0000 (11:35 +0100)]
Move some more config params to config.def.h

10 years agoDefault to cwd if not argument is provided
sin [Tue, 21 Oct 2014 10:29:41 +0000 (11:29 +0100)]
Default to cwd if not argument is provided

10 years agoAnd CPPFLAGS
sin [Tue, 21 Oct 2014 10:23:37 +0000 (11:23 +0100)]
And CPPFLAGS

10 years agoUse CFLAGS too
sin [Tue, 21 Oct 2014 10:21:50 +0000 (11:21 +0100)]
Use CFLAGS too

10 years agoForce rebuild of noice.o if queue.h is modified
sin [Tue, 21 Oct 2014 10:17:59 +0000 (11:17 +0100)]
Force rebuild of noice.o if queue.h is modified

10 years agoAdd config.def.h
sin [Tue, 21 Oct 2014 10:15:27 +0000 (11:15 +0100)]
Add config.def.h

10 years agoAdd strlcpy()
sin [Tue, 21 Oct 2014 10:08:57 +0000 (11:08 +0100)]
Add strlcpy()

10 years agoProperly wait for processes to terminate
lostd [Mon, 13 Oct 2014 07:22:05 +0000 (10:22 +0300)]
Properly wait for processes to terminate

10 years agoThose features are there
lostd [Fri, 10 Oct 2014 13:57:13 +0000 (16:57 +0300)]
Those features are there

10 years agoRemember cursor position when going back
lostd [Fri, 10 Oct 2014 13:55:06 +0000 (16:55 +0300)]
Remember cursor position when going back

10 years agoFaster movement key bindings
lostd [Fri, 10 Oct 2014 12:46:13 +0000 (15:46 +0300)]
Faster movement key bindings

10 years agoLet filter errors show up in status line
lostd [Fri, 10 Oct 2014 12:13:13 +0000 (15:13 +0300)]
Let filter errors show up in status line

10 years agoAnother leak in the wall
lostd [Fri, 10 Oct 2014 12:02:26 +0000 (15:02 +0300)]
Another leak in the wall

10 years agoConsistent comments capitalization
lostd [Fri, 10 Oct 2014 11:59:30 +0000 (14:59 +0300)]
Consistent comments capitalization

10 years agoChange default associations
lostd [Fri, 10 Oct 2014 11:57:02 +0000 (14:57 +0300)]
Change default associations

10 years agoThe dirp should be initialized here
lostd [Fri, 10 Oct 2014 10:24:19 +0000 (13:24 +0300)]
The dirp should be initialized here

10 years agoAnother part that needs special handling for root
lostd [Fri, 10 Oct 2014 10:22:18 +0000 (13:22 +0300)]
Another part that needs special handling for root

10 years agoHandle the root path case correctly
lostd [Fri, 10 Oct 2014 10:14:55 +0000 (13:14 +0300)]
Handle the root path case correctly