2007-08-23 08:34:35 +04:00
|
|
|
2007-08-22 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* COPYING.DOC: Add a copy of the GNU FDL version 1.2.
|
|
|
|
* Makefile.am: Add COPYING.DOC to EXTRA_DIST.
|
|
|
|
* doc/man/*.1, doc/man/nanorc.5, doc/man/fr/*.1,
|
|
|
|
doc/man/fr/nanorc.5, doc/texinfo/nano.texi: Relicense to the GNU
|
|
|
|
GPL version 3 or later/the GNU FDL version 1.2 or later with no
|
|
|
|
Invariant Sections, Front-Cover Texts, or Back-Cover Texts.
|
|
|
|
|
2007-08-21 20:38:43 +04:00
|
|
|
2007-08-21 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
2007-08-21 21:00:42 +04:00
|
|
|
* doc/man/rnano.1, doc/man/fr/rnano.1: Add missing copyright
|
|
|
|
notice from nano-tiny.1, which rnano.1 is based on.
|
|
|
|
* doc/man/fr/nano.1, doc/man/fr/nanorc.5, doc/man/fr/rnano.1:
|
|
|
|
Make all copyright notices consistent.
|
2007-08-21 20:38:43 +04:00
|
|
|
|
2007-08-16 18:45:17 +04:00
|
|
|
2007-08-16 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* files.c (do_insertfile): Properly handle more cases of
|
|
|
|
inserting a file with the mark on.
|
|
|
|
* nano.c (copy_from_file): Properly handle more cases of
|
|
|
|
uncutting text with the mark on.
|
|
|
|
|
2007-08-16 02:40:33 +04:00
|
|
|
2007-08-15 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* Makefile.am: Remove erroneous backslash after
|
|
|
|
ChangeLog.pre-2.1 in EXTRA_DIST, so that "make dist" works
|
|
|
|
again.
|
2007-08-16 06:34:23 +04:00
|
|
|
* files.c (do_insertfile): Make sure the mark is always properly
|
2007-08-16 07:23:30 +04:00
|
|
|
positioned after inserting a file with the mark on.
|
|
|
|
* nano.c (copy_from_file): Make sure the mark is always properly
|
|
|
|
positioned after uncutting multiple lines with the mark on.
|
2007-08-16 02:40:33 +04:00
|
|
|
|
2007-08-11 09:17:36 +04:00
|
|
|
2007-08-11 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* COPYING: Add a copy of the GNU GPL version 3.
|
|
|
|
* configure.ac, *.c, *.h: Relicense to the GNU GPL version 3 or
|
|
|
|
later.
|
|
|
|
|
2007-08-10 21:03:29 +04:00
|
|
|
2007-08-10 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
2007-08-11 02:12:39 +04:00
|
|
|
* files.c (username_tab_completion, cwd_tab_completion,
|
|
|
|
input_tab): Update copyright notice to account for
|
|
|
|
modifications.
|
2007-08-10 21:03:29 +04:00
|
|
|
* utils.c (ngetdelim): Simplify.
|
|
|
|
* utils.c (ngetline, ngetdelim): Update copyright notice to
|
|
|
|
account for modifications.
|
|
|
|
|
2007-08-08 00:21:39 +04:00
|
|
|
2007-08-07 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* nano.c (copy_from_file): Fix potential segfault, found by Paul
|
|
|
|
Goins, after uncutting one line of text with the mark on by
|
|
|
|
properly preserving the beginning of the mark.
|
|
|
|
* nano.c (copy_from_file): Make sure the mark is always properly
|
|
|
|
positioned after uncutting one line of text with the mark on.
|
|
|
|
|
2007-08-01 16:49:57 +04:00
|
|
|
2007-08-01 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* nano.c (version): Display copyright notices.
|
|
|
|
|
2007-08-01 01:20:08 +04:00
|
|
|
2007-07-31 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
2007-08-01 05:28:39 +04:00
|
|
|
* configure.ac: Update copyright notice to account for
|
|
|
|
modifications.
|
2007-08-01 01:20:08 +04:00
|
|
|
|
2007-07-29 20:30:27 +04:00
|
|
|
2007-07-29 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* doc/faq.html: Update RPM links for nano 2.0.x.
|
|
|
|
|
2007-07-12 07:12:31 +04:00
|
|
|
2007-07-11 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* files.c (copy_file): Assert that inn and out don't both point
|
|
|
|
to the same file.
|
|
|
|
|
2007-07-11 02:54:58 +04:00
|
|
|
2007-07-10 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr,
|
2007-07-14 20:41:40 +04:00
|
|
|
mbrevstrcasestr): Simplify and rewrite to use the strncasecmp()
|
|
|
|
equivalents.
|
2007-07-11 02:54:58 +04:00
|
|
|
|
2007-07-10 02:36:32 +04:00
|
|
|
2007-07-09 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
2007-07-10 02:57:07 +04:00
|
|
|
* chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr,
|
|
|
|
mbrevstrcasestr): Fix typo that broke the check for needle's
|
|
|
|
being blank.
|
2007-07-10 02:36:32 +04:00
|
|
|
* chars.c (mbstrncasecmp, mbstrnlen, mbstrpbrk,
|
|
|
|
has_blank_mbchars): Simplify by using for loops instead of while
|
|
|
|
loops where possible, to match the single-byte versions of these
|
|
|
|
functions.
|
2007-07-10 03:24:37 +04:00
|
|
|
* search.c (do_replace_loop): Fix problem where replacing e.g.
|
|
|
|
single-byte characters with multibyte ones could result in
|
|
|
|
openfile->totsize's being miscalculated.
|
2007-07-10 02:36:32 +04:00
|
|
|
|
2007-07-06 17:44:13 +04:00
|
|
|
2007-07-06 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr,
|
|
|
|
mbrevstrcasestr): Return char* instead of const char*.
|
|
|
|
|
2007-07-02 19:45:13 +04:00
|
|
|
2007-07-02 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* chars.c (nstrcasestr, mbstrcasestr, revstrstr, revstrcasestr,
|
2007-07-02 19:49:05 +04:00
|
|
|
mbrevstrcasestr): For efficiency, return haystack/rev_start
|
|
|
|
immediately if needle is blank.
|
2007-07-02 19:45:13 +04:00
|
|
|
|
2007-07-02 01:46:00 +04:00
|
|
|
2007-07-01 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* chars.c (nstrncasecmp, mbstrncasecmp): For efficiency, return
|
|
|
|
zero immediately if s1 and s2 point to the same string.
|
|
|
|
|
2007-07-01 01:19:42 +04:00
|
|
|
2007-06-30 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* prompt.c (do_yesno_prompt): Remove redundant check for
|
|
|
|
NO_HELP's being FALSE.
|
|
|
|
|
2007-06-28 20:00:50 +04:00
|
|
|
2007-06-28 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* browser.c (do_browser), nano.c (do_mouse), prompt.c
|
|
|
|
(do_statusbar_mouse, do_yesno_prompt): Further simplify
|
|
|
|
processing of mouse events by consolidating if clauses.
|
2007-06-28 21:46:04 +04:00
|
|
|
* winio.c (do_mouseinput): Return unconditionally if we get a
|
|
|
|
mouse event that we don't deal with, instead of inside an else
|
|
|
|
clause.
|
2007-06-28 20:00:50 +04:00
|
|
|
|
2007-05-29 21:01:12 +04:00
|
|
|
2007-05-29 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* winio.c (do_mouseinput): Deal with clicks of the first mouse
|
|
|
|
button again. Oddly, ncurses built without --enable-ext-mouse
|
|
|
|
needs this, but ncurses built with --enable-ext-mouse doesn't.
|
|
|
|
|
2007-05-25 18:39:40 +04:00
|
|
|
2007-05-25 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* configure.ac, nano.c (main): Replace the current hackish check
|
|
|
|
for a UTF-8 locale with a proper call to nl_langinfo().
|
2007-05-25 20:54:06 +04:00
|
|
|
* winio.c (get_key_buffer): Fix inaccurate comments.
|
2007-05-25 18:39:40 +04:00
|
|
|
|
2007-05-22 21:20:28 +04:00
|
|
|
2007-05-22 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* browser.c (do_browser), nano.c (do_mouse), prompt.c
|
|
|
|
(do_statusbar_mouse, do_yesno_prompt), winio.c (do_mouseinput):
|
|
|
|
Simplify processing of mouse events. Instead of calling
|
|
|
|
wenclose() to get the window a mouse event took place in and
|
|
|
|
manually adjusting the returned coordinates to be relative to
|
|
|
|
that window the mouse event took place in, call wmouse_trafo(),
|
|
|
|
which does both.
|
|
|
|
|
2007-05-21 03:41:56 +04:00
|
|
|
2007-05-20 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
2007-05-22 21:18:06 +04:00
|
|
|
* browser.c (do_browser), nano.c (do_mouse), prompt.c
|
|
|
|
(do_statusbar_mouse, do_yesno_prompt), winio.c (do_mouseinput):
|
|
|
|
Fix processing of mouse events so that those we don't handle are
|
|
|
|
ignored instead of being erroneously passed through.
|
2007-05-21 03:41:56 +04:00
|
|
|
* winio.c (do_mouseinput): Simplify handling of mouse events
|
2007-05-29 21:01:12 +04:00
|
|
|
involving the first mouse button by only dealing with releases.
|
2007-05-21 03:41:56 +04:00
|
|
|
* winio.c (do_mouseinput): Improve mouse wheel support to only
|
|
|
|
move the cursor if we're in the edit window or on the statusbar.
|
|
|
|
|
2007-05-15 22:04:25 +04:00
|
|
|
2007-05-15 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* winio.c (do_mouseinput): Add mouse wheel support, per Helmut
|
2007-05-15 23:33:56 +04:00
|
|
|
Jarausch's suggestion. Now, if mouse support is enabled, and
|
|
|
|
nano is using a version of ncurses compiled with the
|
2007-05-15 22:04:25 +04:00
|
|
|
--enable-ext-mouse option, rolling the mouse wheel up or down
|
|
|
|
will move the cursor three lines up or down.
|
|
|
|
|
2007-04-23 19:39:01 +04:00
|
|
|
2007-04-23 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* TODO: Add entries for fixing limitations with pasting text and
|
|
|
|
handling bad/incomplete UTF-8 sequences.
|
|
|
|
|
2007-04-22 19:04:05 +04:00
|
|
|
2007-04-22 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* text.c (backup_lines): Avoid a segfault when the mark begins
|
|
|
|
and ends on the line after the last line of the paragraph.
|
|
|
|
|
2007-04-21 22:23:06 +04:00
|
|
|
2007-04-21 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
2007-04-21 22:57:47 +04:00
|
|
|
* files.c (do_writeout): If we're in restricted mode, we're not
|
|
|
|
allowed to write selections to files, so don't display the
|
|
|
|
"Write Selection to File" prompt.
|
2007-04-21 22:23:06 +04:00
|
|
|
* files.c (do_writeout): Simplify.
|
|
|
|
|
2007-04-19 08:12:54 +04:00
|
|
|
2007-04-19 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* files.c (tail): Remove unneeded if statement.
|
|
|
|
|
2007-04-19 03:15:30 +04:00
|
|
|
2007-04-18 John M. Gabriele <jmg3000@gmail.com>
|
|
|
|
|
|
|
|
* doc/faq.html: Add a new section 4.14 (with minor tweaks by
|
|
|
|
David Lawrence Ramsey) to explain how autoindent affects pasted
|
|
|
|
text.
|
|
|
|
|
2007-04-18 17:48:37 +04:00
|
|
|
2007-04-18 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
2007-04-18 22:22:13 +04:00
|
|
|
* files.c (open_file): Open files using their full paths
|
|
|
|
whenever possible, so that ~user/file.txt and "~user/file.txt"
|
|
|
|
are treated the same way if ~user is a user's home directory.
|
2007-04-18 21:13:36 +04:00
|
|
|
* files.c (real_dir_from_tilde): Simplify.
|
2007-04-18 23:09:44 +04:00
|
|
|
* files.c (do_writeout): Properly display the warning in all
|
|
|
|
cases if we try to save (a) an existing file under a different
|
|
|
|
name, or (b) a file with no name under an existing file's name.
|
|
|
|
* files.c (do_writeout): Rename variable different_name to
|
|
|
|
do_warning, for clarity.
|
2007-04-18 22:22:13 +04:00
|
|
|
* rcfile.c (parse_include): Open files using their full paths
|
|
|
|
whenever possible, so that ~user/file.txt and "~user/file.txt"
|
|
|
|
are treated the same way if ~user is a user's home directory.
|
|
|
|
* rcfile.c (parse_include): Properly check for the included
|
|
|
|
file's being a directory, a character file, or a block file.
|
|
|
|
* rcfile.c (parse_include): For consistency, display the
|
|
|
|
filename as the user entered it if we can't read the specified
|
|
|
|
file.
|
2007-04-18 18:06:34 +04:00
|
|
|
* winio.c (parse_kbinput): Interpret Cancel and Shift-Cancel.
|
2007-04-18 17:48:37 +04:00
|
|
|
* winio.c (get_escape_seq_kbinput): Add missing comments.
|
|
|
|
|
2007-04-17 08:38:30 +04:00
|
|
|
2007-04-17 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
2007-04-18 17:45:57 +04:00
|
|
|
* files.c (real_dir_from_tilde): Fix long-standing problem,
|
|
|
|
found by Justin Fletcher, where directory names that began with
|
|
|
|
"~", but that weren't users' home directories, could be
|
|
|
|
erroneously treated as users' home directories (e.g. "~d/" would
|
|
|
|
be treated as "~daemon/").
|
2007-04-17 22:12:19 +04:00
|
|
|
* files.c (input_tab): Don't bother checking if num_matches is
|
2007-04-18 17:45:57 +04:00
|
|
|
less than zero, as it's a size_t and hence unsigned.
|
2007-04-17 08:38:30 +04:00
|
|
|
|
2007-04-17 07:43:59 +04:00
|
|
|
2007-04-16 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
2007-04-18 17:45:57 +04:00
|
|
|
* files.c (real_dir_from_tilde): Fix segfault, found by Justin
|
|
|
|
Fletcher, when dealing with directory names that begin with "~",
|
|
|
|
but that aren't users' home directories.
|
2007-04-17 07:43:59 +04:00
|
|
|
|
2007-04-12 02:18:16 +04:00
|
|
|
2007-04-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* doc/syntax/asm.nanorc, doc/syntax/c.nanorc,
|
|
|
|
doc/syntax/sh.nanorc: Copy the regex that highlights trailing
|
2007-04-18 17:45:57 +04:00
|
|
|
whitespace (with minor tweaks by David Lawrence Ramsey) from
|
|
|
|
doc/syntax/java.nanorc to these files, as it's also useful in
|
|
|
|
them.
|
2007-04-12 02:18:16 +04:00
|
|
|
|
2007-04-05 00:00:24 +04:00
|
|
|
2007-04-04 David Lawrence Ramsey <pooka109@gmail.com>
|
|
|
|
|
|
|
|
* AUTHORS, faq.html: Update email address.
|
2007-04-05 00:36:56 +04:00
|
|
|
* winio.c (get_escape_seq_kbinput): Add escape sequences for
|
|
|
|
Terminal.
|
2007-04-05 00:00:24 +04:00
|
|
|
|
2007-02-01 16:40:59 +03:00
|
|
|
2007-02-01 Benno Schulenberg <bensberg@justemail.net>
|
|
|
|
|
|
|
|
* global.c (shortcut_init): Reword the movement shortcut
|
|
|
|
descriptions so that they use "Go to" instead of "Move to",
|
|
|
|
since not all of them move the cursor in the same way.
|
|
|
|
* global.c (shortcut_init): Reword the paragraph movement
|
|
|
|
shortcut descriptions to more accurately describe how they work.
|
2007-02-01 18:25:29 +03:00
|
|
|
* nano.c (usage): Reword the description of the -S/--smooth
|
|
|
|
command line option in order to differentiate it from the
|
|
|
|
associated toggle description.
|
2007-02-01 16:40:59 +03:00
|
|
|
|
2007-01-30 22:48:52 +03:00
|
|
|
2007-01-29 David Lawrence Ramsey <pooka109@cox.net>
|
2007-01-29 18:45:50 +03:00
|
|
|
|
|
|
|
* ChangeLog: Rework the 2.1 branch's changelog to be more
|
|
|
|
readable, per Jordi Mallach's suggestion.
|
|
|
|
* ChangeLog.pre-2.1: Move the 2.0 branch's changelog here, per
|
|
|
|
Jordi Mallach's suggestion.
|
2007-01-29 18:54:21 +03:00
|
|
|
* Makefile.am: Add ChangeLog.pre-2.1 to EXTRA_DIST.
|
2007-01-29 18:45:50 +03:00
|
|
|
* src/help.c (help_init): Add a missing space to the "Execute
|
|
|
|
Command" help text.
|