christos
14ccb7c1cc
remove duplicate declaration
2015-06-02 15:36:45 +00:00
christos
0804279dff
Adjust API to a more modern readline (Ryo Onodera)
2015-06-02 15:35:31 +00:00
christos
0b61093115
- fix types of rl_completion_entry_function and rl_add_defun
...
- call update pos before completion to refresh the screen
From Thomas Eriksson
2015-05-26 19:59:21 +00:00
christos
bdf16bca92
make el_gets() return the number of characters read in wide mode (not the
...
number of wide characters) From khorben@ by FreeBSD:
https://svnweb.freebsd.org/ports/head/devel/libedit/files/patch-src_eln.c ?\
revision=382458&view=markup
XXX: Pullup-7
2015-05-18 15:07:04 +00:00
christos
5113710e5b
add FreeBSD
2015-05-17 13:14:41 +00:00
christos
d2ed0c780a
fix warnings on ubuntu 32 bit (Miki Rozloznik)
2015-05-14 10:44:15 +00:00
christos
2a7851d30c
Fix overlapping strcpy (Gerry Swislow)
2015-04-01 15:23:15 +00:00
christos
b52bce6ba8
set some readline compatibility default key settings.
...
https://bugzilla.redhat.com/attachment.cgi?id=1001895
2015-03-24 21:29:52 +00:00
christos
9a8795cdcd
save and restore IGNORE_EXTCHARS like we do in the getc case. From:
...
https://bugzilla.redhat.com/attachment.cgi?id=1001894
2015-03-24 21:26:50 +00:00
christos
21ea10bd7a
split the allocation functions, their mixed usage was too confusing.
2015-02-22 02:16:19 +00:00
christos
aecf67a262
PR/49683: Amir Plivatsky: Off-by-one comparison in ct_decode_string() leading
...
to out of bounds referrence.
XXX: pullup-7
2015-02-22 00:46:58 +00:00
christos
71cf54e71e
OpenBSD is like us.
2015-02-17 22:49:26 +00:00
joerg
d5e00695c3
Disable -Wcast-qual for clang for now.
2015-01-29 20:30:02 +00:00
wiz
724c4ed029
Bump date for previous.
2014-12-25 13:39:41 +00:00
wiz
eb157f70b1
From Ingo Schwarze, based on changes from Kaspars Bankovskis:
...
* Document error handling of el_init(), el_set(), el_source(),
and history_init().
* Fix a typo an improve punctuation below H_SETUNIQUE.
* The ellipsis already implies "optional", no need for [].
* Sort options in editrc(5).
* Prevent e.g. rom being misconstrued as the end of a sentence.
* Drop a useless duplicate .Ar macro.
* Put telltc in its proper place in the alphabetical order.
* A few typos in vi editor command names.
* Some missing vi editor command names.
* Some missing author macros.
2014-12-25 13:39:05 +00:00
riz
41482d7745
callers's -> caller's
2014-10-18 15:07:02 +00:00
snj
f0a7346d21
src is too big these days to tolerate superfluous apostrophes. It's
...
"its", people!
2014-10-18 08:33:23 +00:00
christos
3ea928643b
Fix typo in comment (Tobias Stoeckmann)
2014-08-15 13:32:53 +00:00
christos
80e781ab85
Bounds search for reallocated index, from OpenBSD via Andreas Fett
2014-07-06 18:15:34 +00:00
christos
0fb55ca669
PR/48957: Federico G. Schwindt: Restore commented out code that broke
...
rl_callback_handler.
2014-07-06 18:09:04 +00:00
christos
20efb692ab
cast gotsig because it is long on some systems.
2014-06-18 20:12:15 +00:00
christos
cc52c7c3a4
Add stdlib.h for abort() (Jess Thrysoee)
2014-06-18 18:52:49 +00:00
christos
e06822a79d
Don't depend on weak aliases to define the vi "alias" expansion function,
...
provide an API instead to set it.
2014-06-18 18:12:28 +00:00
christos
0bd5e60967
accomodate FreeBSD's flavor of weak references.
2014-06-18 13:03:08 +00:00
mrg
ac641cb906
remove remaining makefile support for GCC < 45 that i found.
2014-06-14 20:49:36 +00:00
christos
78dc8159da
PR/48876: Dmitriy Grigoryev: Core dump in readline lib on attempted expansion
...
Make sure we have 2 matches before calling strcmp().
2014-06-05 22:07:42 +00:00
christos
368fe5a982
Always NULL terminate the argv[] array. From OpenBSD.
2014-05-20 15:05:08 +00:00
christos
72aae1aa72
PR/48821: If called from tty_stty(), recalculate flags.
2014-05-19 21:01:48 +00:00
christos
75ef7650b2
more tty modes refactoring, no functional change intended.
2014-05-19 19:54:12 +00:00
christos
ed36ef9858
Factor out some common code (more to be done) from PR/48821
2014-05-19 17:14:41 +00:00
wiz
8c54f70a11
Add An to authors. Wording.
2014-05-11 09:01:42 +00:00
christos
58ced3d761
Add a history function that takes a FILE pointer; needed for Capsicum.
...
From Eitan Adler
2014-05-11 01:05:17 +00:00
christos
0680d7215e
Add missing EL_REFRESH
2014-02-26 13:50:29 +00:00
christos
7683f26e31
... if called prior to using_history(). This needed to be worked around
...
in PHP: http://git.php.net/?p=php-src.git;a=commitdiff;h=31d67bd3
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1055409
2014-01-21 13:51:44 +00:00
christos
efab425d4c
get rid of PATH_MAX.
2013-08-28 08:05:21 +00:00
christos
53fbf02908
cast to avoid warning.
2013-07-12 22:39:50 +00:00
christos
255f657e8d
Add a function to move the cursor.
2013-07-12 17:48:29 +00:00
christos
45fd2d25ac
expose rl_catch_signals and explain what we are doing.
2013-05-28 00:10:34 +00:00
christos
3cf221a53b
Test early for EOF to avoid infinite loop in the wide char case. From
...
Linas Vepstas: linasvepstas at gmail dot com
2013-05-27 23:55:55 +00:00
christos
40b42dfe79
provide an el_init_fd function.
2013-01-22 20:23:21 +00:00
christos
e861b2b079
explicitly pass (void *)0 instead of NULL.
2013-01-13 15:46:57 +00:00
wiz
ec73a081d2
Add FILES section.
...
From jmc@OpenBSD.
2013-01-10 16:03:42 +00:00
wiz
56a5e44fef
In 2000, .editrc reading from $PWD was removed. Update the man page.
...
From LEVAI Daniel via jmc@OpenBSD.
2013-01-10 16:03:06 +00:00
christos
07ea4685bd
remove dead assignment (Christoph Mallon)
2013-01-01 15:34:02 +00:00
christos
1da7b96282
Fix pasto that affected bind -k (Christoph Mallon)
2013-01-01 15:33:06 +00:00
christos
7417d4b468
Add trailing NULL's to the varargs functions as required. (John Spencer)
2012-10-12 23:35:02 +00:00
christos
d3a9c484a4
PR/46945: Steffen Nurpmeso; el_getc() doesn't document it's setting errno
2012-09-11 20:29:58 +00:00
christos
27afcf74cb
return !OKCMD on error.
2012-09-11 12:31:08 +00:00
christos
82f197ec94
PR/46942: Steffen Nurpmeso: editline(3): el_get(): fix UNBUFFERED return
2012-09-11 11:58:53 +00:00
christos
2e9d696349
PR/46941: Steffen Nurpmeso: document EL_BUFFERED
2012-09-11 11:57:18 +00:00