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