<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libedit/tty.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libedit/tty.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libedit/tty.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2016-05-06T13:12:52Z</updated>
<entry>
<title>Replace the generated file "fcns.c" by a simpler header "func.h"</title>
<updated>2016-05-06T13:12:52Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-05-06T13:12:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=13e01c7add293760b137f79ec359a58715043708'/>
<id>urn:sha1:13e01c7add293760b137f79ec359a58715043708</id>
<content type='text'>
included only in the one file needing it, "map.c".
That allows to define el_action_t directly in "map.h",
which in turn allows to stop including "fcns.h" from "el.h"
and include it only in the modules needing it.
Now we no longer autogenerate any C files.

Feedback and OK martijn@.
First version also proofread by Christian Heckendorf &lt;mbie at ulmus dot me&gt;.
</content>
</entry>
<entry>
<title>delete the "private" and "public" preprocessor macros, just use standard C;</title>
<updated>2016-04-11T21:17:29Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-04-11T21:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ddc81437857133802b1cf7d8d5bf0ff2198b602b'/>
<id>urn:sha1:ddc81437857133802b1cf7d8d5bf0ff2198b602b</id>
<content type='text'>
OK martijn@
</content>
</entry>
<entry>
<title>get rid of the non-standard data type "Char" in almost all files;</title>
<updated>2016-04-11T20:43:33Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-04-11T20:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e3191321e10061607f650c80a8b76fe9f4de6d52'/>
<id>urn:sha1:e3191321e10061607f650c80a8b76fe9f4de6d52</id>
<content type='text'>
ok martijn@
</content>
</entry>
<entry>
<title>Move wrapper macros to the two files actually needing them:</title>
<updated>2016-04-11T19:54:53Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-04-11T19:54:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5c93237dc61741a77e4aedea71fcbacffe8f97ad'/>
<id>urn:sha1:5c93237dc61741a77e4aedea71fcbacffe8f97ad</id>
<content type='text'>
FUNW, Strlen, Strdup, Strcmp, Strncmp, Strncpy, Strncat -&gt; history.c
Strchr, tok_strdup -&gt; tokenizer.c
FUN, TYPE, STR -&gt; both of these files

OK martijn@

Also proofread by Christian Heckendorf &lt;mbie at ulmus dot me&gt;
who reported some whitespace issues in parse.c.
</content>
</entry>
<entry>
<title>Delete 26 wrapper macros and two wrapper functions that are no</title>
<updated>2016-04-09T20:15:26Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-04-09T20:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=565aa7e845bd05480ccceb0abafa956d0083e470'/>
<id>urn:sha1:565aa7e845bd05480ccceb0abafa956d0083e470</id>
<content type='text'>
longer needed now that we always compile with wide character support,
reducing code obfuscation.

OK czarkoff@ martijn@.
Diff also proofread by Christian Heckendorf &lt;mbie at ulmus dot me&gt;.
</content>
</entry>
<entry>
<title>Reset the terminal to its initial state before exiting a program</title>
<updated>2016-04-09T18:42:49Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-04-09T18:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=491df958dfb17b13c78bdc2dfbd7ce70d6c68c7c'/>
<id>urn:sha1:491df958dfb17b13c78bdc2dfbd7ce70d6c68c7c</id>
<content type='text'>
using libedit, using code from NetBSD tty.c rev. 1.42, 1.48, 1.49,
1.58, and 1.59.  Code mostly by Christos Zoulas, one bug report by
John Hein, one additional bugfix by me (rev. 1.59).
While here, switch t_mode to unsigned char, which is sufficient,
also from NetBSD.

OK martijn@.
Also checked by Christian Heckendorf &lt;mbie at ulmus dot me&gt;.
</content>
</entry>
<entry>
<title>Cleanup of standard header inclusion:</title>
<updated>2016-03-20T23:48:27Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-03-20T23:48:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7ccfa089d503f0f7c1c22435af04c237b0796118'/>
<id>urn:sha1:7ccfa089d503f0f7c1c22435af04c237b0796118</id>
<content type='text'>
1. Add the missing &lt;errno.h&gt; to sig.c.
2. Do not include standard headers from private headers "chared.h"
and "el.h", include them directly where needed.
3. Delete a few needless inclusions of &lt;ctype.h&gt;.
4. Sort the standard headers.
5. Delete _GNU_SOURCE weirdness from histedit.h, that file doesn't even
need the access to wcsdup(3) mentioned in the comment.
6. Delete some trailing blanks and blanks before tabs.

OK czarkoff@
</content>
</entry>
<entry>
<title>Cleanup of private header inclusion:</title>
<updated>2016-03-20T22:57:59Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-03-20T22:57:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5564fb9496c6db6caa72a9dcf75b20efbd24a525'/>
<id>urn:sha1:5564fb9496c6db6caa72a9dcf75b20efbd24a525</id>
<content type='text'>
1. Do not include private headers from "chared.h", "hist.h", "prompt.h",
"refresh.h", "search.h", "sig.h", "terminal.h", "tty.h".
The only private header having to include other private headers is "el.h".
2. Do not include "common.h", "parse.h", "help.h" from "el.h",
and do not include "emacs.h" and "vi.h" from "chared.h",
include them directly where needed.
3. Do include "fcns.h" from "el.h" because el_func_t is needed for "map.h".
4. Do not include private headers again that are already included by "el.h".
5. Include private headers after standard headers.

OK czarkoff@
</content>
</entry>
<entry>
<title>Delete the useless Int datatype and always use the standard wint_t</title>
<updated>2016-03-20T20:35:38Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-03-20T20:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b2589f0b3286bc81be0a2044650199e8c9df0b5c'/>
<id>urn:sha1:b2589f0b3286bc81be0a2044650199e8c9df0b5c</id>
<content type='text'>
directly.  This is not a problem because &lt;wchar_t&gt; is required all
over the place anyway, even when WIDECHAR is not defined.
No functional change except that it fixes a few printf(3)
format string issues, %c vs. %lc.
OK czarkoff@
</content>
</entry>
<entry>
<title>Fourth step in synching with NetBSD:</title>
<updated>2016-01-30T12:22:20Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2016-01-30T12:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=28d54ee83c6affd52032b6242140cc317714b94c'/>
<id>urn:sha1:28d54ee83c6affd52032b6242140cc317714b94c</id>
<content type='text'>
KNF: Remove parentheses from return lines.  No object change.
This makes emacs.c and prompt.c identical to the NetBSD versions.
It reduces the remaining diff from +2053 -1261 to +1526 -734.
OK czarkoff@
</content>
</entry>
</feed>
