Commit Graph

102 Commits

Author SHA1 Message Date
Gunnar Ritter 47bc82618c fix for solaris compiler 2005-02-18 17:57:00 +00:00
Gunnar Ritter 1f78fc629a * If the 'next!' ex command is given and the autowrite option is set, the
current file is not written anymore.
2005-02-18 17:54:25 +00:00
Gunnar Ritter e3eecf0edf /dev/zero allocation fixed, increase pool size in smaller units 2005-02-18 16:44:40 +00:00
Gunnar Ritter c9c2aae114 * A new version of mapmalloc.c that is derived from Unix 7th Edition code
has been introduced.
2005-02-18 02:24:28 +00:00
Gunnar Ritter 25b4451ffd new variant in preparation 2005-02-18 02:20:18 +00:00
Gunnar Ritter 057434f01a made -t foo -c bar work in visual mode too 2005-02-17 21:11:34 +00:00
Gunnar Ritter ebbbfc8bd2 * Fixed an error in the realloc() function in mapmalloc.c that sometimes
caused memory to be overwritten because memcpy(new, old, size) was called
  with the size of 'new' if 'new' was larger than 'old'.
2005-02-17 20:38:02 +00:00
Gunnar Ritter 6afc996872 * The 'substitute' ex command can now be abbreviated as 'sub', 'subst' etc. 2005-02-17 19:31:36 +00:00
Gunnar Ritter aada6fd740 * Ex does not exit on errors immediately anymore if standard input is not
a terminal but a pipe or regular file.
2005-02-17 17:00:56 +00:00
Gunnar Ritter 50bf5781f9 * The 'source' ex command now works if command input comes from a pipe or
regular file.
2005-02-17 16:03:03 +00:00
Gunnar Ritter 124bd15ee6 * If standard output is not a terminal, no '\r' is written at the end of
printed lines anymore.
2005-02-17 15:16:43 +00:00
Gunnar Ritter 9fd9a3d91e * When the name of a nonexisting file is given with the 'edit' ex command,
the command now succeeds and prints a "[New file]" message.
2005-02-17 14:48:49 +00:00
Gunnar Ritter b737eb9531 * The -w option now also sets the scroll size for the 'z' command. 2005-02-17 12:41:23 +00:00
Gunnar Ritter f99a42d652 * If both the '-t' and the '-c' option are given, the '-t' option is now
processed first, i.e. the command is executed at the position where the
  tag was found.
2005-02-17 12:15:36 +00:00
Gunnar Ritter 1dbb3c2a66 * When moving left while the cursor is positioned over a multicolumn
character at the end of the line, the bell is rung now (Bugreport by
  Matthew Fischer).
* When moving up or down to a row with different column arrangement while
  the cursor is positioned over a multicolumn character, the leftmost
  character above the original position is chosen in the new row.
2005-02-15 22:39:33 +00:00
Gunnar Ritter 280906a241 singlebyte compile fixes 2005-02-15 16:55:39 +00:00
Gunnar Ritter 22e0a4753c * Made multicolumn characters work in lines longer than the screen width in
visual mode (Bugreport by Matthew Fischer).
2005-02-15 16:40:38 +00:00
Gunnar Ritter d1a3bb3efa * Made multicolumn characters work in lines longer than the screen width in
visual mode (Bugreport by Matthew Fischer).
2005-02-15 16:31:11 +00:00
Gunnar Ritter 625b7e45f5 * The argument to the -w option is correctly recognized now. 2005-02-13 01:03:22 +00:00
Gunnar Ritter 6cba8d4b6c anoter fix for the 'ic' case 2005-02-04 18:52:28 +00:00
Gunnar Ritter 60c17fcee5 * The insertion of multicolumn characters now works with terminals that have
the 'ic' but no 'im' termcap capability (Bugreport by Matthew Fischer).
2005-02-03 00:09:54 +00:00
Gunnar Ritter 98e0e16635 multibyte support tested on HP-UX B.11.11 2005-01-29 15:10:16 +00:00
Gunnar Ritter b321680d4c s/revision/release/ 2005-01-22 22:45:59 +00:00
Gunnar Ritter 8cfde7de61 * If a line began with a tabulator and another tabulator was inserted with
the cursor located on the first tabulator, the display was not updated
  appropriately since the last revision (Bugreport by Matthew Fischer). (P)
2005-01-22 22:45:29 +00:00
Gunnar Ritter 0e1e0f0cb5 GB 2312 is also supported 2005-01-22 21:24:53 +00:00
Gunnar Ritter 2e78936ac0 documented support for East Asian encodings 2005-01-22 16:54:26 +00:00
Gunnar Ritter e444210570 * Fixed a segmentation fault that occured in multibyte locales when operation
was continued after vi had been stopped by ^Z, with the cursor positioned
  in a line longer than the terminal width as the last line of the current
  screen.
2005-01-22 00:03:30 +00:00
Gunnar Ritter 11445d2b92 * Made it work for Big5 locales (Patches by Matthew Fischer).
* Fixed a problem with the 'r' command in EUC-JP and Big5 locales (Bugreport
  by Matthew Fischer).
2005-01-20 22:33:32 +00:00
Gunnar Ritter 28950221e4 050119 release 2005-01-19 23:48:33 +00:00
Gunnar Ritter cd458d267f * The last release erroneously made 'X' work like 'x' in visual mode. It now
deletes the character before the cursor again as documented (Bugreport by
  Matthew Fischer).
2005-01-19 12:27:38 +00:00
Gunnar Ritter 3a23482887 * Some build fixes for diet libc have been made. 2005-01-16 13:47:23 +00:00
Gunnar Ritter bac07daedd the ^U issue affected only multibyte characters 2005-01-14 00:17:13 +00:00
Gunnar Ritter 7529db3b73 * Pressing the ^U (kill) character in insert mode sometimes positioned the
cursor at weird locations since the last revision (P).
2005-01-13 19:21:27 +00:00
Gunnar Ritter cffa86a85e * The position of '$' when changing text was fixed for cases where the first
changed character had multiple columns but the last one had not.
2005-01-13 19:03:43 +00:00
Gunnar Ritter a40b8f3ae0 * Various rendering errors happened with multicolumn characters if they
started at an even column (counting from 1 upwards).
2005-01-13 18:51:47 +00:00
Gunnar Ritter b75f03c3ca * When an illegal multibyte sequence is entered in vi insert mode, no garbage
bytes are generated anymore when the insert mode is left.
2005-01-12 17:26:23 +00:00
Gunnar Ritter cd48bf2e60 * Multibyte sequences that correspond to an unprintable character are now
printed as multiple octal escape sequences.
2005-01-12 04:03:46 +00:00
Gunnar Ritter 68f1c288d4 * The handling of multicolumn characters was fixed for terminals without the
IM (insert mode) capability. It is unlikely that such terminals actually
  exist, but vi will use the corresponding code for open mode if a termcap
  entry is not available.
2005-01-11 15:05:25 +00:00
Gunnar Ritter 4d481fff00 * The 'cw' visual command with a multibyte character as last character of
the affected word located at the end of the line left garbage bytes past
  the end of the new text.
2005-01-11 14:07:04 +00:00
Gunnar Ritter 91464fa6fb * Visual 'U' followed by 'u' lead to garbage on the screen when multibyte
characters were present on the changed line.
2005-01-10 23:32:28 +00:00
Gunnar Ritter 335f1e9f08 * Undoing the replacement of a multicolumn character by a singlecolumn
character twice made the singlecolumn character invisible.
2005-01-10 21:59:00 +00:00
Gunnar Ritter 5a5e906d9e * When a multicolumn character was inserted and then replaced, the visual
screen representation was sometimes not updated accordingly.
2005-01-10 19:32:47 +00:00
Gunnar Ritter 6f9ef30277 * The '\u', '\l', '\U', and '\L' substitution sequences work with multibyte
characters now.
2005-01-09 13:23:00 +00:00
Gunnar Ritter 6b5d023516 * Fixed an old vi bug: If a vi command that yanked or deleted part of a line
was followed by an ex command that also yanked or deleted some text, a
  following 'p' vi command pasted the text affected by the former vi command.
  It now pastes the text of the last yank or delete even if that was an ex
  command.
2005-01-02 14:58:49 +00:00
Gunnar Ritter 34bb648726 * When a multicolumn character was replaced by another multicolumn character
in insert mode, the display was not updated appropriately with terminals
  other than xterm.
2005-01-02 01:39:45 +00:00
Gunnar Ritter 7a66b78ed7 * Handle character case conversions with the '~' vi command correctly if the
length of the converted multibyte sequence is smaller than the original one.
2005-01-01 23:14:53 +00:00
Gunnar Ritter f5b548bc9b UTF-8 support tested with mlterm 2005-01-01 19:07:49 +00:00
Gunnar Ritter 4d1b00410d multibyte code tested with glibc 2.2.2 2004-12-31 01:36:41 +00:00
Gunnar Ritter 3764ff37f9 tested UTF-8 on Solaris 9 2004-12-30 01:56:16 +00:00
Gunnar Ritter b75baf52f8 multibyte support tested on HP-UX and NetBSD 2.0 2004-12-14 18:44:42 +00:00