]> git.wh0rd.org Git - nano.git/log
nano.git
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

13 years agoGNU nano 2.3.1 release v2.3.1
Chris Allegretta [Wed, 11 May 2011 04:54:39 +0000 (04:54 +0000)]
GNU nano 2.3.1 release

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

13 years ago2011-05-10 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Tue, 10 May 2011 05:43:08 +0000 (05:43 +0000)]
2011-05-10 Chris Allegretta <chrisa@asty.org>
        * text.c (do_enter): Only increment totsize by the auto-indented amount, size the previous line's size was
          already counted.  Fixes bug reported by Robert Spanjaard.

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

13 years ago2011-05-08 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 8 May 2011 04:23:24 +0000 (04:23 +0000)]
2011-05-08 Chris Allegretta <chrisa@asty.org>
        * doc/syntax/Makefile.am: Finally get around to sorting the syntax file list

2011-05-08 Matthew Wild <mattj100@Savannah>
        * doc/syntax/spec.nanorc: New lua syntax highlighting config

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

13 years ago2011-03-28 Asterios Dramis <asterios.dramis@gmail.com>
Chris Allegretta [Tue, 29 Mar 2011 04:10:11 +0000 (04:10 +0000)]
2011-03-28 Asterios Dramis <asterios.dramis@gmail.com>
        * doc/syntax/spec.nanorc: New RPM spec file highlighting file

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

13 years ago2011-03-12 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 13 Mar 2011 06:05:19 +0000 (06:05 +0000)]
2011-03-12 Chris Allegretta <chrisa@asty.org>
        * po/*: Sync latest translation fixes, add an update_linguas.sh script.  Rename
          existing update.pl to update_sources.pl to make it more specific.

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

13 years ago2011-03-04 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 5 Mar 2011 05:01:13 +0000 (05:01 +0000)]
2011-03-04 Chris Allegretta <chrisa@asty.org>
* color.c (color_update): Add check for whether the file even exists
  before we try to run the magic check on it.  Fixes error messages to stderr
  when reading in files that don't exist, reported by Mike Frysinger.

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

13 years ago2011-03-03 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 3 Mar 2011 16:23:27 +0000 (16:23 +0000)]
2011-03-03 Chris Allegretta <chrisa@asty.org>
        * color.c (color_update): Remove unneeded debugging message from
          libmagic commit.  Fixed extra messages going to stderr reported by Mike Frysinger.

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

13 years agoBack to SVN
Chris Allegretta [Sat, 26 Feb 2011 14:41:55 +0000 (14:41 +0000)]
Back to SVN

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

13 years agoGNU nano 2.3.0 release v2.3.0
Chris Allegretta [Sat, 26 Feb 2011 14:28:42 +0000 (14:28 +0000)]
GNU nano 2.3.0 release

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

13 years ago2011-02-26 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 26 Feb 2011 14:22:37 +0000 (14:22 +0000)]
2011-02-26 Chris Allegretta <chrisa@asty.org>
        * Change RAW in function_type enum to RAWINPUT, to fix compilation on AIX,
          reported by Richard G  Daniel <skunk@iskunk.org>.

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

13 years ago2011-02-23 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 24 Feb 2011 02:47:25 +0000 (02:47 +0000)]
2011-02-23 Chris Allegretta <chrisa@asty.org>
        * Fix some more severe warnings from 'g++ -pedantic', from patch originally
          by Eitan Adler <lists@eitanadler.com>

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

13 years ago2011-02-23 Kamil Dudka <kdudka@redhat.com>
Chris Allegretta [Thu, 24 Feb 2011 02:14:30 +0000 (02:14 +0000)]
2011-02-23 Kamil Dudka <kdudka@redhat.com>
        * doc/man/nanorc.5: Fix small typo

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

13 years ago2011-02-22 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 23 Feb 2011 03:09:23 +0000 (03:09 +0000)]
2011-02-22 Chris Allegretta <chrisa@asty.org>
        * color.c (nfreeregex): Fix that we were trying to set the pointer passed by value
          to NULL.  Fixes crashes on file save reported by Ken Tyler and Matthieu Lejeune.

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

13 years ago * files.c (load_history): Set last_search to the last search value we loaded...
Chris Allegretta [Fri, 18 Feb 2011 07:49:28 +0000 (07:49 +0000)]
    * files.c (load_history): Set last_search to the last search value we loaded from history,
          so do_research will succeed without needing to manually load the last seach in.  Fixes
          bug reported by Matt "ML" at gmail.

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

13 years ago2011-02-18 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 18 Feb 2011 07:30:57 +0000 (07:30 +0000)]
2011-02-18 Chris Allegretta <chrisa@asty.org>
        * New saved cursor position history option.  Command line option -P or --poslog, rc file
          entry "poslog".  Search history changes to ~/.nano/search_history, cursor position log
          is ~/.nano/filepos_history.  Added checks to move the legacy .nano_history file to the new
          location.  Several new functions to files.c: load_poshistory(), save_poshistory(),
          check_poshistory(), update_poshistory(), and reworking of histfilename().  New FAQ entry
          4.15 discussing the change and offering an interoperability workaround.

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

13 years agoCheckpoint commit of saved file position implementation in case my desktop bites it.
Chris Allegretta [Wed, 16 Feb 2011 06:52:30 +0000 (06:52 +0000)]
Checkpoint commit of saved file position implementation in case my desktop bites it.

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

13 years ago2011-02-12 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 13 Feb 2011 04:23:10 +0000 (04:23 +0000)]
2011-02-12 Chris Allegretta <chrisa@asty.org>
        * Initial libmagic implementation, adapted from Eitan Adler <eitanadlerlist@gmail.com>.
          New nanorc entry "magic" to enable this functionality, nanorc file and man page updates.

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

13 years ago * src/*: Retire iso_me_harder_funcmap based on suggestion by <bernd.spaeth...
Chris Allegretta [Mon, 7 Feb 2011 14:45:56 +0000 (14:45 +0000)]
    * src/*: Retire iso_me_harder_funcmap based on suggestion by <bernd.spaeth@gmx.net>
          This does add 20KB to nano's executable size but it gets rid of a lot of indirection
          that makes people stomach turn.  There are several new stub functions and need of more
          tidying as a result of this.

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

13 years ago2011-02-06 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 7 Feb 2011 02:06:20 +0000 (02:06 +0000)]
2011-02-06 Chris Allegretta <chrisa@asty.org>
* files.c (write_file) - Fix problems with writing the backup file (albeit interactively)
  with new function prompt_failed_backupwrite(), allows more secure handling of problems
  with failing to write the backup file compared to 'allow_insecure_backup'.
* winio.c (edit_redraw): Removed unused variable

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

13 years ago2010-11-15 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 15 Nov 2010 06:59:09 +0000 (06:59 +0000)]
2010-11-15 Chris Allegretta <chrisa@asty.org>
        * Add a section to the FAQ about using nanorc on Win32 systems.

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

13 years ago2010-11-12 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 12 Nov 2010 06:22:12 +0000 (06:22 +0000)]
2010-11-12 Chris Allegretta <chrisa@asty.org>
        * Add check for RESTRICTED mode back to speller, suspend and insert file
          routines, since adding key bindings broke the fact that they should be
          disabled in restricted mode.  Fixes Savannah bug 31625 reported by
          Charlie Somerville.

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

14 years agoBump configure version for 2.3 branch
Chris Allegretta [Wed, 11 Aug 2010 02:47:34 +0000 (02:47 +0000)]
Bump configure version for 2.3 branch

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

14 years agoBack to SVN, fix typo
Chris Allegretta [Wed, 11 Aug 2010 02:41:26 +0000 (02:41 +0000)]
Back to SVN, fix typo

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

14 years agoGNU nano 2.2.5 release v2.2.5
Chris Allegretta [Fri, 6 Aug 2010 01:20:51 +0000 (01:20 +0000)]
GNU nano 2.2.5 release

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

14 years ago2010-08-04 Lauri Kasanen <curaga@operamail.comcuraga@operamail.com>
Chris Allegretta [Wed, 4 Aug 2010 13:47:23 +0000 (13:47 +0000)]
2010-08-04 Lauri Kasanen <curaga@operamail.comcuraga@operamail.com>
        * doc/syntax/mgp.nanorc: New Magicpoint syntax highlighting definition

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

14 years ago2010-08-04 Peter <exodus@savannah>
Chris Allegretta [Wed, 4 Aug 2010 13:37:48 +0000 (13:37 +0000)]
2010-08-04 Peter <exodus@savannah>
* doc/syntax/tex.nanorc: No longer highlight escaped comments

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

14 years agoAdd more inseure backup checks to that strange cases like with ACLs will work with...
Chris Allegretta [Thu, 24 Jun 2010 14:47:00 +0000 (14:47 +0000)]
Add more inseure backup checks to that strange cases like with ACLs will work with allow_insecure_backup.

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

14 years ago2010-06-20 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Mon, 21 Jun 2010 03:10:10 +0000 (03:10 +0000)]
2010-06-20 Chris Allegretta <chrisa@asty.org>
        * New option allow_insecure_backup, allows the previous security
          fixes for backup files to be overridden if you're really positive
          you want to.  Fixes Savannah bug 29732 by Brian Szymanski <skibrianski>.

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

14 years ago2010-05-23 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 23 May 2010 04:30:23 +0000 (04:30 +0000)]
2010-05-23 Chris Allegretta <chrisa@asty.org>
        * files.c (write_file): Don't even try to chown() the backup
          file unless we're root, since it's probably going to fail if
          we're editing a file we don't own.  Fixes Savannah bug
          29514: [nano 2.2.2] backup should ignore chown errors.

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

14 years agoBack to svn!
Chris Allegretta [Sun, 23 May 2010 04:26:22 +0000 (04:26 +0000)]
Back to svn!

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

14 years agoGNU nano 2.2.4 v2.2.4
Chris Allegretta [Thu, 15 Apr 2010 07:40:41 +0000 (07:40 +0000)]
GNU nano 2.2.4

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

14 years ago2010-04-07 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 14 Apr 2010 21:55:39 +0000 (21:55 +0000)]
2010-04-07 Chris Allegretta <chrisa@asty.org>
        * doc/man/nano.1,nanorc.5: Remove the backup file warnings now
          that a sufficient security fix exists for the backup file code.

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

14 years agoAdd CVE information for the fixes in this release.
Chris Allegretta [Wed, 14 Apr 2010 21:53:59 +0000 (21:53 +0000)]
Add CVE information for the fixes in this release.

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

14 years ago2010-04-14 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 14 Apr 2010 06:03:12 +0000 (06:03 +0000)]
2010-04-14 Chris Allegretta <chrisa@asty.org>
        * files.c (wirte_file): Don't set current_stat when tmp == TRUE, check
          whether current_stat is set when trying to use it, and don't do the
          modification check if the filename changed, since we have no way
          of knowing about it in that case.  Fixes Savannah bug 29392, reported
          by Mike Frysinger.

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

14 years ago2010-04-09 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 14 Apr 2010 03:14:40 +0000 (03:14 +0000)]
2010-04-09 Chris Allegretta <chrisa@asty.org>
        * text.c (do_alt_speller): Skip invoking the alt speller if the file size
          is 0 bytes.  Fixes Savannah bug 29393 reported by Mike Frysinger.

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

14 years ago2010-04-13 Felipe Bugno <necron@bol.com.br>
Chris Allegretta [Wed, 14 Apr 2010 02:38:56 +0000 (02:38 +0000)]
2010-04-13 Felipe Bugno <necron@bol.com.br>
        * doc/syntax/cmake.nanorc: Added cmake syntax highlighting file.

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

14 years agoSigh, left out O_EXCL from Dan's patch
Chris Allegretta [Fri, 9 Apr 2010 15:31:00 +0000 (15:31 +0000)]
Sigh, left out O_EXCL from Dan's patch

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

14 years ago2010-04-09 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Fri, 9 Apr 2010 15:01:51 +0000 (15:01 +0000)]
2010-04-09 Chris Allegretta <chrisa@asty.org>
        * files.c (do_writeout): Better security fixes for backup file writing,
          mangled from submission by Dan Rosenberg <dan.j.rosenberg at gmail>.

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

14 years agoOkay maybe make it crash EVEN less.
Chris Allegretta [Thu, 8 Apr 2010 04:07:14 +0000 (04:07 +0000)]
Okay maybe make it crash EVEN less.

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

14 years ago2010-04-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Thu, 8 Apr 2010 02:22:53 +0000 (02:22 +0000)]
2010-04-02 Chris Allegretta <chrisa@asty.org>
        * files.c (do_writeout): Previous fixes should not cause a crash
          when saving a new file.  Discovered by Mike Frysinger <vapier@gentoo.org>.

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

14 years ago2010-04-07 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Wed, 7 Apr 2010 06:20:55 +0000 (06:20 +0000)]
2010-04-07 Chris Allegretta <chrisa@asty.org>
        * doc/man/nano.1,nanorc.5: Add warnings about using backup
          mode as root due to the Dan Rosenberg security analysis.

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

14 years agoFix that wording cause it's the file owner we care about
Chris Allegretta [Wed, 7 Apr 2010 05:53:41 +0000 (05:53 +0000)]
Fix that wording cause it's the file owner we care about

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

14 years ago * files.c (do_writeout): Also abort on writing a backup
Chris Allegretta [Wed, 7 Apr 2010 05:48:24 +0000 (05:48 +0000)]
    * files.c (do_writeout): Also abort on writing a backup
          file when its owner doesn't match the edited file.

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

14 years ago2010-04-02 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sat, 3 Apr 2010 02:39:18 +0000 (02:39 +0000)]
2010-04-02 Chris Allegretta <chrisa@asty.org>
        * files.c (do_writeout): Expand modification check to include both the
          original file's device ID and inode number as reasons to warn the
          user that the file has been modified.  Based on security article on nano
          by Dan Rosenberg.

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

14 years ago2010-03-21 Chris Allegretta <chrisa@asty.org>
Chris Allegretta [Sun, 21 Mar 2010 05:31:43 +0000 (05:31 +0000)]
2010-03-21 Chris Allegretta <chrisa@asty.org>
        * nano.c (page_stdin et al): Don't attempt to reset/reopen the terminal
          settings when reading stdin if it was aborted with SIGINT.  May fix Savannah
          bug 29114 reported by  Mike Frysinger.

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

14 years ago2010-03-21 Mike Frysinger <vapier@gentoo.org>
Chris Allegretta [Sun, 21 Mar 2010 05:04:03 +0000 (05:04 +0000)]
2010-03-21 Mike Frysinger <vapier@gentoo.org>
        * doc/syntax/c.nanorc: Add additional support for #include_next and #pragma

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

14 years agoFix ChangeLog to reflect previosu commit.
Chris Allegretta [Sun, 21 Mar 2010 04:57:14 +0000 (04:57 +0000)]
Fix ChangeLog to reflect previosu commit.

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

14 years agoMake previous fix more succinct and fix page down also.
Chris Allegretta [Sun, 21 Mar 2010 04:56:37 +0000 (04:56 +0000)]
Make previous fix more succinct and fix page down also.

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

14 years ago * move.c (do_page_up): Explicitly set current_y to 0 when paging up when not in
Chris Allegretta [Sun, 21 Mar 2010 04:35:17 +0000 (04:35 +0000)]
* move.c (do_page_up): Explicitly set current_y to 0 when paging up when not in
  smooth scroll mode, as previous fixes would otherwise cause the cursor to not
  really be moved to the stop of the screen.

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