Gunnar Ritter
0793775912
added provisions to build an SVR4 package
2007-02-24 23:47:28 +00:00
Gunnar Ritter
4f2f7775a0
built on FreeBSD 6
2007-01-12 17:43:22 +00:00
Gunnar Ritter
1135d13657
gcc -Wstrict-prototypes and related fixes
2006-12-25 19:31:50 +00:00
Gunnar Ritter
ae8b700100
Stefan Tramm compiled on Mac OS X
2006-01-01 20:28:12 +00:00
Gunnar Ritter
5ac59bfb34
compiles on DragonFlyBSD
2005-11-22 00:13:00 +00:00
Gunnar Ritter
89f1de0dd1
Stephen Williams reported UTF-8 mode to work with gnome-terminal 2.10.0
2005-10-23 14:48:01 +00:00
Gunnar Ritter
90dcee7912
* A bug in the supplied realloc() replacement could result in heap
...
corruption. (No resulting failures have been observed with ex so far.)
2005-08-18 20:54:54 +00:00
Gunnar Ritter
a28b46f12d
made ^F work with long line at the end
2005-08-06 12:06:47 +00:00
Gunnar Ritter
6070ff258f
fixed visual 'n' for very long lines
2005-08-06 11:41:15 +00:00
Gunnar Ritter
5e1eca3ce2
limited capability to view long lines with vi
2005-08-05 23:15:03 +00:00
Gunnar Ritter
b5ea77e25f
* Viewing executables and compressed files is no longer inhibited.
2005-08-04 17:03:27 +00:00
Gunnar Ritter
f2ae772abb
made regular expressions work again (were broken since last revision)
2005-08-04 16:58:51 +00:00
Gunnar Ritter
b0ff1d6b3e
ex (not vi) can now edit files with lines of arbitrary length.
2005-08-04 15:23:39 +00:00
Gunnar Ritter
2b70d8e5eb
* The screen buffers for visual mode are now dynamically allocated, so
...
vi usually does not return to ex mode with "screen too large" when the
terminal is resized on a large monitor anymore.
2005-08-04 12:09:59 +00:00
Gunnar Ritter
c69b1ee369
use slist
2005-06-26 12:33:54 +00:00
Gunnar Ritter
744680c3eb
always include inttypes.h
2005-06-19 11:35:03 +00:00
Gunnar Ritter
bceb4a7c92
valgrind support
2005-04-05 15:08:12 +00:00
Gunnar Ritter
c13aadbd6a
* Traditional regular expressions sometimes failed to operate correctly
...
since the last release.
2005-03-24 23:38:10 +00:00
Gunnar Ritter
b0a749c10a
* The 'p' command now works correctly if the buffer contains a partial line
...
with multibyte characters.
2005-03-24 22:58:14 +00:00
Gunnar Ritter
be3347f5be
* vi no longer dies with a segmentation fault if a line does not fit on the
...
screen after an insertion.
2005-03-04 12:22:53 +00:00
Gunnar Ritter
451eeb404b
050225 release
2005-02-24 23:47:25 +00:00
Gunnar Ritter
687283420e
malloc fixes
2005-02-20 22:20:58 +00:00
Gunnar Ritter
48c2d1ea7d
id
2005-02-20 16:21:04 +00:00
Gunnar Ritter
ac7a080336
loconv() did not terminate strings when copying
2005-02-20 16:19:05 +00:00
Gunnar Ritter
a2e6b9bf06
no VLAs
2005-02-20 16:04:13 +00:00
Gunnar Ritter
412a50455a
use MAP_ANONYMOUS if MAP_ANON is not defined
2005-02-20 15:46:11 +00:00
Gunnar Ritter
b1f7de7553
better termcap entry
2005-02-20 15:29:00 +00:00
Gunnar Ritter
be04f31b6e
termcap description added
2005-02-20 15:22:10 +00:00
Gunnar Ritter
493b8bb250
use REG_BADRANGE only with NO_BE_BACKSLASH
2005-02-20 14:06:03 +00:00
Gunnar Ritter
3a034c9785
* When the 'ignorecase' option is toggled, saved regular expressions are now
...
updated accordingly.
2005-02-19 20:13:22 +00:00
Gunnar Ritter
773cc81104
got rid of Re_used
2005-02-19 19:38:24 +00:00
Gunnar Ritter
12f5e52169
have log[12] as explicit variables
2005-02-19 19:29:03 +00:00
Gunnar Ritter
6a6d9e4069
include regex.h in ex_re.c only
2005-02-19 18:37:13 +00:00
Gunnar Ritter
971748839e
* Traditional regular expressions can now be used with multibyte characters.
2005-02-19 18:01:26 +00:00
Gunnar Ritter
a7523a2130
built on EP/IX
2005-02-19 10:28:32 +00:00
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
Gunnar Ritter
3a4a3ffa83
changes to adopt local structure
2004-12-04 13:27:58 +00:00
Gunnar Ritter
92e4e9fdf7
Initial revision
2004-12-04 13:17:05 +00:00