]> git.wh0rd.org Git - nano.git/log
nano.git
10 years agoCondensing the code a bit.
Benno Schulenberg [Mon, 17 Mar 2014 12:15:23 +0000 (12:15 +0000)]
Condensing the code a bit.

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

10 years agoShowing ^F and ^B in the help lines of the tiny version.
Benno Schulenberg [Mon, 17 Mar 2014 11:47:49 +0000 (11:47 +0000)]
Showing ^F and ^B in the help lines of the tiny version.

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

10 years agoDisplaying more help items when the terminal is wider.
Benno Schulenberg [Sun, 16 Mar 2014 16:58:18 +0000 (16:58 +0000)]
Displaying more help items when the terminal is wider.

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

10 years agoUsing prettier whitespace characters when in a UTF-8 locale.
Benno Schulenberg [Sun, 16 Mar 2014 13:19:41 +0000 (13:19 +0000)]
Using prettier whitespace characters when in a UTF-8 locale.

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

10 years agoInitializing the correct variable to zero, to avoid jumpy scrolling.
Benno Schulenberg [Wed, 5 Mar 2014 09:47:35 +0000 (09:47 +0000)]
Initializing the correct variable to zero, to avoid jumpy scrolling.

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

10 years ago2014-03-04 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 5 Mar 2014 04:30:07 +0000 (04:30 +0000)]
2014-03-04 Chris Allegretta <chrisa@asty.org>
        * global.c (first_sc_for) - Return raw keystrokes last, so
          they will not be displayed if there are F-key or Meta keys
          mapped for an item in the shortcut list.

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

10 years agoRemoving erroneous 'suspendenable' (again) -- it
Benno Schulenberg [Tue, 4 Mar 2014 11:07:43 +0000 (11:07 +0000)]
Removing erroneous 'suspendenable' (again) -- it
is not a settable option but a bindable function.

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

10 years agoNormalizing the writing of "Write Out", "Uncut Text", and "Unjustify".
Benno Schulenberg [Tue, 4 Mar 2014 10:30:15 +0000 (10:30 +0000)]
Normalizing the writing of "Write Out", "Uncut Text", and "Unjustify".

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

10 years agoUsing visible characters by default for when showing whitespace.
Benno Schulenberg [Tue, 4 Mar 2014 10:18:54 +0000 (10:18 +0000)]
Using visible characters by default for when showing whitespace.

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

10 years agoAdding 'quiet', sorting 'locking', and condensing the highlighting string.
Benno Schulenberg [Tue, 4 Mar 2014 10:01:27 +0000 (10:01 +0000)]
Adding 'quiet', sorting 'locking', and condensing the highlighting string.

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

10 years ago2014-03-01 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 4 Mar 2014 03:55:43 +0000 (03:55 +0000)]
2014-03-01 Chris Allegretta <chrisa@asty.org>
        * global.c (shortcut_init) - Don't actually free the shortcut
          list, since the next pass via justifying will then remove
          all custom shortcuts.  Fixed bug discovered by Benno Schulenberg.
        * text.c (do_linter) - Remove some unused variables to quiet
          -pedanic -Wall.

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

10 years agoNot mentioning -$/--softwrap in usage text of tiny version.
Benno Schulenberg [Mon, 3 Mar 2014 21:30:50 +0000 (21:30 +0000)]
Not mentioning -$/--softwrap in usage text of tiny version.

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

10 years agoSynchronizing the texinfo and nanorc docs, and improving alphabetization.
Benno Schulenberg [Mon, 3 Mar 2014 18:49:52 +0000 (18:49 +0000)]
Synchronizing the texinfo and nanorc docs, and improving alphabetization.

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

10 years agoSlightly improving the formatting and wording of two man pages.
Benno Schulenberg [Mon, 3 Mar 2014 16:08:45 +0000 (16:08 +0000)]
Slightly improving the formatting and wording of two man pages.

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

10 years agoTrimming some redundant code, and correcting scrolling behaviour
Benno Schulenberg [Mon, 3 Mar 2014 13:24:09 +0000 (13:24 +0000)]
Trimming some redundant code, and correcting scrolling behaviour
without softwrap.  And adding a few more NANO_TINY wrappings.

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

10 years agoCorrectly computing the needed amount to scroll down
Benno Schulenberg [Mon, 3 Mar 2014 10:02:13 +0000 (10:02 +0000)]
Correctly computing the needed amount to scroll down
when softwrap is on and there are overlong lines.

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

10 years agoAdding a newline for "air", and marking two strings instead of translating them.
Benno Schulenberg [Mon, 3 Mar 2014 08:53:38 +0000 (08:53 +0000)]
Adding a newline for "air", and marking two strings instead of translating them.

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

10 years ago2014-03-01 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 2 Mar 2014 05:27:56 +0000 (05:27 +0000)]
2014-03-01 Chris Allegretta <chrisa@asty.org>
        * global.c (shortcut_init) - fix an issue with the split
          do_research() setup when using --enable-tiny
        * rcfile.c (parse_linter) - Allow linter to be unset using ""
        * rcfile.c - Allow syntaxes to be extended via "extendsyntax"
          directive.  Color, header, magic and linter should all be
          able to be extended.  Man page updates for nanorc(5).
        * doc/nanorc.sample.in - Document 'set quiet'

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

10 years agoNot writing to stderr on magic errors, patch mostly by Mike Frysinger.
Benno Schulenberg [Sat, 1 Mar 2014 10:20:57 +0000 (10:20 +0000)]
Not writing to stderr on magic errors, patch mostly by Mike Frysinger.

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

10 years agoIndenting conditions consistently and tightly.
Benno Schulenberg [Fri, 28 Feb 2014 20:08:59 +0000 (20:08 +0000)]
Indenting conditions consistently and tightly.

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

10 years agoRemoving unused function 'free_shortcutage'.
Benno Schulenberg [Fri, 28 Feb 2014 19:53:55 +0000 (19:53 +0000)]
Removing unused function 'free_shortcutage'.

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

10 years agoNot just marking but actually translating a helpful message.
Benno Schulenberg [Fri, 28 Feb 2014 19:47:48 +0000 (19:47 +0000)]
Not just marking but actually translating a helpful message.

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

10 years agoCorrecting the misspelled keyword "mutlibuffer".
Benno Schulenberg [Fri, 28 Feb 2014 19:34:11 +0000 (19:34 +0000)]
Correcting the misspelled keyword "mutlibuffer".

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

10 years agoRemoving a redundant 'ifdef DEBUG'.
Benno Schulenberg [Fri, 28 Feb 2014 11:52:52 +0000 (11:52 +0000)]
Removing a redundant 'ifdef DEBUG'.

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

10 years agoEqualizing pipe error messages.
Benno Schulenberg [Fri, 28 Feb 2014 11:49:12 +0000 (11:49 +0000)]
Equalizing pipe error messages.

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

10 years agoAvoiding a warning when compiling with clang, patch by Eitan Adler.
Benno Schulenberg [Fri, 28 Feb 2014 11:24:12 +0000 (11:24 +0000)]
Avoiding a warning when compiling with clang, patch by Eitan Adler.

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

10 years agoTiny textual tweaks of ChangeLog and NEWS.
Benno Schulenberg [Thu, 27 Feb 2014 20:54:26 +0000 (20:54 +0000)]
Tiny textual tweaks of ChangeLog and NEWS.

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

10 years agoAdding colorization for bind/unbind in nanorc, patch by Mike Frysinger.
Benno Schulenberg [Thu, 27 Feb 2014 20:19:31 +0000 (20:19 +0000)]
Adding colorization for bind/unbind in nanorc, patch by Mike Frysinger.

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

10 years agoRelocating the misplaced unbind section, patch mostly by Mike Frysinger.
Benno Schulenberg [Thu, 27 Feb 2014 19:57:52 +0000 (19:57 +0000)]
Relocating the misplaced unbind section, patch mostly by Mike Frysinger.

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

10 years agoRestoring 'Space' as an alias for PageDown in the help browser.
Benno Schulenberg [Thu, 27 Feb 2014 08:48:54 +0000 (08:48 +0000)]
Restoring 'Space' as an alias for PageDown in the help browser.

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

10 years agoColouring trailing whitespace in Makefiles, patch by Mike Frysinger.
Benno Schulenberg [Wed, 26 Feb 2014 21:42:53 +0000 (21:42 +0000)]
Colouring trailing whitespace in Makefiles, patch by Mike Frysinger.

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

10 years agoUpdating Gentoo-specific colouring to newer EAPIs, patch by Mike Frysinger.
Benno Schulenberg [Wed, 26 Feb 2014 21:38:44 +0000 (21:38 +0000)]
Updating Gentoo-specific colouring to newer EAPIs, patch by Mike Frysinger.

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

10 years agoImprove highlighting of shell builtins, common commands, and variables.
Benno Schulenberg [Wed, 26 Feb 2014 21:33:47 +0000 (21:33 +0000)]
Improve highlighting of shell builtins, common commands, and variables.
Patch by Mike Frysinger.

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

10 years agoBetter colouring of manpage files.
Benno Schulenberg [Wed, 26 Feb 2014 21:12:23 +0000 (21:12 +0000)]
Better colouring of manpage files.

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

10 years agoGrouping related commands into the same column of the help lines.
Benno Schulenberg [Wed, 26 Feb 2014 20:37:40 +0000 (20:37 +0000)]
Grouping related commands into the same column of the help lines.

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

10 years agoSlightly improving the regexes for multiline strings in Python.
Benno Schulenberg [Wed, 26 Feb 2014 12:35:10 +0000 (12:35 +0000)]
Slightly improving the regexes for multiline strings in Python.

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

10 years agoScrolling an extra amount when softwrap is on and the current line runs off.
Benno Schulenberg [Wed, 26 Feb 2014 11:38:30 +0000 (11:38 +0000)]
Scrolling an extra amount when softwrap is on and the current line runs off.

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

10 years agoMaking ^G and ^C exit from help, and ^C from the file browser.
Benno Schulenberg [Tue, 25 Feb 2014 21:45:55 +0000 (21:45 +0000)]
Making ^G and ^C exit from help, and ^C from the file browser.

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

10 years agoOrdering "Prev Word" and "Next Word" better.
Benno Schulenberg [Tue, 25 Feb 2014 21:30:12 +0000 (21:30 +0000)]
Ordering "Prev Word" and "Next Word" better.

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

10 years agoTweaking comments and removing some superfluous blank lines.
Benno Schulenberg [Tue, 25 Feb 2014 21:27:22 +0000 (21:27 +0000)]
Tweaking comments and removing some superfluous blank lines.

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

10 years agoFixing some typos and wordings in the NEWS file.
Benno Schulenberg [Tue, 25 Feb 2014 20:53:50 +0000 (20:53 +0000)]
Fixing some typos and wordings in the NEWS file.

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

10 years agoMake git ignore generated files and bak files, patch mostly by Mike Frysinger.
Benno Schulenberg [Tue, 25 Feb 2014 20:18:33 +0000 (20:18 +0000)]
Make git ignore generated files and bak files, patch mostly by Mike Frysinger.

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

10 years agoRenaming 'INCLUDES' to 'AM_CPPFLAGS', patch by Mike Frysinger.
Benno Schulenberg [Tue, 25 Feb 2014 19:08:12 +0000 (19:08 +0000)]
Renaming 'INCLUDES' to 'AM_CPPFLAGS', patch by Mike Frysinger.

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

10 years agoFix a typo and two inconsistent spellings in three statusbar messages.
Benno Schulenberg [Tue, 25 Feb 2014 17:12:58 +0000 (17:12 +0000)]
Fix a typo and two inconsistent spellings in three statusbar messages.

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

10 years agoCall the help browser with the correct refresher for afterwards.
Benno Schulenberg [Tue, 25 Feb 2014 11:10:24 +0000 (11:10 +0000)]
Call the help browser with the correct refresher for afterwards.

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

10 years agoMore cleanups of the ChangeLog, triggered by a corrective s/python/Fortran/.
Benno Schulenberg [Mon, 24 Feb 2014 19:00:11 +0000 (19:00 +0000)]
More cleanups of the ChangeLog, triggered by a corrective s/python/Fortran/.

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

10 years ago * src/winio.c (do_credits) - Add Benno, my children,
Chris Allegretta [Mon, 24 Feb 2014 15:15:51 +0000 (15:15 +0000)]
    * src/winio.c (do_credits) - Add Benno, my children,
          update copyright info

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

10 years ago2014-02-24 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 24 Feb 2014 10:18:15 +0000 (10:18 +0000)]
2014-02-24 Chris Allegretta <chrisa@asty.org>
        * new linter functionality.  rcfile option "linter"
        * src/global.c (shortcut_init) - Actually free the sclist
          if it was allocated before.

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

10 years agoColour a $VAR within "" but not within ''.
Benno Schulenberg [Sun, 23 Feb 2014 16:15:38 +0000 (16:15 +0000)]
Colour a $VAR within "" but not within ''.

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

10 years agoComment and punctuation tweaks in the sample nanorc files.
Benno Schulenberg [Sun, 23 Feb 2014 16:07:44 +0000 (16:07 +0000)]
Comment and punctuation tweaks in the sample nanorc files.

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

10 years agoTweaking the ChangeLog -- adding some periods and bug number hashes,
Benno Schulenberg [Sun, 23 Feb 2014 11:08:04 +0000 (11:08 +0000)]
Tweaking the ChangeLog -- adding some periods and bug number hashes,
removing trailing whitespace, adjusting line lengths and fixing typos.

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

10 years agoEnd exhorting status-bar messages with a period, to avoid
Benno Schulenberg [Sun, 23 Feb 2014 10:12:50 +0000 (10:12 +0000)]
End exhorting status-bar messages with a period, to avoid
the impression that something is missing.

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

10 years agoAdding a missing malloc, to avoid a segfault on some systems.
Benno Schulenberg [Sat, 22 Feb 2014 20:44:43 +0000 (20:44 +0000)]
Adding a missing malloc, to avoid a segfault on some systems.

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

10 years agoCorrecting an oversight in the 'do_up_void' and 'do_down_void' naming.
Benno Schulenberg [Sat, 22 Feb 2014 19:36:35 +0000 (19:36 +0000)]
Correcting an oversight in the 'do_up_void' and 'do_down_void' naming.

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

10 years agoBetter colouring expressions for HTML.
Benno Schulenberg [Sat, 22 Feb 2014 18:57:24 +0000 (18:57 +0000)]
Better colouring expressions for HTML.

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

10 years agoAlso recognzie 'c++' as an extension for C syntax highlighting.
Benno Schulenberg [Sat, 22 Feb 2014 16:57:23 +0000 (16:57 +0000)]
Also recognzie 'c++' as an extension for C syntax highlighting.

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

10 years agoUpdating 'mark_begin' when mark and cursor are on the same line.
Benno Schulenberg [Sat, 22 Feb 2014 16:46:27 +0000 (16:46 +0000)]
Updating 'mark_begin' when mark and cursor are on the same line.

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

10 years agoAdding four needed compilation conditions on ENABLE_NANORC.
Benno Schulenberg [Sat, 22 Feb 2014 16:26:30 +0000 (16:26 +0000)]
Adding four needed compilation conditions on ENABLE_NANORC.

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

10 years agoApplying a tiny patch by Felipe Bugno.
Benno Schulenberg [Sat, 22 Feb 2014 13:54:20 +0000 (13:54 +0000)]
Applying a tiny patch by Felipe Bugno.

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

10 years agoApplying a compile-fixing and warning-fixing patch by David Ramsey.
Benno Schulenberg [Sat, 22 Feb 2014 10:56:52 +0000 (10:56 +0000)]
Applying a compile-fixing and warning-fixing patch by David Ramsey.

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

10 years agoApplying a textual patch by David Ramsey.
Benno Schulenberg [Sat, 22 Feb 2014 10:28:58 +0000 (10:28 +0000)]
Applying a textual patch by David Ramsey.

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

10 years agoUntil someone else wants the job
Chris Allegretta [Fri, 7 Feb 2014 14:57:49 +0000 (14:57 +0000)]
Until someone else wants the job

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

10 years ago2014-01-24 Benno Schulenberg <bens>
Chris Allegretta [Sun, 26 Jan 2014 22:47:08 +0000 (22:47 +0000)]
2014-01-24 Benno Schulenberg <bens>
        * src/nano.c (copy_from_filestruct) - Check explicitly for mark being set when
          trying to partition, as we shouldn't be messing with the x address, etc.

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

10 years ago2014-01-25 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 26 Jan 2014 04:09:04 +0000 (04:09 +0000)]
2014-01-25 Chris Allegretta <chrisa@asty.org>
        * src/winio.c (set_modified) - Check for a filename before we bother trying to lock

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

10 years ago2014-01-01 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 3 Jan 2014 02:11:04 +0000 (02:11 +0000)]
2014-01-01 Chris Allegretta <chrisa@asty.org>
        * doc/texinfo/nano.texi - Change '@sp4' since makeinfo 5.1 hates the
          lack of spacing.  Fixes Savannah bug 40103 repored by flapane@Savannah.
          Also change SVN status to non-binary so diffs work.

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

10 years agoChange nano.text to not be considered binary, since it's......not
Chris Allegretta [Fri, 3 Jan 2014 02:07:02 +0000 (02:07 +0000)]
Change nano.text to not be considered binary, since it's......not

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

10 years ago2014-01-01 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 1 Jan 2014 22:21:38 +0000 (22:21 +0000)]
2014-01-01 Chris Allegretta <chrisa@asty.org>
        * src/global.c (strtokeytype) - Check for lower-case 'f' for defining F-key
          sequences for consistency (previously was two checks for upper case F). Fixes
          bug 40815 reported by David Binderman <dcb314@Savannah>.

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

11 years ago2013-06-13 Matthew Fischer <mfisch@Savannah>
Chris Allegretta [Fri, 14 Jun 2013 02:48:59 +0000 (02:48 +0000)]
2013-06-13 Matthew Fischer <mfisch@Savannah>
        * doc/syntax/c.nanorc - Add auto keyword

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

11 years ago2013-06-13 David Lawrence Ramsey <pooka109@gmail.com>
Chris Allegretta [Fri, 14 Jun 2013 02:44:54 +0000 (02:44 +0000)]
2013-06-13  David Lawrence Ramsey <pooka109@gmail.com>
        * src/global.c (first_sc_for) - try and more consistently display keystrokes,
          useful when the user has re-binded a bunch of them.

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

11 years ago2013-06-13 Kamil Dudka <kdudka@redhat.com>
Chris Allegretta [Fri, 14 Jun 2013 02:31:38 +0000 (02:31 +0000)]
2013-06-13 Kamil Dudka <kdudka@redhat.com>
        * doc/man/nano.1 - Actually document the -P (--poslog) option.

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

11 years agoMake Changelog entries consistent (tabs for all sub-bullets and not just 8 spaces)
Chris Allegretta [Fri, 14 Jun 2013 02:29:15 +0000 (02:29 +0000)]
Make Changelog entries consistent (tabs for all sub-bullets and not just 8 spaces)

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

11 years agoBump versions in README
Chris Allegretta [Fri, 14 Jun 2013 02:17:57 +0000 (02:17 +0000)]
Bump versions in README

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

11 years ago * src/files.c (write_file): Don't re-stat() the file if we're writing out
Chris Allegretta [Sat, 13 Apr 2013 02:56:03 +0000 (02:56 +0000)]
    * src/files.c (write_file): Don't re-stat() the file if we're writing out
          a marked file (especially that would give it the wrong stat info).  Part
          2 of issue reported by Benno Schulenberg.

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

11 years ago2013-04-12 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 12 Apr 2013 06:43:06 +0000 (06:43 +0000)]
2013-04-12 Chris Allegretta <chrisa@asty.org>
        * src/files.c (do_insertfile): Check for saved cursor position when inserting a
          file as well.  Fixes Savannah bug 38600 reported by Craig Barnes.

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

11 years ago013-04-07 Michael Berg <mike@berg-net.us>
Chris Allegretta [Mon, 8 Apr 2013 03:19:21 +0000 (03:19 +0000)]
013-04-07 Michael Berg <mike@berg-net.us>
        * do_cut_text - Fix copying (not cutting) text setting Modified state.  Fixes
          issue reported by Benno Schulenberg.

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

11 years agoBack to svn and add missing entry for release in changelog
Chris Allegretta [Sun, 24 Mar 2013 12:38:51 +0000 (12:38 +0000)]
Back to svn and add missing entry for release in changelog

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

11 years agoGNU nano 2.3.2 release v2.3.2
Chris Allegretta [Fri, 22 Mar 2013 14:06:58 +0000 (14:06 +0000)]
GNU nano 2.3.2 release

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

11 years ago2013-03-17 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 17 Mar 2013 22:09:38 +0000 (22:09 +0000)]
2013-03-17 Chris Allegretta <chrisa@asty.org>
        * Revert r4547 as we should have a new release and the overlap code is not yet
          ready for public consumption.

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

11 years ago * doc/man/nanorc.5: Fix typo in softwrap description, reported by
Chris Allegretta [Mon, 21 Jan 2013 03:40:08 +0000 (03:40 +0000)]
    * doc/man/nanorc.5: Fix typo in softwrap description, reported by
          cbart387@Savannah.

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

11 years ago2013-01-19 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 21 Jan 2013 03:36:18 +0000 (03:36 +0000)]
2013-01-19 Chris Allegretta <chrisa@asty.org>
        * configure.ac: Make ncurses checking to set $LIBS and check the ncursesw lib
          actually works before defaulting to it over ncurses!  Shock!

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

11 years ago * configure.ac: Added --with-wordbounds option to let cross compilers force
Chris Allegretta [Sun, 20 Jan 2013 17:57:04 +0000 (17:57 +0000)]
    * configure.ac: Added --with-wordbounds option to let cross compilers force
          whether their target system support GNU-style word boundaries or not.
          Originally reported by dave festing.

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

11 years ago2013-01-20 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 20 Jan 2013 07:51:34 +0000 (07:51 +0000)]
2013-01-20 Chris Allegretta <chrisa@asty.org>
        * src/text.c (do_histify): Don't allow sigwinch to be received while justifying
          as that puts us into a wacky state.  Fixess crash on justify by Joshua Rogers.

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

11 years ago2013-01-19 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 19 Jan 2013 07:18:29 +0000 (07:18 +0000)]
2013-01-19 Chris Allegretta <chrisa@asty.org>
 * configure.ac: Make ncursesw checking dependent on the presence of ncursesw.h,
          since without the header files we can't compile.

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

11 years ago2013-01-13 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 13 Jan 2013 08:37:54 +0000 (08:37 +0000)]
2013-01-13 Chris Allegretta <chrisa@asty.org>
        * src/utils.c (parse_num): Initalize errno before calling strtol().  Fixes issue
          where trying to go to a line number too long will break legitimate goto-lines
          for the remainder of the editing session, reported by Joshua Rogers.

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

11 years ago2013-01-02 Mike Frysinger <vapier@gentoo.org>
Chris Allegretta [Thu, 10 Jan 2013 03:51:24 +0000 (03:51 +0000)]
2013-01-02 Mike Frysinger <vapier@gentoo.org>
        * configure.ac: Check for ncursesw5-config and base $CPPFLAGS based on it.

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

11 years ago2013-01-09 Fabian Groffen <grobian@Savannah>
Chris Allegretta [Thu, 10 Jan 2013 03:29:59 +0000 (03:29 +0000)]
2013-01-09 Fabian Groffen <grobian@Savannah>
        * configure.ac, src/nano.h: Make search for ncursesw more generalized.

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

11 years ago2013-01-02 David Benjamin <davidben@Savannah>
Chris Allegretta [Thu, 3 Jan 2013 05:17:36 +0000 (05:17 +0000)]
2013-01-02 David Benjamin <davidben@Savannah>
        * src/search.c (parse_syntax): Fix blatantly and dangerously incorrect  code for
          deleting old syntaxes.

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

11 years ago2013-01-02 Mike Frysinger <vapier@gentoo.org>
Chris Allegretta [Thu, 3 Jan 2013 05:00:34 +0000 (05:00 +0000)]
2013-01-02 Mike Frysinger <vapier@gentoo.org>
        * src/search.c (search_init): Fix gcc complaints on certain versions

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

11 years ago2013-01-02 Mike Frysinger <vapier@gentoo.org>
Chris Allegretta [Thu, 3 Jan 2013 04:50:49 +0000 (04:50 +0000)]
2013-01-02 Mike Frysinger <vapier@gentoo.org>
        * src/files.c: (cwd_tab_completion): Remove unnecessary variables

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

11 years ago2013-01-02 Eitan Adler <lists@eitanadler.com>
Chris Allegretta [Thu, 3 Jan 2013 04:41:41 +0000 (04:41 +0000)]
2013-01-02 Eitan Adler <lists@eitanadler.com>
        * src/nano.h, NEWS: Fix redundant wording

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

11 years agoFix impromper calls to nmalloc in new locking implementation.
Chris Allegretta [Thu, 3 Jan 2013 04:36:39 +0000 (04:36 +0000)]
Fix impromper calls to nmalloc in new locking implementation.

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

11 years agoClean-up warnings with -pedantic.
Chris Allegretta [Thu, 3 Jan 2013 04:23:10 +0000 (04:23 +0000)]
Clean-up warnings with -pedantic.

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

11 years agoAdd missing proto for int write_lockfile()
Chris Allegretta [Thu, 3 Jan 2013 03:57:18 +0000 (03:57 +0000)]
Add missing proto for int write_lockfile()

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

11 years ago2013-01-02 Eitan Adler <lists@eitanadler.com>
Chris Allegretta [Thu, 3 Jan 2013 03:47:26 +0000 (03:47 +0000)]
2013-01-02 Eitan Adler <lists@eitanadler.com>
        * configure.ac: Remove unnecessary checks

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

11 years agoAdd locking entry to sample nanorc
Chris Allegretta [Thu, 3 Jan 2013 03:44:11 +0000 (03:44 +0000)]
Add locking entry to sample nanorc

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

11 years agoImplement the modification bit of the .swp file, put it in the correct actual
Chris Allegretta [Thu, 3 Jan 2013 03:36:20 +0000 (03:36 +0000)]
Implement the modification bit of the .swp file, put it in the correct actual
location (pos 1007).

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

11 years agoFix trying to lock an un-writable directory. Just put a message
Chris Allegretta [Thu, 3 Jan 2013 03:07:27 +0000 (03:07 +0000)]
Fix trying to lock an un-writable directory.  Just put a message
on the statusbar that we couldn't do it if the user modifies the file.
Changes to do_lockfile and write_lockfile to check for EACCESS and change
the return value of the functions (0 instead of -1)

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

11 years ago2012-12-31 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 1 Jan 2013 03:24:39 +0000 (03:24 +0000)]
2012-12-31 Chris Allegretta <chrisa@asty.org>
        * src/*: Introduce (basic) vim-style file locks.  Does not allow vim to recover
          our files, and doesn't yet support setting the file as modified; just lets a
          vim user know we're editing a file.  Commands line "-G" or "--locking", nanorc
          option "locking".  New functions src/files.c:do_lockfile(), write_lockfile(),
          and delete_lockfile().

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

11 years agoRemove trailing spaces on source files as they suck
Chris Allegretta [Sun, 30 Dec 2012 19:20:10 +0000 (19:20 +0000)]
Remove trailing spaces on source files as they suck

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

12 years ago2012-02-05 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 6 Feb 2012 01:10:45 +0000 (01:10 +0000)]
2012-02-05 Chris Allegretta <chrisa@asty.org>
        * src/*: Fix overlapping strings highlighting each other.  new variables in edit_draw
          (slmatcharray, pbegin, paintok), new logic (with repeated setting od values in the
          array but its BFI after all).  FIXME: Need to create a new 'overlap'
        * src/*: Fix a silly issue with the argument to nregcomp, as it's confusing to the caller
        * src/nano.h: Change the color types to a compiler macro (COLORWIDTH), may not actually
          even be worth doing, but someday who knows how wide a color curses implementation might
          be, and maybe we'll even start checking for it in autoconf!

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