<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/ee, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-07-06T13:18:18Z</updated>
<entry>
<title>ee: Handle EINTR when waiting for a character</title>
<updated>2026-07-06T13:18:18Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-07-06T13:16:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a8f5e24070a2fffc752ac7855bfb49049dcbb41e'/>
<id>urn:sha1:a8f5e24070a2fffc752ac7855bfb49049dcbb41e</id>
<content type='text'>
Otherwise one can't easily attach gdb to ee.

Reviewed by:	bapt
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D57997
</content>
</entry>
<entry>
<title>ee: Improve handling of malformed UTF-8 characters</title>
<updated>2026-07-06T13:18:13Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2026-07-06T13:16:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=705a88a717272c52c897c3d28dc2997980ee67f4'/>
<id>urn:sha1:705a88a717272c52c897c3d28dc2997980ee67f4</id>
<content type='text'>
In delete(), when copying the deleted character to the d_char buffer,
don't assume that it fits.  utf8_prev() may return a sequence of more
than 5 bytes.

In insert_utf8(), fix the copy-up of the line.  We extended the line by
"len" bytes, so "temp" has to be repositioned accordingly.  Compare with
plain insert().

Use sizeof when copying to buffers instead of hard-coding buffer sizes.

Don't dynamically allocate d_char, there is no need.

Fixes:		62fba0054d9e ("ee: add unicode support")
Reported by:	Sayono Hiragi (overflow in delete())
Reviewed by:	bapt
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D57996
</content>
</entry>
<entry>
<title>ee: add unicode support</title>
<updated>2026-02-17T11:50:16Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-02-14T05:44:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=62fba0054d9eb2303116f54be1f9bc0e7b75cc15'/>
<id>urn:sha1:62fba0054d9eb2303116f54be1f9bc0e7b75cc15</id>
<content type='text'>
- Add native support for unicode everywhere.
- Remove Big5 specific code (and the menu entry)

PR:		291279
MFC After:	1 month
Tested by:	 Marek Zarychta
Differential Revision:	https://reviews.freebsd.org/D55303
</content>
</entry>
<entry>
<title>ee: fix wprintw usage (highlighted by ncurses 6.5)</title>
<updated>2024-06-20T13:43:44Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2024-06-20T13:42:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0667538b888c1171932c6cf28b62fc19d393e119'/>
<id>urn:sha1:0667538b888c1171932c6cf28b62fc19d393e119</id>
<content type='text'>
Reported by: cy
</content>
</entry>
<entry>
<title>ee: Fix use of uninitialised pointer in ispell_op</title>
<updated>2024-06-02T22:53:09Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2024-06-02T22:53:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=25a33bfe9ce2b55812201f475e9d3e64009b40dc'/>
<id>urn:sha1:25a33bfe9ce2b55812201f475e9d3e64009b40dc</id>
<content type='text'>
This used to be name = mktemp followed by fd = open downstream,
replacing upstream's crude PID-based sprintf, but in 1.4.7 this was
changed upstream to this buggy code, which we then picked up in the
1.5.0 import. Presumably nobody's actually used ee's ispell function
in the past 15 years; that or it's just ended up using junk file names
as temporary files if name's happened to be a valid address to something
that can be interpreted as a string.

Reported by:	Dapeng Gao &lt;dapeng.gao@cl.cam.ac.uk&gt;
Fixes:		96b676e99984 ("Update ee(1) in the base system to version 1.5.0.")
MFC after:	1 week
</content>
</entry>
<entry>
<title>ee: remove locally added __FBSDID</title>
<updated>2023-11-27T16:47:26Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-11-27T16:47:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3f944f3bb75fe6eae6000511ad19799d90da54ba'/>
<id>urn:sha1:3f944f3bb75fe6eae6000511ad19799d90da54ba</id>
<content type='text'>
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D42701
</content>
</entry>
<entry>
<title>ee: Remove two set but unused variables.</title>
<updated>2023-04-18T19:53:32Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-04-18T19:53:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9d8537e3de106fafefac4946825b304eed96c43a'/>
<id>urn:sha1:9d8537e3de106fafefac4946825b304eed96c43a</id>
<content type='text'>
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D39671
</content>
</entry>
<entry>
<title>ee: Use C89 function definitions.</title>
<updated>2023-04-18T19:53:20Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-04-18T19:53:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=91517e3b8186d8fc161884fea27871f312ca8bea'/>
<id>urn:sha1:91517e3b8186d8fc161884fea27871f312ca8bea</id>
<content type='text'>
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D39670
</content>
</entry>
<entry>
<title>ee: Remove function prototype for main.</title>
<updated>2023-04-18T19:53:05Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-04-18T19:53:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=215927f5353a52a10dccf828115a017af959a72d'/>
<id>urn:sha1:215927f5353a52a10dccf828115a017af959a72d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ee: Drop P_() macro used for pre-C89 compatibility.</title>
<updated>2023-04-18T19:52:44Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-04-18T19:52:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=87cc8c6be050febeb2288465abcdc1c15bb30571'/>
<id>urn:sha1:87cc8c6be050febeb2288465abcdc1c15bb30571</id>
<content type='text'>
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D39669
</content>
</entry>
</feed>
