]> git.wh0rd.org Git - nano.git/log
nano.git
10 years agoMaking tiny nano a bit tinier by preening out some soft-wrap stuff.
Benno Schulenberg [Mon, 9 Jun 2014 20:26:54 +0000 (20:26 +0000)]
Making tiny nano a bit tinier by preening out some soft-wrap stuff.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4951 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoA bunch of type fixes, mostly in debugging messages --
Benno Schulenberg [Mon, 9 Jun 2014 15:08:59 +0000 (15:08 +0000)]
A bunch of type fixes, mostly in debugging messages --
line numbers are long, x positions unsigned long.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4950 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoEliding four function calls by not comparing with an
Benno Schulenberg [Mon, 9 Jun 2014 14:33:00 +0000 (14:33 +0000)]
Eliding four function calls by not comparing with an
empty string but checking for the terminating '\0'.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4949 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoA few cosmetic tweaks of comments and whitespace.
Benno Schulenberg [Mon, 9 Jun 2014 14:23:53 +0000 (14:23 +0000)]
A few cosmetic tweaks of comments and whitespace.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4948 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAvoiding a compiler warning with --disable-wrapping.
Benno Schulenberg [Mon, 9 Jun 2014 10:35:44 +0000 (10:35 +0000)]
Avoiding a compiler warning with --disable-wrapping.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4947 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving two superfluous conditions.
Benno Schulenberg [Mon, 9 Jun 2014 10:28:23 +0000 (10:28 +0000)]
Removing two superfluous conditions.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4946 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRewriting the line-wrapping code to make use of the existing line-break code.
Benno Schulenberg [Mon, 9 Jun 2014 10:01:54 +0000 (10:01 +0000)]
Rewriting the line-wrapping code to make use of the existing line-break code.
And undoing line wraps together with their causal text additions, and not as
separate actions because the user did not make them.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4945 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoDifferentiating between undoing a Delete and undoing a Backspace -- the
Benno Schulenberg [Sun, 8 Jun 2014 19:02:12 +0000 (19:02 +0000)]
Differentiating between undoing a Delete and undoing a Backspace -- the
cursor should be in a slightly but significantly different position.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4944 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoPutting back the "-svn" tag on the version number.
Benno Schulenberg [Thu, 5 Jun 2014 08:20:54 +0000 (08:20 +0000)]
Putting back the "-svn" tag on the version number.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4943 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoNoting nano 2.3.3 and 2.3.4 in the Changelog.
Benno Schulenberg [Thu, 5 Jun 2014 07:57:04 +0000 (07:57 +0000)]
Noting nano 2.3.3 and 2.3.4 in the Changelog.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4942 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAllowing the toggle between Read File and Execute Command to be rebound.
Benno Schulenberg [Wed, 4 Jun 2014 19:15:16 +0000 (19:15 +0000)]
Allowing the toggle between Read File and Execute Command to be rebound.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4941 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoTiny ChangeLog tweaks.
Benno Schulenberg [Wed, 4 Jun 2014 16:32:45 +0000 (16:32 +0000)]
Tiny ChangeLog tweaks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4940 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking use of the macros charalloc() and charealloc(), making use of
Benno Schulenberg [Wed, 4 Jun 2014 16:30:11 +0000 (16:30 +0000)]
Making use of the macros charalloc() and charealloc(), making use of
null_at(), adding a cast, and using an unsigned type for a length.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4939 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoNormalizing whitespace, comments and interpunction, in various places.
Benno Schulenberg [Wed, 4 Jun 2014 16:02:51 +0000 (16:02 +0000)]
Normalizing whitespace, comments and interpunction, in various places.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4938 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoGNU nano 2.3.4 release v2.3.4
Chris Allegretta [Mon, 2 Jun 2014 15:17:35 +0000 (15:17 +0000)]
GNU nano 2.3.4 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4936 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years ago2014-06-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 2 Jun 2014 14:35:21 +0000 (14:35 +0000)]
2014-06-02 Chris Allegretta <chrisa@asty.org>
        * doc/syntax/default.nanorc: Can't do trailing spaces in the
          default syntax or it will hilight the spaces as you type
          them into a new file, which for non-programming is infuriating.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4935 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoDifferentiating (for the undo structure) between
Benno Schulenberg [Thu, 29 May 2014 18:50:13 +0000 (18:50 +0000)]
Differentiating (for the undo structure) between
deleting a newline and any other character.
Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4934 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years ago2014-05-29 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 29 May 2014 18:30:23 +0000 (18:30 +0000)]
2014-05-29  Chris Allegretta <chrisa@asty.org>
        * src/chars.c (addstrings): Needs to be available even on
          non-utf-8 sustems.
        * nano-regress: Added --disable-utf8 to regression check

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4933 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoBack to SVN
Chris Allegretta [Thu, 29 May 2014 05:25:44 +0000 (05:25 +0000)]
Back to SVN

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4932 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoGNU nano 2.3.3 release v2.3.3
Chris Allegretta [Thu, 29 May 2014 05:10:20 +0000 (05:10 +0000)]
GNU nano 2.3.3 release

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4930 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years ago2014-05-28 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 29 May 2014 04:38:16 +0000 (04:38 +0000)]
2014-05-28  Chris Allegretta <chrisa@asty.org>
        * doc/syntax/mutt.nanorc: Include Benno's awesome signature
          matcher, modified slightly to also work for quoted sigs.
        * doc/syntax/default.nanorc: Be far more gentle with something
          which affects every file which doesn't match another syntax, and
          the user may not be able to override if their distro turns on
          highlighting by default.\

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4929 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoStandardizing the calls of add_to_funcs(),
Benno Schulenberg [Wed, 28 May 2014 21:02:39 +0000 (21:02 +0000)]
Standardizing the calls of add_to_funcs(),
breaking always between menu and tag.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4928 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking tiny nano again just a tiny bit tinier.
Benno Schulenberg [Wed, 28 May 2014 20:31:06 +0000 (20:31 +0000)]
Making tiny nano again just a tiny bit tinier.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4927 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoUpdates from the TP for German, Dutch, and Esperanto.
Benno Schulenberg [Wed, 28 May 2014 20:27:37 +0000 (20:27 +0000)]
Updates from the TP for German, Dutch, and Esperanto.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4926 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoEliding four unneeded tags.
Benno Schulenberg [Wed, 28 May 2014 19:02:00 +0000 (19:02 +0000)]
Eliding four unneeded tags.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4925 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdding a translator comment for the --help output.
Benno Schulenberg [Wed, 28 May 2014 15:44:11 +0000 (15:44 +0000)]
Adding a translator comment for the --help output.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4924 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving an unneeded format specifier.
Benno Schulenberg [Wed, 28 May 2014 15:40:24 +0000 (15:40 +0000)]
Removing an unneeded format specifier.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4923 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking ^X in the Read-File menu toggle between
Benno Schulenberg [Wed, 28 May 2014 15:35:00 +0000 (15:35 +0000)]
Making ^X in the Read-File menu toggle between
executing a command and inserting a file.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4922 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving duplicate translator comments, and adding some others.
Benno Schulenberg [Wed, 28 May 2014 14:34:11 +0000 (14:34 +0000)]
Removing duplicate translator comments, and adding some others.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4921 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoActually translating the Go-to-Directory prompt.
Benno Schulenberg [Wed, 28 May 2014 13:27:33 +0000 (13:27 +0000)]
Actually translating the Go-to-Directory prompt.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4920 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving three unused parameters from do_input(),
Benno Schulenberg [Wed, 28 May 2014 13:24:05 +0000 (13:24 +0000)]
Removing three unused parameters from do_input(),
as they are only ever set and never referenced.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4919 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years ago2014-05-27 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 28 May 2014 01:35:51 +0000 (01:35 +0000)]
2014-05-27  Chris Allegretta <chrisa@asty.org>
        * src/winio.c (edit_refresh): wredrawln() is not supported under
          slang.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4918 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdjusting a translator comment.
Benno Schulenberg [Tue, 27 May 2014 22:03:04 +0000 (22:03 +0000)]
Adjusting a translator comment.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4917 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoUpdates from the TP for Russian, Dutch, and German.
Benno Schulenberg [Tue, 27 May 2014 21:56:24 +0000 (21:56 +0000)]
Updates from the TP for Russian, Dutch, and German.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4916 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAllowing to rebind 'suspend' in tiny nano.
Benno Schulenberg [Tue, 27 May 2014 12:38:32 +0000 (12:38 +0000)]
Allowing to rebind 'suspend' in tiny nano.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4915 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMake tiny nano a tiny bit tinier.
Benno Schulenberg [Tue, 27 May 2014 12:34:43 +0000 (12:34 +0000)]
Make tiny nano a tiny bit tinier.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4914 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoImproving the arrangement of help items under certain compilation conditions.
Benno Schulenberg [Tue, 27 May 2014 12:17:49 +0000 (12:17 +0000)]
Improving the arrangement of help items under certain compilation conditions.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4913 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoUnwrapping some lines, and reordering two.
Benno Schulenberg [Mon, 26 May 2014 10:07:00 +0000 (10:07 +0000)]
Unwrapping some lines, and reordering two.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4912 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoFixing compilation and avoiding a warning with --enable-tiny.
Benno Schulenberg [Mon, 26 May 2014 07:53:20 +0000 (07:53 +0000)]
Fixing compilation and avoiding a warning with --enable-tiny.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4911 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoUpdates from the TP for Ukrainian and Italian.
Benno Schulenberg [Sun, 25 May 2014 20:04:34 +0000 (20:04 +0000)]
Updates from the TP for Ukrainian and Italian.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4910 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoCutting down on the size of tiny nano.
Benno Schulenberg [Sun, 25 May 2014 19:47:46 +0000 (19:47 +0000)]
Cutting down on the size of tiny nano.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4909 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoPlacing the cursor after an undo there where it was before the do,
Benno Schulenberg [Sun, 25 May 2014 19:41:49 +0000 (19:41 +0000)]
Placing the cursor after an undo there where it was before the do,
and handling multibyte characters correctly.
*Patch by Mark Majeres.*

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4908 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoTelling ncurses to really redraw the line, without optimization.
Benno Schulenberg [Fri, 23 May 2014 20:24:31 +0000 (20:24 +0000)]
Telling ncurses to really redraw the line, without optimization.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4907 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoUpdates from the TP for German and Ukrainian.
Benno Schulenberg [Thu, 22 May 2014 20:41:34 +0000 (20:41 +0000)]
Updates from the TP for German and Ukrainian.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4906 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoPainting the current line *after* tickling the terminal, so that
Benno Schulenberg [Mon, 19 May 2014 20:44:24 +0000 (20:44 +0000)]
Painting the current line *after* tickling the terminal, so that
the character in the final column will be displayed properly.
Bug was introduced five days ago.  Patch by Mark Majeres.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4905 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdding an example of a default syntax.
Benno Schulenberg [Sun, 18 May 2014 10:34:18 +0000 (10:34 +0000)]
Adding an example of a default syntax.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4904 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoNot matching the ^ anchor when looking further on in a line.
Benno Schulenberg [Sun, 18 May 2014 10:16:07 +0000 (10:16 +0000)]
Not matching the ^ anchor when looking further on in a line.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4903 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoNot skipping the colour-off commands at the end of the colouring loop.
Benno Schulenberg [Sat, 17 May 2014 20:25:42 +0000 (20:25 +0000)]
Not skipping the colour-off commands at the end of the colouring loop.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4902 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdding syntax colouring for JSON files.
Benno Schulenberg [Sat, 17 May 2014 11:44:35 +0000 (11:44 +0000)]
Adding syntax colouring for JSON files.
New file, originally from Aapo Rantalainen,
but heavily edited, extended, and improved.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4901 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoUpdates from the TP for Vietnamese, Finnish, Dutch, French, and Esperanto.
Benno Schulenberg [Fri, 16 May 2014 20:36:45 +0000 (20:36 +0000)]
Updates from the TP for Vietnamese, Finnish, Dutch, French, and Esperanto.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4900 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoPartially harmonizing the syntax-colouring files.
Benno Schulenberg [Fri, 16 May 2014 20:21:34 +0000 (20:21 +0000)]
Partially harmonizing the syntax-colouring files.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4899 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking the component colouring simpler, and the URI colouring completer,
Benno Schulenberg [Fri, 16 May 2014 20:13:02 +0000 (20:13 +0000)]
Making the component colouring simpler, and the URI colouring completer,
and improving the comments -- all for apt's sources list.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4898 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoShowing trailing whitespace on added lines in patches and diffs.
Benno Schulenberg [Fri, 16 May 2014 11:08:52 +0000 (11:08 +0000)]
Showing trailing whitespace on added lines in patches and diffs.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4897 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving a few more doubled-up spaces.
Benno Schulenberg [Fri, 16 May 2014 11:03:04 +0000 (11:03 +0000)]
Removing a few more doubled-up spaces.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4896 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRemoving an unneeded call of edit_refresh(), and
Benno Schulenberg [Fri, 16 May 2014 10:50:01 +0000 (10:50 +0000)]
Removing an unneeded call of edit_refresh(), and
using 'size_t' instead of 'int' for line lengths.
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4895 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoTweaking some whitespace, using TRUE and FALSE instead of 1 and 0,
Benno Schulenberg [Fri, 16 May 2014 10:34:05 +0000 (10:34 +0000)]
Tweaking some whitespace, using TRUE and FALSE instead of 1 and 0,
and mentioning the name of the terminal-tickling character (NBSP).
Patch by David Lawrence Ramsey.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4894 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoGoing to the correct positions for undoing and redoing cuts and
Benno Schulenberg [Thu, 15 May 2014 20:00:46 +0000 (20:00 +0000)]
Going to the correct positions for undoing and redoing cuts and
pastes.  This fixes many undo problems and Savannah bug #25585.
*Patch by Mark Majeres.*

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4893 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdding texinfo.nanorc to the packing list.
Benno Schulenberg [Thu, 15 May 2014 13:18:48 +0000 (13:18 +0000)]
Adding texinfo.nanorc to the packing list.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4892 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoImproving two comments, and eliding a macro.
Benno Schulenberg [Thu, 15 May 2014 13:11:55 +0000 (13:11 +0000)]
Improving two comments, and eliding a macro.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4891 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdjusting a comment, and being clearer about when to break.
Benno Schulenberg [Thu, 15 May 2014 12:55:11 +0000 (12:55 +0000)]
Adjusting a comment, and being clearer about when to break.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4890 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoImproving the magic regex for C files, plus some tweaks.
Benno Schulenberg [Thu, 15 May 2014 12:52:30 +0000 (12:52 +0000)]
Improving the magic regex for C files, plus some tweaks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4889 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdding an example of colouring nano's interface elements.
Benno Schulenberg [Wed, 14 May 2014 12:52:15 +0000 (12:52 +0000)]
Adding an example of colouring nano's interface elements.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4888 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoTiny Changelog tweaks.
Benno Schulenberg [Wed, 14 May 2014 12:13:51 +0000 (12:13 +0000)]
Tiny Changelog tweaks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4887 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoStopping the search when a magic matched.
Benno Schulenberg [Wed, 14 May 2014 11:51:26 +0000 (11:51 +0000)]
Stopping the search when a magic matched.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4886 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoImproving two magic regexes.
Benno Schulenberg [Wed, 14 May 2014 11:16:40 +0000 (11:16 +0000)]
Improving two magic regexes.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4885 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoOpening the magic database only when actually going to use it,
Benno Schulenberg [Wed, 14 May 2014 10:29:55 +0000 (10:29 +0000)]
Opening the magic database only when actually going to use it,
and closing it afterward.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4884 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMoving the magic check to after the headerline check.
Benno Schulenberg [Wed, 14 May 2014 10:09:42 +0000 (10:09 +0000)]
Moving the magic check to after the headerline check.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4883 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoEhm... no, you can't do that.
Benno Schulenberg [Wed, 14 May 2014 10:01:42 +0000 (10:01 +0000)]
Ehm... no, you can't do that.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4882 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoClosing the libmagic file after use.
Benno Schulenberg [Wed, 14 May 2014 09:44:19 +0000 (09:44 +0000)]
Closing the libmagic file after use.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4881 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoImproving debugging messages, and removing superfluous assignment.
Benno Schulenberg [Wed, 14 May 2014 09:17:25 +0000 (09:17 +0000)]
Improving debugging messages, and removing superfluous assignment.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4880 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoStartling the terminal into handling wide, two-column characters properly.
Benno Schulenberg [Wed, 14 May 2014 08:42:14 +0000 (08:42 +0000)]
Startling the terminal into handling wide, two-column characters properly.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4879 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoA few more comment tweaks.
Benno Schulenberg [Tue, 13 May 2014 21:11:59 +0000 (21:11 +0000)]
A few more comment tweaks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4878 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoImproving compilation with --disable-browser.
Benno Schulenberg [Tue, 13 May 2014 20:51:19 +0000 (20:51 +0000)]
Improving compilation with --disable-browser.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4877 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoNo need to keep on looping when two shortcuts were found.
Benno Schulenberg [Tue, 13 May 2014 20:34:15 +0000 (20:34 +0000)]
No need to keep on looping when two shortcuts were found.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4876 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoCondensing a function a bit.
Benno Schulenberg [Tue, 13 May 2014 20:20:51 +0000 (20:20 +0000)]
Condensing a function a bit.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4875 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoSeveral random whitespace and comment tweaks.
Benno Schulenberg [Tue, 13 May 2014 20:14:01 +0000 (20:14 +0000)]
Several random whitespace and comment tweaks.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4874 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoWeh -- use the correct type.
Benno Schulenberg [Tue, 13 May 2014 18:31:13 +0000 (18:31 +0000)]
Weh -- use the correct type.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4873 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoFreeing the lists with functions and shortcuts upon exit.
Benno Schulenberg [Tue, 13 May 2014 18:06:09 +0000 (18:06 +0000)]
Freeing the lists with functions and shortcuts upon exit.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4872 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoShowing in nanorc files key names like M-6 and M-/ as valid.
Benno Schulenberg [Tue, 13 May 2014 17:58:39 +0000 (17:58 +0000)]
Showing in nanorc files key names like M-6 and M-/ as valid.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4871 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRefreshing the PO files: merging them against the current POT.
Benno Schulenberg [Tue, 13 May 2014 16:11:04 +0000 (16:11 +0000)]
Refreshing the PO files: merging them against the current POT.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4870 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRegenerated the POT file for the TP.
Benno Schulenberg [Tue, 13 May 2014 08:39:38 +0000 (08:39 +0000)]
Regenerated the POT file for the TP.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4869 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoImproving another error message.
Benno Schulenberg [Tue, 13 May 2014 08:34:29 +0000 (08:34 +0000)]
Improving another error message.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4868 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking one error message somewhat clearer.
Benno Schulenberg [Tue, 13 May 2014 08:12:52 +0000 (08:12 +0000)]
Making one error message somewhat clearer.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4867 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRenaming a variable, and eliding another.
Benno Schulenberg [Mon, 12 May 2014 20:22:57 +0000 (20:22 +0000)]
Renaming a variable, and eliding another.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4866 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMoving parse_magic_exp() next to its sister.
Benno Schulenberg [Mon, 12 May 2014 19:57:12 +0000 (19:57 +0000)]
Moving parse_magic_exp() next to its sister.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4865 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdd regexes for comments and trailing whitespace for man pages, and
Benno Schulenberg [Mon, 12 May 2014 18:10:08 +0000 (18:10 +0000)]
Add regexes for comments and trailing whitespace for man pages, and
reminders for Python, and trim some trailing spaces from Fortran.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4864 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoImproving the multiline regexes, making the one with single quotes work again.
Benno Schulenberg [Mon, 12 May 2014 16:01:57 +0000 (16:01 +0000)]
Improving the multiline regexes, making the one with single quotes work again.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4863 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRenaming the struct type 'exttype' to 'regexlisttype', and upon exit
Benno Schulenberg [Mon, 12 May 2014 14:31:54 +0000 (14:31 +0000)]
Renaming the struct type 'exttype' to 'regexlisttype', and upon exit
also freeing the regexes for libmagic results and headerlines.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4862 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoRenaming and symmetrifying two functions, and improving some comments.
Benno Schulenberg [Mon, 12 May 2014 13:52:50 +0000 (13:52 +0000)]
Renaming and symmetrifying two functions, and improving some comments.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4861 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoHandling the libmagic and headerline regexes in the same manner.
Benno Schulenberg [Mon, 12 May 2014 12:57:00 +0000 (12:57 +0000)]
Handling the libmagic and headerline regexes in the same manner.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4860 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoAdding a missing parenthesis, and removing a distracting blank line.
Benno Schulenberg [Mon, 12 May 2014 12:16:43 +0000 (12:16 +0000)]
Adding a missing parenthesis, and removing a distracting blank line.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4859 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoImproving some comments, and removing some mispasted or superfluous ones.
Benno Schulenberg [Mon, 12 May 2014 12:11:24 +0000 (12:11 +0000)]
Improving some comments, and removing some mispasted or superfluous ones.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4858 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoShowing bright foreground colours for interface elements as valid.
Benno Schulenberg [Mon, 12 May 2014 11:54:27 +0000 (11:54 +0000)]
Showing bright foreground colours for interface elements as valid.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4857 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoProviding startup feedback for the spell checker, as for the linter.
Benno Schulenberg [Mon, 12 May 2014 11:50:58 +0000 (11:50 +0000)]
Providing startup feedback for the spell checker, as for the linter.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4856 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years ago2014-05-10 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 11 May 2014 03:09:00 +0000 (03:09 +0000)]
2014-05-10 Chris Allegretta <chrisa@asty.org>
        * src/rcfile.c (parse_color_names): Redefine false and true to
          their appropriate macro names so --with-slang works (slangv2 anyway).
        * src/text.c (do_linter): Care about whether user cancelled the file
          save (cancel the operation) versus justy said no (continue but don't
          save the file).  Also doupdate() after statusbar message that
          linter is being invoked and blank the shortcuts to draw the eye.
          Also allow user to cancel at the "open in a new buffer" prompt.
          New function lint_cleanup().  Fixes Savannah bug 42203.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4855 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking syntax highlighting into a separate section,
Benno Schulenberg [Sat, 10 May 2014 20:28:48 +0000 (20:28 +0000)]
Making syntax highlighting into a separate section,
and adding the still missing section on rebinding keys.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4854 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoMaking it possible for interface-foreground colours to be bright.
Benno Schulenberg [Sat, 10 May 2014 19:15:04 +0000 (19:15 +0000)]
Making it possible for interface-foreground colours to be bright.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4853 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoDescribing bindable functions in the third person -- it somehow sounds better.
Benno Schulenberg [Fri, 9 May 2014 21:02:14 +0000 (21:02 +0000)]
Describing bindable functions in the third person -- it somehow sounds better.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4852 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoPutting softwrap back among the "Appearance" toggles.
Benno Schulenberg [Fri, 9 May 2014 20:33:49 +0000 (20:33 +0000)]
Putting softwrap back among the "Appearance" toggles.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4851 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

10 years agoDefining a shortcut for the linter when the speller is disabled,
Benno Schulenberg [Fri, 9 May 2014 15:14:29 +0000 (15:14 +0000)]
Defining a shortcut for the linter when the speller is disabled,
and fixing compilation with --disable-speller.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4850 35c25a1d-7b9e-4130-9fde-d3aeb78583b8