#
11761f28 |
| 09-May-2016 |
christos <christos@NetBSD.org> |
s/protected/libedit_private/g
|
#
1d061c21 |
| 18-Apr-2016 |
christos <christos@NetBSD.org> |
From Ingo Schwarze: * Replace fcns.c by a shorter and simpler func.h and include it only in the one file needing it, map.c. * Combine help.h and help.c into a simplified help.h and include it
From Ingo Schwarze: * Replace fcns.c by a shorter and simpler func.h and include it only in the one file needing it, map.c. * Combine help.h and help.c into a simplified help.h and include it only in the one file needing it, map.c. * Check the very simple, static files editline.c, historyn.c, and tokenizern.c into CVS rather than needlessly generating them. * So we no longer autogenerate any C files. :-) * Shorten and simplify makelist by deleting the options -n, -e, -bc, and -m; the latter was unused and useless in the first place. * Move the declaration of el_func_t from fcns.h to the header actually needing it, map.h. Since that header is already included by el.h for unrelated reasons, that makes el_func_t just as globally available as before. * No longer include the simplified fcns.h into el.h, include it directly into the *.c files needing it.
show more ...
|
#
5a0079fb |
| 11-Apr-2016 |
christos <christos@NetBSD.org> |
Get rid of private/public; keep protected (Ingo Schwarze)
|
#
7169dd3d |
| 11-Apr-2016 |
christos <christos@NetBSD.org> |
more macro WIDECHAR undoing from Ingo Schwarze.
|
#
f7a947f1 |
| 23-Mar-2016 |
christos <christos@NetBSD.org> |
Start removing the WIDECHAR ifdefs; building without it has stopped working anyway. (Ingo Schwarze)
|
#
e49871f3 |
| 17-Feb-2016 |
christos <christos@NetBSD.org> |
whitespace and header sorting changes (Ingo Schwarze). No functional changes.
|
#
b5e29619 |
| 16-Feb-2016 |
christos <christos@NetBSD.org> |
more include file cleanup (Ingo Schwarze)
|
#
af0ffa53 |
| 16-Feb-2016 |
christos <christos@NetBSD.org> |
From Ingo Scharze: Let "el.h" include everything needed for struct editline, and don't include that stuff multiple times. That also improves consistency, also avoids circular inclusions, and also ma
From Ingo Scharze: Let "el.h" include everything needed for struct editline, and don't include that stuff multiple times. That also improves consistency, also avoids circular inclusions, and also makes it easier to follow what is going on, even though not quite as nice. But it seems like the best we can do...
show more ...
|
#
7a82ed4a |
| 16-Feb-2016 |
christos <christos@NetBSD.org> |
cleanup chartype.h includes (Ingo Schwarze)
|
#
be424bf8 |
| 16-Feb-2016 |
christos <christos@NetBSD.org> |
cleanup inclusion of histedit.h (Ingo Schwarze)
|
#
3117a22c |
| 14-Feb-2016 |
christos <christos@NetBSD.org> |
From Ingo Schwarze:
As we have seen before, "histedit.h" can never get rid of including the <wchar.h> header because using the data types defined there is deeply ingrained in the public interfaces o
From Ingo Schwarze:
As we have seen before, "histedit.h" can never get rid of including the <wchar.h> header because using the data types defined there is deeply ingrained in the public interfaces of libedit.
Now POSIX unconditionally requires that <wchar.h> defines the type wint_t. Consequently, it can be used unconditionally, no matter whether WIDECHAR is active or not. Consequently, the #define Int is pointless.
Note that removing it is not gratuitious churn. Auditing for integer signedness problems is already hard when only fundamental types like "int" and "unsigned" are involved. It gets very hard when types come into the picture that have platform-dependent signedness, like "char" and "wint_t". Adding yet another layer on top, changing both the signedness and the width in a platform- dependent way, makes auditing yet harder, which IMHO is really dangerous. Note that while removing the #define, i already found one bug caused by this excessive complication - in the function re_putc() in refresh.c. If WIDECHAR was defined, it printed an Int = wint_t value with %c. Fortunately, that bug only affects debugging, not production. The fix is contained in the patch.
With WIDECHAR, this doesn't change anything. For the case without WIDECHAR, i checked that none of the places wants to store values that might not fit in wint_t.
This only changes internal interfaces; public ones remain unchanged.
show more ...
|
#
101e6a32 |
| 21-Mar-2012 |
matt <matt@NetBSD.org> |
Use C89 functions definitions.
|
#
2929e571 |
| 28-Jul-2011 |
christos <christos@NetBSD.org> |
include config.h for all c files.
|
#
d29e2500 |
| 18-Apr-2010 |
christos <christos@NetBSD.org> |
shame on solaris that is the last OS not supporting $()
|
#
839bac94 |
| 15-Apr-2010 |
christos <christos@NetBSD.org> |
From Jess Thrysoee - Fix wint_t to Int confusion
|
#
0b9ae3fd |
| 30-Dec-2009 |
christos <christos@NetBSD.org> |
Fix wide build, test it, but don't turn it on yet.
|
#
34e53048 |
| 30-Dec-2009 |
christos <christos@NetBSD.org> |
Wide character support (UTF-8) from Johny Mattsson; currently disabled.
|
#
fc16547f |
| 12-Feb-2009 |
sketch <sketch@NetBSD.org> |
More fixes for existing portability stuff.
|
#
41a71d99 |
| 22-Oct-2005 |
christos <christos@NetBSD.org> |
change tr '[a-z]' '[A-Z]' to tr '[:lower:]' '[:upper:]' so that POSIX systems work properly regardless of environment variable settings.
|
#
d8f11774 |
| 08-Aug-2005 |
christos <christos@NetBSD.org> |
Don't add an extra { NULL, 0, NULL } element to the help array. Instead keep it always the same size as the function array for consistency. Reported in FreeBSD PR 82381, but fixed differently.
|
#
78745cde |
| 16-May-2005 |
lukem <lukem@NetBSD.org> |
Remove clause 3 from the UCB license.
|
#
80a839be |
| 10-Mar-2003 |
christos <christos@NetBSD.org> |
don't use the path for awk
|
#
7be4ef2f |
| 09-Jan-2001 |
jdolecek <jdolecek@NetBSD.org> |
make array of functions and help array const
|
#
6592086a |
| 04-Sep-2000 |
lukem <lukem@NetBSD.org> |
- generate ansi prototypes instead of using __P(). noted by christos - fix a couple of comments
|
#
78dc0c22 |
| 21-Jun-2000 |
lukem <lukem@NetBSD.org> |
* add -m option to makelist, which generates an mdoc table with the key bindings and their descriptions * manually add the output of 'sh ./makelist -m vi.c ed.c common.c' to a new section in edit
* add -m option to makelist, which generates an mdoc table with the key bindings and their descriptions * manually add the output of 'sh ./makelist -m vi.c ed.c common.c' to a new section in editrc(5) called `EDITOR COMMANDS'
show more ...
|