- 15 Aug, 2016 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48520.
-
- 14 Aug, 2016 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48751 reported by Andrew Ho. This also fixes compilation when configured with --enable-tiny.
-
- 12 Aug, 2016 1 commit
-
-
Benno Schulenberg authored
When using the default speller or the formatter, the placewewant is remembered. So it should be remembered too when the user specifies a different speller. (This behavior was inadvertently lost last year, in commit 82d737ee.)
-
- 10 Aug, 2016 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 07 Aug, 2016 8 commits
-
-
Benno Schulenberg authored
If this breaks your build, please send report or instructions or patch.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48711.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Instead be more specific and say that the directory is not writable.
-
Benno Schulenberg authored
-
Rishabh Dave authored
This fixes http://savannah.gnu.org/bugs/?48698 . Signed-off-by:
Rishabh Dave <rishabhddave@gmail.com>
-
Benno Schulenberg authored
It is quicker to do a handful of superfluous compares at the end of each line than it is to compute and keep track of and compare the remaining line length the whole time. The typical line is some sixty characters long, the typical search string ten characters -- with a shorter search string the speedup is even higher: some fifteen percent. Only when the string is longer than half the average line length does searching become slower with this new method. All this for a UTF-8 locale. For a C locale it makes no difference.
-
Benno Schulenberg authored
-
- 06 Aug, 2016 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Now that mbstrncasecmp() does the right thing, there is no need any more to verify that only a valid multibyte sequence was matched. (See https://savannah.gnu.org/bugs/?45579 for a test case.) Also, this will make it possible to search for invalid sequences. (Currently it isn't possible to enter a search string with invalid characters, but... a user might edit the search history file. And if pasting at the prompt is implemented, it will be trivial to enter invalid sequences if you have a file that contains them.)
-
Benno Schulenberg authored
Persisting might lead to count 'n' reaching zero, which would mean that the needle has matched, which is wrong when one of the strings contains an invalid or incomplete multibyte sequence.
-
- 05 Aug, 2016 1 commit
-
-
Benno Schulenberg authored
That is: don't run towlower() on the two differing bytes when having reached the end of one of the strings. This fixes https://savannah.gnu.org/bugs/?48700. In the bargain, don't do the conversion to lowercase twice. Furthermore, persist when encountering invalid byte sequences -- until finding bytes that differ.
-
- 04 Aug, 2016 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The needle is never part of the hay -- it is always a separate string. (And even if needle and haystack were identical, the routine works fine, the case does not need special treatment.)
-
- 03 Aug, 2016 2 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48660 doubly, in case there are other ways in which 'spell' sees words differently from 'nano'.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48660.
-
- 02 Aug, 2016 2 commits
-
-
Benno Schulenberg authored
Straightforward code is more important than the tiniest possible binary. Also adjust some comments and rename a variable.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48675.
-
- 01 Aug, 2016 10 commits
-
-
Benno Schulenberg authored
(It may have been necessary in the past; there is no need for it now.) This fixes https://savannah.gnu.org/bugs/?48633.
-
Benno Schulenberg authored
When doing an <Up> on the top line, or a <Down> on the bottom line of the edit window, the affected lines have already been redrawn by the scrolling code, so there is no need to do that again. (However, that does not prevent the second line (or the last-but-one line) from being redrawn unnecessarily when using the M-- (or M-+) command elsewhere on the screen and /that/ line is horizontally scrolled. But we'll let that pass for now.)
-
Benno Schulenberg authored
-
Benno Schulenberg authored
For horizontal scrolling, it is not the /desired/ column position that is relevant for determining whether a line needs to be redrawn after a cursor movement, but the /actual/ column positions before and after. This fixes https://savannah.gnu.org/bugs/?48627, and fixes https://savannah.gnu.org/bugs/?48629.
-
Benno Schulenberg authored
Having two unneeded parameters in the tiny version is acceptable -- the code gets so much more readable.
-
Benno Schulenberg authored
This addresses https://bugs.debian.org/831636 reported by Christoph Biedl.
-
Benno Schulenberg authored
Leave the rest of any escape sequence to be processed normally, which should be possible because those characters are all in ASCII range. This fixes https://savannah.gnu.org/bugs/?48318.
-
Benno Schulenberg authored
These codes are the basic codes that get assigned for the movement keys in the list of shortcuts -- they don't need any translation.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 31 Jul, 2016 5 commits
-
-
Benno Schulenberg authored
That is a task for the key-getting routine.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-