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

14736 commits

Author SHA1 Message Date
Mikael Djurfeldt
ca4be6ea9e * eval.c (SCM_IM_DISPATCH, SCM_IM_HASH_DISPATCH): Don't use
improper lists in the low-level representation, since that will
cause a begin to be prepended at macro expansion.

* eval.c, tags.h, print.c (SCM_IM_SLOT_REF, SCM_IM_SLOT_SET_X):
New isym operations.
1999-07-29 09:54:10 +00:00
Mikael Djurfeldt
294b1b2e3e * eval.h: Added prototypes for multi language support functions. 1999-07-29 09:53:48 +00:00
Mikael Djurfeldt
4725c2983f Removed configuration option --enable-lang which was recently added. 1999-07-28 20:39:34 +00:00
Jim Blandy
6ca345f321 *** empty log message *** 1999-07-27 20:11:57 +00:00
Mikael Djurfeldt
a6ba4ef89e *** empty log message *** 1999-07-27 19:14:19 +00:00
Mikael Djurfeldt
749c7da12a Regenerated 1999-07-27 19:12:13 +00:00
Mikael Djurfeldt
04eaea3390 * acconfig.h (GUILE_LANG): New configuration variable. 1999-07-27 19:10:34 +00:00
Mikael Djurfeldt
159500fb70 * tags.h, print.c (SCM_IM_NIL_COND, SCM_IM_NIL_IFY, SCM_IM_T_IFY,
SCM_IM_0_COND, SCM_IM_0_IFY, SCM_IM_1_IFY), print.c
(scm_isymnames): New isyms for multi-language support.
1999-07-27 19:10:04 +00:00
Mikael Djurfeldt
68a08303f1 * Makefile.am (EXTRA_libguile_la_SOURCES): Added lang.c.
* lang.c: New file: Beginning of multi-language support.
1999-07-27 19:09:31 +00:00
Mikael Djurfeldt
397daa3dfc * init.c (scm_boot_guile_1): Added call to scm_init_lang (). 1999-07-27 19:09:19 +00:00
Mikael Djurfeldt
73b6434264 * eval.c (scm_nil, scm_t): New symbols.
(nil-cond, nil-ify, t-ify, 0-cond, 0-ify, 1-ify): New special
forms for multi-language support.
1999-07-27 19:09:06 +00:00
Mikael Djurfeldt
6778caf93e * dynwind.c (scm_dowinds): Removed obsolete wind_key #f case.
(scm_dynamic_wind): Added argument checking for the after guard so
that we don't add garbage on the dynwind chain.
(scm_swap_bindings): Added.
1999-07-27 19:08:39 +00:00
Mikael Djurfeldt
094ce85606 * Makefile.am (EXTRA_libguile_la_SOURCES): Added lang.c. 1999-07-27 19:08:11 +00:00
Mikael Djurfeldt
7a11a87c81 * configure.in: Added option --enable-lang. 1999-07-27 19:07:42 +00:00
Mikael Djurfeldt
9fb960d9ec *** empty log message *** 1999-07-27 19:07:30 +00:00
Jim Blandy
71209dfb78 *** empty log message *** 1999-07-26 03:28:21 +00:00
Mikael Djurfeldt
259529f27d *** empty log message *** 1999-07-25 19:26:55 +00:00
Mikael Djurfeldt
9b741bb6da * random.c, random.h (scm_c_default_rstate, scm_c_uniform32):
Added.
Renamed functions in the random function library interface
from scm_i_XXX --> scm_c_XXX.
1999-07-25 19:25:01 +00:00
Gary Houston
1b9c3daec9 1999-07-25 Gary Houston <ghouston@easynet.co.uk>
* ports.c (scm_putc): fix line-buffering.

(init.c: remove an obsolete comment).
1999-07-25 17:45:01 +00:00
Mikael Djurfeldt
6c747373c5 * ports.c, ports.h, fports.c, strports.c, vports.c: Renamed
scm_set_ptob_XXX --> scm_set_port_XXX.
1999-07-25 12:21:03 +00:00
Mikael Djurfeldt
544e90932f *** empty log message *** 1999-07-25 12:20:31 +00:00
Mikael Djurfeldt
831e230df0 Regenerated 1999-07-24 23:12:27 +00:00
Mikael Djurfeldt
10efca5bce * vports.c (scm_sfport, prinsfpt, sf_read_flush, noop0): Removed.
(scm_make_sfport): Added.
1999-07-24 23:11:11 +00:00
Mikael Djurfeldt
f15913d08f *** empty log message *** 1999-07-24 23:10:57 +00:00
Mikael Djurfeldt
0b6881fa6c * strports.c (scm_stptob, prinstpt, noop0): Removed
(scm_make_stptob): Added.
1999-07-24 23:10:43 +00:00
Mikael Djurfeldt
2c16a78a11 * smob.c (scm_smob_print): Handle non-existing type name nicely.
Removed #include "genio.h"
1999-07-24 23:10:27 +00:00
Mikael Djurfeldt
f12733c9d4 * ports.c, ports.h (scm_make_port_type): New interface for
creation of port types (replaces scm_newptob).  Just as for the
smobs, we need to separate the internal representation of smob
types from the interface, so that we easily can add new fields and
rearrange things without caring about backward compatibility.
This change was forced by the need in GOOPS to create classes
representing port types.
(scm_set_ptob_mark, scm_set_ptob_free, scm_set_ptob_print,
scm_set_ptob_equalp, scm_set_ptob_flush_input, scm_set_ptob_close,
scm_set_ptob_seek, scm_set_ptob_truncate,
scm_set_ptob_input_waiting_p): New setters.
(scm_newptob): Rewritten to use scm_make_port_type.  For backward
compatibility.
(scm_ptobs): Changed type scm_ptobfuns --> scm_ptob_descriptor.
(scm_prinport): Removed.
(scm_port_print): Added.
(scm_print_port_mode): Added.
(void_port_ptob, print_void_port, close_void_port, noop0):
Removed.  Removed #include "genio.h" Added #include "objects.h",
#include "smobs.h"
1999-07-24 23:10:13 +00:00
Mikael Djurfeldt
c163662710 * objects.c (scm_make_port_classes): New function ptr. 1999-07-24 23:09:48 +00:00
Mikael Djurfeldt
16019956ab * ioext.c (scm_redirect_port): Replaced scm_ptobfuns -->
scm_ptob_descriptor.
1999-07-24 23:09:28 +00:00
Mikael Djurfeldt
3637134f14 Removed 1999-07-24 23:09:18 +00:00
Mikael Djurfeldt
84af038203 * gc.c (scm_gc_sweep): Use value returned from scm_ptobs[].free. 1999-07-24 23:08:55 +00:00
Mikael Djurfeldt
b3ec3c64a5 * fports.c (prinfport): Moved code from ports.c.
(local_free): Added.
(scm_fptob): Removed.  Instead use new interface.
(scm_make_fptob): Added.  (Need to create basic ports in a
specific order in ports.c.)
1999-07-24 23:08:29 +00:00
Mikael Djurfeldt
f8b16091fc * filesys.c (scm_dir_print): Don't use the port printing code.
Instead provide specific directory printer.
1999-07-24 23:08:16 +00:00
Mikael Djurfeldt
16a5a9a445 *** empty log message *** 1999-07-24 22:59:43 +00:00
Gary Houston
69bc9ff335 1999-07-24 Gary Houston <ghouston@easynet.co.uk>
* gdbint.c (gdb_print, gdb_read): call scm_truncate_file.

	* ports.c (scm_truncate_file): renamed from scm_ftruncate.
	allow the 1st argument to be a fdes or filename as well as a
	port (as in the filesys.c version).

	* filesys.c (scm_truncate_file): removed.
1999-07-24 19:52:13 +00:00
Mikael Djurfeldt
eb9ef08b77 *** empty log message *** 1999-07-24 11:55:34 +00:00
Mikael Djurfeldt
2179c70cf4 Regenerated 1999-07-24 11:51:24 +00:00
Mikael Djurfeldt
f29f29339a *** empty log message *** 1999-07-24 11:48:47 +00:00
Mikael Djurfeldt
fc44cdf1b0 * README, config.guess, config.sub, liconfig, ltmain.sh: Switched
to libtool-1.3.3.
1999-07-24 11:47:50 +00:00
Mikael Djurfeldt
739b3bf1b8 * readline.c (handle_error): Put a cosmetic newline on
rl_outstream on error before closing it.

* readline.c: #include "libguile/_scm.h" (so that we get the
configuration information) and fix other includes so that they'll
work on a system where guile is not yet installed.
1999-07-24 11:40:11 +00:00
Mikael Djurfeldt
096d0b15f6 *** empty log message *** 1999-07-24 11:39:36 +00:00
Mikael Djurfeldt
66e28f022f * configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case
readline doesn't exist on the system, so that configuration can
proceed normally without readline.
1999-07-24 11:38:30 +00:00
Mikael Djurfeldt
84a8c61dfc * Makefile.am (BUILT_SOURCES): Added. 1999-07-24 11:38:03 +00:00
Mikael Djurfeldt
3469affdff * readline.c, readline.h: Removed. 1999-07-24 11:37:12 +00:00
Mikael Djurfeldt
d0efbe6199 * objects.c, objects.h (scm_port_class): Added.
(scm_class_of): Look up port class in scm_port_class.
(SCM_IN_PCLASS_INDEX, SCM_OUT_PCLASS_INDEX,
SCM_INOUT_PCLASS_INDEX): Added.
1999-07-24 11:36:30 +00:00
Marius Vollmer
0e8a8468a3 Added guile-readline subdirectory with the removed readline
support.
* guile-readline: New directory, see ChangeLog there.
* configure.in: Cause configure to descend into guile-readline
dir.
* Makefile.am: Likewise for make.
* NEWS: Explain how to activate the readline support.
* configure, Makefile.in, aclocal.m4: Regenerated.
1999-07-23 22:04:27 +00:00
Marius Vollmer
c374ab69c1 * Checked everything into CVS. 1999-07-23 21:43:58 +00:00
Mikael Djurfeldt
aafe2718aa *** empty log message *** 1999-07-23 13:14:20 +00:00
Mikael Djurfeldt
b505860d29 * init.c: Make sure that scm_post_boot_init_modules is called only
once.  (Important when using a dumped image.; Thanks to Bernard
Urban.)
1999-07-23 13:14:05 +00:00
Mikael Djurfeldt
ad91d6c3ff *** empty log message *** 1999-07-23 11:38:34 +00:00