CVS commit: src/lib/libedit

2019-07-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jul 23 10:18:52 UTC 2019 Modified Files: src/lib/libedit: chared.c chartype.c el.c el.h filecomplete.c hist.c keymacro.c literal.c map.c parse.c read.c readline.c search.c terminal.c vi.c Log

CVS commit: src/lib/libedit

2019-06-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 30 13:30:15 UTC 2019 Modified Files: src/lib/libedit: terminal.c Log Message: Add a comment explaining why we don't use DO here. Correct the attribution on the previous patch: The patch was from Jordan Lewis and the

CVS commit: src/lib/libedit

2019-06-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 30 13:30:15 UTC 2019 Modified Files: src/lib/libedit: terminal.c Log Message: Add a comment explaining why we don't use DO here. Correct the attribution on the previous patch: The patch was from Jordan Lewis and the

CVS commit: src/lib/libedit

2019-06-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jun 29 21:35:09 UTC 2019 Modified Files: src/lib/libedit: terminal.c Log Message: PR/54329: Raphael Ross: According to https://www.gnu.org/software/termutils/\ manual/termcap-1.3/html_chapter/termcap_4.html#SEC23 the cursor

CVS commit: src/lib/libedit

2019-06-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jun 29 21:35:09 UTC 2019 Modified Files: src/lib/libedit: terminal.c Log Message: PR/54329: Raphael Ross: According to https://www.gnu.org/software/termutils/\ manual/termcap-1.3/html_chapter/termcap_4.html#SEC23 the cursor

CVS commit: src/lib/libedit

2019-06-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jun 7 15:21:48 UTC 2019 Modified Files: src/lib/libedit: readline.c Log Message: PR/54281: Jonathan Perkins: NUL terminate rl_line_buffer on modification to avoid completion leak. To generate a diff of this commit: cvs

CVS commit: src/lib/libedit

2019-06-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jun 7 15:21:48 UTC 2019 Modified Files: src/lib/libedit: readline.c Log Message: PR/54281: Jonathan Perkins: NUL terminate rl_line_buffer on modification to avoid completion leak. To generate a diff of this commit: cvs

CVS commit: src/lib/libedit

2019-06-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jun 7 15:19:29 UTC 2019 Modified Files: src/lib/libedit: readline.c src/lib/libedit/readline: readline.h Log Message: PR/54280: rl_completer_quote_characters should be const for readline compat To generate a diff

CVS commit: src/lib/libedit

2019-06-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jun 7 15:19:29 UTC 2019 Modified Files: src/lib/libedit: readline.c src/lib/libedit/readline: readline.h Log Message: PR/54280: rl_completer_quote_characters should be const for readline compat To generate a diff

CVS commit: src/lib/libedit

2019-06-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jun 7 15:18:20 UTC 2019 Modified Files: src/lib/libedit: readline.c Log Message: PR/54279: Jonathan Perkins: Ignore adjacent start/end prompt ignore. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153

CVS commit: src/lib/libedit

2019-06-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jun 7 15:18:20 UTC 2019 Modified Files: src/lib/libedit: readline.c Log Message: PR/54279: Jonathan Perkins: Ignore adjacent start/end prompt ignore. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153

Re: CVS commit: src/lib/libedit/TEST

2014-06-19 Thread Christos Zoulas
On Jun 18, 7:49pm, m...@3am-software.com (Matt Thomas) wrote: -- Subject: Re: CVS commit: src/lib/libedit/TEST | | On Jun 18, 2014, at 1:12 PM, Christos Zoulas chris...@netbsd.org wrote: | | cast gotsig because it is long on some systems. | | Why cast to int instead of long? Because

Re: CVS commit: src/lib/libedit/TEST

2014-06-18 Thread Matt Thomas
On Jun 18, 2014, at 1:12 PM, Christos Zoulas chris...@netbsd.org wrote: cast gotsig because it is long on some systems. Why cast to int instead of long?

Re: CVS commit: src/lib/libedit

2014-05-19 Thread Christoph Egger
Am 19.05.14 21:54, schrieb Christos Zoulas: Module Name: src Committed By: christos Date: Mon May 19 19:54:12 UTC 2014 Modified Files: src/lib/libedit: tty.c tty.h Log Message: more tty modes refactoring, no functional change intended. To generate a diff of this

Re: CVS commit: src/lib/libedit

2014-05-19 Thread Christos Zoulas
In article 537a6540.1070...@gmx.de, Christoph Egger christoph_eg...@gmx.de wrote: private? I think you mean static, right? It does if compiled that way. Helps to read the rest of the file instead of just diffs :-) christos

Re: CVS commit: src/lib/libedit

2013-09-01 Thread David Holland
On Wed, Aug 28, 2013 at 06:09:21PM +, Christos Zoulas wrote: Log Message: get rid of PATH_MAX. ...by leaking memory? How so? It probably uses less memory than before, but not on the bss but on the data segment. Sorry, misread. -- David A. Holland dholl...@netbsd.org

Re: CVS commit: src/lib/libedit

2013-08-28 Thread David Holland
On Wed, Aug 28, 2013 at 04:05:21AM -0400, Christos Zoulas wrote: Modified Files: src/lib/libedit: readline.c Log Message: get rid of PATH_MAX. ...by leaking memory? -- David A. Holland dholl...@netbsd.org

Re: CVS commit: src/lib/libedit

2011-07-31 Thread Joerg Sonnenberger
Can we please stop abusing the notation of GCC is available to mean GCC is used? If you want a GCC-specific warning flag, at least put it into CWARNFLAGS.gcc. I'm actually in favour of dropping this unconditionally -- GCC 4.1 is just behaving way too lax for this option to make sense. Joerg On

Re: CVS commit: src/lib/libedit

2011-07-30 Thread Alan Barrett
On Fri, 29 Jul 2011, Christos Zoulas wrote: Log Message: add -Wunused-parameter Is that the right way? Perhaps WARNS=5? Or add -Wunused-parameter to WARNS=4. WARNS levels should be organised by the ease of avoiding or fixing the warnings; there's no need to add a new level for each warning.

Re: CVS commit: src/lib/libedit

2011-07-30 Thread Christos Zoulas
In article 20110730064751.ga19...@apb-laptoy.apb.alt.za, Alan Barrett a...@cequrux.com wrote: On Fri, 29 Jul 2011, Christos Zoulas wrote: Log Message: add -Wunused-parameter Is that the right way? Perhaps WARNS=5? Or add -Wunused-parameter to WARNS=4. WARNS levels should be organised by the

Re: CVS commit: src/lib/libedit

2011-07-30 Thread Christos Zoulas
In article 20110730205523.gb3...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: Just cast the parameter to void? Do you prefer this than __unused? christos

Re: CVS commit: src/lib/libedit

2011-07-30 Thread Valeriy E. Ushakov
On Sun, Jul 31, 2011 at 00:50:03 +, Christos Zoulas wrote: In article 20110730205523.gb3...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: Just cast the parameter to void? Do you prefer this than __unused? I too would prefer something in the body of the

Re: CVS commit: src/lib/libedit

2010-04-19 Thread Alan Barrett
On Sun, 18 Apr 2010, Christos Zoulas wrote: Modified Files: src/lib/libedit: makelist Log Message: shame on solaris that is the last OS not supporting $() build.sh tries to set HOST_SH=/usr/xpg4/bin/sh on Solaris, and that shell does support $(...). Also, we make free use of $(...)

Re: CVS commit: src/lib/libedit

2010-04-19 Thread Christos Zoulas
In article 20100419075526.ga1...@apb-laptoy.apb.alt.za, Alan Barrett a...@cequrux.com wrote: On Sun, 18 Apr 2010, Christos Zoulas wrote: Modified Files: src/lib/libedit: makelist Log Message: shame on solaris that is the last OS not supporting $() build.sh tries to set

Re: CVS commit: src/lib/libedit

2010-03-06 Thread Takehiko NOZAKI
hi, all. i found one more big problem. we had lost source/binary level backward compatibility, sigh. el_set(3) defines EL_GETCFN flag, and some application(such as Asterisk) use it: el_set() Set editline parameters. op determines which parameter to set, and each

Re: CVS commit: src/lib/libedit

2010-03-06 Thread Christos Zoulas
On Mar 7, 5:24am, takehiko.noz...@gmail.com (Takehiko NOZAKI) wrote: -- Subject: Re: CVS commit: src/lib/libedit | -typedef int (*el_rfunc_t)(EditLine *, char *); | +typedef int (*el_rfunc_t)(EditLine *, Char *); | | typedef struct el_read_t { | el_rfunc_t read_char

Re: CVS commit: src/lib/libedit

2010-03-06 Thread Takehiko NOZAKI
convert multibyte - wide-character is # EL_BUILTIN_GETCFN(=read_char) itself. very truly yours. -- Takehiko NOZAKItakehiko.noz...@gmail.com 2010/3/7 Christos Zoulas chris...@zoulas.com: On Mar 7,  5:24am, takehiko.noz...@gmail.com (Takehiko NOZAKI) wrote: -- Subject: Re: CVS commit: src/lib

Re: CVS commit: src/lib/libedit

2010-03-06 Thread Christos Zoulas
On Mar 7, 7:46am, takehiko.noz...@gmail.com (Takehiko NOZAKI) wrote: -- Subject: Re: CVS commit: src/lib/libedit | oh, i see. i don't recognize NARROW_READ flag. | source/binary compatibility are still **kept**, | i withdrawn previous mail, sorry. | | | BTW, this hack is not good

CVS commit: src/lib/libedit

2010-01-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 19 22:38:08 UTC 2010 Modified Files: src/lib/libedit: eln.c Log Message: Fix wrapper for EL_EDITOR, from Michael L. Hitch To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libedit/eln.c Please note

CVS commit: src/lib/libedit

2010-01-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 18 19:17:42 UTC 2010 Modified Files: src/lib/libedit: filecomplete.c Log Message: PR/42637: Joachim Kuebart: Shell tab completion crashes due to libedit stack smashing To generate a diff of this commit: cvs rdiff -u

Re: CVS commit: src/lib/libedit

2010-01-13 Thread YAMAMOTO Takashi
hi, can you please don't hardcode utf-8? YAMAMOTO Takashi Module Name: src Committed By: christos Date: Wed Dec 30 22:37:40 UTC 2009 Modified Files: src/lib/libedit: Makefile chared.c chared.h common.c el.c el.h emacs.c filecomplete.c filecomplete.h hist.c

Re: CVS commit: src/lib/libedit

2010-01-13 Thread Christos Zoulas
On Jan 13, 8:21am, y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: -- Subject: Re: CVS commit: src/lib/libedit | hi, | | can you please don't hardcode utf-8? | | YAMAMOTO Takashi Once we verify that it works on non utf-8, sure. christos

Re: CVS commit: src/lib/libedit

2010-01-13 Thread YAMAMOTO Takashi
On Jan 13, 8:21am, y...@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: -- Subject: Re: CVS commit: src/lib/libedit | hi, | | can you please don't hardcode utf-8? | | YAMAMOTO Takashi Once we verify that it works on non utf-8, sure. what do you mean by verify? YAMAMOTO Takashi

CVS commit: src/lib/libedit

2010-01-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 12 19:37:18 UTC 2010 Modified Files: src/lib/libedit: chartype.c Log Message: - in the argv conversion, handle NULL as NULL - when printing tab/nl print them, don't handle them specially. To generate a diff of this

CVS commit: src/lib/libedit

2010-01-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 3 18:27:10 UTC 2010 Modified Files: src/lib/libedit: chartype.h editline.3 histedit.h history.c readline.c tokenizer.c src/lib/libedit/TEST: Makefile Added Files: src/lib/libedit/TEST: wtc1.c

CVS commit: src/lib/libedit

2010-01-03 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Jan 3 19:05:26 UTC 2010 Modified Files: src/lib/libedit: editline.3 Log Message: Bump date for historyw - history_w. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/lib/libedit/editline.3 Please note that

CVS commit: src/lib/libedit

2009-12-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Dec 31 15:58:26 UTC 2009 Modified Files: src/lib/libedit: Makefile editline.3 el.c el.h eln.c histedit.h prompt.c read.c Log Message: - Document and enable wide character support. - Fix read function

CVS commit: src/lib/libedit

2009-12-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Dec 30 23:54:52 UTC 2009 Modified Files: src/lib/libedit: Makefile chartype.h el.c el.h eln.c hist.c hist.h histedit.h history.c makelist readline.c search.c tokenizer.c Log Message: Fix wide build, test it, but

re: CVS commit: src/lib/libedit

2009-09-07 Thread matthew green
Module Name: src Committed By:christos Date:Mon Sep 7 21:24:34 UTC 2009 Modified Files: src/lib/libedit: histedit.h history.c readline.c src/lib/libedit/readline: readline.h Log Message: apply apple patches from:

<    1   2