Commit Graph

2978 Commits (b9b2fd52fface1824a267a3b14bf8c91c627824c)

Author SHA1 Message Date
David Lawrence Ramsey b9b2fd52ff 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
2005-11-22 21:13:36 +00:00
David Lawrence Ramsey 708de360dc 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
2005-11-22 20:24:22 +00:00
David Lawrence Ramsey 853a44d3f0 preemptively update the version number
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3207 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-21 21:45:07 +00:00
David Lawrence Ramsey d1ab408965 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
2005-11-21 20:08:42 +00:00
David Lawrence Ramsey fa35aef359 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
2005-11-21 16:16:38 +00:00
Jordi Mallach 7949e6ae09 Add rnano manpage from Thijs.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3204 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-21 09:36:11 +00:00
David Lawrence Ramsey 4ffdb1bbec 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
2005-11-21 03:36:29 +00:00
David Lawrence Ramsey 7a07cdb51e 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
2005-11-19 06:14:31 +00:00
David Lawrence Ramsey ccd1b7b50a miscellaneous minor fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3201 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-18 20:21:48 +00:00
David Lawrence Ramsey d15c92d41a more comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3200 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-17 18:58:56 +00:00
David Lawrence Ramsey 8dec783333 comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3199 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-17 04:13:01 +00:00
David Lawrence Ramsey 87397ba37b add missing documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3198 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-17 03:53:58 +00:00
David Lawrence Ramsey 391cef12c9 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
2005-11-17 03:52:00 +00:00
David Lawrence Ramsey ad074011c9 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
2005-11-16 21:34:46 +00:00
David Lawrence Ramsey c009ec56f5 breakage and comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3195 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-16 13:57:21 +00:00
David Lawrence Ramsey 5ab56eaa8d 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
2005-11-16 13:45:41 +00:00
David Lawrence Ramsey 45d344b72c comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3193 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-16 08:14:16 +00:00
David Lawrence Ramsey 29fb951fcd miscellaneous documentation fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3192 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-16 07:35:01 +00:00
David Lawrence Ramsey 4580f1502c add missing changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3191 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-16 06:42:11 +00:00
David Lawrence Ramsey cf9c34acef 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
2005-11-16 05:59:06 +00:00
David Lawrence Ramsey bd0b3cd39b 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
2005-11-16 04:41:31 +00:00
David Lawrence Ramsey eba0711939 comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3188 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-16 04:26:33 +00:00
David Lawrence Ramsey c499382fec 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
2005-11-16 04:14:03 +00:00
David Lawrence Ramsey ebe4b3b52e remove unneeded variable
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3186 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-16 03:54:22 +00:00
David Lawrence Ramsey cfffbf71ce 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
2005-11-16 03:14:11 +00:00
David Lawrence Ramsey 9d3a468ad8 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
2005-11-16 02:45:10 +00:00
David Lawrence Ramsey c5c5230b9d 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
2005-11-15 23:45:29 +00:00
David Lawrence Ramsey 6c860c07c8 remove unneeded blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3182 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-15 21:58:06 +00:00
David Lawrence Ramsey 1c3b211142 comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3181 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-15 21:29:05 +00:00
David Lawrence Ramsey b299a6a0d9 cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3180 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-15 20:32:18 +00:00
David Lawrence Ramsey bc8b7d74eb 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
2005-11-15 19:01:07 +00:00
David Lawrence Ramsey 9c92634388 cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3178 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-15 18:42:56 +00:00
David Lawrence Ramsey 979286c65e comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3177 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-15 06:47:22 +00:00
David Lawrence Ramsey ebe3425f9f 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
2005-11-15 03:17:35 +00:00
David Lawrence Ramsey 023db6aa77 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
2005-11-15 02:39:20 +00:00
David Lawrence Ramsey 41dd9122fe formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3174 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-15 02:09:03 +00:00
David Lawrence Ramsey a1064d4279 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
2005-11-14 23:02:03 +00:00
David Lawrence Ramsey 3f7c8c5158 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
2005-11-14 22:20:35 +00:00
David Lawrence Ramsey bbac1bb047 cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3171 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-14 21:32:42 +00:00
David Lawrence Ramsey aa20fcf7b0 remove unneeded blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3170 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-13 07:05:37 +00:00
David Lawrence Ramsey eb5e08fb98 cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3169 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-12 20:04:18 +00:00
David Lawrence Ramsey 6533e235e8 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
2005-11-12 07:50:03 +00:00
David Lawrence Ramsey de39a2b05b in nano.texi, fix inconsistent punctuation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3167 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-12 07:23:39 +00:00
David Lawrence Ramsey fb0c3f85de 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
2005-11-12 05:20:14 +00:00
David Lawrence Ramsey a24da6944c changelog fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3165 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-11 17:05:27 +00:00
David Lawrence Ramsey b3c846cd98 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
2005-11-11 17:04:17 +00:00
David Lawrence Ramsey 1520350e20 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
2005-11-11 16:42:45 +00:00
David Lawrence Ramsey da0691b4ad comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3162 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-11 05:21:38 +00:00
David Lawrence Ramsey d82dae0925 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
2005-11-11 05:13:28 +00:00
David Lawrence Ramsey bdff665b5d fix still more find_paragraph() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3160 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2005-11-11 04:14:33 +00:00