Gary Houston
01f61221f4
* error.c, eval.c, load.c, stackchk.c: use scm_error not lgh_error.
...
* __scm.h (lgh_error): removed, lgh shouldn't be in libguile.
* stime.c, stime.h: use SCM_P method.
1996-10-12 21:59:40 +00:00
Jim Blandy
e886fe6292
*** empty log message ***
1996-10-11 08:59:59 +00:00
Jim Blandy
1e79802357
* eval.c (scm_nconc2last): Revert last change; there seems to be
...
other stuff going on here.
1996-10-11 08:59:38 +00:00
Jim Blandy
1eaceb6160
*** empty log message ***
1996-10-11 07:58:43 +00:00
Jim Blandy
d60cebe257
* vectors.c (scm_make_vector): Fill vectors with the undefined
...
value, to help make Guile Scheme code more portable to other
Schemes.
1996-10-11 07:58:13 +00:00
Jim Blandy
fe0c6dae02
* unif.c (scm_ra_set_contp): Localize `inc' declaration.
...
Clarifies flow.
1996-10-11 07:58:00 +00:00
Jim Blandy
8ce9450492
* symbols.c (scm_intern_obarray_soft, scm_sysintern): Doc fixes.
...
* symbols.h, tags.h: Doc fixes.
1996-10-11 07:57:35 +00:00
Jim Blandy
35457f1e68
* struct.c (scm_make_struct, scm_make_vtable_vtable): Use the
...
symbolic name for the tag, scm_tc3_cons_gloc, instead of just
saying "1".
1996-10-11 07:56:34 +00:00
Jim Blandy
a9d61ae5c2
* eval.c (scm_nconc2last): Make sure that each element of lst
...
(which is a list of argument lists, except for the tail) is a
proper list, i.e., finite and terminated by '().
1996-10-11 07:56:11 +00:00
Jim Blandy
4092027920
*** empty log message ***
1996-10-10 01:17:59 +00:00
Jim Blandy
604b0844c5
* numbers.c (scm_divbigint): When the remainder is zero, we don't
...
want to subtract it from the modulus; we just want to leave it
alone.
1996-10-10 01:12:02 +00:00
Jim Blandy
a857bf16c6
*** empty log message ***
1996-10-10 00:53:49 +00:00
Jim Blandy
e4d24f3af1
* async.c (scm_take_signal): Doc fixes.
1996-10-10 00:52:21 +00:00
Mikael Djurfeldt
e93ffe595c
*** empty log message ***
1996-10-06 22:17:15 +00:00
Mikael Djurfeldt
780d8c6e7f
* throw.h (scm_catch_apply): Removed the `lazyp' argument.
1996-10-06 22:16:43 +00:00
Mikael Djurfeldt
11702758ec
* throw.c (scm_catch_apply): Finished implementation of
...
`lazy-catch'.
1996-10-06 22:16:33 +00:00
Mikael Djurfeldt
a239e35b1c
* init.c (scm_boot_guile_1): Bugfix: i --> base in argument to
...
`scm_init_threads'.
1996-10-06 22:16:01 +00:00
Gary Houston
52f4f4d6aa
* filesys.c (scm_sys_select): move SCM_ALLOW_INTS past the sreturn
...
check.
(scm_init_filesys): set "i/o-extensions" feature.
include feature.h.
1996-10-06 06:31:43 +00:00
Jim Blandy
87735856c8
*** empty log message ***
1996-10-05 18:04:46 +00:00
Jim Blandy
c275ddc708
* init.c (scm_boot_guile): Add level of indirection to
...
scm_boot_guile_1() to ensure that stack base pointer is properly
initialized. There was no guarantee that variable i was the
highest/lowest variable on stack (i.e. the call frame of
scm_boot_guile was not completely protected from gc).
1996-10-05 17:47:51 +00:00
Jim Blandy
00fb6d20d9
*** empty log message ***
1996-10-05 17:35:53 +00:00
Jim Blandy
d7f6ebf6b7
* Makefile.in (root.o): Correct dependencies.
1996-10-05 17:22:18 +00:00
Mikael Djurfeldt
8b4a21d1fb
*** empty log message ***
1996-10-05 16:55:22 +00:00
Mikael Djurfeldt
f3b85c2682
* throw.h: Added prototypes for scm_catch_apply and
...
scm_lazy_catch.
1996-10-05 16:51:02 +00:00
Mikael Djurfeldt
e68b42c156
* continuations.c, debug.[ch], eval.c, gscm.c init.c, root.c,
...
throw.c: Renamed last_debug_info_frame -> scm_last_debug_frame.
* throw.c: Renamed scm_catch --> scm_catch_apply and added more
arguments. The motivation is that code in root.c needs catch
functionality, and we want to avoid code duplication.
New functions: scm_catch, scm_lazy_catch. These are wrappers for
scm_catch_apply. scm_lazy_catch is intended to introduce catch
handlers that run without popping the stack into the dynwind
chain.
1996-10-05 16:50:52 +00:00
Mikael Djurfeldt
033c7f3d09
* root.h: Added member last_debug_frame to root state.
...
Added #include "libguile/debug.h"
1996-10-05 16:50:38 +00:00
Mikael Djurfeldt
8938d022f5
* continuations.c, debug.[ch], eval.c, gscm.c init.c, root.c,
...
throw.c: Renamed last_debug_info_frame -> scm_last_debug_frame.
* root.c: Renamed `call-with-new-root' -->
`call-with-dynamic-root'.
(cwdr): Removed allocation of new root state. This should be done
separately by use of scm_make_root.
(scm_apply_with_dynamic_root): New function: Does what it
sounds like. Needed when spawning threads.
* throw.c: Renamed scm_catch --> scm_catch_apply and added more
arguments. The motivation is that code in root.c needs catch
functionality, and we want to avoid code duplication.
New functions: scm_catch, scm_lazy_catch. These are wrappers for
scm_catch_apply. scm_lazy_catch is intended to introduce catch
handlers that run without popping the stack into the dynwind
chain.
1996-10-05 16:50:27 +00:00
Mikael Djurfeldt
d7f901cf3e
* procs.h: Added declarations of scm_thunk_p.
1996-10-05 16:50:13 +00:00
Mikael Djurfeldt
44bd53b980
* procs.c: New function: scm_thunk_p.
1996-10-05 16:50:00 +00:00
Mikael Djurfeldt
4b5166ac27
* continuations.c, debug.[ch], eval.c, gscm.c init.c, root.c,
...
throw.c: Renamed last_debug_info_frame -> scm_last_debug_frame.
* init.c (scm_start_stack): Set initial root continuation number
to 0.
1996-10-05 16:49:49 +00:00
Mikael Djurfeldt
1646d37b71
* continuations.c, debug.[ch], eval.c, gscm.c init.c, root.c,
...
throw.c: Renamed last_debug_info_frame -> scm_last_debug_frame.
1996-10-05 16:49:31 +00:00
Mikael Djurfeldt
02ba201059
Updated.
1996-10-05 16:47:17 +00:00
Mikael Djurfeldt
644a5938a3
* Makefile.in: Added dependency entry for root.o.
1996-10-05 16:46:42 +00:00
Mikael Djurfeldt
5614fe04df
*** empty log message ***
1996-10-03 11:38:08 +00:00
Mikael Djurfeldt
f15347a0e0
* root.h (scm_root, scm_set_root): Decouple thread support details
...
by introducing the selector SCM_THREAD_LOCAL_DATA and the mutator
SCM_SET_THREAD_LOCAL_DATA.
1996-10-03 11:37:51 +00:00
Mikael Djurfeldt
2fab3faadb
* print.c (scm_iprlist): Bugfix: Added SCM_ECONSP tests in hare
...
and tortoise scanning loop.
1996-10-03 11:37:38 +00:00
Jim Blandy
c90c9685af
*** empty log message ***
1996-10-03 05:50:40 +00:00
Jim Blandy
ca84f2bb7e
* Makefile.in: Rebuild dependencies.
1996-10-03 05:50:25 +00:00
Jim Blandy
ed428d186b
* libguile.h: #include "libguile/print.h" before "smob.h", since
...
the latter uses the print_state structure.
1996-10-03 05:48:13 +00:00
Jim Blandy
ddef832786
* _scm.h: #include "print.h" here, since it seems to be used just
...
about everywhere.
* eval.c, gdbint.c, genio.h, numbers.h, smob.h, srcprop.c,
strports.c, unif.h: Don't #include "print.h".
1996-10-03 05:44:52 +00:00
Jim Blandy
b20b27776f
* throw.c (scm_ithrow): Use the correct variable when checking to
...
see if a given element of scm_dynwinds is a valid catch.
* throw.c (scm_ithrow): If scm_dynwinds has invalid list
structure, abort; don't just silently ignore the garbage.
1996-10-03 05:28:52 +00:00
Jim Blandy
3ff63ce645
* symbols.c (scm_intern_obarray_soft): Initialize the new symbol's
...
PROPS slot to '(), not #f; it's an empty alist.
1996-10-03 05:21:21 +00:00
Jim Blandy
2a8fecee87
* numbers.c (scm_istr2int): If the number is short (as most
...
numbers are), just call scm_small_istr2int to deal with it.
(scm_small_istr2int): New function, created by un-#ifdefing the
non-bignum version of scm_istr2int and renaming it.
1996-10-03 05:18:47 +00:00
Jim Blandy
df13742c0a
* list.c, list.h: Use SCM_P instead of CPP hair. Doc fixes.
...
* list.c (scm_member, scm_memv, scm_memq): Return #f if a matching
element is not found, as per R4RS.
1996-10-03 05:17:17 +00:00
Jim Blandy
e7247600b3
* aclocal.m4 (GUILE_STRUCT_UTIMBUF): Use AC_CACHE_CHECK instead of
...
AC_CACHE_VAL; #define UTIMBUF_NEEDS_POSIX outside AC_CACHE_VAL, so
it gets done whether or not the cache variable has a value.
1996-10-03 05:04:37 +00:00
Jim Blandy
3c205827ce
Distinguish #f and ().
...
* __scm.h: #undef SICP.
* pairs.h (SCM_EOL): Delete this definition, equating it with
SCM_BOOL_F.
* tags.h (SCM_EOL): Give it a new definition here; I think I found
the value it used to have. Doc fixes, too.
1996-10-03 05:02:36 +00:00
Mikael Djurfeldt
951241c9a5
*** empty log message ***
1996-10-01 03:22:15 +00:00
Mikael Djurfeldt
240b6fd11d
* feature.h (scm_loc_features): Removed external declaration.
...
(Bug fix suggested by Petr Adamek <adamek@mit.edu>.)
1996-10-01 03:21:12 +00:00
Mikael Djurfeldt
1dd25d5395
*** empty log message ***
1996-10-01 03:20:18 +00:00
Mikael Djurfeldt
fec4533406
* root.c: Added #include "genio.h", #include "smob.h", #include
...
"pairs.h", #include "throw.h", #include "dynwind.h", #include
"eval.h"
(scm_init_root): Added #include "root.x".
1996-10-01 03:19:58 +00:00