1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
Commit graph

263 commits

Author SHA1 Message Date
Dirk Herrmann
e9bab9df3d * Make readline run-time options accessible. 2001-01-26 16:58:48 +00:00
Dirk Herrmann
c4a9b7bbd1 * Make sure that only open file ports are used as readline ports. 2001-01-25 17:57:29 +00:00
Neil Jerram
6c29a390fa * Make the readline port input-only. 2001-01-19 09:00:05 +00:00
Dirk Herrmann
6b098fecdc * Lookup 'use-emacs-interface in the-root-module. 2000-12-12 18:10:56 +00:00
Dirk Herrmann
379b35daaa * Fixed readline default input/output port parameter handling.
* Removed redundant SCM_N?IMP tests.
2000-11-24 10:38:57 +00:00
Dirk Herrmann
08b5e6c316 * Don't uses anything deprecated any more. 2000-11-24 10:24:04 +00:00
Gary Houston
c2c2760293 * configure.in: test $ac_cv_lib_readline_readline instead of
$ac_cv_lib_readline_main.  Thanks to Lars J. Aas.
2000-11-19 12:21:36 +00:00
Marius Vollmer
e621f2b022 *** empty log message *** 2000-09-17 21:22:31 +00:00
Marius Vollmer
49dd8ff330 * configure.in: Check for curses, terminfo and termlib libraries
in addition to ncurses and termcap.
Check for `readline' in libreadline, not for `main'.
Thanks to Albert Chin!
2000-09-17 21:16:18 +00:00
Marius Vollmer
ff0fd4e408 *** empty log message *** 2000-07-19 18:10:46 +00:00
Marius Vollmer
6011327117 * configure.in (rl_pre_input_hook): Don't check for this with
AC_CHECK_FUNCS, it doesn't work on HP/UX.  Test for it with
AC_TRY_LINK.
2000-07-19 18:10:30 +00:00
Mikael Djurfeldt
e0a7dd341d *** empty log message *** 2000-06-19 01:11:38 +00:00
Mikael Djurfeldt
f59a8b6460 * configure.in: Check for siginterrupt and rl_pre_input_hook. 2000-06-19 01:11:28 +00:00
Mikael Djurfeldt
2604745154 Fix 2000-06-19 00:48:35 +00:00
Mikael Djurfeldt
264871aab7 *** empty log message *** 2000-06-19 00:42:48 +00:00
Mikael Djurfeldt
b71099ba05 * readline.c (sigwinch_enable_restart, scm_init_readline):
Re-enable restart for SIGWINCH signal.
2000-06-19 00:42:39 +00:00
Mikael Djurfeldt
49a2970b4a * configure.in: Added test if readline clears SA_RESTART flag for
SIGWINCH.  (Thanks to Dale P. Smith.)
2000-06-19 00:42:30 +00:00
Mikael Djurfeldt
26c9c3ce4d *** empty log message *** 2000-06-14 15:03:09 +00:00
Mikael Djurfeldt
48552b1dcf * readline.c (scm_readline): Added parenthesis around && within
||.
Fixed up prototype for `reentry_barrier'.
Conditionally #include <unistd.h>.  (Needed for `dup'.)
2000-06-14 15:03:01 +00:00
Mikael Djurfeldt
54cb2def3a *** empty log message *** 2000-06-12 23:35:22 +00:00
Mikael Djurfeldt
2d72b50278 * Makefile.am (dist-hook): Added kludge to fix automake generated
dependencies in the distribution archive Makefile.
2000-06-12 23:35:08 +00:00
Mikael Djurfeldt
fc1b833707 *** empty log message *** 2000-06-12 14:54:50 +00:00
Mikael Djurfeldt
ebfa2cd5ca * readline.scm (apropos-completion-function): Don't define and
install if the 'regex feature is missing.
2000-06-12 14:54:30 +00:00
Mikael Djurfeldt
f2c9fcb07e Updated copyrights 2000-06-12 12:28:24 +00:00
Mikael Djurfeldt
a6596faa22 *** empty log message *** 2000-06-06 12:44:46 +00:00
Mikael Djurfeldt
62947883ed * readline.c: Always provide scm_init_readline, also if readline
support is not included.  Otherwise, a strange dynamic loading
error will occur.  (It would be better not to install
libguilereadline at all.)
2000-06-06 12:44:17 +00:00
Mikael Djurfeldt
c8fac0c3e5 * readline.scm: Report an error if readline isn't provided by
Guile;  Added :no-backtrace to module header.
2000-06-06 12:41:58 +00:00
Mikael Djurfeldt
461c176998 * readline-activator.scm (activate-readline): Report an error if
readline isn't provided by Guile.
2000-06-06 12:41:48 +00:00
Mikael Djurfeldt
5ca264aaec * configure.in: Put more ink before readline version warning.
(Thanks to Ian Grant.)
2000-06-06 12:41:39 +00:00
Michael Livshin
65545721f3 autogen.sh: call ./guile-aclocal.sh instead of aclocal.
guile-readline/autogen.sh: call ../guile-aclocal.sh instead of aclocal.

guile-aclocal.sh: new file, works around aclocal problems.
2000-06-01 15:11:14 +00:00
Gary Houston
7f5fa419d3 *** empty log message *** 2000-05-01 22:13:26 +00:00
Gary Houston
fbf68f8b6c * readline.c: include libguile.h, not libguile/libguile.h. 2000-05-01 22:12:43 +00:00
Mikael Djurfeldt
a059974535 * Makefile.am (DEFS): Added. automake adds -I options to DEFS,
and we don't want that.
(INCLUDES): Removed all -I options except for the root source
directory and the root build directory.

* *.*: Change includes so that they always use the "prefixes"
libguile/, qt/, guile-readline/, or libltdl/.
(Thanks to Tim Mooney.)
2000-04-21 14:16:44 +00:00
Dirk Herrmann
f60d011a05 Fix handling of SCM value with regard to strict typing. 2000-04-04 10:46:08 +00:00
Michael Livshin
89e00824a0 * *.[hc]: add Emacs magic at the end of file, to ensure GNU
indentation style.
2000-03-19 19:01:16 +00:00
Mikael Djurfeldt
7236512ecf *** empty log message *** 2000-03-14 17:19:45 +00:00
Mikael Djurfeldt
58d805603c *** empty log message *** 2000-03-12 16:03:00 +00:00
Mikael Djurfeldt
bc858b80ca * readline.c (current_input_getc): Don't pass int values through
SCM variables.
2000-03-12 16:02:46 +00:00
Mikael Djurfeldt
b74b1a6387 Reverted recent change to scm_mutex_init: now backward compatible
again.
2000-03-12 14:26:59 +00:00
Mikael Djurfeldt
053f9faad7 * readline.c (match_paren): Bugfix: First arg to select is not
number of descriptors but the number of the highest descriptor +
1.

* readline.c (scm_init_readline): Added new arg to scm_init_mutex.
2000-03-12 00:35:00 +00:00
Greg J. Badros
3ef7e3a14a Added a comment re: a warning. 2000-03-09 21:53:59 +00:00
Greg J. Badros
76d941243e *** empty log message *** 2000-03-09 16:01:27 +00:00
Greg J. Badros
1c537018aa * readline.c: scm_validate.h renamed to validate.h. 2000-03-09 16:00:42 +00:00
Greg J. Badros
e6a9f3c474 *** empty log message *** 2000-03-08 18:49:10 +00:00
Greg J. Badros
aba2031abc * readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
of readset.
2000-03-08 18:43:47 +00:00
Marius Vollmer
3a7214138d *** empty log message *** 2000-01-25 20:37:42 +00:00
Marius Vollmer
3b603d911e * autogen.sh: Call libtoolize. Pass --add-missing option to
automake.
2000-01-25 20:35:23 +00:00
Marius Vollmer
acb0207f44 * readline.scm: Only link glue code when the 'readline feature is
not already present.  Thanks to Clark McGrew.
2000-01-25 20:20:48 +00:00
Greg J. Badros
c262d0f1ec Added proper entry for readline.c 2000-01-12 01:53:08 +00:00
Greg J. Badros
c1bfcf602b * scm_validate.h: Added SCM_NUM2LONG_DEF macro. Make
SCM_OUT_OF_RANGE use SCM_MAKINUM, not scm_long2num.  Added
SCM_COERCE_ROSTRING macro.  Added SCM_VALIDATE_NONEMPTYLIST
macro.  Fix SCM_VALIDATE_STRINGORSUBSTR macro to not use SLOPPY
variants.

* ports.c (scm_port_closed_p): Validate that the arg is a PORT,
then return whether it's an open port (was validating that it was
an open port -- this was a bug I introduced back in December, but
my careful reading of diffs caught it).

* numbers.c: Recombine the two conditional-compilation paths for
all the log* primitives -- they were split based on #ifndef
scm_long2num;  factored out a SCM_LOGOP_RETURN macro, and fixed
some bugs and inconsistencies in the two sets of implementations.
(scm_lognot) Fixed *atrocious* re-use of a SCM as an integer!

* ioext.c: Use SCM_ASSERT_RANGE in a couple places, and
SCM_VALIDATE_INUM_COPY once where it should've been used.

* fluids.c (scm_internal_with_fluids): Use
SCM_VALIDATE_LIST_COPYLEN.

* filesys.c: Use SCM_NUM2LONG instead of SCM_VALIDATE_INUM_COPY;
this is questionable as it relaxes type safety, but other changes
were useful and all SCM_NUM2LONG's should probably be
revisited. Use SCM_OUT_OF_RANGE, SCM_WRONG_TYPE_ARG.

* evalext.c: line-break change on 1 line.

* eval.c (nconc2last): Takes a non-empty list as its first
argument, not just a list.

* dynl.c: Use new SCM_COERCE_ROSTRING macro.
2000-01-12 01:51:18 +00:00