]> git.wh0rd.org Git - nano.git/log
nano.git
18 years agocosmetic fixes
David Lawrence Ramsey [Sat, 31 Dec 2005 21:22:54 +0000 (21:22 +0000)]
cosmetic fixes

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

18 years agorevert previous erroneous change, and clarify comments
David Lawrence Ramsey [Sat, 31 Dec 2005 21:08:10 +0000 (21:08 +0000)]
revert previous erroneous change, and clarify comments

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

18 years agoin justify_format(), remove redundant character parsing
David Lawrence Ramsey [Sat, 31 Dec 2005 20:37:56 +0000 (20:37 +0000)]
in justify_format(), remove redundant character parsing

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

18 years agoremove unnecessary #ifdef around termios.h #include in nano.c
David Lawrence Ramsey [Wed, 28 Dec 2005 05:01:00 +0000 (05:01 +0000)]
remove unnecessary #ifdef around termios.h #include in nano.c

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

18 years agofix inaccurate comment
David Lawrence Ramsey [Fri, 23 Dec 2005 20:18:06 +0000 (20:18 +0000)]
fix inaccurate comment

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

18 years agoBack to CVS
David Lawrence Ramsey [Fri, 23 Dec 2005 16:15:34 +0000 (16:15 +0000)]
Back to CVS

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

18 years agoGNU nano 1.3.10 v1.3.10
David Lawrence Ramsey [Fri, 23 Dec 2005 16:08:19 +0000 (16:08 +0000)]
GNU nano 1.3.10

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

18 years agoin README.CVS, mention that the minimum required version of groff is
David Lawrence Ramsey [Fri, 23 Dec 2005 16:07:00 +0000 (16:07 +0000)]
in README.CVS, mention that the minimum required version of groff is
1.12, since that's the first version that supports generating HTML

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

18 years agoFrench manpage updates.
David Lawrence Ramsey [Fri, 23 Dec 2005 15:46:26 +0000 (15:46 +0000)]
French manpage updates.

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

18 years agoin parse_line_column(), simplify parsing of the column number
David Lawrence Ramsey [Fri, 23 Dec 2005 03:15:12 +0000 (03:15 +0000)]
in parse_line_column(), simplify parsing of the column number

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

18 years agoBulgarian translation from the TP.
Jordi Mallach [Wed, 21 Dec 2005 20:08:59 +0000 (20:08 +0000)]
Bulgarian translation from the TP.

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

18 years agoTranslation updates from the TP: ca, fr, ms, zh_TW.
Jordi Mallach [Wed, 21 Dec 2005 20:05:30 +0000 (20:05 +0000)]
Translation updates from the TP: ca, fr, ms, zh_TW.

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

18 years agoin README.CVS, update the given cvs commands so that they work again
David Lawrence Ramsey [Thu, 15 Dec 2005 04:46:13 +0000 (04:46 +0000)]
in README.CVS, update the given cvs commands so that they work again

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

18 years agoUpdated it, nl and de from the TP.
Jordi Mallach [Mon, 12 Dec 2005 23:08:14 +0000 (23:08 +0000)]
Updated it, nl and de from the TP.

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

18 years agoa few last comment and consistency fixes
David Lawrence Ramsey [Thu, 8 Dec 2005 07:24:54 +0000 (07:24 +0000)]
a few last comment and consistency fixes

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

18 years agoadd descriptive comments to pretty much all functions and major
David Lawrence Ramsey [Thu, 8 Dec 2005 07:09:08 +0000 (07:09 +0000)]
add descriptive comments to pretty much all functions and major
variables that don't have them, plus a few miscellaneous minor fixes

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

18 years agosince proto.h includes nano.h, and nano.h includes config.h first,
David Lawrence Ramsey [Thu, 8 Dec 2005 02:47:10 +0000 (02:47 +0000)]
since proto.h includes nano.h, and nano.h includes config.h first,
include proto.h first and remove redundant includes of config.h in all
non-header source files

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

18 years agoreadd RETSIGTYPE return types for signal handlers, since any problems
David Lawrence Ramsey [Tue, 6 Dec 2005 19:39:56 +0000 (19:39 +0000)]
readd RETSIGTYPE return types for signal handlers, since any problems
with its being defined as the wrong type aren't nano's fault

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

18 years agofix compilation with --enable-debug, and remove unneeded assert
David Lawrence Ramsey [Thu, 1 Dec 2005 05:49:08 +0000 (05:49 +0000)]
fix compilation with --enable-debug, and remove unneeded assert

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

18 years agoefficiency and comment fixes
David Lawrence Ramsey [Wed, 30 Nov 2005 21:19:42 +0000 (21:19 +0000)]
efficiency and comment fixes

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

18 years agoin ngetdelim(), do sanity checks in an assert instead of checking them
David Lawrence Ramsey [Wed, 30 Nov 2005 19:33:56 +0000 (19:33 +0000)]
in ngetdelim(), do sanity checks in an assert instead of checking them
manually and returning -1 if they fail

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

18 years agoupdate the Free Software Foundation's address as needed in the copyright
David Lawrence Ramsey [Wed, 30 Nov 2005 18:57:05 +0000 (18:57 +0000)]
update the Free Software Foundation's address as needed in the copyright
notices taken from other sources

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

18 years agocosmetic fix
David Lawrence Ramsey [Wed, 30 Nov 2005 16:41:54 +0000 (16:41 +0000)]
cosmetic fix

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

18 years agoin brak_line(), in the surrounding #ifdef, replace the combination of
David Lawrence Ramsey [Tue, 29 Nov 2005 21:30:00 +0000 (21:30 +0000)]
in brak_line(), in the surrounding #ifdef, replace the combination of
!DISABLE_JUSTIFY and !DISABLE_WRAPPING with !DISABLE_WRAPJUSTIFY, for
consistency

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

18 years agocomment fix
David Lawrence Ramsey [Tue, 29 Nov 2005 20:01:06 +0000 (20:01 +0000)]
comment fix

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

18 years agocomment fix
David Lawrence Ramsey [Tue, 29 Nov 2005 19:01:04 +0000 (19:01 +0000)]
comment fix

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

18 years agoin do_justify(), renumber after justifying each individual paragraph,
David Lawrence Ramsey [Tue, 29 Nov 2005 19:00:09 +0000 (19:00 +0000)]
in do_justify(), renumber after justifying each individual paragraph,
since find_paragraph() needs the line numbers to be right as well as
edit_refresh(); this fixes a potential segfault when doing full justify
with auto-indent turned on

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

18 years agorevert last changes, as they make full justify and justify act
David Lawrence Ramsey [Tue, 29 Nov 2005 18:34:45 +0000 (18:34 +0000)]
revert last changes, as they make full justify and justify act
differently

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

18 years agoin find_paragraph(), add parameter begin, the line that we can't move
David Lawrence Ramsey [Tue, 29 Nov 2005 18:25:53 +0000 (18:25 +0000)]
in find_paragraph(), add parameter begin, the line that we can't move
further back than when searching for a paragraph; this is needed to
ensure that we don't justify the same lines more than once if
auto-indent is turned on, and the indentation of what should be the
previous paragraph matches that of what should be the current paragraph

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

18 years agoanother comment fix
David Lawrence Ramsey [Tue, 29 Nov 2005 05:52:49 +0000 (05:52 +0000)]
another comment fix

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

18 years agocosmetic fixes
David Lawrence Ramsey [Tue, 29 Nov 2005 05:48:06 +0000 (05:48 +0000)]
cosmetic fixes

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

18 years agocomment fix
David Lawrence Ramsey [Tue, 29 Nov 2005 05:39:31 +0000 (05:39 +0000)]
comment fix

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

18 years agoin execute_command(), instead of hardcoding /bin/sh as the shell to use
David Lawrence Ramsey [Tue, 29 Nov 2005 05:21:06 +0000 (05:21 +0000)]
in execute_command(), instead of hardcoding /bin/sh as the shell to use
when executing a command, use $SHELL, and only fall back to /bin/sh if
$SHELL isn't set

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

18 years agoadd missing update
David Lawrence Ramsey [Tue, 29 Nov 2005 04:27:07 +0000 (04:27 +0000)]
add missing update

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

18 years agosort more configure options consistently
David Lawrence Ramsey [Tue, 29 Nov 2005 04:25:57 +0000 (04:25 +0000)]
sort more configure options consistently

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

18 years agoin configure.ac, disable wrapping entirely when --enable-tiny is used,
David Lawrence Ramsey [Tue, 29 Nov 2005 04:17:53 +0000 (04:17 +0000)]
in configure.ac, disable wrapping entirely when --enable-tiny is used,
as it matches the FAQ, it makes nano even smaller, and it eliminates the
need for --disable-wrapping-as-root in that case (in which it's
impossible to turn wrapping back on without nanorc support)

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

18 years agoin version(), if DISABLE_WRAPPING is defined, the code in
David Lawrence Ramsey [Tue, 29 Nov 2005 04:16:43 +0000 (04:16 +0000)]
in version(), if DISABLE_WRAPPING is defined, the code in
DISABLE_ROOTWRAP #ifdefs isn't included, so don't display
"--disable-wrapping-as-root" in that case

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

18 years agoadjust copyright notices in all source files to account for Chris'
David Lawrence Ramsey [Mon, 28 Nov 2005 19:35:29 +0000 (19:35 +0000)]
adjust copyright notices in all source files to account for Chris'
reassigning the 2005-2006 copyright on nano to me

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

19 years agomore miscellaneous do_wrap() fixes
David Lawrence Ramsey [Fri, 25 Nov 2005 13:48:09 +0000 (13:48 +0000)]
more miscellaneous do_wrap() fixes

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

19 years agoproperly update the revision date
David Lawrence Ramsey [Wed, 23 Nov 2005 05:47:06 +0000 (05:47 +0000)]
properly update the revision date

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

19 years agomerge one last update
David Lawrence Ramsey [Wed, 23 Nov 2005 05:46:10 +0000 (05:46 +0000)]
merge one last update

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

19 years agoremove redundant code
David Lawrence Ramsey [Tue, 22 Nov 2005 22:08:01 +0000 (22:08 +0000)]
remove redundant code

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

19 years agotweak do_wrap() to remove the assumption that the file always ends in a
David Lawrence Ramsey [Tue, 22 Nov 2005 21:48:24 +0000 (21:48 +0000)]
tweak do_wrap() to remove the assumption that the file always ends in a
magicline

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

19 years agoin break_line(), only include the newline parameter if DISABLE_HELP
David Lawrence Ramsey [Tue, 22 Nov 2005 21:13:36 +0000 (21:13 +0000)]
in break_line(), only include the newline parameter if DISABLE_HELP
isn't defined, as it's only used then

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

19 years agoin configure.ac, clarify description of --disable-speller
David Lawrence Ramsey [Tue, 22 Nov 2005 20:24:22 +0000 (20:24 +0000)]
in configure.ac, clarify description of --disable-speller

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

19 years agopreemptively update the version number
David Lawrence Ramsey [Mon, 21 Nov 2005 21:45:07 +0000 (21:45 +0000)]
preemptively update the version number

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

19 years agoin faq.html, clarify section 5.3 to better explain how to enable Unicode
David Lawrence Ramsey [Mon, 21 Nov 2005 20:08:42 +0000 (20:08 +0000)]
in faq.html, clarify section 5.3 to better explain how to enable Unicode
support, and remove the mention of quirks, since they turned out to not
be a nano problem

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

19 years agomerge a few minor updates from nano.1 into rnano.1
David Lawrence Ramsey [Mon, 21 Nov 2005 16:16:38 +0000 (16:16 +0000)]
merge a few minor updates from nano.1 into rnano.1

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

19 years agoAdd rnano manpage from Thijs.
Jordi Mallach [Mon, 21 Nov 2005 09:36:11 +0000 (09:36 +0000)]
Add rnano manpage from Thijs.

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

19 years agoin nano.1, make one non-bold instance of "nano" bold, for consistency
David Lawrence Ramsey [Mon, 21 Nov 2005 03:36:29 +0000 (03:36 +0000)]
in nano.1, make one non-bold instance of "nano" bold, for consistency

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

19 years agoin faq.html, add a new section 5.3 to explain the status of nano's
David Lawrence Ramsey [Sat, 19 Nov 2005 06:14:31 +0000 (06:14 +0000)]
in faq.html, add a new section 5.3 to explain the status of nano's
Unicode support

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

19 years agomiscellaneous minor fixes
David Lawrence Ramsey [Fri, 18 Nov 2005 20:21:48 +0000 (20:21 +0000)]
miscellaneous minor fixes

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

19 years agomore comment fixes
David Lawrence Ramsey [Thu, 17 Nov 2005 18:58:56 +0000 (18:58 +0000)]
more comment fixes

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

19 years agocomment fixes
David Lawrence Ramsey [Thu, 17 Nov 2005 04:13:01 +0000 (04:13 +0000)]
comment fixes

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

19 years agoadd missing documentation
David Lawrence Ramsey [Thu, 17 Nov 2005 03:53:58 +0000 (03:53 +0000)]
add missing documentation

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

19 years agodocumentation fix: the LGPLed ngetdelim() and ngetline() functions are
David Lawrence Ramsey [Thu, 17 Nov 2005 03:52:00 +0000 (03:52 +0000)]
documentation fix: the LGPLed ngetdelim() and ngetline() functions are
converted to the GPL not only to avoid including a copy of the LGPL, but
also because the changes made to integrate these functions with nano
make them dependent on nano's GPLed functions and hence useless
elsewhere

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

19 years agoin get_prompt_string(), adjust #ifdefs to leave out disabled keys
David Lawrence Ramsey [Wed, 16 Nov 2005 21:34:46 +0000 (21:34 +0000)]
in get_prompt_string(), adjust #ifdefs to leave out disabled keys
entirely instead of keeping enough code to just ignore them

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

19 years agobreakage and comment fixes
David Lawrence Ramsey [Wed, 16 Nov 2005 13:57:21 +0000 (13:57 +0000)]
breakage and comment fixes

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

19 years agorefactor the statusbar prompt's bracket searching code to be closer to
David Lawrence Ramsey [Wed, 16 Nov 2005 13:45:41 +0000 (13:45 +0000)]
refactor the statusbar prompt's bracket searching code to be closer to
the edit window's bracket searching code

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

19 years agocomment fix
David Lawrence Ramsey [Wed, 16 Nov 2005 08:14:16 +0000 (08:14 +0000)]
comment fix

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

19 years agomiscellaneous documentation fixes
David Lawrence Ramsey [Wed, 16 Nov 2005 07:35:01 +0000 (07:35 +0000)]
miscellaneous documentation fixes

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

19 years agoadd missing changelog entry
David Lawrence Ramsey [Wed, 16 Nov 2005 06:42:11 +0000 (06:42 +0000)]
add missing changelog entry

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

19 years agoonly include code related to whole word searches when DISABLE_SPELLER
David Lawrence Ramsey [Wed, 16 Nov 2005 05:59:06 +0000 (05:59 +0000)]
only include code related to whole word searches when DISABLE_SPELLER
isn't defined, as only the internal spell checker uses it

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

19 years agoin do_justify(), don't save current_y and restore it if the user
David Lawrence Ramsey [Wed, 16 Nov 2005 04:41:31 +0000 (04:41 +0000)]
in do_justify(), don't save current_y and restore it if the user
unjustifies, as the reset_cursor() called by edit_refresh() after
restoring edittop and current will ensure that current_y is restored to
its original value

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

19 years agocomment fix
David Lawrence Ramsey [Wed, 16 Nov 2005 04:26:33 +0000 (04:26 +0000)]
comment fix

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

19 years agoadd the ability to do bracket searches at the statusbar prompt
David Lawrence Ramsey [Wed, 16 Nov 2005 04:14:03 +0000 (04:14 +0000)]
add the ability to do bracket searches at the statusbar prompt

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

19 years agoremove unneeded variable
David Lawrence Ramsey [Wed, 16 Nov 2005 03:54:22 +0000 (03:54 +0000)]
remove unneeded variable

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

19 years agoin reset_statusbar_cursor(), fix cursor placement problem by modeling
David Lawrence Ramsey [Wed, 16 Nov 2005 03:14:11 +0000 (03:14 +0000)]
in reset_statusbar_cursor(), fix cursor placement problem by modeling
the code more closely after reset_cursor()

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

19 years agoin do_statusbar_input(), fix misplaced break when handling
David Lawrence Ramsey [Wed, 16 Nov 2005 02:45:10 +0000 (02:45 +0000)]
in do_statusbar_input(), fix misplaced break when handling
NANO_VERBATIM_KEY

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

19 years agooverhaul the bracket searching code so that it no longer requires regex
David Lawrence Ramsey [Tue, 15 Nov 2005 23:45:29 +0000 (23:45 +0000)]
overhaul the bracket searching code so that it no longer requires regex
support to work, and add some miscellaneous search code cleanups

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

19 years agoremove unneeded blank line
David Lawrence Ramsey [Tue, 15 Nov 2005 21:58:06 +0000 (21:58 +0000)]
remove unneeded blank line

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

19 years agocomment fix
David Lawrence Ramsey [Tue, 15 Nov 2005 21:29:05 +0000 (21:29 +0000)]
comment fix

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

19 years agocosmetic fix
David Lawrence Ramsey [Tue, 15 Nov 2005 20:32:18 +0000 (20:32 +0000)]
cosmetic fix

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

19 years agoin mbstrchr(), detect the case where the character isn't found in the
David Lawrence Ramsey [Tue, 15 Nov 2005 19:01:07 +0000 (19:01 +0000)]
in mbstrchr(), detect the case where the character isn't found in the
string more accurately

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

19 years agocosmetic fix
David Lawrence Ramsey [Tue, 15 Nov 2005 18:42:56 +0000 (18:42 +0000)]
cosmetic fix

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

19 years agocomment fix
David Lawrence Ramsey [Tue, 15 Nov 2005 06:47:22 +0000 (06:47 +0000)]
comment fix

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

19 years agorename the NANO_SMALL #define to NANO_TINY
David Lawrence Ramsey [Tue, 15 Nov 2005 03:17:35 +0000 (03:17 +0000)]
rename the NANO_SMALL #define to NANO_TINY

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

19 years agoper Mike Frysinger's patch, don't install the localized versions of the
David Lawrence Ramsey [Tue, 15 Nov 2005 02:39:20 +0000 (02:39 +0000)]
per Mike Frysinger's patch, don't install the localized versions of the
manpages if nano is built with --disable-nls

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

19 years agoformatting fix
David Lawrence Ramsey [Tue, 15 Nov 2005 02:09:03 +0000 (02:09 +0000)]
formatting fix

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

19 years agofor functions originally adapted from other sources, invoke LGPL clause
David Lawrence Ramsey [Mon, 14 Nov 2005 23:02:03 +0000 (23:02 +0000)]
for functions originally adapted from other sources, invoke LGPL clause
3 to convert all LGPLed functions to GPLed ones, so that we don't have
to include a copy of the LGPL

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

19 years agofix copyright years on source files; all functions in browser.c were
David Lawrence Ramsey [Mon, 14 Nov 2005 22:20:35 +0000 (22:20 +0000)]
fix copyright years on source files; all functions in browser.c were
originally added in 2001; the oldest function in color.c is
do_colorinit() (now color_init()), which was originally added in 2001;
the oldest function in chars.c is revstrstr(), which was originally
added in 2001; the oldest function in help.c is do_help(), which was
originally added in 2000; the oldest function in prompt.c is statusq()
(now do_prompt()), which was originally added before 0.6.6, which was
apparently in 1999; all functions in rcfile.c were originally added in
2001; one of the oldest functions in search.c is do_search(), which was
originally added in 0.2.7, which was apparently in 1999; and one of the
oldest functions in text.c is do_wrap(), which was originally added in
0.3.1, which was apparently in 1999; also, for functions originally
adapted from other sources, add notices from the original files, as we
do with the tab completion functions adapted from busybox

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

19 years agocosmetic fixes
David Lawrence Ramsey [Mon, 14 Nov 2005 21:32:42 +0000 (21:32 +0000)]
cosmetic fixes

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

19 years agoremove unneeded blank line
David Lawrence Ramsey [Sun, 13 Nov 2005 07:05:37 +0000 (07:05 +0000)]
remove unneeded blank line

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

19 years agocosmetic fixes
David Lawrence Ramsey [Sat, 12 Nov 2005 20:04:18 +0000 (20:04 +0000)]
cosmetic fixes

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

19 years agowhen building, automatically generate an HTML version of the info page,
David Lawrence Ramsey [Sat, 12 Nov 2005 07:50:03 +0000 (07:50 +0000)]
when building, automatically generate an HTML version of the info page,
nano.html

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

19 years agoin nano.texi, fix inconsistent punctuation
David Lawrence Ramsey [Sat, 12 Nov 2005 07:23:39 +0000 (07:23 +0000)]
in nano.texi, fix inconsistent punctuation

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

19 years agoin get_page_start(), fix test so that we scroll through the line in
David Lawrence Ramsey [Sat, 12 Nov 2005 05:20:14 +0000 (05:20 +0000)]
in get_page_start(), fix test so that we scroll through the line in
8-character chunks when COLS is greater than 8, not when COLS is greater
than 9

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

19 years agochangelog fix
David Lawrence Ramsey [Fri, 11 Nov 2005 17:05:27 +0000 (17:05 +0000)]
changelog fix

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

19 years agoin nano.texi, add more wording fixes, sort the configure options more
David Lawrence Ramsey [Fri, 11 Nov 2005 17:04:17 +0000 (17:04 +0000)]
in nano.texi, add more wording fixes, sort the configure options more
consistently, and add missing --disable-utf8 option

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

19 years agoin nano.texi, per Mike Frysinger's patch, add missing configure options,
David Lawrence Ramsey [Fri, 11 Nov 2005 16:42:45 +0000 (16:42 +0000)]
in nano.texi, per Mike Frysinger's patch, add missing configure options,
so that all of them are documented

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

19 years agocomment fix
David Lawrence Ramsey [Fri, 11 Nov 2005 05:21:38 +0000 (05:21 +0000)]
comment fix

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

19 years agofix the last of the breakage (I hope) in find_paragraph() and
David Lawrence Ramsey [Fri, 11 Nov 2005 05:13:28 +0000 (05:13 +0000)]
fix the last of the breakage (I hope) in find_paragraph() and
do_justify()

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

19 years agofix still more find_paragraph() breakage
David Lawrence Ramsey [Fri, 11 Nov 2005 04:14:33 +0000 (04:14 +0000)]
fix still more find_paragraph() breakage

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

19 years agofix more find_paragraph() breakage
David Lawrence Ramsey [Fri, 11 Nov 2005 03:55:52 +0000 (03:55 +0000)]
fix more find_paragraph() breakage

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

19 years agofix yet more do_justify() breakage
David Lawrence Ramsey [Fri, 11 Nov 2005 03:17:44 +0000 (03:17 +0000)]
fix yet more do_justify() breakage

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

19 years agofix still more do_justify() breakage
David Lawrence Ramsey [Thu, 10 Nov 2005 21:57:56 +0000 (21:57 +0000)]
fix still more do_justify() breakage

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

19 years agofix more do_justify() breakage
David Lawrence Ramsey [Thu, 10 Nov 2005 21:53:46 +0000 (21:53 +0000)]
fix more do_justify() breakage

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

19 years agofix breakage in both backup_lines() and do_justify(); the latter's
David Lawrence Ramsey [Thu, 10 Nov 2005 21:20:32 +0000 (21:20 +0000)]
fix breakage in both backup_lines() and do_justify(); the latter's
return value is unneeded, as current will point to the same line when
it's done, and making first_par_line point to current in the former
ensures that the two will properly stay in sync

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

19 years agomore cosmetic fixes
David Lawrence Ramsey [Thu, 10 Nov 2005 19:56:26 +0000 (19:56 +0000)]
more cosmetic fixes

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

19 years agofix more do_justify() breakage
David Lawrence Ramsey [Thu, 10 Nov 2005 19:28:27 +0000 (19:28 +0000)]
fix more do_justify() breakage

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