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

7322 commits

Author SHA1 Message Date
Mikael Djurfeldt
1f99d12bc0 *** empty log message *** 1996-08-23 16:18:21 +00:00
Gary Houston
76764db164 remove a change that shouldn't have slipped in. 1996-08-23 06:46:51 +00:00
Gary Houston
e17cba1666 * strerror.c: new file from Emacs' sysdep.c.
maybe configure should also check for sys_errlist.
1996-08-23 06:44:47 +00:00
Gary Houston
14a7e04c88 * configure, scmconfig.h.in: Updated, using autoconf and autoheader.
* Makefile.in (c_files): add strerror.c.

	* strerror.c: new file from Emacs' sysdep.c.
	maybe configure should also check for sys_errlist.

	* configure.in (AC_REPLACE_FUNCS): add strerror.
1996-08-23 06:40:56 +00:00
Mikael Djurfeldt
8755c9e4ca * debug.c (scm_init_debug): Added initialization for
scm_evaluator_traps.
1996-08-23 04:43:48 +00:00
Mikael Djurfeldt
37bac80058 *** empty log message *** 1996-08-23 04:43:24 +00:00
Mikael Djurfeldt
1efc5155a3 *** empty log message *** 1996-08-23 01:22:39 +00:00
Mikael Djurfeldt
faa6b3dfb6 * gscm.c, init.c, root.c, throw.c: Bug fixes:
last_debug_info_frame is now updated in all cases.
1996-08-23 01:21:07 +00:00
Mikael Djurfeldt
39f1ef511c * __scm.h, stackchk.h, stackchk.c: Guile now performs stack
checking.
1996-08-23 01:21:00 +00:00
Mikael Djurfeldt
b7ff98ddd6 * eval.c, print.h, print.c, read.h, read.c: Modifications to
run-time options.
1996-08-23 01:20:34 +00:00
Mikael Djurfeldt
fe90df5148 * options.h, options.c: Options now have documentation strings.
Also added a long explanatory commentary.
1996-08-23 01:20:00 +00:00
Mikael Djurfeldt
cbff1d8959 * debug.h, debug.c: Various name changes.
(Mostly prefixing with SCM_.)  Renamed "debug-options" -->
"debug-options-interface".  See commentary in options.c.

* options.h, options.c: Options now have documentation strings.
Also added a long explanatory commentary.
1996-08-23 01:19:52 +00:00
Mikael Djurfeldt
5e8d7fd4fa * debug.h, debug.c: Various name changes.
(Mostly prefixing with SCM_.)  Renamed "debug-options" -->
"debug-options-interface".  See commentary in options.c.
1996-08-23 01:19:03 +00:00
Mikael Djurfeldt
80c78696e8 * __scm.h, stackchk.h, stackchk.c: Guile now performs stack
checking.
1996-08-23 01:18:28 +00:00
Mikael Djurfeldt
a8959050f9 *** empty log message *** 1996-08-23 01:16:02 +00:00
Mikael Djurfeldt
043045f853 * error.c (scm_everr, scm_init_error): write now writes correct
number of characters.  Define %%system-error with SCM_SYMBOL.
1996-08-22 15:37:57 +00:00
Mikael Djurfeldt
5391bb635c *** empty log message *** 1996-08-22 15:37:35 +00:00
Mikael Djurfeldt
8d71b0ce98 *** empty log message *** 1996-08-20 17:12:43 +00:00
Mikael Djurfeldt
e137c6b3e3 * throw.c (jbsmob): Jump buffers are now correctly allocated.
(Bug found by A. Green.)
1996-08-20 17:12:15 +00:00
Mikael Djurfeldt
8a5ae618b6 * srcprop.h: New file: source properties. 1996-08-20 17:12:05 +00:00
Mikael Djurfeldt
575888bda8 * * srcprop.c: New file: source properties. 1996-08-20 17:11:59 +00:00
Mikael Djurfeldt
615aec77a3 * root.h: Added scm_source_whash among scm_sys_protects. 1996-08-20 17:11:43 +00:00
Mikael Djurfeldt
ba99801ada * read.h: Defines for reader options. 1996-08-20 17:11:34 +00:00
Mikael Djurfeldt
a16f6fe77f * * read.c: New procedure: scm_read_options 1996-08-20 17:11:25 +00:00
Mikael Djurfeldt
444b1d4d4a * print.h: Defines for print options. 1996-08-20 17:11:17 +00:00
Mikael Djurfeldt
e6e4c9af39 * * print.c: New procedure: scm_print_options 1996-08-20 17:11:03 +00:00
Mikael Djurfeldt
4625e44f7e * posix.c (scm_getpgrp): Cast pointer to getpgrp. 1996-08-20 17:10:18 +00:00
Mikael Djurfeldt
8ba7a00bfe * * objprop.c (scm_object_properties, scm_set_object_properties_x):
scm_object_properties shouldn't return handle.  `handle' now gets
	initialized in scm_set_object_properties_x.  scm_object_properties
	doesn't any longer create an entry in scm_object_whash.
1996-08-20 17:09:58 +00:00
Mikael Djurfeldt
6040c774a8 * libguile.h: Conditionally include debug.h 1996-08-20 17:09:47 +00:00
Mikael Djurfeldt
4e1caa796c * init.c (scm_restart_stack, scm_boot_guile): Added initialization
of SCM_DFRAME.  Added calls to scm_init_{debug,options,srcprop}.
1996-08-20 17:09:41 +00:00
Mikael Djurfeldt
4037ac5ffe * gc.c (scm_init_storage): Renamed scm_make_weak_hash_table
--> scm_make_weak_key_hash_table.
1996-08-20 17:09:31 +00:00
Mikael Djurfeldt
8d1e7f8c0d * eval.h: Renamed EVAL --> XEVAL. 1996-08-20 17:09:20 +00:00
Mikael Djurfeldt
6dbd0af506 * * eval.c: scm_m_set and SCM_IM_SET no longer supports multiple
argument pairs.  Extensive modifications to the debugging
	evaluator.  Added "SECTION:" commentaries to clarify what happens
	when, during double compilation.  Renamed EVALIMP --> EVALIM.
	Renamed EVAL --> XEVAL.  Removed function evalcar.  Defined
	evalcar to scm_eval_car.  Added explanation of "EVAL" symbols to
	the beginning of the file.  New procedure: scm_unmemocopy.
	Added some global state variables needed by the debugging
	evaluator: scm_ceval_ptr, last_debug_info_frame, debug_mode,
	check_entry, check_apply, check_exit, debug_options and
	evaluator_traps.  New acro: undefine.
1996-08-20 17:09:07 +00:00
Mikael Djurfeldt
c7ecd529c0 * debug.h: New file: low-level debugging support.
* libguile.h: Conditionally include debug.h
1996-08-20 17:08:53 +00:00
Mikael Djurfeldt
f0e9217a51 * * debug.c: New file: low-level debugging support. It also
includes support for debugging with gdb.  (The extensions to gdb
	are written by Per Bothner at Cygnus.)
1996-08-20 17:08:46 +00:00
Mikael Djurfeldt
f08df670d0 * continuations.c (scm_make_cont): Enlarged the #if 0 around
scm_relocate_chunk_to_heap.
1996-08-20 17:08:37 +00:00
Mikael Djurfeldt
074657b024 * * configure.in: Added user option for debugging support.
--enable-debug will include the debugging code into libguile.a.
1996-08-20 17:08:21 +00:00
Mikael Djurfeldt
f7438558ce * acconfig.h: Added symbols for debugging support. 1996-08-20 17:07:39 +00:00
Mikael Djurfeldt
1a413ab902 * * options.c: New file: handling of run time options.
* options.h: New file: handling of run time options.
1996-08-20 17:06:04 +00:00
Mikael Djurfeldt
627ecda7ca * __scm.h: Removed symbols for debugging support. 1996-08-20 17:05:27 +00:00
Mikael Djurfeldt
1b02bb8e48 * Makefile.in: Added {debug,options,srcprop}.{h,c} 1996-08-20 16:58:22 +00:00
Mikael Djurfeldt
0190d6835a *** empty log message *** 1996-08-20 16:57:13 +00:00
Jim Blandy
253efac34e *** empty log message *** 1996-08-15 07:25:53 +00:00
Jim Blandy
e94f0b3ca5 * libguile.h: #include "objprop.h"; I guess this was forgotten.
* libguile.h: #include "__scm.h" before testing the STDC_HEADERS
preprocessor symbol; "__scm.h" is where it might get #defined.
* __scm.h: Similar: #include <scmconfig.h> before testing
HAVE_LIMITS_H.
1996-08-15 07:22:51 +00:00
Jim Blandy
acc909e634 * init.c (scm_boot_guile): Add init_func argument; call
(*init_func) instead of calling scm_appinit; it's ucky to
hard-code names for the user's procedures.
* init.h (scm_boot_guile): Adjust declaration.

* init.h (scm_start_stack, scm_restart_stack): Use PROTO;
eliminate all the __STDC__ conditionals.
(scm_boot_guile): Add declaration.
* init.c (scm_start_stack, scm_restart_stack, scm_boot_guile):
Remove __STDC__ conditionals around function definitions; the
declarations in init.h will provide the same information, more
usefully.
1996-08-15 07:22:05 +00:00
Jim Blandy
47b44240b9 * init.c (scm_boot_guile): Don't call scm_init_rgx; it's a plugin,
and should be called by the final client.

* init.h (scm_start_stack, scm_restart_stack): Use PROTO;
eliminate all the __STDC__ conditionals.
(scm_boot_guile): Add declaration.
* init.c (scm_start_stack, scm_restart_stack, scm_boot_guile):
Remove __STDC__ conditionals around function definitions; the
declarations in init.h will provide the same information, more
usefully.

* init.c (scm_boot_guile): Add init_func argument; call
(*init_func) instead of calling scm_appinit; it's ucky to
hard-code names for the user's procedures.
* init.h (scm_boot_guile): Adjust declaration.
1996-08-15 07:21:17 +00:00
Jim Blandy
ac335fa89d * gc.h: Use the PROTO macro when declaring functions.
* gc.c: Use the PROTO macro when declaring static functions.
Remove the CPP hair around function definitions.
1996-08-15 07:18:28 +00:00
Jim Blandy
3b2b87606a * gc.h: Use the PROTO macro when declaring functions.
* gc.c: Use the PROTO macro when declaring static functions.
Remove the CPP hair around function definitions.

* gc.c (scm_init_storage): Initialize scm_asyncs.
1996-08-15 07:17:52 +00:00
Jim Blandy
b971d089b4 * libguile.h: #include "__scm.h" before testing the STDC_HEADERS
preprocessor symbol; "__scm.h" is where it might get #defined.
* __scm.h: Similar: #include <scmconfig.h> before testing
HAVE_LIMITS_H.

* __scm.h: It's HAVE_LIMITS_H, not HAVE_LIMITSH.

* __scm.h (PROTO): New macro, for declaring functions with
prototypes.

* __scm.h (SCM_SYSMISSING): When we don't have ENOSYS, don't
complain about it in the error message; the error message is
adequate without that note, and there's nothing the user can do
about it.
1996-08-15 07:17:00 +00:00
Jim Blandy
94f1e09898 * posix.c (scm_init_posix): Use numeric values, rather than CPP
symbols, when defining the scheme values R_OK, W_OK, X_OK, and F_OK.
The symbols aren't available on some systems, and I'm pretty sure
their values are fixed by common widespread practice.
* ioext.c (scm_init_ioext): Code here defined them too; remove it.
1996-08-08 08:28:21 +00:00