Commit Graph

2278 Commits (e67bf806bd4d839c94f81e41e241d0404794fa6c)

Author SHA1 Message Date
Chris Allegretta e67bf806bd Fix for segfault when window size is too small by Andreas Amann <andreas.amann@tyndall.ie>
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4256 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-05-31 22:23:16 +00:00
Chris Allegretta ed505f5893 Makefile changes for the included files and updated Changelog
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4255 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-05-31 21:59:53 +00:00
Chris Allegretta 33a8b4e9ae GNU nano 2.1.1 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4249 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-04-02 04:08:09 +00:00
Chris Allegretta b04248c548 Benno's latest fixes for help menu translations.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4247 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-03-20 05:56:46 +00:00
Chris Allegretta cc60c3a767 Add some rc file name debugging
Add debian nanorc example
Fix that previous entries as well as new one need Makefile.am entries



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4245 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-03-20 05:41:00 +00:00
Chris Allegretta 2ea0b8fa03 Fix default bracket match shortcut
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4244 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-03-20 04:57:46 +00:00
Chris Allegretta 90ee8ee494 Add Mike F's latest patches for 2.1.0 and new syntax configs for tcl, php and gentoo.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4242 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-03-20 04:45:55 +00:00
Chris Allegretta 1fb25fd2aa Add Benno's latest translation fixes for shorcut display,
first line message help, and comments to assist translators.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4236 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-03-18 03:06:27 +00:00
Chris Allegretta 8ded73e758 Add .gitignore files for Mike F, remove .cvsignores which are
not needed.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4235 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-03-18 02:44:39 +00:00
Chris Allegretta d3659f8284 Fixes from Benno Schulenberg.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4233 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-03-16 23:57:14 +00:00
Chris Allegretta 90218063db New keybindings code and backend. New structs subnfunc for menu functions
and toggles and sc for shortcut keys, old 'shortcut' and 'toggles' structs are
gone.  The current implementation has a bunch of broken stuff (some of which is
documented in BUGS).  Updated nanorc.5 with some mostly complete documentation
on configuring.

Part 2 of commit since I accidentally did it in src/ the first time.  Yeah,
welcome back bonehead.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4216 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2008-03-05 07:35:01 +00:00
David Lawrence Ramsey 200f0c8c2c resync NEWS with NEWS from the 2.0 branch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4214 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-20 18:57:41 +00:00
David Lawrence Ramsey 9fff4e1a10 update maintenance information
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4210 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-20 18:41:04 +00:00
David Lawrence Ramsey 3fb62b8ac1 in print_opt_full(), use strlenpt() instead of strlen(), so that tabs
are placed properly when displaying translated strings in UTF-8, as
found by Jean-Philippe Guérard


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4208 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-18 22:00:17 +00:00
David Lawrence Ramsey f78bc85db1 revert last changes, but disable all the same features that
--enable-tiny does when --with-slang is used


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4204 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-18 15:55:48 +00:00
David Lawrence Ramsey c7fa5e1f9e remove slang curses emulation support, as it's hopelessly broken, and it
doesn't make the binary very much smaller, especially when --enable-tiny
is used


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4203 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-18 02:39:25 +00:00
David Lawrence Ramsey 7f6f5a64fb simplify terminal handling by using raw mode instead of cbreak mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4202 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-18 02:03:00 +00:00
David Lawrence Ramsey 8b9c91b80d in execute_command(), call terminal_init() instead of just
disable_signals() after executing the command, as the command may have
changed the terminal settings


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4201 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-18 01:28:53 +00:00
David Lawrence Ramsey 75500fd801 resync NEWS with NEWS from the 2.0 branch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4200 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-17 23:07:49 +00:00
David Lawrence Ramsey e3a026368f fix changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4199 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-17 23:05:11 +00:00
David Lawrence Ramsey e68748a6ee in main(), exit if initscr() fails
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4198 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-10 17:59:26 +00:00
David Lawrence Ramsey c63a5c0cfe in faq.html, add minor punctuation and wording fixes, and update various
sections to account for Alpine


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4196 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-09 18:28:36 +00:00
David Lawrence Ramsey 281a469442 fix minor display and cursor placement problems when scrolling between
pages at the statusbar prompt


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4189 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-08 07:00:27 +00:00
David Lawrence Ramsey cd79a81692 in doc/man/rnano.1 and doc/man/fr/rnano.1, update copyright notices, as
Thijs Kinkhorst's copyrights have now been assigned to the Free Software
Foundation


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4188 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-08 04:27:44 +00:00
David Lawrence Ramsey 97a6ecbd62 in get_mouseinput(), gix longstanding problem where mouse clicks on the
statusbar prompt text wouldn't be recognized unless the NO_HELP flag was
turned off


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4187 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-08 04:21:15 +00:00
David Lawrence Ramsey 9bd537fc6c in disable_mouse_support() and enable_mouse_support(), when toggling
mouse support on or off, save and restore the mouse click interval


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4186 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-04 20:49:09 +00:00
David Lawrence Ramsey 98958e83c9 per OBATA Akio's patch with a few tweaks by me, add wnoutrefresh() calls
after reset_(statusbar_)?cursor() calls, to ensure that the cursor is
placed properly when using NetBSD curses


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4185 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-12-04 16:38:47 +00:00
David Lawrence Ramsey 38de45b3a3 per Jean-Philippe Guérard's updates, in doc/man/fr/*.1,
doc/man/fr/nanorc.5, fix copyright notices; the copyrights are
disclaimed on these translations, but the copyrights of the untranslated
works also apply


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4181 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-11-29 19:09:21 +00:00
David Lawrence Ramsey 9b5f4634a2 in doc/man/fr/nanorc.5, remove trailing whitespace
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4180 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-11-28 17:09:42 +00:00
David Lawrence Ramsey cfd4b89f4b in read_file(), improve autodetection of DOS and Mac format files to not
trigger on carriage returns in the middle of files, as found by Kjell
Braden


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4179 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-11-17 20:34:38 +00:00
David Lawrence Ramsey 4510bac41d update copyright notices, as Jordi Mallach's copyrights have now been
assigned to the Free Software Foundation


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4178 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-11-06 22:58:33 +00:00
David Lawrence Ramsey 4fe5edbc11 in do_gotolinecolumn(), use a clearer error message if we enter an
invalid line or column number, per Mike Melanson's suggestion


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4177 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-11-05 17:18:16 +00:00
David Lawrence Ramsey 4821ac645f in input_tab(), disable completion of usernames, directories, and
filenames if the cursor isn't at the end of the line, as it can lead to
odd behavior (e.g. adding a copy of the entire match to the middle of
the line instead of just the uncompleted part of the match)


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4176 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-10-11 15:49:08 +00:00
David Lawrence Ramsey 6e6c80b181 in username_tab_completion() and cwd_tab_completion(), rename variable
buflen to buf_len, for consistency


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4175 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-10-11 15:38:32 +00:00
David Lawrence Ramsey b4b553665c in cwd_tab_completion(), remove unneeded assert
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4174 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-10-11 15:19:45 +00:00
David Lawrence Ramsey d8a1d37161 update copyright notices, as Chris Allegretta's copyrights have now been
assigned to the Free Software Foundation; also, make copyright notices
consistent in style


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4173 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-10-11 05:01:32 +00:00
David Lawrence Ramsey c9694b7636 update copyright notices, as my copyrights have now been assigned to the
Free Software Foundation


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4172 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-10-05 16:44:45 +00:00
David Lawrence Ramsey 1072fce453 in edit_scroll(), fix problem where the screen wouldn't be updated
properly if you paged up with the first line of the file onscreen and
the mark on


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4170 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-09-16 16:53:20 +00:00
David Lawrence Ramsey cd7a313f23 in doc/faq.html, update links to the Free Translation Project
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4169 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-26 15:21:05 +00:00
David Lawrence Ramsey c1f4b9eba1 various documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4168 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-24 00:36:51 +00:00
David Lawrence Ramsey ac154c3365 in the French manpages, delete translation of old licensing terms, until
it can be updated


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4166 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-23 14:00:58 +00:00
David Lawrence Ramsey e3eed024a0 convert documentation to GPLv3/GFDLv1.2
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4161 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-23 04:34:35 +00:00
David Lawrence Ramsey a22b2672a6 in the French manpage translations, make all copyright notices
consistent, and in rnano.1, add missing copyright notice from
nano-tiny.1, which rnano.1 is based on


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4160 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-21 17:00:42 +00:00
David Lawrence Ramsey 093a441337 in rnano.1, add missing copyright notice from nano-tiny.1, which rnano.1
is based on


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4159 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-21 16:38:43 +00:00
David Lawrence Ramsey 64b8f423b2 properly handle more cases of inserting a file/uncutting text with the
mark on


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4158 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-16 14:45:17 +00:00
David Lawrence Ramsey ee89418102 more fixes for uncutting text/inserting files with the mark on
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4156 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-16 03:23:30 +00:00
David Lawrence Ramsey 908b127b44 in do_insertfile(), make sure the mark is always properly positioned
after inserting a one-line file with the mark on


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4152 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-16 02:34:23 +00:00
David Lawrence Ramsey bf70087541 in Makefile.am, remove erroneous backslash after ChangeLog.pre-2.1 in
EXTRA_DIST, so that "make dist" works again


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4151 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-15 22:40:33 +00:00
David Lawrence Ramsey d0035b4ab2 convert to GPLv3 or later
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4147 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-11 05:17:36 +00:00
David Lawrence Ramsey fd21be19fe update the copyright notice on the tab completion code originally from
busybox to account for modifications


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4146 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2007-08-10 22:12:39 +00:00