]> git.wh0rd.org Git - nano.git/log
nano.git
19 years agochange NANO_WIDE #define to ENABLE_UTF8, as the latter is clearer
David Lawrence Ramsey [Sun, 17 Jul 2005 02:40:07 +0000 (02:40 +0000)]
change NANO_WIDE #define to ENABLE_UTF8, as the latter is clearer

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

19 years agofix glitch in edit_scroll() where scrolling up to the top line of the
David Lawrence Ramsey [Sun, 17 Jul 2005 02:19:47 +0000 (02:19 +0000)]
fix glitch in edit_scroll() where scrolling up to the top line of the
file with fewer than nlines lines available to scroll would leave half
the screen unupdated

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

19 years agosimplify get_totals() (renamed get_totsize()) to only get the total
David Lawrence Ramsey [Sun, 17 Jul 2005 01:44:35 +0000 (01:44 +0000)]
simplify get_totals() (renamed get_totsize()) to only get the total
number of characters, and eliminate dependence on its old ability to get
the total number of lines by renumber()ing when necessary and using the
number of the last line of a filestruct

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

19 years agoadd missing check_statusblank() calls
David Lawrence Ramsey [Sun, 17 Jul 2005 00:01:18 +0000 (00:01 +0000)]
add missing check_statusblank() calls

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

19 years agospeed up character output, and fix edit_refresh() breakage
David Lawrence Ramsey [Sat, 16 Jul 2005 23:36:10 +0000 (23:36 +0000)]
speed up character output, and fix edit_refresh() breakage

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

19 years agoproperly overhaul edit_scroll() to update the screen on its own this
David Lawrence Ramsey [Sat, 16 Jul 2005 22:50:30 +0000 (22:50 +0000)]
properly overhaul edit_scroll() to update the screen on its own this
time, convert the vertical movement functions to use the new version of
it, and simplify them where possible

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

19 years agoreally fix color breakage by decoupling edit_update() and
David Lawrence Ramsey [Sat, 16 Jul 2005 22:47:12 +0000 (22:47 +0000)]
really fix color breakage by decoupling edit_update() and
edit_refresh(); edit_update() is only called without edit_refresh() in
do_gotolinecolumn() if allow_update is FALSE, and in edit_refresh()
itself if edittop is out of range of current

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

19 years agocosmetic and #ifdef fixes
David Lawrence Ramsey [Sat, 16 Jul 2005 22:35:11 +0000 (22:35 +0000)]
cosmetic and #ifdef fixes

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

19 years agofix color breakage; also, in main(), when opening files with
David Lawrence Ramsey [Sat, 16 Jul 2005 07:06:36 +0000 (07:06 +0000)]
fix color breakage; also, in main(), when opening files with
"+LINE,COLUMN" arguments on the command line, don't update the screen
when moving to their specified lines and columns

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

19 years agocomment fix
David Lawrence Ramsey [Sat, 16 Jul 2005 03:23:56 +0000 (03:23 +0000)]
comment fix

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

19 years agoclean up edit_redraw() a bit
David Lawrence Ramsey [Sat, 16 Jul 2005 02:12:18 +0000 (02:12 +0000)]
clean up edit_redraw() a bit

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

19 years agofix stat breakage
David Lawrence Ramsey [Fri, 15 Jul 2005 19:37:32 +0000 (19:37 +0000)]
fix stat breakage

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

19 years agostill more miscellaneous color fixes
David Lawrence Ramsey [Fri, 15 Jul 2005 01:08:52 +0000 (01:08 +0000)]
still more miscellaneous color fixes

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

19 years agoa few more miscellaneous color fixes
David Lawrence Ramsey [Fri, 15 Jul 2005 00:36:49 +0000 (00:36 +0000)]
a few more miscellaneous color fixes

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

19 years agosplit overly long changelog entry
David Lawrence Ramsey [Fri, 15 Jul 2005 00:22:28 +0000 (00:22 +0000)]
split overly long changelog entry

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

19 years agohandle unspecified foreground colors
David Lawrence Ramsey [Fri, 15 Jul 2005 00:17:13 +0000 (00:17 +0000)]
handle unspecified foreground colors

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

19 years agoadd one last breakage fix
David Lawrence Ramsey [Fri, 15 Jul 2005 00:08:23 +0000 (00:08 +0000)]
add one last breakage fix

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

19 years agomore miscellaneous minor fixes
David Lawrence Ramsey [Thu, 14 Jul 2005 23:51:52 +0000 (23:51 +0000)]
more miscellaneous minor fixes

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

19 years agomore miscellaneous breakage fixes
David Lawrence Ramsey [Thu, 14 Jul 2005 23:06:22 +0000 (23:06 +0000)]
more miscellaneous breakage fixes

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

19 years agofix more color breakage
David Lawrence Ramsey [Thu, 14 Jul 2005 22:28:22 +0000 (22:28 +0000)]
fix more color breakage

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

19 years agocomment fixes
David Lawrence Ramsey [Thu, 14 Jul 2005 22:19:20 +0000 (22:19 +0000)]
comment fixes

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

19 years agoit turns out edit_redraw() is needed after all when doing
David Lawrence Ramsey [Thu, 14 Jul 2005 22:15:09 +0000 (22:15 +0000)]
it turns out edit_redraw() is needed after all when doing
PageUp/PageDown; revert all the movement code and edit_scroll() changes
except for added comments and edit_scroll() simplifications

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

19 years agoadd comments, and fix some edit_scroll() breakage
David Lawrence Ramsey [Thu, 14 Jul 2005 20:37:01 +0000 (20:37 +0000)]
add comments, and fix some edit_scroll() breakage

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

19 years agoadd minor fixes to the new color code, and merge parts of Brand
David Lawrence Ramsey [Thu, 14 Jul 2005 18:33:51 +0000 (18:33 +0000)]
add minor fixes to the new color code, and merge parts of Brand
Huntsman's old patch in where applicable

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

19 years agoprototype fix
David Lawrence Ramsey [Thu, 14 Jul 2005 18:31:45 +0000 (18:31 +0000)]
prototype fix

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

19 years agomake the movement code simpler by tweaking edit_scroll() to redraw all
David Lawrence Ramsey [Thu, 14 Jul 2005 18:01:08 +0000 (18:01 +0000)]
make the movement code simpler by tweaking edit_scroll() to redraw all
necessary lines instead of calling it and then calling edit_redraw()

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

19 years agotypo fix
David Lawrence Ramsey [Thu, 14 Jul 2005 17:31:39 +0000 (17:31 +0000)]
typo fix

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

19 years agoadd breakage fixes, type fixes, and as-needed color regex compilation
David Lawrence Ramsey [Wed, 13 Jul 2005 20:18:46 +0000 (20:18 +0000)]
add breakage fixes, type fixes, and as-needed color regex compilation

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

19 years ago*really* fix more breakage
David Lawrence Ramsey [Tue, 12 Jul 2005 23:25:00 +0000 (23:25 +0000)]
*really* fix more breakage

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

19 years agostill more breakage fixes
David Lawrence Ramsey [Tue, 12 Jul 2005 23:06:22 +0000 (23:06 +0000)]
still more breakage fixes

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

19 years agomiscellaneous minor fixes
David Lawrence Ramsey [Tue, 12 Jul 2005 20:09:24 +0000 (20:09 +0000)]
miscellaneous minor fixes

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

19 years agofix marking breakage
David Lawrence Ramsey [Tue, 12 Jul 2005 17:40:16 +0000 (17:40 +0000)]
fix marking breakage

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

19 years agotypo fix
David Lawrence Ramsey [Mon, 11 Jul 2005 20:50:43 +0000 (20:50 +0000)]
typo fix

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

19 years agoper Ken Tyler's suggestion, simplify do_gotoline_msg further; also, in
David Lawrence Ramsey [Mon, 11 Jul 2005 20:19:59 +0000 (20:19 +0000)]
per Ken Tyler's suggestion, simplify do_gotoline_msg further; also, in
usage(), properly mention the support for "[+LINE,COLUMN]" at the
command line when HAVE_GETOPT_LONG isn't defined

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

19 years agofixing titlebar(), take three
David Lawrence Ramsey [Mon, 11 Jul 2005 07:12:33 +0000 (07:12 +0000)]
fixing titlebar(), take three

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

19 years ago*really* fix titlebar()
David Lawrence Ramsey [Sun, 10 Jul 2005 23:57:32 +0000 (23:57 +0000)]
*really* fix titlebar()

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

19 years agoreally fix titlebar()
David Lawrence Ramsey [Sun, 10 Jul 2005 23:45:23 +0000 (23:45 +0000)]
really fix titlebar()

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

19 years agouse blank_line() instead of hblank/mvwhline(), and fix more breakage
David Lawrence Ramsey [Sun, 10 Jul 2005 02:37:38 +0000 (02:37 +0000)]
use blank_line() instead of hblank/mvwhline(), and fix more breakage

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

19 years agoremove redundancy
David Lawrence Ramsey [Sat, 9 Jul 2005 05:52:08 +0000 (05:52 +0000)]
remove redundancy

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

19 years agofix still more breakage caused by the overhaul
David Lawrence Ramsey [Sat, 9 Jul 2005 05:38:21 +0000 (05:38 +0000)]
fix still more breakage caused by the overhaul

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

19 years agowork around slang brokenness
David Lawrence Ramsey [Sat, 9 Jul 2005 05:24:33 +0000 (05:24 +0000)]
work around slang brokenness

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

19 years agoreplace almost all mvwaddstr(hblank) calls with mvwhline(' ', COLS)
David Lawrence Ramsey [Sat, 9 Jul 2005 04:49:09 +0000 (04:49 +0000)]
replace almost all mvwaddstr(hblank) calls with mvwhline(' ', COLS)
calls, which do the same thing

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

19 years agoyet more breakage fixes
David Lawrence Ramsey [Sat, 9 Jul 2005 04:42:47 +0000 (04:42 +0000)]
yet more breakage fixes

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

19 years agoadd one last breakage fix
David Lawrence Ramsey [Sat, 9 Jul 2005 03:40:44 +0000 (03:40 +0000)]
add one last breakage fix

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

19 years agostill more breakage fixes
David Lawrence Ramsey [Fri, 8 Jul 2005 21:12:39 +0000 (21:12 +0000)]
still more breakage fixes

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

19 years agofix some breakage caused by the restructuring
David Lawrence Ramsey [Fri, 8 Jul 2005 20:59:24 +0000 (20:59 +0000)]
fix some breakage caused by the restructuring

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

19 years agorestructure things so that every file has its own openfilestruct, and so
David Lawrence Ramsey [Fri, 8 Jul 2005 20:09:16 +0000 (20:09 +0000)]
restructure things so that every file has its own openfilestruct, and so
that the values in it are used directly instead of being periodically
synced up with the globals; accordingly, remove the globals; this
changes pretty much every function

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

19 years agorename filebuffer to openfile. as it's shorter
David Lawrence Ramsey [Fri, 8 Jul 2005 19:57:25 +0000 (19:57 +0000)]
rename filebuffer to openfile. as it's shorter

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

19 years agomiscellaneous minor fixes
David Lawrence Ramsey [Fri, 8 Jul 2005 04:53:51 +0000 (04:53 +0000)]
miscellaneous minor fixes

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

19 years agoanother formatting fix
David Lawrence Ramsey [Fri, 8 Jul 2005 03:15:09 +0000 (03:15 +0000)]
another formatting fix

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

19 years agorename variable open_files filebuffer, for consistency
David Lawrence Ramsey [Fri, 8 Jul 2005 02:51:58 +0000 (02:51 +0000)]
rename variable open_files filebuffer, for consistency

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

19 years agoreorder some functions for consistency
David Lawrence Ramsey [Fri, 8 Jul 2005 02:47:05 +0000 (02:47 +0000)]
reorder some functions for consistency

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

19 years agoformatting fix
David Lawrence Ramsey [Fri, 8 Jul 2005 02:36:16 +0000 (02:36 +0000)]
formatting fix

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

19 years agomore cosmetic fixes
David Lawrence Ramsey [Fri, 8 Jul 2005 02:18:23 +0000 (02:18 +0000)]
more cosmetic fixes

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

19 years agocosmetic fix
David Lawrence Ramsey [Fri, 8 Jul 2005 02:05:39 +0000 (02:05 +0000)]
cosmetic fix

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

19 years agoadd more int -> ssize_t line number fixes, plus one formatting fix
David Lawrence Ramsey [Fri, 8 Jul 2005 02:01:07 +0000 (02:01 +0000)]
add more int -> ssize_t line number fixes, plus one formatting fix

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

19 years agoreword an error message for consistency
David Lawrence Ramsey [Fri, 8 Jul 2005 01:49:43 +0000 (01:49 +0000)]
reword an error message for consistency

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

19 years agofix renumber_all() as well as renumber()
David Lawrence Ramsey [Fri, 8 Jul 2005 01:11:27 +0000 (01:11 +0000)]
fix renumber_all() as well as renumber()

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

19 years agoin renumber(), when renumbering, properly use a ssize_t instead of an
David Lawrence Ramsey [Fri, 8 Jul 2005 01:08:25 +0000 (01:08 +0000)]
in renumber(), when renumbering, properly use a ssize_t instead of an
int

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

19 years agoin shortcut_init(), per Jordi's suggestion, simplify wording of
David Lawrence Ramsey [Thu, 7 Jul 2005 20:11:17 +0000 (20:11 +0000)]
in shortcut_init(), per Jordi's suggestion, simplify wording of
nano_gotoline_msg

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

19 years agoItalian and Catalan update from the TP.
Jordi Mallach [Thu, 7 Jul 2005 20:02:39 +0000 (20:02 +0000)]
Italian and Catalan update from the TP.

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

19 years agocomment fix
David Lawrence Ramsey [Wed, 6 Jul 2005 19:20:32 +0000 (19:20 +0000)]
comment fix

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

19 years agoin display_string(), display invalid multibyte sequences as Unicode
David Lawrence Ramsey [Wed, 6 Jul 2005 19:12:41 +0000 (19:12 +0000)]
in display_string(), display invalid multibyte sequences as Unicode
0xFFFD (Replacement Character)

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

19 years agoadd missing dashes
David Lawrence Ramsey [Wed, 6 Jul 2005 19:11:15 +0000 (19:11 +0000)]
add missing dashes

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

19 years agoin faq.html, update section 4.10 to mention that pasting from the X
David Lawrence Ramsey [Tue, 5 Jul 2005 01:02:11 +0000 (01:02 +0000)]
in faq.html, update section 4.10 to mention that pasting from the X
clipboard via the middle mouse button also works when the Shift key is
used

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

19 years agotypo fix
David Lawrence Ramsey [Tue, 5 Jul 2005 00:54:40 +0000 (00:54 +0000)]
typo fix

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

19 years agowith the removal of the last snprintf(), we now only use vsnprintf(), so
David Lawrence Ramsey [Mon, 4 Jul 2005 04:22:30 +0000 (04:22 +0000)]
with the removal of the last snprintf(), we now only use vsnprintf(), so
remove snprintf()-related #ifdefs and checks

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

19 years agomore minor variable tweaks
David Lawrence Ramsey [Mon, 4 Jul 2005 03:55:13 +0000 (03:55 +0000)]
more minor variable tweaks

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

19 years agoin do_alt_speller(), if we can't invoke the spell checker, use sprintf()
David Lawrence Ramsey [Mon, 4 Jul 2005 03:43:54 +0000 (03:43 +0000)]
in do_alt_speller(), if we can't invoke the spell checker, use sprintf()
instead of snprintf() to write the error string we return, as
altspell_error will always be long enough to hold it

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

19 years agominor variable tweaks
David Lawrence Ramsey [Mon, 4 Jul 2005 03:26:43 +0000 (03:26 +0000)]
minor variable tweaks

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

19 years agoadd Mike Frysinger's Bourne shell script regexes, with a few minor
David Lawrence Ramsey [Sun, 3 Jul 2005 22:00:29 +0000 (22:00 +0000)]
add Mike Frysinger's Bourne shell script regexes, with a few minor
tweaks

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

19 years agoadd missing colon
David Lawrence Ramsey [Sat, 2 Jul 2005 22:12:27 +0000 (22:12 +0000)]
add missing colon

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

19 years agoclean up the search code a bit
David Lawrence Ramsey [Sat, 2 Jul 2005 17:56:29 +0000 (17:56 +0000)]
clean up the search code a bit

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

19 years agoin do_replace(), blank out last_replace properly again just before
David Lawrence Ramsey [Sat, 2 Jul 2005 17:49:27 +0000 (17:49 +0000)]
in do_replace(), blank out last_replace properly again just before
displaying the "Replace" prompt

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

19 years agomore cosmetic fixes
David Lawrence Ramsey [Fri, 1 Jul 2005 23:11:52 +0000 (23:11 +0000)]
more cosmetic fixes

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

19 years agominor cosmetic and constant cursor position display fixes
David Lawrence Ramsey [Fri, 1 Jul 2005 22:58:47 +0000 (22:58 +0000)]
minor cosmetic and constant cursor position display fixes

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

19 years agoBack to CVS
David Lawrence Ramsey [Thu, 30 Jun 2005 17:17:41 +0000 (17:17 +0000)]
Back to CVS

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

19 years agoGNU nano 1.3.8 v1.3.8
David Lawrence Ramsey [Thu, 30 Jun 2005 17:16:16 +0000 (17:16 +0000)]
GNU nano 1.3.8

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

19 years agoremove unneeded clearok(TRUE) from total_redraw()
David Lawrence Ramsey [Thu, 30 Jun 2005 16:18:35 +0000 (16:18 +0000)]
remove unneeded clearok(TRUE) from total_redraw()

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

19 years agomake do_yesno() refresh the edit window as well as the statusbar before
David Lawrence Ramsey [Thu, 30 Jun 2005 05:56:39 +0000 (05:56 +0000)]
make do_yesno() refresh the edit window as well as the statusbar before
getting input, as statusq() does

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

19 years agoin do_replace_highlight(), call wnoutrefresh(edit) to make sure that the
David Lawrence Ramsey [Thu, 30 Jun 2005 04:17:18 +0000 (04:17 +0000)]
in do_replace_highlight(), call wnoutrefresh(edit) to make sure that the
highlight is drawn properly

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

19 years agoin do_replace_highlight(), rename variable highlight_flag to highlight,
David Lawrence Ramsey [Thu, 30 Jun 2005 03:55:55 +0000 (03:55 +0000)]
in do_replace_highlight(), rename variable highlight_flag to highlight,
for consistency

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

19 years agocosmetic fix
David Lawrence Ramsey [Thu, 30 Jun 2005 03:53:28 +0000 (03:53 +0000)]
cosmetic fix

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

19 years agoin do_yesno(), het input from bottomwin instead of edit, so that the
David Lawrence Ramsey [Wed, 29 Jun 2005 19:01:11 +0000 (19:01 +0000)]
in do_yesno(), het input from bottomwin instead of edit, so that the
cursor isn't erroneously put in the edit window while we wait for an
answer

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

19 years agomore int -> bool conversions
David Lawrence Ramsey [Wed, 29 Jun 2005 18:17:54 +0000 (18:17 +0000)]
more int -> bool conversions

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

19 years agoimprove version()'s output
David Lawrence Ramsey [Wed, 29 Jun 2005 17:10:58 +0000 (17:10 +0000)]
improve version()'s output

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

19 years agoin POTFILES.in, remove source files that contain no translatable strings
David Lawrence Ramsey [Wed, 29 Jun 2005 02:19:02 +0000 (02:19 +0000)]
in POTFILES.in, remove source files that contain no translatable strings

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

19 years agoin find_paragraph(), reset placewewant as well as current_x to 0, in
David Lawrence Ramsey [Wed, 29 Jun 2005 01:27:33 +0000 (01:27 +0000)]
in find_paragraph(), reset placewewant as well as current_x to 0, in
order to avoid a potential screen update problem

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

19 years agoadd one missing type change
David Lawrence Ramsey [Wed, 29 Jun 2005 00:17:18 +0000 (00:17 +0000)]
add one missing type change

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

19 years agoin do_cursorpos(), if constant is TRUE, only display the cursor position
David Lawrence Ramsey [Tue, 28 Jun 2005 20:04:14 +0000 (20:04 +0000)]
in do_cursorpos(), if constant is TRUE, only display the cursor position
when disable_cursorpos is FALSE; don't refuse to display it when the
cursor position hasn't changed, as that doesn't always keep it properly
updated

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

19 years agomore comment fixes
David Lawrence Ramsey [Tue, 28 Jun 2005 19:56:14 +0000 (19:56 +0000)]
more comment fixes

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

19 years agomore comment fixes
David Lawrence Ramsey [Tue, 28 Jun 2005 19:49:15 +0000 (19:49 +0000)]
more comment fixes

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

19 years agoadd missing blank line
David Lawrence Ramsey [Tue, 28 Jun 2005 18:57:28 +0000 (18:57 +0000)]
add missing blank line

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

19 years agoformatting fix
David Lawrence Ramsey [Tue, 28 Jun 2005 17:51:28 +0000 (17:51 +0000)]
formatting fix

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

19 years agocomment fix
David Lawrence Ramsey [Tue, 28 Jun 2005 17:35:20 +0000 (17:35 +0000)]
comment fix

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

19 years agocosmetic fixes
David Lawrence Ramsey [Tue, 28 Jun 2005 14:59:38 +0000 (14:59 +0000)]
cosmetic fixes

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

19 years agorework the credits handling to display Florian König's name properly
David Lawrence Ramsey [Tue, 28 Jun 2005 07:26:11 +0000 (07:26 +0000)]
rework the credits handling to display Florian König's name properly
whether we're in a UTF-8 locale or not.  This requires a minor hack, but
it's better than requiring a massive function that we only use once

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

19 years agoadd missing blank line
David Lawrence Ramsey [Tue, 28 Jun 2005 07:16:13 +0000 (07:16 +0000)]
add missing blank line

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

19 years agoadd various type changes to avoid problems on systems where int and
David Lawrence Ramsey [Tue, 28 Jun 2005 06:25:34 +0000 (06:25 +0000)]
add various type changes to avoid problems on systems where int and
ssize_t are different sizes.  Make filestruct->lineno a ssize_t (so that
we can avoid negative line numbers at the "Go To Line" prompt),
current_y a ssize_t (in order to hold the maximum difference between two
filestruct->lineno's), totlines a size_t, and change related variables
to match

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

19 years agomore miscellaneous minor fixes
David Lawrence Ramsey [Tue, 28 Jun 2005 06:16:30 +0000 (06:16 +0000)]
more miscellaneous minor fixes

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