]> git.wh0rd.org Git - nano.git/log
nano.git
19 years agofix an assert, update another copyright year, and add a few more of DB's
David Lawrence Ramsey [Sun, 2 Jan 2005 20:30:15 +0000 (20:30 +0000)]
fix an assert, update another copyright year, and add a few more of DB's
tweaks to fix a few minor bugs with UTF-8 display at the statusbar
prompt

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

19 years agoget rid of the last remnant of the NO_UTF8 toggle that I erroneously
David Lawrence Ramsey [Sat, 1 Jan 2005 07:55:15 +0000 (07:55 +0000)]
get rid of the last remnant of the NO_UTF8 toggle that I erroneously
left in

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

19 years agoimplement cutting from the current position to the end of the file,
David Lawrence Ramsey [Sat, 1 Jan 2005 07:43:32 +0000 (07:43 +0000)]
implement cutting from the current position to the end of the file,
using Ctrl-X from the search prompt and Meta-T from the edit window;
also update the copyright years of more modified files

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

19 years agooverhaul the high-level input routines for the statusbar to make them
David Lawrence Ramsey [Sat, 1 Jan 2005 07:28:15 +0000 (07:28 +0000)]
overhaul the high-level input routines for the statusbar to make them
more flexible, among other things, and add UTF-8 support to them in the
process; also update the copyright years of the modified files

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

19 years agomiscellaneous bits: fix the full justify segfault in a way that doesn't
David Lawrence Ramsey [Fri, 31 Dec 2004 04:10:28 +0000 (04:10 +0000)]
miscellaneous bits: fix the full justify segfault in a way that doesn't
break some normal full justifies, do a few more int -> bool conversions,
and fix a comment

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

19 years agohandle wctomb() failure in parse_char() too
David Lawrence Ramsey [Wed, 29 Dec 2004 22:05:02 +0000 (22:05 +0000)]
handle wctomb() failure in parse_char() too

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

19 years agohandle wctomb() failures properly in display_stirng_len() and
David Lawrence Ramsey [Wed, 29 Dec 2004 21:32:22 +0000 (21:32 +0000)]
handle wctomb() failures properly in display_stirng_len() and
display_string()

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

19 years agocosmetic totsize-related cleanups
David Lawrence Ramsey [Wed, 29 Dec 2004 16:42:48 +0000 (16:42 +0000)]
cosmetic totsize-related cleanups

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

19 years agoset totsize properly when deleting a character or backspacing over it
David Lawrence Ramsey [Tue, 28 Dec 2004 22:36:13 +0000 (22:36 +0000)]
set totsize properly when deleting a character or backspacing over it

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

19 years agoproperly increment start_col when the line begins with a character that
David Lawrence Ramsey [Mon, 27 Dec 2004 23:35:25 +0000 (23:35 +0000)]
properly increment start_col when the line begins with a character that
takes up two columns

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

19 years agoclarify the warning message when sufficient wide character support isn't
David Lawrence Ramsey [Mon, 27 Dec 2004 23:21:34 +0000 (23:21 +0000)]
clarify the warning message when sufficient wide character support isn't
found, and merge missing part of DB's patch to handle tabs properly in
display_string()

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

19 years agofix the NANO_WIDE #ifdefs again, and put display_string_len() back in
David Lawrence Ramsey [Mon, 27 Dec 2004 23:11:59 +0000 (23:11 +0000)]
fix the NANO_WIDE #ifdefs again, and put display_string_len() back in
now that it doesn't corrupt memory anymore (as far as I can tell)

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

19 years agoadd a few missing NANO_WIDE #ifdefs, and remove display_string_len()
David Lawrence Ramsey [Mon, 27 Dec 2004 18:53:38 +0000 (18:53 +0000)]
add a few missing NANO_WIDE #ifdefs, and remove display_string_len()
until I can fix it to no longer cause memory corruption

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

19 years agoconfigure.ac and related cleanups
David Lawrence Ramsey [Fri, 24 Dec 2004 18:11:53 +0000 (18:11 +0000)]
configure.ac and related cleanups

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

19 years agofix display problem caused by backwards comparisons of column and
David Lawrence Ramsey [Fri, 24 Dec 2004 17:52:17 +0000 (17:52 +0000)]
fix display problem caused by backwards comparisons of column and
start_col

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

19 years agorevert last change, as it's actually redundant, and fix a few comments
David Lawrence Ramsey [Fri, 24 Dec 2004 15:45:36 +0000 (15:45 +0000)]
revert last change, as it's actually redundant, and fix a few comments

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

19 years agofix if block
David Lawrence Ramsey [Fri, 24 Dec 2004 15:23:10 +0000 (15:23 +0000)]
fix if block

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

19 years agofix statusbar() and onekey() to properly handle multibyte strings too
David Lawrence Ramsey [Fri, 24 Dec 2004 00:43:41 +0000 (00:43 +0000)]
fix statusbar() and onekey() to properly handle multibyte strings too

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

19 years ago#ifdef fixes
David Lawrence Ramsey [Thu, 23 Dec 2004 21:32:27 +0000 (21:32 +0000)]
#ifdef fixes

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

19 years agoremove command line and rcfile option for --noutf8, as UTF-8 support is
David Lawrence Ramsey [Thu, 23 Dec 2004 19:55:57 +0000 (19:55 +0000)]
remove command line and rcfile option for --noutf8, as UTF-8 support is
now autodetected, and add #ifdefs around two variables that are unused
when NANO_WIDE isn't defined

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

19 years agomore steps toward UTF-8 support: port all the parts of DB's UTF-8 patch
David Lawrence Ramsey [Thu, 23 Dec 2004 17:43:27 +0000 (17:43 +0000)]
more steps toward UTF-8 support: port all the parts of DB's UTF-8 patch
that I currently understand to current CVS, with modifications of mine
to autodetect UTF-8 support and to display multibyte strings instead of
wide strings

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

19 years agoyet another cosmetic fix
David Lawrence Ramsey [Wed, 22 Dec 2004 21:38:43 +0000 (21:38 +0000)]
yet another cosmetic fix

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

19 years agofix misplaced #ifdef
David Lawrence Ramsey [Tue, 21 Dec 2004 16:39:45 +0000 (16:39 +0000)]
fix misplaced #ifdef

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

19 years agocheck for wget_wch() instead of addwstr() when looking for a wide
David Lawrence Ramsey [Mon, 20 Dec 2004 15:39:12 +0000 (15:39 +0000)]
check for wget_wch() instead of addwstr() when looking for a wide
version of curses

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

19 years agorevert erroneous change
David Lawrence Ramsey [Mon, 20 Dec 2004 01:18:49 +0000 (01:18 +0000)]
revert erroneous change

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

19 years agostill more cosmetic fixes
David Lawrence Ramsey [Mon, 20 Dec 2004 01:13:55 +0000 (01:13 +0000)]
still more cosmetic fixes

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

19 years agoanother cosmetic fix
David Lawrence Ramsey [Sat, 18 Dec 2004 22:43:23 +0000 (22:43 +0000)]
another cosmetic fix

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

19 years agocosmetic fixes
David Lawrence Ramsey [Sat, 18 Dec 2004 20:29:42 +0000 (20:29 +0000)]
cosmetic fixes

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

19 years agoUpdated Italian translation.
Jordi Mallach [Wed, 15 Dec 2004 19:42:07 +0000 (19:42 +0000)]
Updated Italian translation.

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

19 years agoUpdated Swedish translation.
Jordi Mallach [Wed, 15 Dec 2004 09:06:30 +0000 (09:06 +0000)]
Updated Swedish translation.

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

19 years agoUpdated Swedish translation by Christian Rose.
Jordi Mallach [Mon, 13 Dec 2004 17:29:42 +0000 (17:29 +0000)]
Updated Swedish translation by Christian Rose.

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

19 years agoimprovements to wide/multibyte character input and output, using wide
David Lawrence Ramsey [Sun, 12 Dec 2004 19:04:56 +0000 (19:04 +0000)]
improvements to wide/multibyte character input and output, using wide
curses functions where applicable

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

19 years agoadd missing reset
David Lawrence Ramsey [Thu, 9 Dec 2004 17:00:15 +0000 (17:00 +0000)]
add missing reset

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

19 years agoadd missing casts
David Lawrence Ramsey [Thu, 9 Dec 2004 03:05:45 +0000 (03:05 +0000)]
add missing casts

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

19 years agocheck for nulls and newlines earlier in do_output(), and add a few more
David Lawrence Ramsey [Wed, 8 Dec 2004 23:24:31 +0000 (23:24 +0000)]
check for nulls and newlines earlier in do_output(), and add a few more
cosmetic fixes

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

19 years agoreset the mbtowc() and wctomb() state machines at the right places
David Lawrence Ramsey [Wed, 8 Dec 2004 16:52:52 +0000 (16:52 +0000)]
reset the mbtowc() and wctomb() state machines at the right places

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

19 years agowhen adding to the keystroke buffer, filter out bad keystrokes with one
David Lawrence Ramsey [Wed, 8 Dec 2004 15:47:38 +0000 (15:47 +0000)]
when adding to the keystroke buffer, filter out bad keystrokes with one
pass instead of two

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

19 years agocosmetic fixes
David Lawrence Ramsey [Wed, 8 Dec 2004 04:00:26 +0000 (04:00 +0000)]
cosmetic fixes

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

19 years agogo back to storing multibyte characters in non-dynamically allocated
David Lawrence Ramsey [Tue, 7 Dec 2004 22:24:03 +0000 (22:24 +0000)]
go back to storing multibyte characters in non-dynamically allocated
arrays of MB_LEN_MAX length, as it's less complex

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

19 years agostore multibyte characters in dynamically allocated arrays of MB_CUR_MAX
David Lawrence Ramsey [Tue, 7 Dec 2004 21:23:39 +0000 (21:23 +0000)]
store multibyte characters in dynamically allocated arrays of MB_CUR_MAX
length, and add a few comment fixes

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

19 years agorename a few variables for consistency
David Lawrence Ramsey [Tue, 7 Dec 2004 21:22:48 +0000 (21:22 +0000)]
rename a few variables for consistency

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

19 years agocomment fix
David Lawrence Ramsey [Tue, 7 Dec 2004 18:05:38 +0000 (18:05 +0000)]
comment fix

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

19 years agorearrange a few variables
David Lawrence Ramsey [Tue, 7 Dec 2004 17:35:14 +0000 (17:35 +0000)]
rearrange a few variables

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

19 years agofix bad cast
David Lawrence Ramsey [Tue, 7 Dec 2004 05:02:21 +0000 (05:02 +0000)]
fix bad cast

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

19 years agoItalian and Romanian update.
Jordi Mallach [Mon, 6 Dec 2004 23:44:55 +0000 (23:44 +0000)]
Italian and Romanian update.

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

19 years agomiscellaneous fixes for the buffered inout and output routines and their
David Lawrence Ramsey [Mon, 6 Dec 2004 04:14:42 +0000 (04:14 +0000)]
miscellaneous fixes for the buffered inout and output routines and their
associated UTF-8 handling: have unget_input() filter out invalid wide
characters, put back the result of a word sequence instead of returning
it directly, don't erroneously filter out keystrokes if they're neither
extended keypad values nor ASCII characters, and add a few comment
tweaks

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

19 years agoformatting fix
David Lawrence Ramsey [Sun, 5 Dec 2004 22:24:39 +0000 (22:24 +0000)]
formatting fix

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

19 years agocosmetic fixes
David Lawrence Ramsey [Sun, 5 Dec 2004 06:11:01 +0000 (06:11 +0000)]
cosmetic fixes

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

19 years agodocument the last titlebar() change
David Lawrence Ramsey [Sun, 5 Dec 2004 06:03:46 +0000 (06:03 +0000)]
document the last titlebar() change

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

19 years agoin titlebar(), space should be an int instead of a size_t
David Lawrence Ramsey [Sun, 5 Dec 2004 06:02:39 +0000 (06:02 +0000)]
in titlebar(), space should be an int instead of a size_t

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

19 years agoadd some miscellaneous fixes for titlebar()
David Lawrence Ramsey [Sun, 5 Dec 2004 05:42:46 +0000 (05:42 +0000)]
add some miscellaneous fixes for titlebar()

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

19 years agowhen we get the whitespace display toggle, update the titlebar as well
David Lawrence Ramsey [Sun, 5 Dec 2004 04:18:26 +0000 (04:18 +0000)]
when we get the whitespace display toggle, update the titlebar as well
as the edit window, in case the filename displayed on the titlebar
contains spaces or tabs; also add a few miscellaneous cosmetic fixes

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

19 years agofix entry
David Lawrence Ramsey [Sat, 4 Dec 2004 21:09:35 +0000 (21:09 +0000)]
fix entry

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

19 years agoadd return to the "c-file" regexes in nanorc.sample
David Lawrence Ramsey [Sat, 4 Dec 2004 18:14:12 +0000 (18:14 +0000)]
add return to the "c-file" regexes in nanorc.sample

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

19 years agomassive overhaul to support buffered input and output, the first steps
David Lawrence Ramsey [Sat, 4 Dec 2004 17:41:52 +0000 (17:41 +0000)]
massive overhaul to support buffered input and output, the first steps
toward proper wide character input and output, etc.

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

19 years agofix potential segfault when doing a full justify
David Lawrence Ramsey [Sat, 4 Dec 2004 17:36:14 +0000 (17:36 +0000)]
fix potential segfault when doing a full justify

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

19 years agoper Jeremy Huddleston's patch, fix compilation problem caused by
David Lawrence Ramsey [Thu, 2 Dec 2004 17:37:09 +0000 (17:37 +0000)]
per Jeremy Huddleston's patch, fix compilation problem caused by
break_line()'s returning int when it should return ssize_t according to
its prototype

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

19 years agoUpdate Catalan, French and Norwegian from the TP.
Jordi Mallach [Wed, 1 Dec 2004 16:31:29 +0000 (16:31 +0000)]
Update Catalan, French and Norwegian from the TP.

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

19 years agochange references to "open files" to "open file buffers" for
David Lawrence Ramsey [Wed, 1 Dec 2004 15:11:27 +0000 (15:11 +0000)]
change references to "open files" to "open file buffers" for
consistency, and add DB's changes to die() so that it works properly
with the overhauled multibuffer routines

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

19 years agoremove malfunctioning wide character support, and add a few
David Lawrence Ramsey [Mon, 29 Nov 2004 00:30:07 +0000 (00:30 +0000)]
remove malfunctioning wide character support, and add a few
miscellaneous fixes

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

19 years agocomment fixes
David Lawrence Ramsey [Sun, 28 Nov 2004 04:52:57 +0000 (04:52 +0000)]
comment fixes

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

19 years agocomment fix
David Lawrence Ramsey [Sun, 28 Nov 2004 03:53:01 +0000 (03:53 +0000)]
comment fix

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

19 years agotypo fix
David Lawrence Ramsey [Sat, 27 Nov 2004 23:28:39 +0000 (23:28 +0000)]
typo fix

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

19 years agoremove specific references to control key shortcuts in configure.ac
David Lawrence Ramsey [Sat, 27 Nov 2004 21:39:01 +0000 (21:39 +0000)]
remove specific references to control key shortcuts in configure.ac

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

19 years agomore formatting fixes
David Lawrence Ramsey [Sat, 27 Nov 2004 21:10:11 +0000 (21:10 +0000)]
more formatting fixes

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

19 years agoremove another unneeded blank space
David Lawrence Ramsey [Sat, 27 Nov 2004 20:42:46 +0000 (20:42 +0000)]
remove another unneeded blank space

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

19 years agoremove unneeded blank spaces
David Lawrence Ramsey [Sat, 27 Nov 2004 20:39:26 +0000 (20:39 +0000)]
remove unneeded blank spaces

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

19 years agoformatting and cosmetic fixes
David Lawrence Ramsey [Sat, 27 Nov 2004 16:54:00 +0000 (16:54 +0000)]
formatting and cosmetic fixes

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

20 years agoin unget_kbinput(), free s after the wctomb() call, since we don't need
David Lawrence Ramsey [Sat, 27 Nov 2004 15:18:34 +0000 (15:18 +0000)]
in unget_kbinput(), free s after the wctomb() call, since we don't need
it after that

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

20 years agocomment fix
David Lawrence Ramsey [Sat, 27 Nov 2004 15:07:07 +0000 (15:07 +0000)]
comment fix

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

20 years agoin get_verbatim_kbinput(), don't pass v_kbinput in as a parameter, since
David Lawrence Ramsey [Sat, 27 Nov 2004 15:00:18 +0000 (15:00 +0000)]
in get_verbatim_kbinput(), don't pass v_kbinput in as a parameter, since
we're dynamically allocating it and then returning it

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

20 years agoadd debug messages to get_shortcut() and get_toggle()
David Lawrence Ramsey [Sat, 27 Nov 2004 06:43:06 +0000 (06:43 +0000)]
add debug messages to get_shortcut() and get_toggle()

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

20 years agoformatting and cosmetic fixes
David Lawrence Ramsey [Fri, 26 Nov 2004 20:17:49 +0000 (20:17 +0000)]
formatting and cosmetic fixes

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

20 years agoin get_full_path(), remove unneeded NANO_SMALL #ifdef, so that it's
David Lawrence Ramsey [Fri, 26 Nov 2004 20:14:19 +0000 (20:14 +0000)]
in get_full_path(), remove unneeded NANO_SMALL #ifdef, so that it's
included whenever its prototype is, and so it can compile when
DISABLE_OPERATINGDIR isn't defined and NANO_SMALL is

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

20 years agoformatting fixes
David Lawrence Ramsey [Fri, 26 Nov 2004 18:10:07 +0000 (18:10 +0000)]
formatting fixes

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

20 years agoin the low-level input routines, make the ascii_digits variables ints
David Lawrence Ramsey [Thu, 25 Nov 2004 05:05:41 +0000 (05:05 +0000)]
in the low-level input routines, make the ascii_digits variables ints
instead of size_t's, since they will only hold very small values

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

20 years agoformatting fix
David Lawrence Ramsey [Thu, 25 Nov 2004 04:56:50 +0000 (04:56 +0000)]
formatting fix

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

20 years agoadd DB's overhaul of the multibuffer code for efficiency, plus a few
David Lawrence Ramsey [Thu, 25 Nov 2004 04:39:07 +0000 (04:39 +0000)]
add DB's overhaul of the multibuffer code for efficiency, plus a few
tweaks and additions of mine

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

20 years agoformatting fix
David Lawrence Ramsey [Wed, 24 Nov 2004 23:46:04 +0000 (23:46 +0000)]
formatting fix

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

20 years agoformatting fix
David Lawrence Ramsey [Wed, 24 Nov 2004 20:36:36 +0000 (20:36 +0000)]
formatting fix

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

20 years agooops again; adding an extra magicline unconditionally when uncutting is
David Lawrence Ramsey [Wed, 24 Nov 2004 20:12:57 +0000 (20:12 +0000)]
oops again; adding an extra magicline unconditionally when uncutting is
inconsistent with how file insertion behaves, so it apparently is a bug;
revert the previous behavior

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

20 years agooops; Pico's adding a new magicline unconditionally when uncutting
David Lawrence Ramsey [Tue, 23 Nov 2004 23:42:12 +0000 (23:42 +0000)]
oops; Pico's adding a new magicline unconditionally when uncutting
leaves the cursor on the current magicline is actually consistent (and
hence not a bug), so duplicate that behavior again

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

20 years agoformatting fixes
David Lawrence Ramsey [Tue, 23 Nov 2004 22:30:32 +0000 (22:30 +0000)]
formatting fixes

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

20 years agoin get_edit_input(), readd parameter allow_funcs, as it's now needed as
David Lawrence Ramsey [Tue, 23 Nov 2004 21:40:26 +0000 (21:40 +0000)]
in get_edit_input(), readd parameter allow_funcs, as it's now needed as
a workaround for when unjustified text is stored in the justify buffer
and either the justify or the full justify shortcut is hit

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

20 years agoin shortcut_init(), fix misplaced #endif keeping the "Full Justify"
David Lawrence Ramsey [Tue, 23 Nov 2004 20:42:35 +0000 (20:42 +0000)]
in shortcut_init(), fix misplaced #endif keeping the "Full Justify"
shortcut in the search shortcut list from being included when NANO_SMALL
is defined but DISABLE_JUSTIFY isn't

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

20 years agoin do_cut_text(), if keep_cutbuffer is FALSE, only blow away the text in
David Lawrence Ramsey [Tue, 23 Nov 2004 17:59:32 +0000 (17:59 +0000)]
in do_cut_text(), if keep_cutbuffer is FALSE, only blow away the text in
the cutbuffer if the cutbuffer isn't empty

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

20 years agocomment fixes
David Lawrence Ramsey [Tue, 23 Nov 2004 04:17:19 +0000 (04:17 +0000)]
comment fixes

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

20 years agooverhaul the cutting and uncutting routines and the justify-related
David Lawrence Ramsey [Tue, 23 Nov 2004 04:08:28 +0000 (04:08 +0000)]
overhaul the cutting and uncutting routines and the justify-related
routines to back up and restore unjustified text to use the partitioning
code, as it greatly simplifies how they work; also back up and restore
unjustified text in its own buffer instead of the cutbuffer, and add a
few minor bug fixes to the overhauled routines

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

20 years agoin do_wrap(), make wrap_loc and word_back ssize_t's, to match fill, and
David Lawrence Ramsey [Tue, 23 Nov 2004 03:42:43 +0000 (03:42 +0000)]
in do_wrap(), make wrap_loc and word_back ssize_t's, to match fill, and
add a few minor cosmetic fixes

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

20 years agoBack to CVS
David Lawrence Ramsey [Mon, 22 Nov 2004 17:58:06 +0000 (17:58 +0000)]
Back to CVS

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

20 years agoGNU nano 1.3.5 v1.3.5
David Lawrence Ramsey [Mon, 22 Nov 2004 17:55:17 +0000 (17:55 +0000)]
GNU nano 1.3.5

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

20 years agoin do_replace_loop(), treat real_current as current and real_current_x
David Lawrence Ramsey [Mon, 22 Nov 2004 17:08:41 +0000 (17:08 +0000)]
in do_replace_loop(), treat real_current as current and real_current_x
as current_x instead of using copies of them (which aren't kept up to
date) when calling findnextstr(); this fixes a problem where the search
can wrap when it shouldn't and skip over all matches after the wrap
point

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

20 years agofix get_totals() so it properly handles NULL parameters, and restore
David Lawrence Ramsey [Mon, 22 Nov 2004 16:04:18 +0000 (16:04 +0000)]
fix get_totals() so it properly handles NULL parameters, and restore
totlines after marked spell-check the way the justify routine does
instead of saving it and readding it later

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

20 years agounpartition_filestruct() should take a partition** instead of a
David Lawrence Ramsey [Mon, 22 Nov 2004 00:16:23 +0000 (00:16 +0000)]
unpartition_filestruct() should take a partition** instead of a
partition*, so that the partition it refers to is properly set to NULL

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

20 years agodocumentation fix: list sh as an example of a Bourne shell
David Lawrence Ramsey [Sun, 21 Nov 2004 18:51:30 +0000 (18:51 +0000)]
documentation fix: list sh as an example of a Bourne shell

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

20 years agoin README.CVS, mention the need for ssh to do cvs checkouts
David Lawrence Ramsey [Sun, 21 Nov 2004 18:44:23 +0000 (18:44 +0000)]
in README.CVS, mention the need for ssh to do cvs checkouts

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

20 years agoadd another cvs command fix
David Lawrence Ramsey [Sun, 21 Nov 2004 17:50:23 +0000 (17:50 +0000)]
add another cvs command fix

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

20 years agoupdate the given cvs commands in README.CVS so that they work again
David Lawrence Ramsey [Sun, 21 Nov 2004 17:45:25 +0000 (17:45 +0000)]
update the given cvs commands in README.CVS so that they work again

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

20 years agoin README.CVS, mention the requirement for groff in order to create html
David Lawrence Ramsey [Sat, 20 Nov 2004 16:16:47 +0000 (16:16 +0000)]
in README.CVS, mention the requirement for groff in order to create html
versions of the manpages

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

20 years agoGet rid of config.rpath.
Jordi Mallach [Sat, 20 Nov 2004 00:39:02 +0000 (00:39 +0000)]
Get rid of config.rpath.

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