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

8347 commits

Author SHA1 Message Date
Mikael Djurfeldt
b09ef6795d *** empty log message *** 1999-07-29 09:55:25 +00:00
Mikael Djurfeldt
43c667e9c1 * eval.c, tags.h, print.c (SCM_IM_SLOT_REF, SCM_IM_SLOT_SET_X):
New isym operations.
1999-07-29 09:54:34 +00:00
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
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
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
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
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
2179c70cf4 Regenerated 1999-07-24 11:51:24 +00:00
Mikael Djurfeldt
096d0b15f6 *** empty log message *** 1999-07-24 11:39:36 +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
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
Jim Blandy
8e1e60f181 *** empty log message *** 1999-07-19 18:57:40 +00:00
Jim Blandy
67b2561b50 * guardians.c (scm_guardian_zombify): Separate scanning for
zombies from marking the pairs of the free list.
1999-07-19 18:57:02 +00:00
Jim Blandy
a825bb0e2d *** empty log message *** 1999-07-19 18:46:09 +00:00
Jim Blandy
55b7e0bd82 * guardians.c (scm_guardian_zombify): Don't set marks manually ---
use the macros.  (Thanks to Michael Livshin.)
1999-07-19 18:45:57 +00:00
Jim Blandy
4d4c53aca7 *** empty log message *** 1999-07-19 08:59:30 +00:00
Jim Blandy
a42f00b823 * stime.c (ftime): Delete declaration for this function --- let
the system supply it.
1999-07-19 08:58:42 +00:00
Jim Blandy
ae904cfae3 * eval.c (scm_m_lambda): Let bodycheck check the body of the
lambda.  Let your sins be purified by the blood of the lambda.
(Thanks to Eric Hanchrow.)
1999-07-19 08:45:54 +00:00
Jim Blandy
a122f2f9ea *** empty log message *** 1999-07-19 08:22:28 +00:00
Jim Blandy
d9ad691916 *** empty log message *** 1999-07-19 08:20:44 +00:00
Jim Blandy
e6393a4a0c * net_db.c (h_errno): Don't declare this if it's #defined. Eew.
(Thanks to Valdis Kletnieks.)
1999-07-19 08:20:27 +00:00
Jim Blandy
3144e1a9e9 *** empty log message *** 1999-07-19 07:54:37 +00:00
Jim Blandy
b89b25edd2 * tags.h (SCM_IMP, SCM_NCONSP, SCM_NCELLP, SCM_ITAG3, SCM_TYP3,
SCM_TYP7, SCM_TYP7S, SCM_TYP16, SCM_TYP16S, SCM_GCTYP16,
SCM_GCMARKP, SCM_GC8MARKP): Don't cast to int.  Either SCM or no
cast at all is more appropriate in every case.  At the moment, we
assume everywhere that SCM is an integral type anyway.
1999-07-19 07:54:12 +00:00
Jim Blandy
af68fb843b * snarf.h (SCM_CONST_LONG): Remove trailing semicolon from
definition.
1999-07-19 07:53:51 +00:00