]>
git.wh0rd.org Git - nano.git/log
Benno Schulenberg [Sat, 18 Jul 2015 07:34:27 +0000 (07:34 +0000)]
Looking for a new start only after an end,
instead of right after the last start.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5307
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 17 Jul 2015 21:11:32 +0000 (21:11 +0000)]
Avoiding an unfounded warning about a possibly uninitialized variable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5306
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 17 Jul 2015 21:06:46 +0000 (21:06 +0000)]
Removing an earlier attempt at making M-W work at startup.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5305
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 17 Jul 2015 20:40:44 +0000 (20:40 +0000)]
Verifying that a named and existing file is a normal file, to avoid
opening an empty buffer when the name of a directory is specified.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5304
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 17 Jul 2015 19:38:22 +0000 (19:38 +0000)]
Using the proper type (off_t) for the size of a file,
and avoiding warnings about too large bit shifts.
Patch by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5303
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 15 Jul 2015 20:21:15 +0000 (20:21 +0000)]
Fixing a quote. (Found this with my default syntax colouring.)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5302
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 15 Jul 2015 20:13:05 +0000 (20:13 +0000)]
Renaming the 'menu' item to 'menus' in the shortcut struct.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5301
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 15 Jul 2015 19:50:55 +0000 (19:50 +0000)]
Unabbreviating the long option --poslog to --positionlog.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5300
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 15 Jul 2015 19:40:37 +0000 (19:40 +0000)]
Unabbreviating the long option --const to --constantshow.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5299
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 13 Jul 2015 18:04:05 +0000 (18:04 +0000)]
Preventing a segfault when spellchecking a marked region
and nonewlines isn't set.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5298
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 13 Jul 2015 17:57:58 +0000 (17:57 +0000)]
(Putting in the original patch, from before I got overzealous.)
Removing an unneeded condition -- 'added_magicline' can only be
true when NO_NEWLINES isn't.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5297
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 13 Jul 2015 05:32:17 +0000 (05:32 +0000)]
Arh! I tested that without actually making any spell correction.
That wasn't very clever.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5296
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 12 Jul 2015 19:31:08 +0000 (19:31 +0000)]
Removing a stray space from a statusbar message.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5295
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 12 Jul 2015 19:27:26 +0000 (19:27 +0000)]
Renaming the variable 'totsize_save' to 'size_of_surrounding',
to better describe what it contains.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5294
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 12 Jul 2015 19:20:46 +0000 (19:20 +0000)]
Removing the variable 'added_magicline', as it will always be FALSE
and thus will never cause anything to be done.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5293
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 17:49:30 +0000 (17:49 +0000)]
Rearranging a few lines plus some whitespace.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5292
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 17:42:32 +0000 (17:42 +0000)]
Removing two lines of dead code.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5291
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 17:25:51 +0000 (17:25 +0000)]
Unwrapping some lines and rewrapping some others in a more congenial manner;
tweaking some comments and whitespace and braces.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5290
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 16:00:12 +0000 (16:00 +0000)]
Eliding an unneeded variable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5289
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 15:57:49 +0000 (15:57 +0000)]
Renaming a variable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5288
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 10 Jul 2015 15:54:06 +0000 (15:54 +0000)]
Plugging a small memory leak.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5287
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 6 Jul 2015 19:17:27 +0000 (19:17 +0000)]
Adjusting whitespace and bracings after the previous changes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5286
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 6 Jul 2015 19:08:13 +0000 (19:08 +0000)]
Not removing and then re-adding the magic line when a Backspace happens
at the end-of-file; just adding a token undo item to be able to put the
cursor back at the very tail of the file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5285
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 6 Jul 2015 18:48:15 +0000 (18:48 +0000)]
Moving the check for a Delete at the end-of-file to a less frequently
travelled code path.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5284
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 6 Jul 2015 18:03:14 +0000 (18:03 +0000)]
Making it more transparent what WAS_FINAL_BACKSPACE does.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5283
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 6 Jul 2015 17:51:17 +0000 (17:51 +0000)]
Giving each toggle a sequence number, to be able to show them in a fixed order.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5282
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 5 Jul 2015 08:06:40 +0000 (08:06 +0000)]
move trunk to 2.5 branch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5281
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 5 Jul 2015 08:04:53 +0000 (08:04 +0000)]
Type in NEWS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5280
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 5 Jul 2015 07:51:55 +0000 (07:51 +0000)]
GNU nano 2.4.2 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5277
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 28 Jun 2015 18:15:41 +0000 (18:15 +0000)]
Recognizing several more kinds of XML files.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5276
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 28 Jun 2015 14:12:25 +0000 (14:12 +0000)]
Unwrapping some lines, rewrapping some others more logically,
plus several other esthetic tweaks.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5275
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 28 Jun 2015 14:04:03 +0000 (14:04 +0000)]
Not checking again for a condition that was checked before.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5274
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 28 Jun 2015 06:32:56 +0000 (06:32 +0000)]
Limiting the selected file to the available ones in the list.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5273
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 27 Jun 2015 15:58:20 +0000 (15:58 +0000)]
Removing a duplicate binding of ^T, to prevent it being shown twice.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5272
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 27 Jun 2015 15:47:39 +0000 (15:47 +0000)]
Removing the obsolete execute flag from the shortcut struct.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5271
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 27 Jun 2015 15:10:58 +0000 (15:10 +0000)]
Normalizing the whitespace and some comments in src/files.c.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5270
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 27 Jun 2015 15:03:45 +0000 (15:03 +0000)]
Forgetting the case of an empty filename for replace_buffer(),
and not bothering to put the pointer at the top.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5269
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 27 Jun 2015 09:27:19 +0000 (09:27 +0000)]
Renaming three flags for clarity.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5268
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 27 Jun 2015 09:17:36 +0000 (09:17 +0000)]
Skipping the undo of a backspace *only* when it really
tried to delete the final, magic newline.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5267
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 23 Jun 2015 18:06:30 +0000 (18:06 +0000)]
Verifying that there exists multidata for the found starting line
before trying to use this multidata -- when a file is inserted, all
its lines will not have any multidata associated with them.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5266
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Jun 2015 18:48:43 +0000 (18:48 +0000)]
Removing the obsolete long option --undo, and sorting some things.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5265
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Jun 2015 12:53:27 +0000 (12:53 +0000)]
Adding a bug reference.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5264
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Jun 2015 09:42:26 +0000 (09:42 +0000)]
Reverting the last commit, as it is making things worse:
backspacing at the tail of the file no longer has any efffect.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5263
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Jun 2015 09:00:22 +0000 (09:00 +0000)]
Not deleting the magic line, instead of removing and then re-adding it.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5262
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Jun 2015 08:44:31 +0000 (08:44 +0000)]
Stopping the changed-files colour from spilling beyond an empty line.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5261
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Jun 2015 08:31:27 +0000 (08:31 +0000)]
Colouring key-binding lines in a nanorc file affirmatively
only when the specified menu name is an existing one.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5260
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Jun 2015 08:21:35 +0000 (08:21 +0000)]
Keeping homedir NULL when no home directory could be determined,
so that nano will show a message about it.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5259
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 20 Jun 2015 08:10:25 +0000 (08:10 +0000)]
Making M-W work also right after startup.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5258
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 18 Jun 2015 19:07:56 +0000 (19:07 +0000)]
Deleting two unused things, and adding two comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5257
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 18 Jun 2015 18:51:27 +0000 (18:51 +0000)]
Allowing a tiny nano to enable search and position histories.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5256
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 17 Jun 2015 15:17:09 +0000 (15:17 +0000)]
Improving the visibility of the undo-related debugging messages.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5255
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 17 Jun 2015 11:18:20 +0000 (11:18 +0000)]
Renaming the parameter 'current_action' to 'action',
in order to match the other functions.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5254
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 17 Jun 2015 11:12:42 +0000 (11:12 +0000)]
Oops! Misplaced a closing parenthesis.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5253
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 17 Jun 2015 10:59:16 +0000 (10:59 +0000)]
Eliding an unneeded variable and correcting two comments.
And putting the more frequent condition first.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5252
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 17 Jun 2015 10:47:00 +0000 (10:47 +0000)]
Adjusting whitespace after the previous change.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5251
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 17 Jun 2015 10:41:57 +0000 (10:41 +0000)]
Preventing the addition of an extra newline when undoing a Backspace or Delete
at the tail of the file while nonewlines is not set.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5250
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 14 Jun 2015 19:14:41 +0000 (19:14 +0000)]
Not checking for non-NULL before freeing a variable, as it's unnecessary.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5249
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 14 Jun 2015 18:06:36 +0000 (18:06 +0000)]
Not bothering to look for any starting matches on the current line
when the whole line has already been coloured.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5248
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 14 Jun 2015 17:56:44 +0000 (17:56 +0000)]
Skipping to the next step when a found start has been qualified as
an end earlier. This helps with Python's triple-quoted strings.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5247
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 14 Jun 2015 15:58:57 +0000 (15:58 +0000)]
Adding some debugging code to track which multidata codes get assigned.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5246
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 11 Jun 2015 19:01:28 +0000 (19:01 +0000)]
Making it easy to see what codes a key stroke produces when debugging.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5245
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 7 Jun 2015 20:14:41 +0000 (20:14 +0000)]
Adding a section to the man page on the non-obvious functioning of
the cutbuffer and the mark.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5244
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 7 Jun 2015 18:45:34 +0000 (18:45 +0000)]
Clarifying the meaning of the --backupdir option.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5243
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 7 Jun 2015 16:45:09 +0000 (16:45 +0000)]
Improving some formatting, hyphenation, wording and dashes.
And removing some confusing, historical text.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5242
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 7 Jun 2015 10:02:31 +0000 (10:02 +0000)]
Showing the node with the command-line options in the main menu.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5241
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 4 Jun 2015 18:05:27 +0000 (18:05 +0000)]
Adding the post-install and pre-uninstall rules for the Info document,
plus some tweaks. (Patch was tested by Kamil Dudka.)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5240
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 4 Jun 2015 17:59:50 +0000 (17:59 +0000)]
Fixing compilation with --enable-tiny.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5239
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 2 Jun 2015 14:53:48 +0000 (14:53 +0000)]
Requiring again that the triple quote that starts a docstring
is followed by some character.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5238
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 2 Jun 2015 14:35:21 +0000 (14:35 +0000)]
Colouring also an optional option in apt's sources.list on Debian.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5237
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 2 Jun 2015 14:24:19 +0000 (14:24 +0000)]
Tweaking some wordings, adding some missing formatting to the Info document,
and fixing an mdash.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5236
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 31 May 2015 08:45:17 +0000 (08:45 +0000)]
Preventing a floating-point exception when the available length
for an answer becomes zero. The answer will instead wrap to the
next line, which does not look nice but is better than crashing.
Patch by Mahyar Abbaspour.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5235
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 28 May 2015 18:59:41 +0000 (18:59 +0000)]
Ah, fixing name.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5234
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 28 May 2015 18:56:31 +0000 (18:56 +0000)]
Allowing a CD name to contain any character.
Changes were suggested by Dani Moller.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5233
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 28 May 2015 14:56:38 +0000 (14:56 +0000)]
Marking window resizes and better file-type detection as done.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5232
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 28 May 2015 13:51:32 +0000 (13:51 +0000)]
Back to SVN.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5231
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 28 May 2015 13:51:03 +0000 (13:51 +0000)]
Using 'width' instead of hardcoded 16. And doing things in the same order
for all three cases: setting the string and then positioning the cursor.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5230
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 28 May 2015 13:28:37 +0000 (13:28 +0000)]
Normalizing the whitespace after the recent changes in logic.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5229
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 28 May 2015 13:02:29 +0000 (13:02 +0000)]
Handling a SIGWINCH (which signals a change in window size) not when it
happens but only when checking for keyboard input. It now reports the
SIGWINCH via a special key value to the calling routine, to allow not
only the main editor but also the help viewer and the file browser to
adapt their display to the new size.
Patch by Mahyar Abbaspour, somewhat edited by Benno.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5228
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 21 May 2015 07:46:01 +0000 (07:46 +0000)]
Bleh. Adding postgresql to the Makefile.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5227
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 20 May 2015 18:57:18 +0000 (18:57 +0000)]
Adding one file: syntax highlighting for PostgreSQL.
Original file by Devrim Gündüz. (Tweaked by Benno.)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5226
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 8 May 2015 21:11:30 +0000 (21:11 +0000)]
Limiting the number of backup files to one hundred thousand, well
before finding a unused filename takes an annoying amount of time.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5225
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 8 May 2015 19:35:47 +0000 (19:35 +0000)]
Taking the distant possibility of terabyte files into account,
and in the bargain getting rid of the need to calculate the
number of digits in UINT_MAX.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5224
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 3 May 2015 15:47:05 +0000 (15:47 +0000)]
Using character classes correctly.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5223
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 3 May 2015 13:56:51 +0000 (13:56 +0000)]
Adjusting a few comments and line wrappings.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5222
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 3 May 2015 13:25:24 +0000 (13:25 +0000)]
Displaying an ellipsis only when the filename is longer than
the available space, not when it still fits.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5221
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 28 Apr 2015 20:09:40 +0000 (20:09 +0000)]
Unwrapping a bunch of comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5220
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 28 Apr 2015 19:22:11 +0000 (19:22 +0000)]
Improving the colouring of message tags in PO files.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5219
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 28 Apr 2015 19:18:38 +0000 (19:18 +0000)]
Matching the file regex of a syntax against the absolute,
canonical path instead of against the path the user gave.
This fixes Savannah bug #44288, reported by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5218
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 25 Apr 2015 15:47:08 +0000 (15:47 +0000)]
Adding a cross reference.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5217
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 25 Apr 2015 15:26:09 +0000 (15:26 +0000)]
Renaming the parameter 'whole_word' to 'whole_word_only',
because the first sounds too much like "found_whole" to me.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5216
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 25 Apr 2015 15:17:22 +0000 (15:17 +0000)]
Deleting an always-FALSE parameter.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5215
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 25 Apr 2015 14:52:58 +0000 (14:52 +0000)]
Removing the unintended special case for replacing
multiple occurrences of a literal ^ or $.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5214
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 21 Apr 2015 18:47:58 +0000 (18:47 +0000)]
Eliding another tiny function.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5213
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 21 Apr 2015 18:42:11 +0000 (18:42 +0000)]
Initializing the search and replace strings in a central place.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5212
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 21 Apr 2015 17:37:59 +0000 (17:37 +0000)]
Saving and restoring the global flags the short and quick way.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5211
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 21 Apr 2015 17:27:33 +0000 (17:27 +0000)]
Saving the settings of the global case-sens, direction, and regexp flags,
and restoring them on exit.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5210
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 20 Apr 2015 18:01:06 +0000 (18:01 +0000)]
Deleting redundant reprises of a bol/eol regular-expression search.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5209
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 20 Apr 2015 08:35:41 +0000 (08:35 +0000)]
Renaming a function to the simpler 'need_statusbar_update()'
as there is no vertical counterpart.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5208
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 20 Apr 2015 08:16:41 +0000 (08:16 +0000)]
Fusing two identical functions into one: need_screen_update().
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5207
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 18 Apr 2015 20:07:31 +0000 (20:07 +0000)]
Making sure an invalid starting byte of a multibyte sequence is properly
terminated, to prevent the displaying of ghost characters.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5206
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8