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

2151 commits

Author SHA1 Message Date
Mikael Djurfeldt
3346a90fa7 * dynwind.c: #include "genio.h"; #include "smob.h"; Implemented a
new data type (guards) for representation of C level guards and
data on the wind chain.
(scm_internal_dynamic_wind): New function.

* dynwind.h: Declare scm_internal_dynamic_wind.

* load.c: #include "dynwind.h";
(scm_primitive_load): Use scm_inner_dynamic_wind to update
scm_cur_loadp.
1998-06-18 21:53:00 +00:00
Mikael Djurfeldt
ef0d04e5c3 * emacs.scm (emacs-load): New feature: Eval in specified module. 1998-06-15 13:00:35 +00:00
Mikael Djurfeldt
4ffd142c03 * readline.scm: Typo in regex module name. 1998-06-14 15:07:51 +00:00
Mikael Djurfeldt
edd9ac213c * readline.scm (apropos-completion-function): regexp-quote text to
be completed.
1998-06-13 18:08:25 +00:00
Mikael Djurfeldt
a66c53a81e * emacs.scm: Bugfix: Treat `the-last-stack' as a fluid. 1998-06-11 13:26:43 +00:00
Mikael Djurfeldt
10ccfad75f * ioext.c (scm_isatty_p): Accept any kind of data as argument. If
not a tty, return #f.
1998-06-09 21:57:26 +00:00
Mikael Djurfeldt
279ba8c035 * boot-9.scm: Check that (current-input-port) is a tty before
enabling readline.  (Thanks to Michael N. Livshin.)
1998-06-09 21:56:51 +00:00
Mikael Djurfeldt
d38a6802b8 *** empty log message *** 1998-06-09 21:56:37 +00:00
Mikael Djurfeldt
d54b6314e6 Updated 1998-06-09 21:56:23 +00:00
Mikael Djurfeldt
391aebfc7c Updated 1998-06-09 20:28:13 +00:00
Mikael Djurfeldt
62f1c6d216 * regex-posix.c (scm_regexp_exec): Free malloced memory. (Thanks
to Julian Satchell and Roland Kaufmann.)
1998-06-09 20:27:35 +00:00
Mikael Djurfeldt
38d0f691ce * gh.h (gh_memv, gh_member): Fixed typos in macro definitions.
(gh_write):  Added declaration.  (Thanks to Eiichi Takamori.)
1998-06-09 20:27:23 +00:00
Mikael Djurfeldt
cf26610900 * boot-9.scm (use-syntax): Turned into a macro inorder to be
similar in use to `use-modules'.
Example: (use-syntax (ice-9 syncase)) will 1. load the module
(ice-9 syncase), and, 2. install the procedure `syncase' as eval
transformer.
(internal-use-syntax): New procedure.
(process-define-module): Use `internal-use-syntax'.
1998-06-07 10:29:40 +00:00
Mikael Djurfeldt
6dabf6a95c *** empty log message *** 1998-06-07 02:14:42 +00:00
Mikael Djurfeldt
9057c41718 * debug.h, debug.c (scm_start_stack): New function. Implements
the guts of old scm_m_start_stack.
1998-06-07 02:11:58 +00:00
Mikael Djurfeldt
9fa2c7b1fc * debug.h, debug.c (scm_start_stack): New function. Implements
the guts of old scm_m_start_stack.

* debug.c (scm_m_start_stack): Use scm_start_stack.
1998-06-07 02:11:28 +00:00
Mikael Djurfeldt
a4156763c3 * init.c (scm_start_stack, scm_restart_stack): Renamed to
start_stack and restart_stack.  (These have static scope.)
1998-06-07 02:10:41 +00:00
Mikael Djurfeldt
8b0db23e94 Updated 1998-05-19 20:44:05 +00:00
Mikael Djurfeldt
daca28167f * readline.c (rl_cleanup_after_signals, rl_free_line_state): New
readline functions to come in release 2.3.  (Thanks to Chet
Ramey.)
(handle_errors): Use the above functions.
1998-05-19 20:43:42 +00:00
Mikael Djurfeldt
a581e90656 Added Chet Ramey 1998-05-19 20:42:59 +00:00
Mikael Djurfeldt
7e0fee6e39 * configure.in: Check for rl_cleanup_after_signal. 1998-05-19 20:42:39 +00:00
Mikael Djurfeldt
67da6c5715 * Makefile.am (ice9_sources): Add emacs.scm. 1998-05-19 19:48:11 +00:00
Mikael Djurfeldt
56600c45d8 Fixed. 1998-05-13 00:34:36 +00:00
Mikael Djurfeldt
a5587d03f6 Updated 1998-05-13 00:27:23 +00:00
Mikael Djurfeldt
3d4981fad9 Some further fixes. 1998-05-13 00:01:04 +00:00
Mikael Djurfeldt
1b558afda9 *** empty log message *** 1998-05-13 00:00:19 +00:00
Mikael Djurfeldt
b05d0b94d6 * readline.scm: Use the new readline facilities: Add the
possibility to control input and output ports; Add apropos
completion.
1998-05-13 00:00:02 +00:00
Mikael Djurfeldt
dc5c203863 * boot-9.scm: Antirevert Jim's readline code which he reverted
19971027 and adapt it to the current readline interface.

* boot-9.scm (top-repl): Only enable readline if not using the
Emacs interface; Only use repl prompt when using the readline port
from repl-read.  (We don't want to see it when calling `read'.)

* boot-9.scm (remove-hook!): Parenthesis bug.
1998-05-12 23:59:21 +00:00
Mikael Djurfeldt
9c5d232c82 Bugfixes for yesterdays revision. 1998-05-12 21:41:44 +00:00
Mikael Djurfeldt
be0ea98851 * readline.c: Improvements for readline support: Handle errors
better; Implement before-read-hook.
1998-05-12 00:52:31 +00:00
Mikael Djurfeldt
d40c16dadf Updated 1998-05-12 00:49:26 +00:00
Mikael Djurfeldt
dd15c21058 * init.c (scm_boot_guile_1), readline.c: Test for
HAVE_RL_GETC_FUNCTION instead of HAVE_LIBREADLINE.  (Need to
assure that we have version >= 2.1.)
1998-05-12 00:48:58 +00:00
Mikael Djurfeldt
dd07fb6654 *** empty log message *** 1998-05-12 00:48:38 +00:00
Mikael Djurfeldt
c700db4f8f * configure.in: Added test for rl_getc_function. Warn if
libreadline is found but not this function.
1998-05-12 00:48:15 +00:00
Mikael Djurfeldt
e158e4f465 * throw.c, throw.h (scm_handle_by_throw): New function: This
handler throws errors to next handler on the dynwind chain.
1998-05-11 01:18:41 +00:00
Mikael Djurfeldt
5e334bd3a0 scm_usleep: Don't define j if not used. 1998-05-11 01:17:10 +00:00
Mikael Djurfeldt
0d7588d20a * readline.c (scm_add_history): Bugfix: Do strdup before giving
away the string to add_history.
(completion_function): Do completion for readline.
(scm_filename_completion_function): New procedure: Filename
completer.
(current_input_getc): New function.  Use this one instead of
standard getc from readline.
1998-05-11 01:16:15 +00:00
Mikael Djurfeldt
f246e585bb * boot-9.scm: Load readline module if readline is present.
* readline.scm (apropos-completion-function): New procedure:
Symbolic completion.  (Thanks to Andrew Archibald!)
1998-05-11 01:15:26 +00:00
Mikael Djurfeldt
95bdd85dc6 Added Andrew Archibald 1998-05-11 01:14:23 +00:00
Mikael Djurfeldt
4c787b5283 * configure.in: Replaced some AC_CHECK_FUNC --> AC_CHECK_FUNCS so
that suitable HAVE_<function name> symbols get defined.
1998-05-06 14:45:11 +00:00
Mikael Djurfeldt
3b7284cd0e Fix 1998-05-04 12:05:37 +00:00
Mikael Djurfeldt
f714ca8e67 * boot-9.scm (process-define-module): Added keyword use-syntax. 1998-05-04 11:44:13 +00:00
Mikael Djurfeldt
8bb51def7d *** empty log message *** 1998-05-04 11:33:35 +00:00
Mikael Djurfeldt
eb545bd9b9 * procprop.h (scm_sym_arity): New symbol. 1998-05-04 11:33:14 +00:00
Mikael Djurfeldt
67e6065510 * procprop.c (scm_i_procedure_arity): New function. Returns arity
of procedure.
(scm_procedure_properties): Modified to return arity together with
other properties.
(scm_procedure_property): Added the read-only property `arity'.
(scm_set_procedure_property_x): It is an error to set the `arity'
property.
1998-05-04 11:32:58 +00:00
Mikael Djurfeldt
b6d850ad9c * objects.h (SCM_METACLASS_OPERATOR_LAYOUT, SCM_ENTITY_LAYOUT):
Made procedure slots read-only.
1998-05-04 11:32:44 +00:00
Mikael Djurfeldt
47b210500b * objects.c (scm_set_object_procedure_x): New procedure: Use this
to set the dispatch procedure of an operator or entity object.
1998-05-04 11:32:30 +00:00
Mikael Djurfeldt
dc0938d8a4 * gsubr.h, gsubr.c: Moved macros from gsubr.c to gsubr.h and added
prefix SCM_; Made f_gsubr_apply global and added prefix scm_.
1998-05-04 11:32:05 +00:00
Mikael Djurfeldt
65e417214c * eval.c (SCM_CEVAL): Moved scm_tc7_contin case above
scm_tcs_cons_gloc case in zero args switch; Fixed args
construction for operators in scm_tcs_cons_gloc case in two args
switch.
1998-05-04 11:31:45 +00:00
Mikael Djurfeldt
c716d9fcf2 Updated 1998-05-02 22:27:11 +00:00