- 26 Feb, 2011 3 commits
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4538 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4536 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
* 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
-
- 23 Feb, 2011 2 commits
-
-
Chris Allegretta authored
* 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 authored
* doc/man/nanorc.5: Fix small typo git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4533 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 22 Feb, 2011 1 commit
-
-
Chris Allegretta authored
* 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
-
- 17 Feb, 2011 2 commits
-
-
Chris Allegretta authored
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
-
Chris Allegretta authored
* 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
-
- 15 Feb, 2011 1 commit
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4529 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 12 Feb, 2011 1 commit
-
-
Chris Allegretta authored
* 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
-
- 07 Feb, 2011 1 commit
-
-
Chris Allegretta authored
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
-
- 06 Feb, 2011 1 commit
-
-
Chris Allegretta authored
* 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
-
- 14 Nov, 2010 1 commit
-
-
Chris Allegretta authored
* 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
-
- 11 Nov, 2010 1 commit
-
-
Chris Allegretta authored
* 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
-
- 10 Aug, 2010 2 commits
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4518 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4515 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 05 Aug, 2010 1 commit
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4513 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 04 Aug, 2010 2 commits
-
-
Chris Allegretta authored
* 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
-
Chris Allegretta authored
* 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
-
- 24 Jun, 2010 1 commit
-
-
Chris Allegretta authored
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
-
- 20 Jun, 2010 1 commit
-
-
Chris Allegretta authored
* 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
-
- 22 May, 2010 2 commits
-
-
Chris Allegretta authored
* 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
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4506 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 15 Apr, 2010 1 commit
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4503 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 14 Apr, 2010 2 commits
-
-
Chris Allegretta authored
* 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
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4501 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 13 Apr, 2010 3 commits
-
-
Chris Allegretta authored
* 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
-
Chris Allegretta authored
* 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
-
Chris Allegretta authored
* 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
-
- 09 Apr, 2010 2 commits
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4497 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
* 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
-
- 07 Apr, 2010 2 commits
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4495 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
* 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
-
- 06 Apr, 2010 3 commits
-
-
Chris Allegretta authored
* 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
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4492 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
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
-
- 02 Apr, 2010 1 commit
-
-
Chris Allegretta authored
* 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
-
- 20 Mar, 2010 3 commits
-
-
Chris Allegretta authored
* 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
-
Chris Allegretta authored
* 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
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4487 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-