]>
git.wh0rd.org Git - nano.git/log
David Lawrence Ramsey [Wed, 5 Apr 2006 13:43:51 +0000 (13:43 +0000)]
update modification dates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3349
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Apr 2006 13:40:56 +0000 (13:40 +0000)]
various documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3348
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 5 Apr 2006 02:56:47 +0000 (02:56 +0000)]
in write_file(), don't free backupname before displaying it in a
statusbar error message
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3347
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 1 Apr 2006 19:30:52 +0000 (19:30 +0000)]
in nanorc.sample, in the comment for the "whitespace" option, state
which character values work with which encodings
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3346
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 31 Mar 2006 19:39:55 +0000 (19:39 +0000)]
add sample Python regexes to nanorc.sample
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3345
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 31 Mar 2006 19:39:17 +0000 (19:39 +0000)]
capitalization fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3344
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 31 Mar 2006 14:37:55 +0000 (14:37 +0000)]
in nanorc.sample, change the comment for the "whitespace" option so that
the hexadecimal character values are six digits long
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3343
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 20:43:44 +0000 (20:43 +0000)]
in nanorc.sample, nention in the comments that more than one start/end
regex can be included per line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3342
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 20:39:34 +0000 (20:39 +0000)]
fix bounds in the "c-file" character regex
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3341
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 20:34:20 +0000 (20:34 +0000)]
further simplify the "c-file" regex for characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3340
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 20:26:58 +0000 (20:26 +0000)]
in nanorc.sample, simplify the "c-file" regex for characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3339
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 18:18:27 +0000 (18:18 +0000)]
in nanorc.sample, simplify the "shellscript" regex for command line
options
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3338
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 18:12:50 +0000 (18:12 +0000)]
in nanorc.sample, replace instances of \" with ", since quotes inside
string parameters don't need to be escaped with backslashes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3337
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 18:07:38 +0000 (18:07 +0000)]
in nanorc.sample, rweak the "c-file" regex for characters to accept '"'
again, as it's apparently valid
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3336
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 07:07:48 +0000 (07:07 +0000)]
update the copyright years of the manual and info pages to include 2006
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3335
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 07:03:04 +0000 (07:03 +0000)]
implement filename searches in the file browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3334
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 07:01:57 +0000 (07:01 +0000)]
typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3333
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 06:40:25 +0000 (06:40 +0000)]
Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3332
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 06:37:00 +0000 (06:37 +0000)]
GNU nano 1.3.11, with the version number fixed
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3330
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 06:34:43 +0000 (06:34 +0000)]
GNU nano 1.3.11
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3328
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 30 Mar 2006 01:18:29 +0000 (01:18 +0000)]
replace VERMSG #define with PACKAGE_STRING #define (as defined by
autoconf)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3327
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 29 Mar 2006 19:58:49 +0000 (19:58 +0000)]
more formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3326
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 29 Mar 2006 19:43:32 +0000 (19:43 +0000)]
yet more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3325
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 26 Mar 2006 17:41:47 +0000 (17:41 +0000)]
typo fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3324
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 25 Mar 2006 15:56:40 +0000 (15:56 +0000)]
more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3323
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 25 Mar 2006 15:23:55 +0000 (15:23 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3322
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 24 Mar 2006 16:04:44 +0000 (16:04 +0000)]
in get_get_buffer(), die gracefully if input fails MAX_BUF_SIZE times,
not (MAX_BUF_SIZE + 1) times
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3321
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 24 Mar 2006 15:55:34 +0000 (15:55 +0000)]
remove unneeded #include
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3320
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 24 Mar 2006 15:32:52 +0000 (15:32 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3319
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 24 Mar 2006 05:36:16 +0000 (05:36 +0000)]
fix breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3318
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 24 Mar 2006 05:28:03 +0000 (05:28 +0000)]
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3317
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 24 Mar 2006 04:22:45 +0000 (04:22 +0000)]
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3316
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 23 Mar 2006 23:17:27 +0000 (23:17 +0000)]
in do_browser(), make old_selected a size_t too, to match selected
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3315
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 23 Mar 2006 22:14:40 +0000 (22:14 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3314
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 23 Mar 2006 21:25:04 +0000 (21:25 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3313
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 23 Mar 2006 20:36:29 +0000 (20:36 +0000)]
in do_browser(), make fileline and the static selected size_t's, since
the latter can hold the value of the former, and the former can be that
large
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3312
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 20 Mar 2006 04:46:48 +0000 (04:46 +0000)]
in get_key_buffer(), simplify the check for a lost input source, since
the errno check is unreliable
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3311
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 19 Mar 2006 19:26:52 +0000 (19:26 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3310
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 19 Mar 2006 19:25:29 +0000 (19:25 +0000)]
in get_key_buffer(), if we fail to get a character over MAX_BUF_SIZE
times in a row, hang up regardless of the value of errno; this fixes a
problem where nano doesn't terminate properly under xterm if the user
su's to root, runs nano, and then closes the terminal window
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3309
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 19 Mar 2006 19:14:30 +0000 (19:14 +0000)]
remove unneeded blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3308
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Mar 2006 19:31:18 +0000 (19:31 +0000)]
preemptively update the version number
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3307
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Mar 2006 19:30:52 +0000 (19:30 +0000)]
in faq.html, change the character set to UTF-8, and remove broken links
to contributed RedHat nano packages
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3306
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Mar 2006 19:16:28 +0000 (19:16 +0000)]
in faq.html, update the Free Translation Project's address
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3305
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 16 Mar 2006 17:45:12 +0000 (17:45 +0000)]
remove erroneous assert
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3304
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Wed, 15 Mar 2006 22:44:43 +0000 (22:44 +0000)]
Update Swedish credits.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3303
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Wed, 15 Mar 2006 22:40:01 +0000 (22:40 +0000)]
Update Swedish from the TP.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3302
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 12 Mar 2006 19:47:48 +0000 (19:47 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3301
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 12 Mar 2006 19:34:22 +0000 (19:34 +0000)]
preemptively update the version numbers of all manpages, and remove
unneeded comments from rnano.1
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3300
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 12 Mar 2006 19:27:32 +0000 (19:27 +0000)]
mention that quotes inside string parameters don't need to be escaped
with backslashes in nanorc.5 and nanorc.sample
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3299
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
Jordi Mallach [Mon, 6 Mar 2006 17:59:32 +0000 (17:59 +0000)]
Updated Vietnamese translation by Phan Vinh Thinh.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3298
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 24 Feb 2006 19:38:20 +0000 (19:38 +0000)]
in do_writeout(), remove unneeded setting of currshortcut
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3297
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 18 Feb 2006 21:32:29 +0000 (21:32 +0000)]
make sure browser_refresh() is used when refreshing or doing tab
completion at the prompt in the file browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3296
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 10 Feb 2006 19:02:30 +0000 (19:02 +0000)]
rename browser_draw() to browser_refresh() for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3295
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 10 Feb 2006 03:27:48 +0000 (03:27 +0000)]
fix file browser breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3294
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 9 Feb 2006 23:26:26 +0000 (23:26 +0000)]
move the browser drawing routines to a separate function, browser_draw()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3293
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 9 Feb 2006 22:53:54 +0000 (22:53 +0000)]
really fix input parsing in the file browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3292
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 9 Feb 2006 22:42:14 +0000 (22:42 +0000)]
go back to using a while loop in get_prompt_string(), as it's simpler
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3291
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 9 Feb 2006 22:35:04 +0000 (22:35 +0000)]
in get_prompt_string(), initialize finished to FALSE so that the
do/while loop works properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3290
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 9 Feb 2006 21:43:14 +0000 (21:43 +0000)]
in get_prompt_string(), redraw the prompt and set finished to FALSE when
NANO_HELP_KEY is pressed, so that we don't leave the prompt, enter the
help browser, and restart the prompt after leaving it; this will
properly preserve the cursor position after doing the last of these
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3289
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 8 Feb 2006 20:33:45 +0000 (20:33 +0000)]
in shortcut_init(), remove erroneous handling of the "Get Help" shortcut
in the file browser shortcut list
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3288
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 8 Feb 2006 20:14:49 +0000 (20:14 +0000)]
in get_prompt_string(), use a do/while loop instead of a while loop, for
consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3287
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 8 Feb 2006 19:27:02 +0000 (19:27 +0000)]
in do_browser(), properly restore the file list display after returning
from the help browser at the "Go To Directory" prompt, and rename
variable j to i, for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3286
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 8 Feb 2006 05:16:32 +0000 (05:16 +0000)]
remove redundant code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3285
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 8 Feb 2006 05:01:58 +0000 (05:01 +0000)]
add another missing blank line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3284
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 8 Feb 2006 04:02:30 +0000 (04:02 +0000)]
add missing blank lines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3283
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 7 Feb 2006 21:16:46 +0000 (21:16 +0000)]
fix compilation problem
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3282
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 7 Feb 2006 21:11:49 +0000 (21:11 +0000)]
update copyright years
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3281
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 7 Feb 2006 21:11:05 +0000 (21:11 +0000)]
allow tab completion of directories at the "Go To Directory" prompt
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3280
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 7 Feb 2006 20:10:28 +0000 (20:10 +0000)]
fix file browser breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3279
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 7 Feb 2006 18:35:26 +0000 (18:35 +0000)]
another formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3278
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 7 Feb 2006 18:32:22 +0000 (18:32 +0000)]
cosmetic and formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3277
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 7 Feb 2006 05:14:55 +0000 (05:14 +0000)]
in do_browser(), properly set currshortcut back to the file browser
shortcut list after a "Go To Directory" prompt
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3276
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 7 Feb 2006 04:41:44 +0000 (04:41 +0000)]
rework input parsing in the file browser to be more flexible
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3275
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 3 Feb 2006 18:59:17 +0000 (18:59 +0000)]
update copyright years
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3274
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 3 Feb 2006 04:02:25 +0000 (04:02 +0000)]
fix changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3273
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 3 Feb 2006 03:58:49 +0000 (03:58 +0000)]
in display_string(), fix memory corruption problems caused by not
allocating enough space for converted when a line ends in a tab(s) and
we're not in UTF-8 mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3272
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 3 Feb 2006 03:51:51 +0000 (03:51 +0000)]
fix a comment in nano.h and a minor memory leak in display_string()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3271
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 2 Feb 2006 22:30:40 +0000 (22:30 +0000)]
fix potential infinite loop in mbrevstrpbrk()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3270
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 30 Jan 2006 21:23:51 +0000 (21:23 +0000)]
handle Shift-Delete properly when the -d option is used
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3266
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 30 Jan 2006 01:32:41 +0000 (01:32 +0000)]
in parse_kbinput(), interpret Shift-Begin, Shift-Delete, Shift-End,
Shift-Home, Shift-Insert, and Shift-Suspend as Begin, Delete, End, Home,
Insert, and Suspend, respectively, regardless of whether --rebindkeypad
is used
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3265
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 28 Jan 2006 06:04:59 +0000 (06:04 +0000)]
fix more bracket matching breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3264
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 10 Jan 2006 07:51:49 +0000 (07:51 +0000)]
really fix the previous display problem with searches that move the
cursor offscreen and from a page other than the first one onto a
different page by reverting the erroneous change to edit_scroll() and
adding the proper fix to edit_redraw()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3263
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 9 Jan 2006 03:23:29 +0000 (03:23 +0000)]
in ngetdelim(), do sanity checks manually again instead of in an assert,
and set errno to EINVAL as well as return -1 if they fail; this matches
the manual page
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3262
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 6 Jan 2006 22:35:52 +0000 (22:35 +0000)]
fix multibyte bracket search breakage, and add documentation fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3261
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 6 Jan 2006 22:04:38 +0000 (22:04 +0000)]
fix "matchbrackets" breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3260
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 6 Jan 2006 21:51:10 +0000 (21:51 +0000)]
allow specifying matching bracket characters other than the default via
the "matchbrackets" rcfile option
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3259
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 6 Jan 2006 07:10:30 +0000 (07:10 +0000)]
rework the bracket searching code to handle multibyte bracket characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3258
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 6 Jan 2006 05:54:44 +0000 (05:54 +0000)]
in mbstrchr(), make parameter c const
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3257
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 3 Jan 2006 04:53:41 +0000 (04:53 +0000)]
sort the default strings for brackets and punct, and the "or" atom in
the default regex string for quotestr, in order according to ASCII, and
add minor related documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3256
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 2 Jan 2006 17:09:35 +0000 (17:09 +0000)]
clarify another comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3255
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 2 Jan 2006 04:30:33 +0000 (04:30 +0000)]
in edit_scroll(), redraw the lines before and after the scrolled region
even if the scrolled region was only one line; this fixes a display
problem that occurs after doing a search that scrolls the screen down
one line and leaves the cursor on the last line of the screen, in which
case we need to update the line after the scrolled region
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3254
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
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
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
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
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
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
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
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
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
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