]>
git.wh0rd.org Git - nano.git/log
Benno Schulenberg [Fri, 18 Dec 2015 18:44:40 +0000 (18:44 +0000)]
Improving some comments and renaming three variables.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5497
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 18 Dec 2015 10:45:35 +0000 (10:45 +0000)]
Adjusting the whitespace after the previous change, and adding a comment.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5496
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 18 Dec 2015 10:41:09 +0000 (10:41 +0000)]
Using a couple less #ifdefs, to mimic how this is done in set_colorpairs().
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5495
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 11 Dec 2015 16:55:07 +0000 (16:55 +0000)]
Adding the missing autoconf and nftables syntaxes to the files to be
distributed.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5494
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 8 Dec 2015 19:09:14 +0000 (19:09 +0000)]
Rewrapping and reordering a few lines.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5493
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 8 Dec 2015 18:54:13 +0000 (18:54 +0000)]
It shouldn't be necessary to doubly check for being at the end of file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5492
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 8 Dec 2015 16:02:05 +0000 (16:02 +0000)]
Letting also unlink_node() update 'filebot', instead of doing it in
four different places. It is not a problem that the history routines
also use these functions, as history nodes will never equal filebot.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5491
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 8 Dec 2015 15:29:56 +0000 (15:29 +0000)]
Making splice_node() update 'filebot', instead of doing it in
four different places.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5490
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 7 Dec 2015 17:05:04 +0000 (17:05 +0000)]
Making ^O always prompt for a filename, also when --tempfile is given.
Users who want an immediate save, can bind the function 'savefile'.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5489
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 7 Dec 2015 15:40:07 +0000 (15:40 +0000)]
Quitting the loop when there is no end match.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5488
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 7 Dec 2015 13:31:38 +0000 (13:31 +0000)]
Fixing whitespace, layout, wording, and typo.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5487
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 6 Dec 2015 05:40:56 +0000 (05:40 +0000)]
Back to SVN
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5486
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 6 Dec 2015 05:27:40 +0000 (05:27 +0000)]
Typo in release announcement
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5485
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 6 Dec 2015 05:24:07 +0000 (05:24 +0000)]
GNU nano 2.5.0 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5483
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Chris Allegretta [Sun, 6 Dec 2015 05:21:43 +0000 (05:21 +0000)]
2015-12-05 Chris Allegretta <chrisa@asty.org>
* src/nano.c (main) : key_defined() is an ncurses-ism. Add
better checks for this.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5482
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 5 Dec 2015 11:38:26 +0000 (11:38 +0000)]
Avoiding two compilation warnings.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5481
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 5 Dec 2015 11:04:24 +0000 (11:04 +0000)]
Updating date and version number for the upcoming release.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5480
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 5 Dec 2015 10:16:26 +0000 (10:16 +0000)]
Fixing compilation with --enable-tiny --enable-justify.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5479
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 4 Dec 2015 21:11:10 +0000 (21:11 +0000)]
Rewrapping some lines and tweaking some comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5478
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 4 Dec 2015 20:54:34 +0000 (20:54 +0000)]
Fusing three functions into a single one.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5477
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 4 Dec 2015 11:01:48 +0000 (11:01 +0000)]
Avoiding a compilation warning.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5476
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 3 Dec 2015 09:34:10 +0000 (09:34 +0000)]
Adding a note to the documentation about undo not working after
a justification or reindentation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5475
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 3 Dec 2015 09:17:06 +0000 (09:17 +0000)]
Discarding the entire undo stack, to prevent nano from making mistakes
when trying to undo edits after an indentation change.
This works around Savannah bug #46591.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5474
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 3 Dec 2015 09:03:45 +0000 (09:03 +0000)]
Discarding the entire undo stack, to prevent nano from dying (or
making mistakes) when trying to undo edits after a justification.
This works around Savannah bug #45531.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5473
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 3 Dec 2015 08:50:34 +0000 (08:50 +0000)]
Moving the trimming of the undo stack into a separate function.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5472
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 3 Dec 2015 08:35:40 +0000 (08:35 +0000)]
A typo fix by David Lawrence Ramsey,
and an accent fix by myself.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5471
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 2 Dec 2015 19:13:06 +0000 (19:13 +0000)]
Oh darn... doing too many things at once.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5470
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 2 Dec 2015 19:11:03 +0000 (19:11 +0000)]
Ehm... that was a silly, superfluous condition.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5469
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 2 Dec 2015 19:03:34 +0000 (19:03 +0000)]
Accepting not just 'Uncut' but also 'Undo' for undoing a justification.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5468
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 2 Dec 2015 10:29:18 +0000 (10:29 +0000)]
Treating backslashed quotes properly, and
not colouring triple-quoted strings twice.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5467
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 2 Dec 2015 09:19:04 +0000 (09:19 +0000)]
Not colouring triple quotes by themselves (in Python).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5466
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 2 Dec 2015 09:14:45 +0000 (09:14 +0000)]
Adding syntax colouring for nftables.
Original file by Arturo Borrero Gonzalez.
This addresses Debian bug #805288.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5465
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 1 Dec 2015 13:44:52 +0000 (13:44 +0000)]
Deleting four superfluous checks.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5464
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 1 Dec 2015 13:33:45 +0000 (13:33 +0000)]
Unindenting the part that was the 'else'.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5463
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 1 Dec 2015 12:49:17 +0000 (12:49 +0000)]
Renaming a label and eliding an 'else'.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5462
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 1 Dec 2015 12:35:48 +0000 (12:35 +0000)]
Moving a check to a better place.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5461
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 1 Dec 2015 11:51:10 +0000 (11:51 +0000)]
Deleting two redundant assignments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5460
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 1 Dec 2015 11:43:13 +0000 (11:43 +0000)]
Renaming two variables for clarity.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5459
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 1 Dec 2015 11:39:04 +0000 (11:39 +0000)]
Marking the current buffer as mofified only when actually something
was inserted. This fixes Savannah bug #45409.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5458
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 30 Nov 2015 16:44:44 +0000 (16:44 +0000)]
Allowing an array parameter to be NULL.
This fixes Savannah bug #46420.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5457
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 30 Nov 2015 16:21:51 +0000 (16:21 +0000)]
Storing and retrieving the correct file size before and after an action.
This fixes Savannah bug #45523.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5456
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 30 Nov 2015 15:49:37 +0000 (15:49 +0000)]
Redoing cuts at EOF properly.
This fixes Savannah bug #46541.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5455
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 29 Nov 2015 14:15:16 +0000 (14:15 +0000)]
Eliding a variable, and tweaking some comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5454
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 29 Nov 2015 13:52:48 +0000 (13:52 +0000)]
Deleting two redundant conditions, and moving the least frequent case
to the end.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5453
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 29 Nov 2015 13:20:08 +0000 (13:20 +0000)]
Using the main multidata-cache-allocation routine.
(Note that there can only be colorstrings when there /is/ a syntax,
so there is no need to check for the latter here.)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5452
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 29 Nov 2015 12:31:49 +0000 (12:31 +0000)]
Always setting the multidata to CBEGINBEFORE when an end is found,
also when the coloured part is horizontally scrolled off.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5451
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 29 Nov 2015 10:43:10 +0000 (10:43 +0000)]
Adjusting whitespace and comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5450
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 29 Nov 2015 10:14:25 +0000 (10:14 +0000)]
Resetting the multidata a bit less often.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5449
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 29 Nov 2015 10:07:49 +0000 (10:07 +0000)]
Evaluating correctly whether to reset the multidata cache.
This fixes Savannah bug #46543.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5448
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 28 Nov 2015 19:03:33 +0000 (19:03 +0000)]
Initializing a newly allocated multidata array.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5447
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 28 Nov 2015 17:29:39 +0000 (17:29 +0000)]
Allowing the user full control over the values of MALLOC_CHECK_ and
MALLOC_PERTURB_; nano shouldn't override them.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5446
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 26 Nov 2015 09:31:33 +0000 (09:31 +0000)]
Warning about an impossible condition, instead of blithely continuing.
And eliding an unneeded variable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5445
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 26 Nov 2015 08:45:22 +0000 (08:45 +0000)]
Also the /redoing/ of a Backspace at EOF is a special case.
This fixes Savannah bug #46532.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5444
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 25 Nov 2015 10:23:05 +0000 (10:23 +0000)]
Adding Mark Majeres and myself to the AUTHORS file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5443
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 25 Nov 2015 10:11:54 +0000 (10:11 +0000)]
Handling more internal errors, and doing it correctly: showing it
directly on the statusbar instead of as an undid or redid message.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5442
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 25 Nov 2015 09:49:27 +0000 (09:49 +0000)]
Eliding an unneeded variable, and not skipping the end of the function
when things went wrong.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5441
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 25 Nov 2015 09:27:25 +0000 (09:27 +0000)]
Warning about a condition that should never occur,
instead of silently continuing.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5440
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 25 Nov 2015 09:10:02 +0000 (09:10 +0000)]
Refreshing the whole edit window only when there are multiline regexes,
and checking for this just once for every burst of keystrokes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5439
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 24 Nov 2015 13:28:32 +0000 (13:28 +0000)]
Renaming a variable for clarity.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5438
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 24 Nov 2015 13:24:01 +0000 (13:24 +0000)]
Inserting a new node into a linked list by using just two parameters:
the insertion point and the new node.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5437
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 24 Nov 2015 11:42:19 +0000 (11:42 +0000)]
Telling the user on the statusbar when a syntax name given on the
command line does not exist. This fixes Savannah bug #46503.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5436
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 24 Nov 2015 11:09:06 +0000 (11:09 +0000)]
Recognizing also files with the extensions .make and .mk as Makefiles.
This addresses Debian bug #804845.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5435
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 23 Nov 2015 08:52:23 +0000 (08:52 +0000)]
Making Ctrl+Left and Ctrl+Right work on more terminals by asking
ncurses for the keycodes. This addresses Debian bug #800681.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5434
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 22 Nov 2015 16:14:42 +0000 (16:14 +0000)]
Deleting a node right after unlinking it.
This now mirrors unlink_opennode() and delete_opennode().
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5433
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 22 Nov 2015 16:09:15 +0000 (16:09 +0000)]
Eliding an unneeded variable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5432
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 22 Nov 2015 16:08:28 +0000 (16:08 +0000)]
Rewrapping, rewriting, renaming, and reordering some things.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5431
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 22 Nov 2015 16:07:23 +0000 (16:07 +0000)]
Deleting a condition that will never occur.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5430
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 21 Nov 2015 19:55:09 +0000 (19:55 +0000)]
Adding the release marker, and copying the news item from the 2.4 branch.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5429
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 21 Nov 2015 19:44:27 +0000 (19:44 +0000)]
Letting the value of a --fill option on the command line
override the value of a "set fill" option in an rcfile.
This fixes Savannah bug #46492.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5428
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 21 Nov 2015 19:05:10 +0000 (19:05 +0000)]
Fixing a typo and adjusting some spacing.
Patch by David Lawrence Ramsey.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5427
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 12 Nov 2015 19:50:33 +0000 (19:50 +0000)]
Deleting an unneeded variable alias.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5405
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 12 Nov 2015 19:01:57 +0000 (19:01 +0000)]
Storing the correct end position of an inserted file,
and using it for an undo and redo.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5404
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 11 Nov 2015 19:56:35 +0000 (19:56 +0000)]
Discarding a now useless function.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5403
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 11 Nov 2015 19:15:36 +0000 (19:15 +0000)]
Oops! Blackout!
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5402
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 11 Nov 2015 19:04:31 +0000 (19:04 +0000)]
Chopping the now unused parameter 'undoing'.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5401
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 11 Nov 2015 18:51:39 +0000 (18:51 +0000)]
Redoing an Enter from stored undo data, instead of running do_enter() again,
because the latter behaves differently depending on the setting of autoindent.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5400
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 10 Nov 2015 15:09:36 +0000 (15:09 +0000)]
Plugging four memory leaks.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5399
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Tue, 10 Nov 2015 10:39:12 +0000 (10:39 +0000)]
Skipping a zero-length match only when there /is/ a match.
(Finally I understood what valgrind was complaining about.)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5398
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 8 Nov 2015 19:44:57 +0000 (19:44 +0000)]
Accepting longer bug and patch numbers.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5397
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sun, 8 Nov 2015 19:40:13 +0000 (19:40 +0000)]
Allowing to exit the file browser with the same key as it was entered: ^T.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5396
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 7 Nov 2015 09:49:34 +0000 (09:49 +0000)]
Correcting the logic for adjusting the x position of the mark,
and improving the comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5395
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 6 Nov 2015 21:02:50 +0000 (21:02 +0000)]
Deleting a redundant assignment.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5394
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 6 Nov 2015 20:55:46 +0000 (20:55 +0000)]
Not setting 'openfile->mark_begin' for no reason.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5393
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 6 Nov 2015 20:25:05 +0000 (20:25 +0000)]
Not checking whether a function has a help line; it's irrelevant.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5392
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Fri, 6 Nov 2015 20:14:37 +0000 (20:14 +0000)]
Truncating an overlong hostname properly instead of bailing out
when writing a lock file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5391
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 2 Nov 2015 13:46:40 +0000 (13:46 +0000)]
Chopping the 'undoing' parameter, so that the calls of do_cut_text() become
more symmetrical: wrapped in add_undo() + update_undo() where needed.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5390
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 2 Nov 2015 11:24:22 +0000 (11:24 +0000)]
Eliding two variables.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5389
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 2 Nov 2015 10:40:06 +0000 (10:40 +0000)]
Improving several comments.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5388
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Mon, 2 Nov 2015 10:27:02 +0000 (10:27 +0000)]
Deleting an unused type definition.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5387
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 31 Oct 2015 20:32:11 +0000 (20:32 +0000)]
Correcting the changelog description of an old change.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5386
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 31 Oct 2015 20:17:09 +0000 (20:17 +0000)]
Improving comments and combining two conditions.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5385
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Sat, 31 Oct 2015 19:03:53 +0000 (19:03 +0000)]
Refreshing the mark's pointer only when it is on the same line as the cursor,
and recalculating the mark's x coordinate only when the mark comes after it.
Also correcting the recalculation in one case.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5384
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 29 Oct 2015 21:10:26 +0000 (21:10 +0000)]
Adding a forgotton bug number to the Changelog.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5383
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 29 Oct 2015 17:31:34 +0000 (17:31 +0000)]
Tweaking the Changelog.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5382
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 29 Oct 2015 17:27:33 +0000 (17:27 +0000)]
Removing an 'if' that will never be true, and removing some
assignments that have already been done.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5381
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 29 Oct 2015 17:02:13 +0000 (17:02 +0000)]
Checking for "nothing to redo" earlier, in order to restore the
possible warning about an internal error.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5380
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 29 Oct 2015 16:52:42 +0000 (16:52 +0000)]
Skipping the addition of an undo only when the current action equals the
last action. Necessary for when typing text is broken by an undo+redo.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5379
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 29 Oct 2015 10:36:07 +0000 (10:36 +0000)]
Making ^O work the same way as under Pico when option -t is given:
writing out the file immediately, without prompting.
Patch by David Lawrence Ramsey.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5378
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Thu, 29 Oct 2015 09:04:30 +0000 (09:04 +0000)]
Oops! You can't swap those two conditions.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5377
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Benno Schulenberg [Wed, 28 Oct 2015 20:49:16 +0000 (20:49 +0000)]
Removing a condition that can never occur.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5376
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8