]>
git.wh0rd.org Git - nano.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jordi Mallach [Thu, 18 Nov 2004 22:25:16 +0000 (22:25 +0000)]
Updated French translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2110
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Thu, 18 Nov 2004 22:13:47 +0000 (22:13 +0000)]
Updated Malay translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2109
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Thu, 18 Nov 2004 00:05:14 +0000 (00:05 +0000)]
Don't use DEFS to define stuff. Use INCLUDES instead.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2108
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Wed, 17 Nov 2004 23:17:05 +0000 (23:17 +0000)]
Include <config.h> only if HAVE_CONFIG_H.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2107
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 17 Nov 2004 20:47:14 +0000 (20:47 +0000)]
use top_x and bot_x where possible instead of recalculating entire
string lengths
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2106
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 17 Nov 2004 17:44:29 +0000 (17:44 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2105
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 17 Nov 2004 16:59:34 +0000 (16:59 +0000)]
formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2104
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Nov 2004 22:51:07 +0000 (22:51 +0000)]
fix breakage of ASCII character sequence mode introduced with the UTF-8
sequence support
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2103
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Nov 2004 13:09:43 +0000 (13:09 +0000)]
spell Ulf Härnhammar's name right
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2102
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Nov 2004 02:23:10 +0000 (02:23 +0000)]
add Ulf Harnhammar's input_tab() segfault fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2101
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 16 Nov 2004 02:20:48 +0000 (02:20 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2100
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 15 Nov 2004 23:10:56 +0000 (23:10 +0000)]
document the last fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2099
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8