summaryrefslogtreecommitdiff
path: root/sys/arch/prep/include/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/prep/include/math.h')
0 files changed, 0 insertions, 0 deletions
ibedit/parse.c?id=7169dd3deff539889888fea21c7c665093f740cc'>more macro WIDECHAR undoing from Ingo Schwarze.christos 2016-02-17whitespace and header sorting changes (Ingo Schwarze). No functional changes.christos 2016-02-16More header cleanups from Ingo Schwarze.christos 2016-02-16more include file cleanup (Ingo Schwarze)christos 2016-02-16From Ingo Scharze:christos 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... 2016-02-16cleanup chartype.h includes (Ingo Schwarze)christos 2016-02-16cleanup inclusion of histedit.h (Ingo Schwarze)christos 2016-02-14From Ingo Schwarze:christos 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. 2016-02-11- Add some more Char castschristos - reduce ifdefs by providing empty defs for nls functions (Ingo Schwarze) 2014-07-06Bounds search for reallocated index, from OpenBSD via Andreas Fettchristos 2011-08-16re-enable -Wconversionchristos 2011-07-29KNF return (\1); -> return \1;christos 2011-07-28term -> terminalchristos XXX: need to rename key_ too. 2009-12-30Wide character support (UTF-8) from Johny Mattsson; currently disabled.christos 2005-05-29Update for recent parse__escape() prototype changelukem 2005-05-29PR/25694: Luke Mewburn: Don't abuse unconstify'ing a string and writing tochristos it, because you'll core dump. Also remove extra const that gives pain to the irix compiler. 2003-12-05Tokenization function enhancements:lukem * Make tok_init(), tok_end(), tok_reset(), tok_line() and tok_str() publically available in <histedit.h> * Documented the public functions in editline(3) * Renamed tok_line() -> tok_str() * Added new tok_line() which takes a "const LineInfo *" instead of "const char *" (the former has "cursor" information), and optionally return the argv index ("int *cursorc") and offset within that index ("int *cursorv"). This means that completion routines can use the tokenization code to crack the line and easily find which word the cursor is at. (mmm, context sensitive completion :) * Fixed TEST/test.c when using "continuation" lines (unmatched quote or \ at EOL), and added some more DEBUG messages including highlighting where the cursor is (with a `_'). 2003-11-02Handle M- as escape. XXX: should probably select the meta-map instead.christos From Gerry Swislow gerry at certif com 2003-10-15don't limit ^c to alpha c, and add VIS_NOSLASH so that vis(3) does notchristos produce \^c 2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc Patches provided by Joel Baker in PR 22280, verified by myself. 2003-01-21Add a uniquefier for the history function.christos 2002-03-18- constify; passes all gcc and lint strict checks.christos - add config.h [Jason Evans], to create a portable version of libedit that can be easily compiled on other OS's. 2001-01-23sprinkle couple constjdolecek 2000-09-04convert to new style guide, which includes:lukem - ansi prototypes & features (such as stdargs) - 8 space indents 2000-03-10include <stdlib.h> to get definition of malloc() and free(), so it'sjdolecek possible to compile this file separately when debugging 1999-07-02More trailing white space.simonb 1999-02-05M-X:<enter> core-dumped.christos 1998-12-12delintchristos 1998-07-29* add more checks for NULL pointers in passed argumentslukem * implement el_get(EditLine *, int op, void *result), which does the inverse of el_set() * add EL_EDITMODE operation to el_set and el_get; if non zero editing is enabled (the default). * add "edit on | off" editrc command, which modifies EL_EDITMODE. users can now add '*:edit off' in ~/.editrc as an advisory to disable editing. NOTE: at this time EL_EDITMODE is just an indication of the state of the 'edit' command. It's up to the application to check this after el_source() or el_parse() to determine if editing is still required. 1998-01-21in el_parse(), use a temporary buffer to store the program name whenlukem comparing, preventing trashing of argv[0]. remove note in man page warning of former behaviour. 1997-07-06Fix compiler warnings.christos 1997-01-11* document ^char and \ escape sequenceslukem * when parsing ^char control chars, check the correct char when determining validity (previously, ^char was a NOP interpreted as the literal string because of this bug) 1997-01-11RCSid policelukem editline first appeared in 4.4BSD not NetBSD1.0 1997-01-11* in el_parse(), don't reference argv[0] if argc < 1 (return -1 instead)lukem * clarify return value of el_parse() 1997-01-09* add a man page for the editline routineslukem * add a man page describing editrc * fix bugs in el_parse(): * didn't execute command when program name matched (test reversed) * was checking against empty string instead of program name * after checks, command to run also pointed to empty string [christos - the author of libedit - ok-ed the man pages in general (which I wrote from scratch by RTFS) as well as the bugfix] 1994-05-06libedit!cgd