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

21194 commits

Author SHA1 Message Date
Jim Blandy
07304dad8a *** empty log message *** 1996-11-28 03:10:48 +00:00
Jim Blandy
4335fcae70 (ancillary): List ChangeLog-scm, not ChangeLog.scm. 1996-11-28 03:05:30 +00:00
Marius Vollmer
0aa1e432c0 * eval.c (scm_definedp): Use top_level_lookup_closure_var
and not top_level_lookup_thunk_var.
1996-11-27 23:29:29 +00:00
Marius Vollmer
4417e7a720 *** empty log message *** 1996-11-27 23:27:56 +00:00
Marius Vollmer
b1818df3c3 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
(slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
 function, use it accordingly.
1996-11-27 13:32:02 +00:00
Marius Vollmer
84abd24334 *** empty log message *** 1996-11-27 13:29:16 +00:00
Marius Vollmer
2c330db22c * eval.c (scm_definedp): Incompatibly changed to be a builtin
Scheme function, instead of syntax. Single argument is now a
symbol.
1996-11-27 13:28:38 +00:00
Marius Vollmer
ee33f8faed * eval.c (scm_definedp): Incompatibly changed to be a builtin
Scheme function, instead of syntax. Single argument is now a
symbol.
1996-11-27 13:22:58 +00:00
Jim Blandy
935aa279f6 *** empty log message *** 1996-11-21 16:28:51 +00:00
Jim Blandy
dc19d1d29a It's an "eval closure", not an "eval thunk." A thunk is a
function of no arguments.
* root.h (struct scm_root_state): Renamed
top_level_lookup_closure_var from top_level_lookup_thunk_var.
(scm_top_level_lookup_closure_var): Renamed from
scm_top_level_lookup_thunk_var.
* root.c (mark_root): Uses changed.
* gdbint.c (gdb_eval, gdb_binding): Uses changed.
* init.c (scm_start_stack): Uses changed.
* eval.c (scm_eval, scm_eval_x, scm_init_eval): Rename uses.
Change scheme-visible name to *top-level-lookup-closure* from
*top-level-lookup-thunk*.
1996-11-21 16:28:39 +00:00
Jim Blandy
a31bc6fbba *** empty log message *** 1996-11-21 16:16:54 +00:00
Jim Blandy
31d50456c4 It's an "eval closure", not an "eval thunk." A thunk is a
function of no arguments.
* boot-9.scm (module-type): Rename module field.
(make-module, eval-in-module, make-root-module,
set-current-module): Uses changed.
(module-eval-closure, set-module-eval-closure!,
root-module-closure): Renamed from module-eval-thunk,
set-module-eval-thunk!, root-module-thunk.
(set-current-module): Change uses of *top-level-lookup-thunk* to
*top-level-eval-closure*.
1996-11-21 16:16:46 +00:00
Jim Blandy
4b28e0b88b Renamed to ChangeLog-scm from ChangeLog.scm, so it won't interfere with
my greps any more.
1996-11-21 16:03:02 +00:00
Jim Blandy
3763761c89 *** empty log message *** 1996-11-20 21:06:20 +00:00
Jim Blandy
84d219d43d * slib.scm (slib-parent-dir): Use string-length, not length.
(Thanks to Bernard Urban.)
1996-11-20 21:06:05 +00:00
Jim Blandy
ce4a361d99 * gc.c (scm_igc, scm_gc_mark): Round up the size of the stack we
pass to scm_mark_locations.  (Thanks to Aubrey Jaffer.)
1996-11-20 21:03:38 +00:00
Jim Blandy
b8cae82a7e *** empty log message *** 1996-11-10 22:43:46 +00:00
Jim Blandy
8efd05bf65 * configure.in, Makefile.in: The 'install' and 'uninstall'
Makefile targets should be affected by whether or not we have a
port to the current target architecture too, not just the 'all'
target.
1996-11-10 22:42:02 +00:00
Jim Blandy
8715b33106 *** empty log message *** 1996-11-10 20:48:17 +00:00
Jim Blandy
8f9a51ac66 *** empty log message *** 1996-11-10 20:46:46 +00:00
Jim Blandy
cf2d30f60f * gc.c (struct scm_heap_seg_data): Doc fixes.
* gc.c (scm_gc_sweep): Prepend each segment's free cells to its
freelist, rather than wiping out the old value.  (Thanks to Marius
Vollmer.)

* gc.c (which_seg, scm_map_free_list, scm_newcell_count,
scm_check_freelist, scm_debug_newcell): New functions and
variables, for debugging freelist problems.
* pairs.h (SCM_NEWCELL): New debugging version added.
* gc.h (scm_debug_newcell): Added extern declaration, used by
debugging version of SCM_NEWCELL.
1996-11-10 20:46:21 +00:00
Jim Blandy
88256b2e0e * gc.c (which_seg, scm_map_free_list, scm_newcell_count,
scm_check_freelist, scm_debug_newcell): New functions and
variables, for debugging freelist problems.
* pairs.h (SCM_NEWCELL): New debugging version added.
* gc.h (scm_debug_newcell): Added extern declaration, used by
debugging version of SCM_NEWCELL.
1996-11-10 20:46:11 +00:00
Jim Blandy
448a3bc269 spelling fix 1996-11-10 03:11:46 +00:00
Jim Blandy
6d6e18a918 *** empty log message *** 1996-11-10 02:10:48 +00:00
Jim Blandy
8512dea604 *** empty log message *** 1996-11-10 00:15:36 +00:00
Jim Blandy
7471fb031f * fports.c (scm_stdio_to_port, scm_open_file): Set the port's
pointer to the stdio stream before calling scm_setbuf0, so the
latter will be able to retrieve it.  I'm surprised this didn't
segfault earlier.  (Thanks to Christopher Lee.)
1996-11-10 00:15:21 +00:00
Jim Blandy
3594582bd1 On some systems <libc.h> conflicts with <unistd.h>, and should not
be #included at all.
* aclocal.m4 (GUILE_HEADER_LIBC_WITH_UNISTD): New autoconf macro.
* configure.in: Call it.
* acconfig.h (LIBC_H_WITH_UNISTD_H): New CPP symbol.
* posix.c, filesys.c: Use its results to decide whether or not to
#include <libc.h>.
* configure, scmconfig.h.in: Rebuilt with autoconf and
autoheader.
1996-11-10 00:14:45 +00:00
Jim Blandy
deb95d7196 *** empty log message *** 1996-11-09 23:32:27 +00:00
Jim Blandy
1a1945be8c *** empty log message *** 1996-11-09 23:30:58 +00:00
Mikael Djurfeldt
23e89125a2 *** empty log message *** 1996-11-06 15:05:20 +00:00
Mikael Djurfeldt
97a307b982 * throw.c (scm_lazy_catch, scm_ithrow): Completed implementation
of `lazy-catch'.
1996-11-06 15:05:00 +00:00
Mikael Djurfeldt
7ad737b69b *** empty log message *** 1996-11-02 20:54:28 +00:00
Mikael Djurfeldt
f6f88e0d94 * * stacks.c, stacks.h (scm_make_stack): Now takes arbitrary
number of stack narrowing specifier pairs.  The first specifier in
	a pair controls inner border, the second the outer border.  A
	number means cut that number of frames, a procedure object means
	cut until that object is found in operator position in a frame.
1996-11-02 20:54:19 +00:00
Mikael Djurfeldt
308277cbb4 * root.c (cwdr): Bugfix. 1996-11-02 20:54:08 +00:00
Mikael Djurfeldt
ac74fc22fb * * read.c: Recording of positions disabled by default. 1996-11-02 20:54:03 +00:00
Mikael Djurfeldt
ecdb5eb2f1 * * procs.c (scm_closure_p): New function. 1996-11-02 20:53:58 +00:00
Mikael Djurfeldt
9ee5fce45d * * posix.c (scm_tmpnam): New function. 1996-11-02 20:53:53 +00:00
Mikael Djurfeldt
19a18b54db * * load.c, load.h (scm_read_and_eval_x): New function. 1996-11-02 20:53:47 +00:00
Mikael Djurfeldt
b35d06a4bb * load.c: Added #include "throw.h".
*	* load.c, load.h (scm_read_and_eval_x): New function.
1996-11-02 20:53:42 +00:00
Mikael Djurfeldt
11f77bfcc9 * * eval.c: Renamed debug option "deval" to "debug". 1996-11-02 20:53:32 +00:00
Mikael Djurfeldt
44b5e41db4 * * debug.h: Changed semantics of debug option "backtrace". This
option now only indicates whether we want automatic backtrace at
	an error.
1996-11-02 20:53:24 +00:00
Mikael Djurfeldt
e38ecb055c * debug.c (scm_m_start_stack): Bugfix: Use SCM_ECONSP instead of
SCM_CONSP since this is a macro!; Set vframe.prev to
scm_last_debug_frame instead of 0.  In this way we can look
"above" the virtual start stack frame if we wish.
(scm_debug_hang): New function: Useful for debugging Guile in
certain tricky situations.  Will probably be removed later...
1996-11-02 20:53:18 +00:00
Mikael Djurfeldt
e412e180d4 * _scm.h: Added #ifndef around definition of macros min and max. 1996-11-02 20:52:58 +00:00
Mikael Djurfeldt
25d3ee9d80 * __scm.h: Added hooks for threads to plugin to in ints protection
macros: SCM_THREAD_DEFER, SCM_THREAD_ALLOW, SCM_THREAD_REDEFER,
 	SCM_THREAD_ALLOW_1, SCM_THREAD_ALLOW_2.  Motivation: We don't want
 	the main code in these macros duplicated and spread over multiple
 	files. Renamed SCM_THREADS_SWITCHING_CODE ->
 	SCM_THREAD_SWITCHING_CODE.
1996-11-02 20:52:39 +00:00
Mikael Djurfeldt
c51bfd813b * slib.scm (slib:load): Adapt to the new behavior of
primitive-load: It doesn't any longer try both with and without
".scm" extension.  (We don't want to use %search-load-path here.)
1996-11-02 20:51:44 +00:00
Mikael Djurfeldt
61529d8e6e * * boot-9.scm: The debugging evaluator and recording of positions
aren't enabled by default any longer (they are switched on in
	debug.scm).  But during development we want to have them also

	* debug.scm: Enable debugging evaluator and recording of positions
	by default.
1996-11-02 20:51:37 +00:00
Mikael Djurfeldt
21ed9efe51 * * boot-9.scm: The debugging evaluator and recording of positions
aren't enabled by default any longer (they are switched on in
	debug.scm).  But during development we want to have them also
	*inside* boot-9.scm.  Therefore, two lines are added at the
	beginning of boot-9.scm to enable these.
1996-11-02 20:51:30 +00:00
Mikael Djurfeldt
fd7932d3a6 * libguile.h: #include "libguile/libpath.h" 1996-10-30 23:36:51 +00:00
Mikael Djurfeldt
5d09ff4ea7 * ports.c: #include "filesys.h"
(scm_char_ready_p): input_waiting renamed and moved to filesys.c.
1996-10-30 23:35:06 +00:00
Mikael Djurfeldt
3feedb0011 * load.c, load.h (scm_sys_package_data_dir): New function. 1996-10-30 23:34:33 +00:00