- 02 Jan, 2013 3 commits
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4555 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
location (pos 1007). git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4551 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
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
-
- 30 Dec, 2012 1 commit
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4548 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 05 Feb, 2012 1 commit
-
-
Chris Allegretta authored
* 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
-
- 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
-
- 07 Mar, 2010 1 commit
-
-
Chris Allegretta authored
* configure.ac, nano.c (handle_sigwinch): Create check for whether LINES and COLS can safely be redefined. Fixes compilation issues with cygwin, and likely with newer versions of ncurses, fixes Savannah bug 28984 repoted by Andy Koppe and Eric Oliver via mailing list. * winio.c (get_mouseinput) - fix stray semicolon in code, also reported in bug 28984. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4484 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 12 Jan, 2010 1 commit
-
-
Chris Allegretta authored
* move.c (do_page_up, do_page_down): Fix issues with not enough scrolling down/up and cursor centering. * winio.c (edit_scroll): Remove lots of needless checking of line length for soft wrapping code. * winio.c (edit_update) - Remove extra code for when updating with old_current outside of the new buffer boundary and centering issues. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4473 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 04 Jan, 2010 1 commit
-
-
Chris Allegretta authored
* winio.c: edit_update, edit_redraw - Fix search not scrolling to the middle of the screen (reported by alpha@qzx.com) and places where we rely on maxrows but should not. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4471 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 01 Dec, 2009 1 commit
-
-
Chris Allegretta authored
* Update documentation for 2.2 features including sample nanorc file, texinfo file, man pages, UPGRADE file, and update copyright noticed for the current year. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4453 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 28 Nov, 2009 1 commit
-
-
Chris Allegretta authored
* prompt.c (get_prompt_string) - Universally handle help key when is disabled. Fixes Savannah bug 28117 by David Lawrence Ramsey <pooka109@gmail.com>. * chars.c, files.c: Add junk vars to silence the compiler. Sigh. 2009-11-29 David Lawrence Ramsey <pooka109@gmail.com> * Change several *chars to const char, additional cleanups and casts to make compilers happier. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4448 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 26 Nov, 2009 1 commit
-
-
Chris Allegretta authored
* winio.c (edit_scroll): Adjust for long lines when scrolling. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4444 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 24 Nov, 2009 1 commit
-
-
Chris Allegretta authored
* move.c (do_page_up, do_page_down): Make these functions work better with soft line wrapping. * winio.c (compute_maxrows): Make maxrows calculation more accurate when all lines are > COLS. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4441 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 22 Nov, 2009 1 commit
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4440 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 15 Nov, 2009 2 commits
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4428 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
* winio.c (edit_refresh): Always computer maxsize regardless of whether smooth scrolling is enabled. Fixes Savannah bug 28024 by Mike Frysinger. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4427 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 13 Nov, 2009 1 commit
-
-
Chris Allegretta authored
* winio.c: Add new static maxsize to be able to easier calculation with softwrap. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4421 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 10 Nov, 2009 1 commit
-
-
Chris Allegretta authored
* winio.c: Large tweaking of cursor and text display based on COLS not COLS - 1, due to finally understanding that display_string wasn't being called properly when softwrap was enabled. Fixes Savnnah bug 27603, Return key doesn't scroll viewport reported by Hannes Schueller. * - Fix size_t formatting issues with -pedantic by converting vals to long unsigned for printing. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4420 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 14 Sep, 2009 1 commit
-
-
Chris Allegretta authored
* winio.c: Clean up some unused variables from the soft wrapping code. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4413 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 12 Sep, 2009 1 commit
-
-
Chris Allegretta authored
* winio.c (edit_update) - properly update edittop when using soft wrapping. Fixes lack of centering for searching for off-screen answers, found by Hannes <mr_creosote@mutantwatch.de>. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4409 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 02 Sep, 2009 1 commit
-
-
Chris Allegretta authored
figure out if we need to bail and call edit_refresh(). git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4406 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 29 Aug, 2009 1 commit
-
-
Chris Allegretta authored
* Fix more soft wrapping issues, particularly with soft scrolling, discovered by Hannes <mr_creosote@mutantwatch.de>. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4405 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 18 Aug, 2009 1 commit
-
-
Chris Allegretta authored
* Fix issue with soft wrapping not displaying the last character of each line, fixed bug discovered by Hannes <mr_creosote@mutantwatch.de>. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4404 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 17 Aug, 2009 1 commit
-
-
Chris Allegretta authored
* Initial soft line wrapping implementation. Command line flags -$ or --softwrap. * nano.c, text.c: Clean up some fprintf warnings in debug mode due to printing a size_t without using the zd specifier. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4402 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 07 Feb, 2009 1 commit
-
-
Chris Allegretta authored
Add alloc_multidata_if_needed() call in edit_draw as the last defense against a crash. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4367 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 06 Feb, 2009 1 commit
-
-
Chris Allegretta authored
Added bug 80 to document segfault when editing near COLS git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4366 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 02 Feb, 2009 1 commit
-
-
Chris Allegretta authored
* New color precalculation code for mult-line regexes. New function precalc_multicolorinfo(), new structure multidata for keeping track of where regexes start/stop. More performance improvements forthcoming. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4362 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 24 Jan, 2009 2 commits
-
-
Chris Allegretta authored
multi-line regexes but this may not be enough to increase performance. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4351 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
* Add interruptability to search functions. New functions enable_nodelay and disable_nodelay and changes to the routines to handle checking for pending searches. Fixes Savnnah bug 24946: Need interrrupt for search. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4350 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 19 Jan, 2009 1 commit
-
-
Chris Allegretta authored
* Change funcion definitions to shorts instead of (void *)s. New mapping function iso_me_harder_funcmap(). Fixes compilation complaints with -pedantic, reported by Eitan Adler <eitanadlerlist@gmail.com>. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4349 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 30 Aug, 2008 1 commit
-
-
Chris Allegretta authored
issues with --disable-help, especially that do-writeout was treating ^G the same as ^M. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4317 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 19 Mar, 2008 1 commit
-
-
Chris Allegretta authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4242 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 17 Mar, 2008 1 commit
-
-
Chris Allegretta authored
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
-
- 13 Mar, 2008 1 commit
-
-
Chris Allegretta authored
- Resurrect IFSCHELP to get rid of some needless help message stubs - Add support for rebinding the suspend key - Fix wrong refresh help message git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4224 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 11 Mar, 2008 1 commit
-
-
Chris Allegretta authored
for enter and backspace keys in case their control key alternates get rebound. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 10 Mar, 2008 2 commits
-
-
Chris Allegretta authored
specifically problms in help and browser routines. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4222 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Chris Allegretta authored
rebinds them to something else. Fix debug mode crash when the user typos a menu name. Add menus for pageup and pagedown bindings and make rebinding up and down actually do up and down and not page up and page down. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4221 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 08 Mar, 2008 1 commit
-
-
Chris Allegretta authored
- Fix tiny mode compilation problems - Fix F-keys not working (silly typo) - Change file browser to use new backend - global.c - new helper function sc_seq_or, makes logic simpler down in the functions than calling first_sc_for directly git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4218 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 04 Mar, 2008 1 commit
-
-
Chris Allegretta authored
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. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4215 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-