- 21 Dec, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
If the marked region ends at the start of a line, do not include that line in the indenting/undenting or commenting/uncommenting. This is closer to what the eye would expect.
-
Benno Schulenberg authored
-
- 21 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
The pointer not being NULL is enough indication that the mark is set. Also, rename the pointer from 'mark_begin' to simply 'mark', since the former is kind of pleonastic.
-
- 20 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
While doing that, move the affected function to the utils.c file and tweak it a bit. This fixes https://savannah.gnu.org/bugs/?52468.
-
- 12 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 11 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 07 Nov, 2017 2 commits
-
-
Benno Schulenberg authored
Also, diversify them, and no longer mark them for translation.
-
David Lawrence Ramsey authored
Also, properly refer to numreplaced as signed, since it's ssize_t (even though it's only shown when positive).
-
- 04 Nov, 2017 1 commit
-
-
Simon Ochsenreither authored
When not finding a .nanorc file in the user's home directory, nano will look for a nanorc file in $XDG_CONFIG_HOME and in the ~/.config/nano/ fallback directory. And when not finding a .nano/ subdir in the user's home directory, nano will look for (or create) the history files in $XDG_DATA_HOME or in the ~/.local/share/nano/ fallback directory. This is a partial implementation of the XDG Base Directory Specification: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html , for the purpose of reducing the clutter in a user's home directory, and to make it easier to back up just the configuration files. Signed-off-by:
Simon Ochsenreither <simon@ochsenreither.de> Signed-off-by:
Benno Schulenberg <bensberg@telfort.nl>
-
- 31 Oct, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 22 Sep, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 06 Aug, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Without them, nano still compiles for me, with everything enabled, even when using --enable-debug, --enable-utf8, and --with-slang.
-
- 16 May, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 07 May, 2017 1 commit
-
-
David Lawrence Ramsey authored
Add missing spaces, remove excess spaces, and replace groups of indentation spaces with tabs.
-
- 05 May, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 30 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
Searching for an empty string should be impossible, it should never happen, but it is bit too hard to verify this at the moment.
-
- 25 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
And in the process transform the token DISABLE_HELP to ENABLE_HELP.
-
- 19 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
Call something a buffer when it refers to a linked list of linestructs, and call something a linestruct when it is a struct that describes a single line.
-
- 10 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
Replace them by a single subtraction.
-
- 09 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
The interval 2013-2017 for the Free Software Foundation is valid because in those years there were releases with changes by either Chris or David, and the GNU maintainers guide advises to mention a new year in all files of a package, not just in the ones that actually changed, and be done with it for the rest of the year.
-
- 04 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
Verify at startup that the number is not too small.
-
- 22 Mar, 2017 1 commit
-
-
David Lawrence Ramsey authored
In softwrap mode, nano doesn't horizontally scroll lines at all, so in this case get_page_start() should always return zero.
-
- 06 Mar, 2017 3 commits
-
-
Mike Frysinger authored
Windows doesn't have *nix style account databases.
-
Mike Frysinger authored
Now that we pull in the gnulib regex module, we can assume it exists.
-
Mike Frysinger authored
Switch over to gnulib for these.
-
- 24 Feb, 2017 1 commit
-
-
Benno Schulenberg authored
Give the strlenpt() routine its own implementation, so that it avoids a needless comparison plus subtraction in the inner loop.
-
- 12 Feb, 2017 1 commit
-
-
David Lawrence Ramsey authored
These two functions unnecessarily copy make_new_node(); use that instead.
-
- 26 Jan, 2017 1 commit
-
-
Benno Schulenberg authored
That is: remove the special treatment of BOW anchors, and instead make regexes match against the whole line instead of against an artificially shortened one, because the latter method creates ghost matches: matches at the starting point of the search that aren't really matches when seen in the context of the whole line. This fixes https://savannah.gnu.org/bugs/?50030.
-
- 19 Jan, 2017 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?50028.
-
- 17 Jan, 2017 1 commit
-
-
Benno Schulenberg authored
A search should start at the place of the cursor, not one step beyond, so that the non-word boundary between the current character and the next will be found. Starting one step beyond the current character, as was done until now, would find the non-word boundary between the next and the overnext character as the first one.
-
- 11 Jan, 2017 1 commit
-
-
Benno Schulenberg authored
What is the point of parsing a number when you're not interested in the result? All callers of parse_num() pass a container for it.
-
- 26 Dec, 2016 3 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?49933.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 18 Dec, 2016 1 commit
-
-
Benno Schulenberg authored
It doesn't align anything -- any allocations are already aligned to whatever multiple is required -- it just shrinks the allocated space.
-
- 15 Dec, 2016 2 commits
-
-
Benno Schulenberg authored
Nano would crash straight afterward if any of these asserts would fail, so they don't add anything. A few others are simply superfluous.
-
Benno Schulenberg authored
-