| 1 | 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de> |
| 2 | |
| 3 | * readline.scm (set-readline-input-port!, |
| 4 | set-readline-output-port!): Make sure that only valid port |
| 5 | parameters are passed. Thanks to Martin Grabmueller for sending |
| 6 | a patch that formed the basis for this change. |
| 7 | |
| 8 | 2001-01-18 Neil Jerram <neil@ossau.uklinux.net> |
| 9 | |
| 10 | * readline.scm (make-readline-port): Make readline port |
| 11 | input-only. |
| 12 | |
| 13 | 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de> |
| 14 | |
| 15 | * readline.scm (activate-readline): Lookup 'use-emacs-interface |
| 16 | in the-root-module. |
| 17 | |
| 18 | 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de> |
| 19 | |
| 20 | * readline.c (current_input_getc): Use more explicit predicate |
| 21 | than SCM_NIMP. |
| 22 | |
| 23 | (scm_readline, scm_readline_init_ports, completion_function): |
| 24 | Remove redundant SCM_N?IMP tests. |
| 25 | |
| 26 | (scm_readline): Fixed default input/output port parameter |
| 27 | handling. |
| 28 | |
| 29 | 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de> |
| 30 | |
| 31 | * readline.c (scm_readline, scm_add_history, completion_function, |
| 32 | scm_filename_completion_function): Replace calls to |
| 33 | SCM_COERCE_SUBSTR with SCM_STRING_COERCE_0TERMINATION_X. |
| 34 | |
| 35 | (internal_readline, scm_add_history, scm_read_history, |
| 36 | scm_write_history, scm_filename_completion_function, |
| 37 | completion_function): Replace SCM_CHARS with SCM_STRING_CHARS. |
| 38 | |
| 39 | 2000-11-19 Gary Houston <ghouston@arglist.com> |
| 40 | |
| 41 | * configure.in: test $ac_cv_lib_readline_readline instead of |
| 42 | $ac_cv_lib_readline_main. Thanks to Lars J. Aas. |
| 43 | |
| 44 | 2000-09-17 Marius Vollmer <mvo@zagadka.ping.de> |
| 45 | |
| 46 | * configure.in: Check for curses, terminfo and termlib libraries |
| 47 | in addition to ncurses and termcap. |
| 48 | Check for `readline' in libreadline, not for `main'. |
| 49 | Thanks to Albert Chin! |
| 50 | |
| 51 | 2000-07-17 Marius Vollmer <mvo@zagadka.ping.de> |
| 52 | |
| 53 | * configure.in (rl_pre_input_hook): Don't check for this with |
| 54 | AC_CHECK_FUNCS, it doesn't work on HP/UX. Test for it with |
| 55 | AC_TRY_LINK. |
| 56 | |
| 57 | 2000-06-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 58 | |
| 59 | * readline.c (sigwinch_enable_restart, scm_init_readline): |
| 60 | Re-enable restart for SIGWINCH signal. |
| 61 | |
| 62 | * configure.in: Added test if readline clears SA_RESTART flag for |
| 63 | SIGWINCH. (Thanks to Dale P. Smith.) |
| 64 | Check for siginterrupt and rl_pre_input_hook. |
| 65 | |
| 66 | 2000-06-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 67 | |
| 68 | * readline.c (scm_readline): Added parenthesis around && within |
| 69 | ||. |
| 70 | Fixed up prototype for `reentry_barrier'. |
| 71 | Conditionally #include <unistd.h>. (Needed for `dup'.) |
| 72 | |
| 73 | 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 74 | |
| 75 | * Makefile.am (dist-hook): Added kludge to fix automake generated |
| 76 | dependencies in the distribution archive Makefile. |
| 77 | |
| 78 | 2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 79 | |
| 80 | * readline.scm (apropos-completion-function): Don't define and |
| 81 | install if the 'regex feature is missing. |
| 82 | |
| 83 | 2000-06-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
| 84 | |
| 85 | * readline.c: Always provide scm_init_readline, also if readline |
| 86 | support is not included. Otherwise, a strange dynamic loading |
| 87 | error will occur. (It would be better not to install |
| 88 | libguilereadline at all.) |
| 89 | |
| 90 | * readline-activator.scm (activate-readline): Report an error if |
| 91 | readline isn't provided by Guile. |
| 92 | |
| 93 | * readline.scm: Report an error if readline isn't provided by |
| 94 | Guile; Added :no-backtrace to module header. |
| 95 | |
| 96 | * configure.in: Put more ink before readline version warning. |
| 97 | (Thanks to Ian Grant.) |
| 98 | |
| 99 | 2000-06-01 Michael Livshin <mlivshin@bigfoot.com> |
| 100 | |
| 101 | * autogen.sh: call ../guile-aclocal.sh instead of aclocal |
| 102 | |
| 103 | 2000-05-01 Gary Houston <ghouston@arglist.com> |
| 104 | |
| 105 | * readline.c: include libguile.h, not libguile/libguile.h. |
| 106 | |
| 107 | 2000-04-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 108 | |
| 109 | * *.*: Change includes so that they always use the "prefixes" |
| 110 | libguile/, qt/, guile-readline/, or libltdl/. |
| 111 | |
| 112 | * Makefile.am (DEFS): Added. automake adds -I options to DEFS, |
| 113 | and we don't want that. |
| 114 | (INCLUDES): Removed all -I options except for the root source |
| 115 | directory and the root build directory. |
| 116 | |
| 117 | 2000-04-04 Dirk Herrmann <D.Herrmann@tu-bs.de> |
| 118 | |
| 119 | * readline.c (scm_readline): Must unpack SCM values to access |
| 120 | their raw contents. |
| 121 | |
| 122 | 2000-03-19 Michael Livshin <mlivshin@bigfoot.com> |
| 123 | |
| 124 | * *.[hc]: add Emacs magic at the end of file, to ensure GNU |
| 125 | indentation style. |
| 126 | |
| 127 | 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 128 | |
| 129 | * readline.c (current_input_getc): Don't pass int values through |
| 130 | SCM variables. |
| 131 | (match_paren): Bugfix: First arg to select is not number of |
| 132 | descriptors but the number of the highest descriptor + 1. |
| 133 | |
| 134 | Thu Mar 9 08:00:26 2000 Greg J. Badros <gjb@cs.washington.edu> |
| 135 | |
| 136 | * readline.c: scm_validate.h renamed to validate.h. |
| 137 | |
| 138 | Wed Mar 8 10:43:10 2000 Greg J. Badros <gjb@cs.washington.edu> |
| 139 | |
| 140 | * readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type |
| 141 | of readset. |
| 142 | |
| 143 | 2000-01-25 Marius Vollmer <mvo@zagadka.ping.de> |
| 144 | |
| 145 | * autogen.sh: Call libtoolize. Pass --add-missing option to |
| 146 | automake. |
| 147 | |
| 148 | * readline.scm: Only link glue code when the 'readline feature is |
| 149 | not already present. Thanks to Clark McGrew. |
| 150 | |
| 151 | Tue Jan 11 17:51:40 2000 Greg J. Badros <gjb@cs.washington.edu> |
| 152 | |
| 153 | * readline.c (scm_init_readline): Drop extra argument to |
| 154 | scm_mutex_init as that argument should not exist. I do not know |
| 155 | how this escaped detection for so long. |
| 156 | |
| 157 | 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 158 | |
| 159 | * readline.c (match_paren): Changed return type to int (this is |
| 160 | the definition in readline 4) and modified code layout according |
| 161 | to GNU coding standards. |
| 162 | |
| 163 | Wed Jan 5 11:18:01 2000 Greg J. Badros <gjb@cs.washington.edu> |
| 164 | |
| 165 | * readline.c: Whitespace changes -- added space after |
| 166 | SCM_VALIDATE_* macros to match GNU coding standards. |
| 167 | |
| 168 | Wed Jan 5 11:02:40 2000 Greg J. Badros <gjb@cs.washington.edu> |
| 169 | |
| 170 | * readline.c: Rename GUILE_PROC to SCM_DEFINE. |
| 171 | |
| 172 | Mon Dec 13 13:57:57 1999 Greg J. Badros <gjb@cs.washington.edu> |
| 173 | |
| 174 | * readline.c: Include libguile/scm_validate.h |
| 175 | |
| 176 | Sun Dec 12 19:56:52 1999 Greg J. Badros <gjb@cs.washington.edu> |
| 177 | |
| 178 | * readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have |
| 179 | (now empty) docstrings. |
| 180 | |
| 181 | 1999-11-18 Gary Houston <ghouston@freewire.co.uk> |
| 182 | |
| 183 | * readline.c (scm_init_readline): set rl_readline_name to Guile, |
| 184 | to allow conditionals in .inputrc. |
| 185 | |
| 186 | 1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com> |
| 187 | |
| 188 | * Makefile.in, configure, aclocal.m4: Deleted from CVS repository. |
| 189 | Run the autogen.sh script to create generated files like these. |
| 190 | * autogen.sh: New script, invoked by the top-level autogen.sh. |
| 191 | |
| 192 | 1999-09-22 Jim Blandy <jimb@savonarola.red-bean.com> |
| 193 | |
| 194 | * configure.in: Call AM_PROG_CC_STDC. |
| 195 | * configure, aclocal.m4: Regenerated. |
| 196 | |
| 197 | 1999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> |
| 198 | |
| 199 | * Makefile.am (.c.x): Use same rule as in libguile. |
| 200 | |
| 201 | 1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 202 | |
| 203 | * readline.h, readline.scm: Updated copyright notices. |
| 204 | |
| 205 | 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 206 | |
| 207 | * readline.scm (activate-readline): Set (using-readline?). |
| 208 | |
| 209 | 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com> |
| 210 | |
| 211 | * aclocal.m4: Regenerated with newer libtool macros. |
| 212 | |
| 213 | * Makefile.am (DISTCLEANFILES): Get rid of .x files. |
| 214 | * Makefile.in: Regenerated. |
| 215 | (Thanks to Keisuke Nishida.) |
| 216 | |
| 217 | 1999-09-11 Marius Vollmer <mvo@zagadka.ping.de> |
| 218 | |
| 219 | * readline.scm: Moved from ../ice-9. |
| 220 | Dynamically link libguilereadline.so. |
| 221 | (readline): Just define in this module, do not overwrite builtin |
| 222 | variable. The builtin readline function is now named "%readline", |
| 223 | so this works. See below. |
| 224 | (activate-readline): New function which contains the readline |
| 225 | activation code formerly found in top-repl. |
| 226 | |
| 227 | * readline.c (scm_readline): Export it to Scheme as "%readline". |
| 228 | |
| 229 | * configure.in: Get version from ../GUILE-VERSION and use it for |
| 230 | package version. |
| 231 | |
| 232 | * Makefile.am: Do not install and distribute |
| 233 | readline-activator.scm. Install and distribute readline.scm |
| 234 | instead. |
| 235 | |
| 236 | * aclocal.m4, Makefile.in, configure, libtool: Regenerated, but |
| 237 | probably with the wrong version of the tools. |
| 238 | |
| 239 | 1999-08-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 240 | |
| 241 | The following change makes it possible for applications to have |
| 242 | their own version of scm_readline. |
| 243 | * readline.c, readline.h (rl_cleanup_after_signal, |
| 244 | rl_free_line_state): Made global. |
| 245 | (scm_readline_init_ports): New function. |
| 246 | (scm_readline): Use scm_readline_init_ports. |
| 247 | (Thanks to Anders Holst.) |
| 248 | |
| 249 | * Makefile.am: Install guile-readline/readline.h. |
| 250 | |
| 251 | 1999-08-20 James Blandy <jimb@mule.m17n.org> |
| 252 | |
| 253 | * Makefile.in, aclocal.m4, configure: Regenerated. |
| 254 | |
| 255 | 1999-08-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 256 | |
| 257 | * configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually |
| 258 | use rl_getc_function. Otherwise smart compilers, like gcc, |
| 259 | optimize away the reference so that no error occurs in the link |
| 260 | phase. |
| 261 | |
| 262 | 1999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 263 | |
| 264 | * Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile. |
| 265 | (Thanks to Greg Badros.) |
| 266 | |
| 267 | 1999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
| 268 | |
| 269 | * readline.c (handle_error): Put a cosmetic newline on |
| 270 | rl_outstream on error before closing it. |
| 271 | |
| 272 | * configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case |
| 273 | readline doesn't exist on the system, so that configuration can |
| 274 | proceed normally without readline. |
| 275 | |
| 276 | * readline.c: #include "libguile/_scm.h" (so that we get the |
| 277 | configuration information) and fix other includes so that they'll |
| 278 | work on a system where guile is not yet installed. |
| 279 | |
| 280 | * Makefile.am (BUILT_SOURCES): Added. |
| 281 | |
| 282 | 1999-07-23 Marius Vollmer <mvo@zagadka.ping.de> |
| 283 | |
| 284 | * Checked everything into CVS. |
| 285 | |
| 286 | 1999-07-22 Marius Vollmer <mvo@zagadka.ping.de> |
| 287 | |
| 288 | * readline.c (stream_from_fport): New function. |
| 289 | (scm_readline): Use it to for the input and output ports. Close |
| 290 | the streams after readline returns. |
| 291 | (handle_error): Close them also when an error occured. |
| 292 | |
| 293 | 1999-06-17 Marius Vollmer <mvo@zagadka.ping.de> |
| 294 | |
| 295 | * readline.h, readline.c: Removed exception notice from copyright |
| 296 | statement. |
| 297 | |
| 298 | 1999-05-16 Marius Vollmer <mvo@zagadka.ping.de> |
| 299 | |
| 300 | * Started guile-readline package. Files are copied from old |
| 301 | guile-core package and slightly modified. |