#
f3bd4955 |
| 30-May-2023 |
christos <christos@NetBSD.org> |
Fix some const qual (Piotr Pawel Stefaniak)
|
#
469d44f8 |
| 11-Apr-2016 |
christos <christos@NetBSD.org> |
Get rid of private/public; keep protected (Ingo Schwarze)
|
#
a75ea7b9 |
| 11-Apr-2016 |
christos <christos@NetBSD.org> |
chartype cleanups from Ingo Schwarze:
- The file tokenizer.c no longer uses chartype.h, so don't include the header.
- The dummy definitions of ct_{de,en}code_string() for the NARROWCHAR ca
chartype cleanups from Ingo Schwarze:
- The file tokenizer.c no longer uses chartype.h, so don't include the header.
- The dummy definitions of ct_{de,en}code_string() for the NARROWCHAR case are only used in history.c, so move them there.
- Now the whole content of chartype.h is for the wide character case only. So remove the NARROWCHAR ifdef and include the header only in the wide character case.
- In chartype.h, move ct_encode_char() below the comment explaining it.
- No more need for underscores before ct_{de,en}code_string().
- Make the conversion buffer resize functions private. They are only called from the decoding and encoding functions inside chartype.c, and no need can possibly arise to call them from anywhere else.
show more ...
|
#
0594af80 |
| 11-Apr-2016 |
christos <christos@NetBSD.org> |
Char -> wchar_t from Ingo Schwarze.
|
#
0aefc7f9 |
| 11-Apr-2016 |
christos <christos@NetBSD.org> |
more macro WIDECHAR undoing from Ingo Schwarze.
|
#
22383670 |
| 17-Feb-2016 |
christos <christos@NetBSD.org> |
whitespace and header sorting changes (Ingo Schwarze). No functional changes.
|
#
c0d16449 |
| 15-Feb-2016 |
christos <christos@NetBSD.org> |
OpenBSD tokenizer.c rev. 1.8 2003/08/11 18:21:40 deraadt don't increase amax on realloc failure
|
#
7ce9f672 |
| 30-Jan-2016 |
christos <christos@NetBSD.org> |
Fix misplaced parentheses (Ingo Schwarze)
|
#
3d802cf5 |
| 16-Aug-2011 |
christos <christos@NetBSD.org> |
re-enable -Wconversion
|
#
b71bed95 |
| 29-Jul-2011 |
christos <christos@NetBSD.org> |
KNF return (\1); -> return \1;
|
#
a13cd756 |
| 28-Jul-2011 |
christos <christos@NetBSD.org> |
kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations.
|
#
73eda9fe |
| 03-Jan-2010 |
christos <christos@NetBSD.org> |
rename historyw -> history_w for consistency. add wide tst code and make it the default.
|
#
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.
|
#
5c894153 |
| 15-Feb-2009 |
christos <christos@NetBSD.org> |
pass lint on _LP64.
|
#
a9beb0e4 |
| 05-Dec-2003 |
lukem <lukem@NetBSD.org> |
Tokenization function enhancements: * Make tok_init(), tok_end(), tok_reset(), tok_line() and tok_str() publically available in <histedit.h> * Documented the public functions in editline(3) * Renam
Tokenization function enhancements: * 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 `_').
show more ...
|
#
6e782349 |
| 18-Oct-2003 |
christos <christos@NetBSD.org> |
change allocation policy in el_push to allocate the string itself. fix issues with strdup.
|
#
eb7c1594 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
#
e6ee0301 |
| 27-Oct-2002 |
christos <christos@NetBSD.org> |
don't crash in memory shortage conditions.
|
#
0e0ac6b7 |
| 18-Mar-2002 |
christos <christos@NetBSD.org> |
- constify; passes all gcc and lint strict checks. - add config.h [Jason Evans], to create a portable version of libedit that can be easily compiled on other OS's.
|
#
910773a8 |
| 31-Jan-2002 |
christos <christos@NetBSD.org> |
don't forget to re-adjust the limit.
|
#
a4b0370f |
| 31-Jan-2002 |
christos <christos@NetBSD.org> |
make pointer arithmetic more palatable.
|
#
2f3389ce |
| 04-Jan-2001 |
christos <christos@NetBSD.org> |
consistently check for allocation failures and return -1, if we could not get more memory.
|
#
d30d584a |
| 04-Sep-2000 |
lukem <lukem@NetBSD.org> |
convert to new style guide, which includes: - ansi prototypes & features (such as stdargs) - 8 space indents
|
#
1528b775 |
| 02-Jul-1999 |
simonb <simonb@NetBSD.org> |
More trailing white space.
|