Up to [cvs.NetBSD.org] / src / lib / libedit
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.105.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:27:56 2013 UTC (2 months, 3 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.105.2.1: +4 -4
lines
Diff to previous 1.105.2.1 (colored) next main 1.106 (colored)
resync with head
Revision 1.99.2.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:24 2013 UTC (3 months, 4 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.99.2.3: +4 -4
lines
Diff to previous 1.99.2.3 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)
sync with head
Revision 1.107 / (download) - annotate - [select for diffs], Sun Jan 13 15:46:57 2013 UTC (4 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
tls-maxphys-nbase,
tls-maxphys-base,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.106: +4 -4
lines
Diff to previous 1.106 (colored)
explicitly pass (void *)0 instead of NULL.
Revision 1.105.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:00:43 2012 UTC (6 months ago) by tls
Branch: tls-maxphys
Changes since 1.105: +8 -8
lines
Diff to previous 1.105 (colored)
Resync to 2012-11-19 00:00:00 UTC
Revision 1.99.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 18:59:09 2012 UTC (6 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.99.2.2: +16 -8
lines
Diff to previous 1.99.2.2 (colored) to branchpoint 1.99 (colored)
sync with head
Revision 1.106 / (download) - annotate - [select for diffs], Fri Oct 12 23:35:02 2012 UTC (7 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7,
yamt-pagecache-base6
Changes since 1.105: +8 -8
lines
Diff to previous 1.105 (colored)
Add trailing NULL's to the varargs functions as required. (John Spencer)
Revision 1.105 / (download) - annotate - [select for diffs], Thu Jul 12 18:46:20 2012 UTC (10 months, 1 week ago) by christos
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.104: +7 -2
lines
Diff to previous 1.104 (colored)
PR/46678: Ian Wienand: Add stub implementation for rl_free_line_state()
Revision 1.100.2.1 / (download) - annotate - [select for diffs], Tue Jun 5 20:22:14 2012 UTC (11 months, 2 weeks ago) by bouyer
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Changes since 1.100: +5 -2
lines
Diff to previous 1.100 (colored) next main 1.101 (colored)
Pull up following revision(s) (requested by christos in ticket #309): lib/libedit/readline.c: revision 1.104 don't crash if add_history is called from an empty line. Called from nslookup in new bind. XXX: pullup to 6
Revision 1.104 / (download) - annotate - [select for diffs], Tue Jun 5 00:30:22 2012 UTC (11 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.103: +5 -2
lines
Diff to previous 1.103 (colored)
don't crash if add_history is called from an empty line. Called from nslookup in new bind. XXX: pullup to 6
Revision 1.99.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:31 2012 UTC (11 months, 4 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.99.2.1: +10 -3
lines
Diff to previous 1.99.2.1 (colored) to branchpoint 1.99 (colored)
sync with head.
Revision 1.103 / (download) - annotate - [select for diffs], Tue May 15 19:07:25 2012 UTC (12 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Changes since 1.102: +3 -2
lines
Diff to previous 1.102 (colored)
define the new variable
Revision 1.102 / (download) - annotate - [select for diffs], Tue May 15 17:30:04 2012 UTC (12 months ago) by christos
Branch: MAIN
Changes since 1.101: +9 -3
lines
Diff to previous 1.101 (colored)
Add rl_completion_word_break_hook from: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/\ 5ec6a45fa762b8cbd0305ca06acb8780335a486a
Revision 1.99.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:27 2012 UTC (13 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.99: +4 -4
lines
Diff to previous 1.99 (colored)
sync with head
Revision 1.101 / (download) - annotate - [select for diffs], Wed Mar 21 05:33:26 2012 UTC (14 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.100: +3 -3
lines
Diff to previous 1.100 (colored)
Use C89 functions definitions. Remove use of __P
Revision 1.100 / (download) - annotate - [select for diffs], Fri Nov 18 20:38:42 2011 UTC (18 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.99: +3 -3
lines
Diff to previous 1.99 (colored)
Add missing *
Revision 1.99 / (download) - annotate - [select for diffs], Tue Aug 16 16:25:15 2011 UTC (21 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.98: +17 -17
lines
Diff to previous 1.98 (colored)
re-enable -Wconversion
Revision 1.98 / (download) - annotate - [select for diffs], Fri Jul 29 23:44:44 2011 UTC (21 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.97: +14 -16
lines
Diff to previous 1.97 (colored)
pass -Wconversion
Revision 1.97 / (download) - annotate - [select for diffs], Fri Jul 29 20:58:07 2011 UTC (21 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.96: +18 -14
lines
Diff to previous 1.96 (colored)
- fix unused params - unconditionalize vis.h
Revision 1.96 / (download) - annotate - [select for diffs], Fri Jul 29 15:16:33 2011 UTC (21 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.95: +71 -71
lines
Diff to previous 1.95 (colored)
KNF return (\1); -> return \1;
Revision 1.95 / (download) - annotate - [select for diffs], Thu Jul 28 20:50:55 2011 UTC (21 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.94: +60 -56
lines
Diff to previous 1.94 (colored)
kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations.
Revision 1.94 / (download) - annotate - [select for diffs], Thu Jul 28 17:33:39 2011 UTC (21 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.93: +18 -9
lines
Diff to previous 1.93 (colored)
handle systems without getpwent_r
Revision 1.93 / (download) - annotate - [select for diffs], Thu Jul 28 00:54:26 2011 UTC (21 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.92: +3 -3
lines
Diff to previous 1.92 (colored)
use vis.h from .
Revision 1.92 / (download) - annotate - [select for diffs], Thu Sep 16 20:08:51 2010 UTC (2 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.91: +82 -91
lines
Diff to previous 1.91 (colored)
unbreak readline history.
Revision 1.91 / (download) - annotate - [select for diffs], Sat Aug 28 15:44:59 2010 UTC (2 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.90: +17 -6
lines
Diff to previous 1.90 (colored)
setup a callback to be invoked on resize buffers so that readline can reset rl_line_buffer which unfortunately some applications use it directly.
Revision 1.90 / (download) - annotate - [select for diffs], Wed Aug 4 20:29:18 2010 UTC (2 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.89: +8 -2
lines
Diff to previous 1.89 (colored)
provide rl_on_newline
Revision 1.89 / (download) - annotate - [select for diffs], Thu Apr 15 00:57:33 2010 UTC (3 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.88: +6 -3
lines
Diff to previous 1.88 (colored)
From Jess Thrysoee
- Fix wint_t to Int confusion
Revision 1.88 / (download) - annotate - [select for diffs], Sun Jan 3 18:27:10 2010 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.87: +16 -12
lines
Diff to previous 1.87 (colored)
rename historyw -> history_w for consistency. add wide tst code and make it the default.
Revision 1.87 / (download) - annotate - [select for diffs], Wed Dec 30 23:54:52 2009 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.86: +6 -6
lines
Diff to previous 1.86 (colored)
Fix wide build, test it, but don't turn it on yet.
Revision 1.86 / (download) - annotate - [select for diffs], Wed Dec 30 22:37:40 2009 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.85: +90 -78
lines
Diff to previous 1.85 (colored)
Wide character support (UTF-8) from Johny Mattsson; currently disabled.
Revision 1.85 / (download) - annotate - [select for diffs], Mon Sep 7 21:24:33 2009 UTC (3 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.84: +267 -23
lines
Diff to previous 1.84 (colored)
apply apple patches from: http://opensource.apple.com/source/libedit/libedit-11/patches/
Revision 1.84 / (download) - annotate - [select for diffs], Wed Jul 22 15:57:40 2009 UTC (3 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.83: +12 -12
lines
Diff to previous 1.83 (colored)
Fix memory leaks in error paths. From Michael Cook mcook at bbn dot com
Revision 1.78.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:29 2009 UTC (4 years ago) by jym
Branch: jym-xensuspend
Changes since 1.78: +28 -20
lines
Diff to previous 1.78 (colored) next main 1.79 (colored)
Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.83 / (download) - annotate - [select for diffs], Wed Apr 8 21:31:31 2009 UTC (4 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: jym-xensuspend-nbase,
jym-xensuspend-base
Changes since 1.82: +3 -3
lines
Diff to previous 1.82 (colored)
Fix off by one error reported by: Caleb Welton cwelton at greenplum dot com
Revision 1.82 / (download) - annotate - [select for diffs], Tue Mar 31 17:53:03 2009 UTC (4 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.81: +12 -4
lines
Diff to previous 1.81 (colored)
implement RL_PROMPT_{START,END}_IGNORE
Revision 1.81 / (download) - annotate - [select for diffs], Sat Feb 21 23:31:56 2009 UTC (4 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.80: +5 -4
lines
Diff to previous 1.80 (colored)
more size_t stuff.
Revision 1.80 / (download) - annotate - [select for diffs], Sun Feb 15 21:55:23 2009 UTC (4 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.79: +13 -11
lines
Diff to previous 1.79 (colored)
pass lint on _LP64.
Revision 1.79 / (download) - annotate - [select for diffs], Thu Feb 12 13:39:49 2009 UTC (4 years, 3 months ago) by sketch
Branch: MAIN
Changes since 1.78: +3 -6
lines
Diff to previous 1.78 (colored)
More fixes for existing portability stuff.
Revision 1.78 / (download) - annotate - [select for diffs], Thu Feb 5 19:15:26 2009 UTC (4 years, 3 months ago) by christos
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.77: +22 -15
lines
Diff to previous 1.77 (colored)
add rl_set_prompt
Revision 1.77 / (download) - annotate - [select for diffs], Sun Jan 18 12:17:24 2009 UTC (4 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.76: +8 -8
lines
Diff to previous 1.76 (colored)
fix -Wsign-compare issues
Revision 1.76 / (download) - annotate - [select for diffs], Sun Jan 11 15:00:23 2009 UTC (4 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.75: +11 -10
lines
Diff to previous 1.75 (colored)
- insert a space after the recognized string if it was an exact match - initialize properly the string used for completion. From Alex Bligh alex at alex dot org dot uk - Make char constants consistent
Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:35 2008 UTC (5 years ago) by yamt
Branch: yamt-pf42
Changes since 1.74: +2 -5
lines
Diff to previous 1.74 (colored) next main 1.75 (colored)
sync with head.
Revision 1.75 / (download) - annotate - [select for diffs], Tue Apr 29 06:53:01 2008 UTC (5 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase
Changes since 1.74: +2 -5
lines
Diff to previous 1.74 (colored)
Convert to new 2 clause license
Revision 1.74 / (download) - annotate - [select for diffs], Sat Apr 5 15:53:28 2008 UTC (5 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.73: +3 -5
lines
Diff to previous 1.73 (colored)
add EL_REFRESH for the benefit of readline
Revision 1.73 / (download) - annotate - [select for diffs], Fri Apr 4 21:18:34 2008 UTC (5 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.72: +10 -3
lines
Diff to previous 1.72 (colored)
Add rl_forced_update_display() from Gerry Swislow
Revision 1.72 / (download) - annotate - [select for diffs], Sun Aug 12 07:41:51 2007 UTC (5 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Changes since 1.71: +7 -6
lines
Diff to previous 1.71 (colored)
patches from Axel Thimm
Revision 1.71 / (download) - annotate - [select for diffs], Sun May 27 19:45:37 2007 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Changes since 1.70: +64 -6
lines
Diff to previous 1.70 (colored)
Add rl_completion_matches, fix remove_history
Revision 1.70 / (download) - annotate - [select for diffs], Fri Nov 24 00:01:17 2006 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4
Changes since 1.69: +92 -3
lines
Diff to previous 1.69 (colored)
- Add more readline functions, enough for gdb-6.5 - Make el_get varyadic, and implement EL_GETTC. - XXX: the EL_SETTC api will change in the future.
Revision 1.69 / (download) - annotate - [select for diffs], Mon Aug 21 12:45:30 2006 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.68: +3 -7
lines
Diff to previous 1.68 (colored)
Change to a 3 clause copyright after permission of the holders.
Revision 1.68 / (download) - annotate - [select for diffs], Sun Jul 23 20:21:45 2006 UTC (6 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.67: +8 -5
lines
Diff to previous 1.67 (colored)
PR/34062: Tanaka Akira: rl_deprep_term_function is NULL in libedit. Default to rl_deprep_terminal as suggested; do the same for rl_prep_term_function
Revision 1.67 / (download) - annotate - [select for diffs], Sat Mar 25 13:00:11 2006 UTC (7 years, 1 month ago) by rtr
Branch: MAIN
Changes since 1.66: +2 -6
lines
Diff to previous 1.66 (colored)
remove if/free block checking known condition coverity 2762 / run 11
Revision 1.66 / (download) - annotate - [select for diffs], Tue Mar 21 17:52:50 2006 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.65: +4 -2
lines
Diff to previous 1.65 (colored)
Coverity CID 2743: Not really a memory leak, but make it obvious that we always free tmp.
Revision 1.65 / (download) - annotate - [select for diffs], Sat Mar 18 19:22:59 2006 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.64: +3 -3
lines
Diff to previous 1.64 (colored)
Lint comment.
Revision 1.64 / (download) - annotate - [select for diffs], Sat Mar 18 09:28:23 2006 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.63: +10 -6
lines
Diff to previous 1.63 (colored)
Coverity CID 1666: Plug memory leak.
Revision 1.63 / (download) - annotate - [select for diffs], Sat Mar 18 09:19:02 2006 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.62: +8 -6
lines
Diff to previous 1.62 (colored)
Coverity CID 1667: Plug memory leak
Revision 1.62 / (download) - annotate - [select for diffs], Sat Mar 18 09:15:57 2006 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.61: +10 -3
lines
Diff to previous 1.61 (colored)
Coverity CID 1662: Memory leak.
Revision 1.61 / (download) - annotate - [select for diffs], Mon Mar 6 21:11:03 2006 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.60: +5 -4
lines
Diff to previous 1.60 (colored)
use the tty chars for reprint and eof instead of hard-coded ^R and ^D
Revision 1.60 / (download) - annotate - [select for diffs], Mon Feb 13 14:12:04 2006 UTC (7 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.59: +4 -4
lines
Diff to previous 1.59 (colored)
PR/32817: Magnus Svensson: write_history and read_history returncode is not readline compatible.
Revision 1.59 / (download) - annotate - [select for diffs], Sun Feb 12 16:15:07 2006 UTC (7 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.58: +23 -2
lines
Diff to previous 1.58 (colored)
Partial rl_getc_function support from Jess Thrysoee.
Revision 1.58 / (download) - annotate - [select for diffs], Thu Jul 14 15:00:58 2005 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.57: +24 -2
lines
Diff to previous 1.57 (colored)
PR/30747: David N. Williams: libedit is missing remove_history() Added, please test.
Revision 1.49.2.4 / (download) - annotate - [select for diffs], Tue Jul 12 11:35:03 2005 UTC (7 years, 10 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Changes since 1.49.2.3: +7 -5
lines
Diff to previous 1.49.2.3 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)
Pull up revision 1.52 (requested by lukem in ticket #542): check for pwd != NULL, fix a missed getpwnam.
Revision 1.49.2.3 / (download) - annotate - [select for diffs], Tue Jul 12 11:33:40 2005 UTC (7 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.49.2.2: +6 -4
lines
Diff to previous 1.49.2.2 (colored) to branchpoint 1.49 (colored)
Pull up revision 1.50 (requested by lukem in ticket #542): use getpwent_r
Revision 1.57 / (download) - annotate - [select for diffs], Sat Jun 11 18:18:59 2005 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.56: +14 -2
lines
Diff to previous 1.56 (colored)
PR/30500: Paul Shupak: Inconsistent definition of tilde_expand(). Provide a layer of indirection between the readline compatibility functions and our internal implementation, so that we have the freedom to change the function signature.
Revision 1.56 / (download) - annotate - [select for diffs], Fri Jun 10 20:21:00 2005 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.55: +13 -3
lines
Diff to previous 1.55 (colored)
Bug reported from Martin Dietze:
The place to change the completion_append_character is
usually somewhere in the `rl_completion_entry_function'
callback which is where one usually can distinguish between
file- or dir-like entries to append a slash for dirs etc.
This does no longer work since `fn_complete()' takes the
`append_character' as argument before the callback is executed,
so that changes to the variable `rl_completion_append_character'
have in fact no effect for the current completion.
Fix by adding a function that returns the rl_completion_append_character,
when it gets passed in a filename in readline emulation.
Revision 1.49.2.2 / (download) - annotate - [select for diffs], Sat May 28 14:03:25 2005 UTC (7 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.49.2.1: +3 -3
lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored)
Pull up revision 1.55 (requested by agc in ticket #353): Use the correct type for the stored callback function
Revision 1.49.2.1 / (download) - annotate - [select for diffs], Sat May 28 14:02:27 2005 UTC (7 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.49: +3 -3
lines
Diff to previous 1.49 (colored)
Pull up revision 1.54 (requested by agc in ticket #353): Sync the alternative readline interface with reality: + the rl_callback_handler_install takes a pointer to a void function which has one char * argument (it's called that way in the readline emulation source, otherwise there's no way to pass the line buffer to the function which processes the line when EOL is encountered) + provide a prototype for that function signature and use it Makes the callback readline interface work now.
Revision 1.55 / (download) - annotate - [select for diffs], Fri May 27 14:01:46 2005 UTC (7 years, 11 months ago) by agc
Branch: MAIN
Changes since 1.54: +3 -3
lines
Diff to previous 1.54 (colored)
Use the correct type for the stored callback function
Revision 1.54 / (download) - annotate - [select for diffs], Fri May 27 11:35:07 2005 UTC (7 years, 11 months ago) by agc
Branch: MAIN
Changes since 1.53: +3 -3
lines
Diff to previous 1.53 (colored)
Sync the alternative readline interface with reality: + the rl_callback_handler_install takes a pointer to a void function which has one char * argument (it's called that way in the readline emulation source, otherwise there's no way to pass the line buffer to the function which processes the line when EOL is encountered) + provide a prototype for that function signature and use it Makes the callback readline interface work now.
Revision 1.53 / (download) - annotate - [select for diffs], Sat May 7 16:01:25 2005 UTC (8 years ago) by dsl
Branch: MAIN
Changes since 1.52: +25 -468
lines
Diff to previous 1.52 (colored)
Separate out the filename completion functions from the readline() code. Pass in loads of parameters instead of relying on shed-loads of global variables to modify the behaviour. The filename completion code can now be enabled by code that uses el_gets(). (eg /bin/sh)
Revision 1.52 / (download) - annotate - [select for diffs], Tue Apr 19 03:29:18 2005 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.51: +7 -5
lines
Diff to previous 1.51 (colored)
check for pwd != NULL, fix a missed getpwnam.
Revision 1.51 / (download) - annotate - [select for diffs], Tue Apr 12 22:01:40 2005 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.50: +17 -3
lines
Diff to previous 1.50 (colored)
PR/29958: Peter Bex: add rl_variable_bind and rl_attempted_completion_over
Revision 1.50 / (download) - annotate - [select for diffs], Sat Apr 2 06:28:10 2005 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.49: +6 -4
lines
Diff to previous 1.49 (colored)
use getpwent_r
Revision 1.49 / (download) - annotate - [select for diffs], Thu Mar 10 19:34:46 2005 UTC (8 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.48: +23 -10
lines
Diff to previous 1.48 (colored)
Always update the position variables before the map function is called. From Rob Rodgers, thanks!
Revision 1.48 / (download) - annotate - [select for diffs], Wed Mar 9 23:55:35 2005 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.47: +3 -2
lines
Diff to previous 1.47 (colored)
set UNBUFFERED again after you do the line callback so that the new line gets refreshed.
Revision 1.47 / (download) - annotate - [select for diffs], Wed Sep 8 18:15:57 2004 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.46: +6 -3
lines
Diff to previous 1.46 (colored)
cut out the middle-man and use el_insertstr() directly.
Revision 1.46 / (download) - annotate - [select for diffs], Fri Feb 27 14:52:18 2004 UTC (9 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.45: +22 -2
lines
Diff to previous 1.45 (colored)
Better fix for rl_prep_terminal() from Gerry Swislow.
Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 17 17:57:40 2004 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.44: +4 -4
lines
Diff to previous 1.44 (colored)
portability fixes.
Revision 1.44 / (download) - annotate - [select for diffs], Fri Dec 5 13:37:48 2003 UTC (9 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.43: +3 -4
lines
Diff to previous 1.43 (colored)
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 `_').
Revision 1.43 / (download) - annotate - [select for diffs], Mon Nov 3 03:22:55 2003 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.42: +3 -3
lines
Diff to previous 1.42 (colored)
Fix uninitialized variable.
Revision 1.42 / (download) - annotate - [select for diffs], Sun Nov 2 01:45:14 2003 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.41: +21 -12
lines
Diff to previous 1.41 (colored)
From: Gerry Swislow gerry at certif dot com 1) File name completion should list the files in the current directory if no text is entered. The previous version wouldn't list anything if the text to complete was empty. 2) When listing directories, the entries "." and ".." shouldn't be shown. 3) The filename completion should be used if the user's rl_attempted_completion_function doesn't return any matches. The previous version didn't do that.
Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 1 23:39:22 2003 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.40: +3 -2
lines
Diff to previous 1.40 (colored)
initialize ptr.
Revision 1.40 / (download) - annotate - [select for diffs], Mon Oct 27 22:26:35 2003 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.39: +453 -365
lines
Diff to previous 1.39 (colored)
Make readline csh-like history work. From Gerry Swislow <gerry at certif dot com>.
Revision 1.39 / (download) - annotate - [select for diffs], Sun Oct 19 06:28:35 2003 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.38: +4 -3
lines
Diff to previous 1.38 (colored)
add rl_catch_signals
Revision 1.38 / (download) - annotate - [select for diffs], Thu Oct 16 22:26:32 2003 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.37: +115 -2
lines
Diff to previous 1.37 (colored)
More libedit readline emulation functions from: Gerry Swislow <gerry at certif dot com>
Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 15 18:08:40 2003 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.36: +4 -3
lines
Diff to previous 1.36 (colored)
don't limit ^c to alpha c, and add VIS_NOSLASH so that vis(3) does not produce \^c
Revision 1.36 / (download) - annotate - [select for diffs], Thu Oct 9 00:42:28 2003 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.35: +14 -6
lines
Diff to previous 1.35 (colored)
PR/23107: Nathan Williams: ^D as the first char on the command line does not DTRT in readline compatibility mode
Revision 1.35 / (download) - annotate - [select for diffs], Fri Sep 26 17:44:51 2003 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.34: +98 -7
lines
Diff to previous 1.34 (colored)
Implement enough of readline's 4.0 async mode to make gdb happy. This is not complete yet, but it seems to work... This required to introduce an unbuffered mode to el_gets(), but that was a minor change.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Sep 14 22:15:23 2003 UTC (9 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.33: +9 -8
lines
Diff to previous 1.33 (colored)
Match the stupid function pointer declarations with actual readline's 4.0. This is gross.
Revision 1.33 / (download) - annotate - [select for diffs], Sun Sep 14 21:55:39 2003 UTC (9 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.32: +5 -4
lines
Diff to previous 1.32 (colored)
make this compile.
Revision 1.32 / (download) - annotate - [select for diffs], Sun Sep 14 21:48:54 2003 UTC (9 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.31: +38 -15
lines
Diff to previous 1.31 (colored)
- provide enough hooks to compile gdb-5.3 - fix el_get(e, EL_TERMINAL, (char **))
Revision 1.31 / (download) - annotate - [select for diffs], Thu Jun 19 16:04:57 2003 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.30: +5 -4
lines
Diff to previous 1.30 (colored)
From michael@moria.de: Fix realloc case where we could be running out of space if too many matches.
Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 19 15:55:06 2003 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.29: +11 -10
lines
Diff to previous 1.29 (colored)
From michael@moria.de: - use __attribute__((__unused__)) in arguments where appropriate. - some int -> size_t and char * to const char * conversions.
Revision 1.29 / (download) - annotate - [select for diffs], Sat Mar 29 22:48:38 2003 UTC (10 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.28: +3 -3
lines
Diff to previous 1.28 (colored)
Consistently spell occurrence with two rs.
Revision 1.28 / (download) - annotate - [select for diffs], Mon Mar 10 01:14:54 2003 UTC (10 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.27: +10 -10
lines
Diff to previous 1.27 (colored)
null is not 0
Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 10 00:56:38 2003 UTC (10 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.26: +5 -2
lines
Diff to previous 1.26 (colored)
include alloca.h for systems that need it.
Revision 1.26 / (download) - annotate - [select for diffs], Tue Jan 21 17:41:38 2003 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.25: +10 -7
lines
Diff to previous 1.25 (colored)
fix directory descriptor leak [from michael at moria dot de]
Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 27 21:43:35 2002 UTC (10 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored)
remove unused variables.
Revision 1.24 / (download) - annotate - [select for diffs], Sun Oct 27 21:41:50 2002 UTC (10 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.23: +12 -18
lines
Diff to previous 1.23 (colored)
vi mode and memory fixes from david laight.
Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 27 20:24:28 2002 UTC (10 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.22: +142 -23
lines
Diff to previous 1.22 (colored)
don't crash in memory shortage conditions.
Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 9 01:57:34 2002 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Changes since 1.21: +4 -6
lines
Diff to previous 1.21 (colored)
_rl_qsort_string_compare(): Fix casts. This makes gcc 3.2 happy, and also allows both LINTED comments to be removed.
Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 18 16:20:36 2002 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.20: +4 -2
lines
Diff to previous 1.20 (colored)
Add a couple linted comment and enable WARNS=3
Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 18 16:00:57 2002 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.19: +18 -20
lines
Diff to previous 1.19 (colored)
- 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.
Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 10 08:10:45 2001 UTC (12 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.18: +9 -2
lines
Diff to previous 1.18 (colored)
fix partial completion - we failed to refresh screen in that case
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 5 22:45:30 2001 UTC (12 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.17: +14 -2
lines
Diff to previous 1.17 (colored)
depoison the pure editline code from readline compatibility hacks.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 5 21:15:49 2001 UTC (12 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.16: +3 -3
lines
Diff to previous 1.16 (colored)
Standard location of readline headers is /usr/include/readline/, so install them there. readline.h of libedit had to move to subdirectory 'readline', due to the way BSD makefiles work; this is better than potentially fragile Makefile hacks
Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 4 15:55:53 2001 UTC (12 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.15: +7 -4
lines
Diff to previous 1.15 (colored)
fix lint problems.
Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 1 15:52:25 2001 UTC (12 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.14: +29 -9
lines
Diff to previous 1.14 (colored)
Add support for rl_completion_append_character and rl_special_prefixes. This addresses lib/10513 by Giles Lean. Tested with PostgreSQL 7.0.2 psql.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Jan 1 11:03:16 2001 UTC (12 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.13: +11 -5
lines
Diff to previous 1.13 (colored)
history_tokenize(): fix one off-by-one bug rl_complete_internal(): only replace the completed string with common part of possible matches if there is a possible completion
Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 31 09:50:32 2000 UTC (12 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.12: +13 -10
lines
Diff to previous 1.12 (colored)
rl_display_match_list(): * pad entries shorter than 'max' by spaces correctly * fix off-by-one error which caused extra newline to be printed if the list fit exactly to a screen * fix typo in _rl_qsort_string_compare, which caused the list to not be sorted after all
Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 23 22:02:20 2000 UTC (12 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.11: +185 -48
lines
Diff to previous 1.11 (colored)
completion_matches(): fix a off-by-one bug, fix variable name typo implement displaying of possible completions, add hook to display the list on second rl_complete() invocation in row (typically, double <TAB>) This addresses the completion part of lib/11581 by Richard Earnshaw.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 4 22:06:31 2000 UTC (12 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.10: +274 -267
lines
Diff to previous 1.10 (colored)
convert to new style guide, which includes: - ansi prototypes & features (such as stdargs) - 8 space indents
Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 10 13:06:43 2000 UTC (13 years, 2 months ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Changes since 1.9: +3 -4
lines
Diff to previous 1.9 (colored)
Fix _rl_compat_sub() to really honour 'globally' flag instead of making the substitution always globally - affects _history_expand_command() and in turn history_expand() All praise lint :)
Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 10 12:55:15 2000 UTC (13 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.8: +11 -8
lines
Diff to previous 1.8 (colored)
readline(): don't dereference NULL pointer if prompt is NULL history_tokenize(): avoid stepping too far if backslash is last character on the passed string update some comments This makes gdb \ escaping work reliably and fixes lib/9511 by Assar Westerlund.
Revision 1.8 / (download) - annotate - [select for diffs], Sat Jul 3 11:55:51 1999 UTC (13 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.7: +2 -3
lines
Diff to previous 1.7 (colored)
don't try to free() something allocated with alloca() in rl_complete_internal(). (noticed while using completion in gdb and getting inundated with warnings from the new free())
Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 2 15:21:26 1999 UTC (13 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.6: +6 -6
lines
Diff to previous 1.6 (colored)
More trailing white space.
Revision 1.6 / (download) - annotate - [select for diffs], Sat Jun 12 18:58:05 1999 UTC (13 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.5: +8 -8
lines
Diff to previous 1.5 (colored)
Make this compile under linux
Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 12 19:54:16 1998 UTC (14 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4
Changes since 1.4: +66 -50
lines
Diff to previous 1.4 (colored)
many problems; variables hidden by others, size_t <-> confusion
Revision 1.4 / (download) - annotate - [select for diffs], Wed May 20 01:03:06 1998 UTC (15 years ago) by christos
Branch: MAIN
Changes since 1.3: +24 -15
lines
Diff to previous 1.3 (colored)
Adjust to the libedit api changes.
Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 12 21:56:05 1997 UTC (15 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
el_gets() takes an int *, not a size_t *.
Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 23 22:51:59 1997 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.1: +11 -11
lines
Diff to previous 1.1 (colored)
Const de-poisoning :-( Unfortunately the default gnu readline does not have full prototypes... With those changes, and a single line change in gdb/top.c, gdb links with -ledit
Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 23 22:24:12 1997 UTC (15 years, 7 months ago) by christos
Branch: MAIN
PR/4301: Jaromir Dolecek. Add gnu-readline wrapper for editline.