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

21194 commits

Author SHA1 Message Date
Mikael Djurfeldt
2b475559ff Added `raise' to override-scheme-list. 1997-03-23 13:05:38 +00:00
Mikael Djurfeldt
2e3fbd8de1 * boot-9.scm: Check if variable use-emacs-interface is defined
before using it.
1997-03-23 13:04:49 +00:00
Gary Houston
bce074ee22 * boot-9.scm: define accessor procedures for the objects returned
by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
	passwd:name, where the first component is the name of the C structure
 	and the second is the unprefixed C member name.)
*	* boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
	setservent): no longer take an argument, it was bogus.
1997-03-22 18:26:32 +00:00
Gary Houston
ef12d978bb * net_db.c (scm_gethost): don't check HAVE_GETHOSTENT, since
configure doesn't know about it.
1997-03-22 18:24:31 +00:00
Mikael Djurfeldt
78f9f47bb5 * snarf.h, backtrace.c: Name change SCM_GLOBAL --> SCM_VCELL.
* snarf.h: Added new macros SCM_GLOBAL_SYMBOL and SCM_GLOBAL_VCELL
which defines C variables with global linkage.
1997-03-21 22:53:08 +00:00
Mikael Djurfeldt
d0104d7e04 * snarf.h (SCM_PROC1): Bugfix: Use (void) rather than (...) for
zero arg subrs.
1997-03-17 05:01:13 +00:00
Mikael Djurfeldt
c75e83b76e * eval.c (safe_setjmp): Temporarily use old setjmp until someone
has time to check why this doesn't work well with continuations.
1997-03-16 16:45:21 +00:00
Jim Blandy
e500ef7019 break up if if if 1997-03-16 10:20:45 +00:00
Gary Houston
81e2a2357c * boot-9.scm (scm-error): deleted, reimplemented in C. 1997-03-15 18:12:17 +00:00
Gary Houston
a574455a13 * posix.c (scm_uname): throw an error if uname fails instead
of returning errno.

* error.h (scm_errno, scm_perror): obsolete prototypes removed.

* error.c (err_head, scm_errno, scm_perror): obsolete procedures
removed.

* async.c (scm_ints_disabled): definition moved from error.c.
1997-03-15 18:10:35 +00:00
Mikael Djurfeldt
1d80497659 Regenerated. 1997-03-15 02:54:33 +00:00
Mikael Djurfeldt
6e25a63947 * guile.m4 (AM_INIT_GUILE_MODULE): Replaced AM_INIT_AUTOMAKE macro
with its definition and commented out definition of PACKAGE.  This
changed seemed necessary after having removed PACKAGE from
libguile/acconfig.h.
1997-03-15 02:50:02 +00:00
Mikael Djurfeldt
7f52af6567 Regenerated. 1997-03-15 01:15:22 +00:00
Mikael Djurfeldt
c6433b2a0d * acconfig.h: Removed PACKAGE.
* scmconfig.h.in: Regenerated.
1997-03-15 01:08:53 +00:00
Mikael Djurfeldt
3b0d0eb8ed * guile.m4 (AM_INIT_GUILE_MODULE): Replaced AM_INIT_AUTOMAKE macro
with its definition and commented out definition of PACKAGE.  This
changed seemed necessary after having removed PACKAGE from
libguile/acconfig.h.
1997-03-15 01:07:38 +00:00
Mikael Djurfeldt
dfa84eae7b * snarf.h: g++ says it's non-portable not to specify the first
argument in a varargs declaration.  I introduced the first
argument by using preprocessor conditionals.
1997-03-14 23:06:42 +00:00
Mark Galassi
3bc61059b4 little work on the tutorial 1997-03-13 23:13:56 +00:00
Gary Houston
ae2fa5bc81 * ioext.c (scm_read_delimited_x): use RO string macros for delims.
(scm_freopen): use RO string macros for filename and modes.
(scm_duplicate_port, scm_fdopen): use RO string macros for modes.

* posix.c (scm_getgrgid): simplify conversion of name to C string.
(scm_mknod): use RO string macros for path.

* socket.c (scm_fill_sockaddr, scm_send, scm_sendto):
use SCM_ROSTRINGP, SCM_ROCHARS, SCM_ROLENGTH.

* net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_getserv):
use SCM_ROSTRINGP and SCM_ROCHARS.
1997-03-13 21:54:02 +00:00
Mikael Djurfeldt
216fb10850 *** empty log message *** 1997-03-13 17:32:23 +00:00
Gary Houston
c37e0e559f * backtrace.c (scm_display_error_message): don't segv if message
is an immediate.

* error.h: prototype for scm_error_scm.

* error.c (scm_error_scm): new procedure, reimplements scm-error
in C and uses scm_error.
1997-03-13 00:22:20 +00:00
Mikael Djurfeldt
b1d24656ea * unif.c (scm_array_set_x): Cast ICHR (obj) to char if storing in
a scm_tc7_byvect.

* ramap.c (scm_ra_matchp, scm_ra_matchp, scm_array_fill_int, racp,
scm_array_index_map_x, raeql_1, scm_array_equal_p): Completed
support for byte vectors.
1997-03-11 15:03:06 +00:00
Mikael Djurfeldt
9fbaf27ccb * print.c (scm_iprin1): Limit number of vector elements printed
according to pstate->length.
1997-03-11 15:02:29 +00:00
Gary Houston
14de3b4206 * read.c (scm_read_hash_extend): make scm_read_hash_procedures a
pointer to the Scheme variable read-hash-procedures and intern it
in scm_init_read. Modify scm_read_hash_extend and
scm_get_hash_procedure to use the pointer.
1997-03-11 03:57:04 +00:00
Mikael Djurfeldt
88e863c90b Added setting of keyword type. 1997-03-10 15:21:56 +00:00
Mikael Djurfeldt
90268b356b * boot-9.scm (process-define-module): Modified to handle both
keywords and symbols.
1997-03-10 15:10:48 +00:00
Mikael Djurfeldt
04798288c6 * boot-9.scm (process-define-module): Modified to handle both
keywords and symbols.
1997-03-10 15:03:41 +00:00
Mikael Djurfeldt
220ff1eb2f * eval.c: Fixed comment to unmemocopy. 1997-03-10 14:18:47 +00:00
Gary Houston
c773377128 * read.h (SCM_N_READ_OPTIONS): increase SCM_N_READ_OPTIONS to 4.
(SCM_KEYWORD_STYLE): defined.

	* read.c (scm_read_opts): add a keywords option.  This isn't a
	boolean option, in case someone wants to add support for DSSSL
	keywords too.
	Setup scm_keyword_prefix symbol.
	(scm_lreadr): Only process keywords if SCM_KEYWORD_STYLE is
	set to 'prefix.
*	I've left keyword support disabled by default, since it doesn't
	seem to break the module system and it gives R4RS standard behaviour.
	It can be reactivated with (read-set! keywords 'prefix).
1997-03-10 06:49:15 +00:00
Mikael Djurfeldt
d2d82421a6 *** empty log message *** 1997-03-09 15:46:09 +00:00
Mikael Djurfeldt
2d42545d55 *** empty log message *** 1997-03-09 15:41:44 +00:00
Mikael Djurfeldt
b045e53287 *** empty log message *** 1997-03-09 15:30:04 +00:00
Mikael Djurfeldt
c6ed3e26f4 * arbiters.c (scm_make_arbiter): Bugfix: Must SCM_DEFER_INTS
before constructing arbiter.
1997-03-09 15:29:21 +00:00
Mikael Djurfeldt
70ad422696 * eval.c (scm_m_define): Bugfix: Check that the object is a
closure before setting the procedure property!
1997-03-09 15:29:11 +00:00
Mikael Djurfeldt
dfefe3a693 * ports.h: Removed prototype for scm_ungetc_char_ready_p.
* ports.c: Removed `ungetc-char-ready?'.
1997-03-09 15:28:50 +00:00
Gary Houston
e3473097c7 typo 1997-03-08 22:55:06 +00:00
Gary Houston
fed9c9a2d4 * read.c (scm_init_read): intitialise scm_read_hash_procedures
(idea from Mikael: make it a pair so scm_permanent object only
	called once.)
	(scm_read_hash_extend): don't call scm_permanent_object.
	(ideas from Mikael): if chr is already in the list, replace its
	procedure instead of appending it again.  If chr is #f, remove
	it from the list.
	(scm_get_hash_procedure): take CDR of scm_read_hash_procedures.
1997-03-08 22:52:56 +00:00
Gary Houston
00c34e457c * boot-9.scm: swap order of a procedure. 1997-03-08 19:57:08 +00:00
Gary Houston
75a97b9224 * slib.scm: update read usage.
* r4rs.scm: update primitive-load usage.
Don't define read-sharp.

* boot-9.scm: use read-hash-extend to install extra read syntax.
(read-sharp): removed.
Adjust usage of primitive-load-path, read, which no longer take
case_i or read-sharp arguments.
1997-03-08 19:02:20 +00:00
Gary Houston
deca31e173 * strports.c (scm_read_0str, scm_eval_0str): update scm_read usage.
* gdbint.c (gdb_read): update scm_lreadr usage.

	* load.h: update prototypes.

	* load.c (scm_primitive_load, scm_read_and_eval_x,
	scm_primitive_load_path): remove case_insensitive_p, sharp arguments.

	* read.h: add prototype for scm_read_hash_extend.  Change args for
	other prototypes.

	* read.c (scm_read_hash_procedures): new variable.
	(scm_read_hash_extend): new procedure.
	(scm_get_hash_procedure): new procedure.
*	(scm_lreadr): use scm_get_hash_procedure instead of an argument
	for extended # processing.
	(scm_read, scm_lreadr, scm_lreadrecparen, scm_lreadparen,
	scm_read_token): remove case_i, sharp arguments.  Change callers.

	* read.h (SCM_N_READ_OPTIONS): increase to 3.
	(SCM_CASE_INSENSITIVE_P): define.

	* read.c: add case-insensitive option to scm_read_opts.
*	(scm_read_token): use SCM_CASE_INSENSITIVE_P instead of an argument
	to determine whether to convert symbol case.
	(default_case_i): definition removed.
	* read.c (scm_read_token): if case_i, downcase ic before doing
	anything with it.
1997-03-08 18:58:24 +00:00
Mikael Djurfeldt
90d5e28037 * boot-9.scm: Added loading of session support module.
* boot-9.scm (beautify-user-module!): Don't add the root module
interface to the end of the use-list of the root module.
1997-03-08 15:14:00 +00:00
Mikael Djurfeldt
25a301d67d *** empty log message *** 1997-03-08 14:46:39 +00:00
Mikael Djurfeldt
d88094f957 * procs.c (make-cclo): New undocumented debugging procedure: Make
compiled closure with internal procedure PROC and length LENGTH.
Only compiled if GUILE_DEBUG is defined.
1997-03-08 14:45:16 +00:00
Mikael Djurfeldt
f843a84c09 * print.c: Put #ifdef GUILE_DEBUG around `current-pstate'. 1997-03-08 14:45:01 +00:00
Mikael Djurfeldt
fea6b4eaf2 * ports.c: Changed preprocessor symbol DEBUG --> GUILE_DEBUG. 1997-03-08 14:43:41 +00:00
Mikael Djurfeldt
fe57f6521f * debug.c: Only include `debug-hang' if GUILE_DEBUG is defined. 1997-03-08 14:43:29 +00:00
Mikael Djurfeldt
280e515a28 * configure.in: Added configuration option `guile-debug'.
Configure with --enable-guile-debug if you want a bunch of extra
functions used for debugging when developing Guile.

* acconfig.h: Added new preprocessor symbol GUILE_DEBUG.
1997-03-08 14:43:05 +00:00
Mikael Djurfeldt
71d3aa6de5 * eval.c (SCM_CEVAL): Added code sections for handling of rpsubrs
with 3 or more args internally to the evaluator.
1997-03-08 03:03:16 +00:00
Mikael Djurfeldt
63a3d814b0 *** empty log message *** 1997-03-08 02:30:04 +00:00
Mikael Djurfeldt
3b326536e7 * debug.scm: Removed `display-application'. (Replaced by
primitive procedure.)
1997-03-08 02:29:45 +00:00
Mikael Djurfeldt
cc7f066cd0 * boot-9.scm (beautify-user-module!): Don't add the root module
interface to the end of the use-list of the root module.
1997-03-08 02:29:35 +00:00