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

10 years agoOnly closedir when dirp is valid
sin [Fri, 10 Oct 2014 09:12:01 +0000 (10:12 +0100)]
Only closedir when dirp is valid

10 years agoCursor stack item
lostd [Fri, 10 Oct 2014 07:31:57 +0000 (10:31 +0300)]
Cursor stack item

10 years agoAlso release filter memory
lostd [Fri, 10 Oct 2014 07:11:50 +0000 (10:11 +0300)]
Also release filter memory

10 years agoDefine return codes for nextsel() and use a switch
lostd [Fri, 10 Oct 2014 07:06:31 +0000 (10:06 +0300)]
Define return codes for nextsel() and use a switch

10 years agoReset to initial filter on directory change
lostd [Fri, 10 Oct 2014 06:50:46 +0000 (09:50 +0300)]
Reset to initial filter on directory change

10 years agoSearch filter support with a very basic readline
lostd [Thu, 9 Oct 2014 22:35:47 +0000 (01:35 +0300)]
Search filter support with a very basic readline

10 years agoAdd emacs-like keybinds for next/prev entry selection
sin [Thu, 9 Oct 2014 14:54:07 +0000 (15:54 +0100)]
Add emacs-like keybinds for next/prev entry selection

10 years agoAdd license and todo files
lostd [Thu, 9 Oct 2014 14:43:31 +0000 (17:43 +0300)]
Add license and todo files

10 years agoAdd support a default association
sin [Thu, 9 Oct 2014 14:23:16 +0000 (15:23 +0100)]
Add support a default association

10 years agoPrinting and line wrapping in a function, show dirs and links
lostd [Thu, 9 Oct 2014 14:07:21 +0000 (17:07 +0300)]
Printing and line wrapping in a function, show dirs and links

10 years agoUse our own entry struct instead of dirent
lostd [Thu, 9 Oct 2014 13:23:12 +0000 (16:23 +0300)]
Use our own entry struct instead of dirent

10 years agoAdd regex support
sin [Thu, 9 Oct 2014 09:33:49 +0000 (10:33 +0100)]
Add regex support

10 years agoComment on dirents deep copy
lostd [Wed, 8 Oct 2014 19:55:44 +0000 (22:55 +0300)]
Comment on dirents deep copy

10 years agoStrip redundant spaces
lostd [Wed, 8 Oct 2014 15:39:07 +0000 (18:39 +0300)]
Strip redundant spaces

10 years agoMove debug print after return value check
lostd [Wed, 8 Oct 2014 15:37:55 +0000 (18:37 +0300)]
Move debug print after return value check

10 years agoUse open(2)/fstat(2) and don't bother with links at all
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

10 years agoUse asprintf(3) and avoid manual allocation
lostd [Wed, 8 Oct 2014 14:59:35 +0000 (17:59 +0300)]
Use asprintf(3) and avoid manual allocation

10 years agoKeep local copies of dir entries, just keeping pointers was a bug
lostd [Wed, 8 Oct 2014 12:50:39 +0000 (15:50 +0300)]
Keep local copies of dir entries, just keeping pointers was a bug

10 years agoFix memory leaks
lostd [Wed, 8 Oct 2014 12:27:46 +0000 (15:27 +0300)]
Fix memory leaks

10 years agoAvoid sprintf(3) and use snprintf(3) instead
lostd [Wed, 8 Oct 2014 12:14:11 +0000 (15:14 +0300)]
Avoid sprintf(3) and use snprintf(3) instead

10 years agoChange string copies to use strlcpy(3)
lostd [Wed, 8 Oct 2014 12:08:29 +0000 (15:08 +0300)]
Change string copies to use strlcpy(3)

10 years agoNo need for strncmp(3), use strcmp(3) instead
lostd [Wed, 8 Oct 2014 11:57:22 +0000 (14:57 +0300)]
No need for strncmp(3), use strcmp(3) instead

10 years agoShell scripts may be useful
lostd [Wed, 8 Oct 2014 08:43:11 +0000 (11:43 +0300)]
Shell scripts may be useful

10 years agoUse dprintf(3) for debugging
lostd [Wed, 8 Oct 2014 08:36:17 +0000 (11:36 +0300)]
Use dprintf(3) for debugging

10 years agoSupport symbolic links and fix message reporting
lostd [Wed, 8 Oct 2014 07:52:44 +0000 (10:52 +0300)]
Support symbolic links and fix message reporting

10 years agoComment on the multiple slashes handling logic
lostd [Tue, 7 Oct 2014 18:02:58 +0000 (21:02 +0300)]
Comment on the multiple slashes handling logic

10 years agoBe consistent on exiting curses mode
lostd [Tue, 7 Oct 2014 17:59:41 +0000 (20:59 +0300)]
Be consistent on exiting curses mode

10 years agoReorder configuration stuff
lostd [Tue, 7 Oct 2014 15:36:29 +0000 (15:36 +0000)]
Reorder configuration stuff

10 years agoGet layout comment in sync
lostd [Tue, 7 Oct 2014 14:55:14 +0000 (14:55 +0000)]
Get layout comment in sync

10 years agoRework messages and errno warnings
lostd [Tue, 7 Oct 2014 14:47:35 +0000 (14:47 +0000)]
Rework messages and errno warnings

10 years agoSimplify associations and handle README files
lostd [Tue, 7 Oct 2014 14:32:03 +0000 (14:32 +0000)]
Simplify associations and handle README files

10 years agoFix the empty dir bug
lostd [Tue, 7 Oct 2014 14:07:56 +0000 (14:07 +0000)]
Fix the empty dir bug

10 years agoTake care of line wrapping and odd number of lines
lostd [Tue, 7 Oct 2014 14:00:25 +0000 (14:00 +0000)]
Take care of line wrapping and odd number of lines

10 years agoExit curses mode while programs run
lostd [Tue, 7 Oct 2014 11:37:23 +0000 (11:37 +0000)]
Exit curses mode while programs run

10 years agoInclude lines calculation in redraw
lostd [Tue, 7 Oct 2014 11:23:44 +0000 (11:23 +0000)]
Include lines calculation in redraw

10 years agoScrolling listing and dirname handling
lostd [Tue, 7 Oct 2014 06:49:46 +0000 (06:49 +0000)]
Scrolling listing and dirname handling

10 years agoAdd the noice file browser
lostd [Tue, 7 Oct 2014 06:05:30 +0000 (06:05 +0000)]
Add the noice file browser