]>
Sergey Matveev's repositories - nnn.git/log
sin [Wed, 22 Oct 2014 16:31:08 +0000 (17:31 +0100)]
Style fix
sin [Wed, 22 Oct 2014 16:28:27 +0000 (17:28 +0100)]
Call dentfree() when we quit
sin [Wed, 22 Oct 2014 16:26:35 +0000 (17:26 +0100)]
Rename testopendir() to canopendir()
sin [Wed, 22 Oct 2014 16:25:25 +0000 (17:25 +0100)]
Test if we can back out/enter directories
sin [Wed, 22 Oct 2014 16:07:04 +0000 (17:07 +0100)]
Add pushhist(), pophist() and forgethist()
sin [Wed, 22 Oct 2014 15:56:31 +0000 (16:56 +0100)]
Save one level of indentation
sin [Wed, 22 Oct 2014 15:55:26 +0000 (16:55 +0100)]
Vertical spacing fixes
sin [Wed, 22 Oct 2014 15:53:38 +0000 (16:53 +0100)]
Save one level of indentation
sin [Wed, 22 Oct 2014 15:50:30 +0000 (16:50 +0100)]
Use fstatat() wherever possible
sin [Wed, 22 Oct 2014 15:33:59 +0000 (16:33 +0100)]
Initialize `n' and `dents'
sin [Wed, 22 Oct 2014 15:30:27 +0000 (16:30 +0100)]
Check getch() against ERR
sin [Wed, 22 Oct 2014 15:28:23 +0000 (16:28 +0100)]
Remember to set dents to NULL
sin [Wed, 22 Oct 2014 15:27:08 +0000 (16:27 +0100)]
Include sys/wait.h for waitpid()
sin [Wed, 22 Oct 2014 15:25:59 +0000 (16:25 +0100)]
Remove unused vars
lostd [Wed, 22 Oct 2014 15:24:05 +0000 (18:24 +0300)]
Just let the commands show up
sin [Wed, 22 Oct 2014 15:21:50 +0000 (16:21 +0100)]
Add dentfill() and dentfree()
lostd [Wed, 22 Oct 2014 14:54:13 +0000 (17:54 +0300)]
Functions for setting and clearing the prompt
lostd [Wed, 22 Oct 2014 14:27:53 +0000 (17:27 +0300)]
More accurate description
lostd [Wed, 22 Oct 2014 14:21:53 +0000 (17:21 +0300)]
Free tmp string if dirname fails
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.
sin [Wed, 22 Oct 2014 14:05:14 +0000 (15:05 +0100)]
Only free() after xstrdup()
sin [Wed, 22 Oct 2014 13:59:15 +0000 (14:59 +0100)]
Add a KNOWN ISSUES sections
lostd [Wed, 22 Oct 2014 14:02:15 +0000 (17:02 +0300)]
Add xdirname() again and give dirname(3) another chance
sin [Wed, 22 Oct 2014 13:44:16 +0000 (14:44 +0100)]
Remove xdirname()
dirname(3) should be shot to death.
sin [Wed, 22 Oct 2014 13:33:00 +0000 (14:33 +0100)]
Use stat() instead of open() + fstat()
lostd [Wed, 22 Oct 2014 13:26:58 +0000 (16:26 +0300)]
Forget all history on manual dir change
sin [Wed, 22 Oct 2014 13:28:47 +0000 (14:28 +0100)]
Add section on history
sin [Wed, 22 Oct 2014 13:22:55 +0000 (14:22 +0100)]
Add xdirname() to avoid quirks with dirname(3)
sin [Wed, 22 Oct 2014 13:18:15 +0000 (14:18 +0100)]
No need to manually strip trailing slashes
We use realpath() now.
sin [Wed, 22 Oct 2014 13:15:27 +0000 (14:15 +0100)]
Add xstrdup() and xrealpath()
sin [Wed, 22 Oct 2014 13:10:04 +0000 (14:10 +0100)]
Add xmalloc() + xrealloc()
sin [Wed, 22 Oct 2014 13:08:16 +0000 (14:08 +0100)]
printerr() should print to stderr
sin [Wed, 22 Oct 2014 12:57:24 +0000 (13:57 +0100)]
Update manpage wording
sin [Wed, 22 Oct 2014 12:55:10 +0000 (13:55 +0100)]
Update keybind list
sin [Wed, 22 Oct 2014 12:28:00 +0000 (13:28 +0100)]
Clarify filter semantics when executed as root
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.
sin [Wed, 22 Oct 2014 11:57:22 +0000 (12:57 +0100)]
Fix manpage
.Bl needs a matching .El
sin [Wed, 22 Oct 2014 11:53:02 +0000 (12:53 +0100)]
Remove TODO
sin [Wed, 22 Oct 2014 11:52:45 +0000 (12:52 +0100)]
Add manpage
lostd [Tue, 21 Oct 2014 19:58:46 +0000 (22:58 +0300)]
Still use some of the implicit magic
lostd [Tue, 21 Oct 2014 17:42:01 +0000 (20:42 +0300)]
Use double spacing on sentence start, smaller text width, style
sin [Tue, 21 Oct 2014 15:52:40 +0000 (16:52 +0100)]
Add install/uninstall targets
sin [Tue, 21 Oct 2014 15:34:31 +0000 (16:34 +0100)]
Update outdated comment
sin [Tue, 21 Oct 2014 15:27:46 +0000 (16:27 +0100)]
Fix typo
sin [Tue, 21 Oct 2014 15:24:08 +0000 (16:24 +0100)]
Explain filters a bit more
sin [Tue, 21 Oct 2014 14:52:59 +0000 (15:52 +0100)]
Always use realpath() and properly chdir() so relative changes via 'c' work
sin [Tue, 21 Oct 2014 14:36:23 +0000 (15:36 +0100)]
Add '*' suffix to executables
sin [Tue, 21 Oct 2014 14:32:49 +0000 (15:32 +0100)]
Update README
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.
sin [Tue, 21 Oct 2014 14:17:44 +0000 (15:17 +0100)]
No need to strdup()
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
sin [Tue, 21 Oct 2014 13:57:09 +0000 (14:57 +0100)]
Add missing break
Alex-P. Natsios [Tue, 21 Oct 2014 13:50:27 +0000 (16:50 +0300)]
more typo and grammar fixes for README
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
sin [Tue, 21 Oct 2014 13:34:06 +0000 (14:34 +0100)]
Add comment about less(1)
sin [Tue, 21 Oct 2014 13:27:38 +0000 (14:27 +0100)]
Fix typo in README
sin [Tue, 21 Oct 2014 13:25:33 +0000 (14:25 +0100)]
README contributed by z3bra
sin [Tue, 21 Oct 2014 13:21:00 +0000 (14:21 +0100)]
Add '!' command to spawn a shell in cwd
sin [Tue, 21 Oct 2014 11:07:20 +0000 (12:07 +0100)]
Add flac to default associations
sin [Tue, 21 Oct 2014 11:03:53 +0000 (12:03 +0100)]
Show hidden files if run as root
sin [Tue, 21 Oct 2014 10:37:34 +0000 (11:37 +0100)]
Include util.h and remove ifdef for Linux
sin [Tue, 21 Oct 2014 10:35:57 +0000 (11:35 +0100)]
Remove unused global variable
sin [Tue, 21 Oct 2014 10:35:08 +0000 (11:35 +0100)]
Move some more config params to config.def.h
sin [Tue, 21 Oct 2014 10:29:41 +0000 (11:29 +0100)]
Default to cwd if not argument is provided
sin [Tue, 21 Oct 2014 10:23:37 +0000 (11:23 +0100)]
And CPPFLAGS
sin [Tue, 21 Oct 2014 10:21:50 +0000 (11:21 +0100)]
Use CFLAGS too
sin [Tue, 21 Oct 2014 10:17:59 +0000 (11:17 +0100)]
Force rebuild of noice.o if queue.h is modified
sin [Tue, 21 Oct 2014 10:15:27 +0000 (11:15 +0100)]
Add config.def.h
sin [Tue, 21 Oct 2014 10:08:57 +0000 (11:08 +0100)]
Add strlcpy()
lostd [Mon, 13 Oct 2014 07:22:05 +0000 (10:22 +0300)]
Properly wait for processes to terminate
lostd [Fri, 10 Oct 2014 13:57:13 +0000 (16:57 +0300)]
Those features are there
lostd [Fri, 10 Oct 2014 13:55:06 +0000 (16:55 +0300)]
Remember cursor position when going back
lostd [Fri, 10 Oct 2014 12:46:13 +0000 (15:46 +0300)]
Faster movement key bindings
lostd [Fri, 10 Oct 2014 12:13:13 +0000 (15:13 +0300)]
Let filter errors show up in status line
lostd [Fri, 10 Oct 2014 12:02:26 +0000 (15:02 +0300)]
Another leak in the wall
lostd [Fri, 10 Oct 2014 11:59:30 +0000 (14:59 +0300)]
Consistent comments capitalization
lostd [Fri, 10 Oct 2014 11:57:02 +0000 (14:57 +0300)]
Change default associations
lostd [Fri, 10 Oct 2014 10:24:19 +0000 (13:24 +0300)]
The dirp should be initialized here
lostd [Fri, 10 Oct 2014 10:22:18 +0000 (13:22 +0300)]
Another part that needs special handling for root
lostd [Fri, 10 Oct 2014 10:14:55 +0000 (13:14 +0300)]
Handle the root path case correctly
sin [Fri, 10 Oct 2014 09:12:01 +0000 (10:12 +0100)]
Only closedir when dirp is valid
lostd [Fri, 10 Oct 2014 07:31:57 +0000 (10:31 +0300)]
Cursor stack item
lostd [Fri, 10 Oct 2014 07:11:50 +0000 (10:11 +0300)]
Also release filter memory
lostd [Fri, 10 Oct 2014 07:06:31 +0000 (10:06 +0300)]
Define return codes for nextsel() and use a switch
lostd [Fri, 10 Oct 2014 06:50:46 +0000 (09:50 +0300)]
Reset to initial filter on directory change
lostd [Thu, 9 Oct 2014 22:35:47 +0000 (01:35 +0300)]
Search filter support with a very basic readline
sin [Thu, 9 Oct 2014 14:54:07 +0000 (15:54 +0100)]
Add emacs-like keybinds for next/prev entry selection
lostd [Thu, 9 Oct 2014 14:43:31 +0000 (17:43 +0300)]
Add license and todo files
sin [Thu, 9 Oct 2014 14:23:16 +0000 (15:23 +0100)]
Add support a default association
lostd [Thu, 9 Oct 2014 14:07:21 +0000 (17:07 +0300)]
Printing and line wrapping in a function, show dirs and links
lostd [Thu, 9 Oct 2014 13:23:12 +0000 (16:23 +0300)]
Use our own entry struct instead of dirent
sin [Thu, 9 Oct 2014 09:33:49 +0000 (10:33 +0100)]
Add regex support
lostd [Wed, 8 Oct 2014 19:55:44 +0000 (22:55 +0300)]
Comment on dirents deep copy
lostd [Wed, 8 Oct 2014 15:39:07 +0000 (18:39 +0300)]
Strip redundant spaces
lostd [Wed, 8 Oct 2014 15:37:55 +0000 (18:37 +0300)]
Move debug print after return value check
lostd [Wed, 8 Oct 2014 15:30:39 +0000 (18:30 +0300)]
Use open(2)/fstat(2) and don't bother with links at all
lostd [Wed, 8 Oct 2014 14:59:35 +0000 (17:59 +0300)]
Use asprintf(3) and avoid manual allocation
lostd [Wed, 8 Oct 2014 12:50:39 +0000 (15:50 +0300)]
Keep local copies of dir entries, just keeping pointers was a bug
lostd [Wed, 8 Oct 2014 12:27:46 +0000 (15:27 +0300)]
Fix memory leaks
lostd [Wed, 8 Oct 2014 12:14:11 +0000 (15:14 +0300)]
Avoid sprintf(3) and use snprintf(3) instead