History log of /netbsd-src/lib/libedit/Makefile (Results 1 – 25 of 70)
Revision Date Author Comments
# 03675fce 03-Aug-2023 rin <rin@NetBSD.org>

Revert CC_WNO_USE_AFTER_FREE from Makefile's (thanks uwe@)


# 91f8ac6d 03-Aug-2023 rin <rin@NetBSD.org>

Sprinkle CC_WNO_USE_AFTER_FREE for GCC 12

All of them are blamed for idiom equivalent to:
newbuf = realloc(buf, size);
p = newbuf + (p - buf);


# c093f0b6 20-Jun-2023 wiz <wiz@NetBSD.org>

install pkg-config file for libedit

version number matches portable libedit
--cflags output matches portable libedit, since users probably want the
readline interface


# c4b7a9e7 03-Jun-2023 lukem <lukem@NetBSD.org>

bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPL

bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.

show more ...


# de11d876 13-Oct-2019 mrg <mrg@NetBSD.org>

introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRI

introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."

show more ...


# e3112e6c 30-Jun-2017 kre <kre@NetBSD.org>

Allow wide characters (properly encoded as byte strings according to LC_CTYPE)
to be (perhaps part of) the "invisible" characters in a prompt, or the
required prompt character which follows the liter

Allow wide characters (properly encoded as byte strings according to LC_CTYPE)
to be (perhaps part of) the "invisible" characters in a prompt, or the
required prompt character which follows the literal sequence (this character
must be one with a printing column width >= 1). The literal indicator
character (which is just a marker, and not printed anywhere) (the PSlit
parameter in sh(1)) can also be a wide char (passed to libedit as a wchar_t,
encoded as that by sh(1) or other applications that support this.)

Note: this has currently only been tested with everything ascii (C locale).

show more ...


# 9abf018d 27-Jun-2017 christos <christos@NetBSD.org>

add literal escape sequence support, patterned after the tcsh ones.


# 6eacc2db 24-May-2016 christos <christos@NetBSD.org>

remove debug read (Ingo Schwarze)


# 137ae6ae 09-May-2016 christos <christos@NetBSD.org>

Instead of compiling all the source files together in one big file, use
protected visibility to achieve the same effect.


# 7c1df760 02-May-2016 wiz <wiz@NetBSD.org>

Add missing backslash that broke build.


# 2f3aa6bd 02-May-2016 christos <christos@NetBSD.org>

Add more MLINKS, sort


# 067b3315 28-Apr-2016 christos <christos@NetBSD.org>

new man page from Ingo Schwarze.


# 4fc1f47d 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 ...


# 4e541d85 23-Mar-2016 christos <christos@NetBSD.org>

Start removing the WIDECHAR ifdefs; building without it has stopped working
anyway. (Ingo Schwarze)


# d784c575 02-Mar-2016 christos <christos@NetBSD.org>

PR/50880: David Binderman: Remove redundant code.
While here, fix all debugging formats.


# 7ba8c71b 24-Feb-2016 christos <christos@NetBSD.org>

Get split el_getc and el_wgetc completely and call el_wgetc internally.
Change some character constants to they wide versions. (Ingo Schwarze)


# 22383670 17-Feb-2016 christos <christos@NetBSD.org>

whitespace and header sorting changes (Ingo Schwarze). No functional changes.


# d5e00695 29-Jan-2015 joerg <joerg@NetBSD.org>

Disable -Wcast-qual for clang for now.


# ac641cb9 14-Jun-2014 mrg <mrg@NetBSD.org>

remove remaining makefile support for GCC < 45 that i found.


# e16a720f 10-Aug-2012 joerg <joerg@NetBSD.org>

Don't depend on HAVE_GCC being always defined.


# fa835e8c 21-Mar-2012 matt <matt@NetBSD.org>

These directories default to WARNS?=5


# 3d802cf5 16-Aug-2011 christos <christos@NetBSD.org>

re-enable -Wconversion


# 98ea74e0 02-Aug-2011 joerg <joerg@NetBSD.org>

Only use -Wconversion if GCC is actually the active compiler.


# 67fb9734 30-Jul-2011 tron <tron@NetBSD.org>

Don't use "-Wconversion" with GCC 4.5 which will complain about all the
expressions where signed variables are converted to unsigned in an
expression e.g. "size_t foo = sizeof(something) * int_var;".


# c11bd863 29-Jul-2011 christos <christos@NetBSD.org>

pass -Wconversion


123