bpt/guile.git
27 years ago* continuations.c, continuations.h, debug.c, gc.c, init.c, root.c,
Mikael Djurfeldt [Mon, 14 Oct 1996 03:26:29 +0000 (03:26 +0000)]
* continuations.c, continuations.h, debug.c, gc.c, init.c, root.c,
stacks.c: Renamed regs --> scm_contregs.

27 years ago* print.h: Added selector SCM_PRINT_STATE.
Mikael Djurfeldt [Mon, 14 Oct 1996 03:26:21 +0000 (03:26 +0000)]
* print.h: Added selector SCM_PRINT_STATE.

* print.h: Added declarations for scm_make_print_state,
scm_free_print_state.

27 years ago* print.c (scm_free_print_state): Cleanup print state before
Mikael Djurfeldt [Mon, 14 Oct 1996 03:26:13 +0000 (03:26 +0000)]
* print.c (scm_free_print_state): Cleanup print state before
returning it to pool.  It is better to do it here than in
scm_prin1 since scm_prin1 is called often.

* print.c (make_print_state): Bugfix: Initialize pstate->ceiling.

* print.c: New functions: scm_make_print_state,
scm_free_print_state.

27 years ago* continuations.c, continuations.h, debug.c, gc.c, init.c, root.c,
Mikael Djurfeldt [Mon, 14 Oct 1996 03:25:59 +0000 (03:25 +0000)]
* continuations.c, continuations.h, debug.c, gc.c, init.c, root.c,
stacks.c: Renamed regs --> scm_contregs.

* init.c: Added #include "backtrace.h" and #include "stacks.h".
(scm_boot_guile_1): Added calls to scm_init_backtrace and
scm_init_stacks.

* init.c (scm_boot_guile_1): Moved scm_init_debug below
scm_init_eval.

27 years ago* eval.c: Added new debug options `maxdepth' and `indent'.
Mikael Djurfeldt [Mon, 14 Oct 1996 03:25:40 +0000 (03:25 +0000)]
* eval.c: Added new debug options `maxdepth' and `indent'.

27 years ago* debug.c, debug.h: Removed obsolete code.
Mikael Djurfeldt [Mon, 14 Oct 1996 03:25:31 +0000 (03:25 +0000)]
* debug.c, debug.h: Removed obsolete code.

* debug.h: Added debug object smob declaration and macro
definitions.

* debug.h: New debug options SCM_BACKTRACE_MAXDEPTH and
SCM_BACKTRACE_INDENT.

* debug.h: Small cleanup.

27 years ago * debug.c, debug.h: Removed obsolete code.
Mikael Djurfeldt [Mon, 14 Oct 1996 03:25:21 +0000 (03:25 +0000)]
* debug.c, debug.h: Removed obsolete code.

* continuations.c, continuations.h, debug.c, gc.c, init.c, root.c,
stacks.c: Renamed regs --> scm_contregs.

* * debug.c (scm_m_start_stack): New acro.

27 years ago* configure.in: Build with backtrace.o and stacks.o if debug
Mikael Djurfeldt [Mon, 14 Oct 1996 03:24:57 +0000 (03:24 +0000)]
* configure.in: Build with backtrace.o and stacks.o if debug
support enabled.

27 years ago* Makefile.in: Added entries for new files: backtrace.c,
Mikael Djurfeldt [Mon, 14 Oct 1996 03:24:16 +0000 (03:24 +0000)]
* Makefile.in: Added entries for new files: backtrace.c,
backtrace.h, stacks.c and stacks.h.

27 years ago* async.c: Moved `min' macro to _scm.h.
Mikael Djurfeldt [Mon, 14 Oct 1996 03:24:09 +0000 (03:24 +0000)]
* async.c: Moved `min' macro to _scm.h.

27 years ago* _scm.h (min, max): Added.
Mikael Djurfeldt [Mon, 14 Oct 1996 03:24:01 +0000 (03:24 +0000)]
* _scm.h (min, max): Added.

* async.c: Moved `min' macro to _scm.h.

27 years ago* __scm.h, alist.c, alist.h, append.c, append.h, appinit.c,
Jim Blandy [Mon, 14 Oct 1996 01:33:50 +0000 (01:33 +0000)]
* __scm.h, alist.c, alist.h, append.c, append.h, appinit.c,
arbiters.c, arbiters.h, async.c, async.h, boolean.c, boolean.h,
chars.c, chars.h, continuations.c, continuations.h, debug.c,
debug.h, dynwind.c, dynwind.h, eq.c, eq.h, error.c, eval.c,
eval.h, extchrs.c, extchrs.h, fdsocket.c, fdsocket.h, filesys.c,
filesys.h, fports.c, fports.h, gc.c, gdb_interface.h, gdbint.c,
gdbint.h, genio.c, genio.h, gscm.c, gscm.h, gsubr.c, gsubr.h,
hash.c, hash.h, hashtab.c, hashtab.h, init.c, ioext.c, ioext.h,
kw.c, kw.h, libguile.h, mallocs.c, mallocs.h, markers.c,
markers.h, mbstrings.c, mbstrings.h, numbers.c, numbers.h,
objprop.c, objprop.h, options.c, options.h, pairs.c, pairs.h,
ports.c, ports.h, posix.c, posix.h, print.c, print.h, procprop.c,
procprop.h, procs.c, procs.h, ramap.c, ramap.h, read.c, read.h,
root.c, scmsigs.c, scmsigs.h, sequences.c, sequences.h, simpos.c,
simpos.h, smob.c, socket.c, socket.h, srcprop.c, srcprop.h,
stackchk.c, stackchk.h, stime.c, stime.h, strings.c, strings.h,
strop.c, strop.h, strorder.c, strorder.h, strports.c, strports.h,
struct.c, struct.h, symbols.c, symbols.h, tag.c, tag.h, unif.c,
unif.h, variable.c, variable.h, vectors.c, vectors.h, version.c,
version.h, vports.c, vports.h, weaks.c, weaks.h: Use SCM_P to
declare functions with prototypes.  (Patch thanks to Marius
Vollmer.)

27 years ago* __scm.h, alist.c, alist.h, append.c, append.h, appinit.c,
Jim Blandy [Mon, 14 Oct 1996 01:28:01 +0000 (01:28 +0000)]
* __scm.h, alist.c, alist.h, append.c, append.h, appinit.c,
arbiters.c, arbiters.h, async.c, async.h, boolean.c, boolean.h,
chars.c, chars.h, continuations.c, continuations.h, debug.c,
debug.h, dynwind.c, dynwind.h, eq.c, eq.h, error.c, eval.c,
eval.h, extchrs.c, extchrs.h, fdsocket.c, fdsocket.h, filesys.c,
filesys.h, fports.c, fports.h, gc.c, gdb_interface.h, gdbint.c,
gdbint.h, genio.c, genio.h, gscm.c, gscm.h, gsubr.c, gsubr.h,
hash.c, hash.h, hashtab.c, hashtab.h, init.c, ioext.c, ioext.h,
kw.c, kw.h, libguile.h, mallocs.c, mallocs.h, markers.c,
markers.h, mbstrings.c, mbstrings.h, numbers.c, numbers.h,
objprop.c, objprop.h, options.c, options.h, pairs.c, pairs.h,
ports.c, ports.h, posix.c, posix.h, print.c, print.h, procprop.c,
procprop.h, procs.c, procs.h, ramap.c, ramap.h, read.c, read.h,
root.c, scmsigs.c, scmsigs.h, sequences.c, sequences.h, simpos.c,
simpos.h, smob.c, socket.c, socket.h, srcprop.c, srcprop.h,
stackchk.c, stackchk.h, stime.c, stime.h, strings.c, strings.h,
strop.c, strop.h, strorder.c, strorder.h, strports.c, strports.h,
struct.c, struct.h, symbols.c, symbols.h, tag.c, tag.h, unif.c,
unif.h, variable.c, variable.h, vectors.c, vectors.h, version.c,
version.h, vports.c, vports.h, weaks.c, weaks.h: Use SCM_P to
declare functions with prototypes.  (Patch thanks to Marius
Vollmer.)

More prototype-related changes from Marius Vollmer:
* gdb_interface.h: Wrapped header file in #ifdef/#endif
* gscm.h (gscm_run_scm): Added prototype for `initfn' paramter.
* ports.h (ptobfuns): Added prototypes. This means some casting in
fports.c.
* fports.c: Added casts for initializations, since the functions
are defined to take FILE * as their stream argument, not SCM.
* fdsocket.c, fdsocket.h: Made `init_addr_buffer' static.
* genio.c (scm_gen_puts): Changed `unsigned char *str_data' parameter
to `char *str_data' to conform to prototype.

27 years ago*** empty log message ***
Jim Blandy [Mon, 14 Oct 1996 00:58:55 +0000 (00:58 +0000)]
*** empty log message ***

27 years ago* eval.c (scm_nconc2last): Don't accept an empty list; apply must
Jim Blandy [Mon, 14 Oct 1996 00:58:30 +0000 (00:58 +0000)]
* eval.c (scm_nconc2last): Don't accept an empty list; apply must
be given at least two arguments.  Insist that lst's last element
be a list, but don't make any requirements of its predecessors.

27 years ago* error.c, eval.c, load.c, stackchk.c: use scm_error not lgh_error.
Gary Houston [Sat, 12 Oct 1996 21:59:40 +0000 (21:59 +0000)]
* 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.

27 years ago*** empty log message ***
Jim Blandy [Fri, 11 Oct 1996 20:14:11 +0000 (20:14 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Blandy [Fri, 11 Oct 1996 08:59:59 +0000 (08:59 +0000)]
*** empty log message ***

27 years ago* eval.c (scm_nconc2last): Revert last change; there seems to be
Jim Blandy [Fri, 11 Oct 1996 08:59:38 +0000 (08:59 +0000)]
* eval.c (scm_nconc2last): Revert last change; there seems to be
other stuff going on here.

27 years ago*** empty log message ***
Jim Blandy [Fri, 11 Oct 1996 07:58:43 +0000 (07:58 +0000)]
*** empty log message ***

27 years ago* vectors.c (scm_make_vector): Fill vectors with the undefined
Jim Blandy [Fri, 11 Oct 1996 07:58:13 +0000 (07:58 +0000)]
* vectors.c (scm_make_vector): Fill vectors with the undefined
value, to help make Guile Scheme code more portable to other
Schemes.

27 years ago* unif.c (scm_ra_set_contp): Localize `inc' declaration.
Jim Blandy [Fri, 11 Oct 1996 07:58:00 +0000 (07:58 +0000)]
* unif.c (scm_ra_set_contp): Localize `inc' declaration.
Clarifies flow.

27 years ago* symbols.c (scm_intern_obarray_soft, scm_sysintern): Doc fixes.
Jim Blandy [Fri, 11 Oct 1996 07:57:35 +0000 (07:57 +0000)]
* symbols.c (scm_intern_obarray_soft, scm_sysintern): Doc fixes.
* symbols.h, tags.h: Doc fixes.

27 years ago* struct.c (scm_make_struct, scm_make_vtable_vtable): Use the
Jim Blandy [Fri, 11 Oct 1996 07:56:34 +0000 (07:56 +0000)]
* 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".

27 years ago* eval.c (scm_nconc2last): Make sure that each element of lst
Jim Blandy [Fri, 11 Oct 1996 07:56:11 +0000 (07:56 +0000)]
* 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 '().

27 years ago* mapping.scm (hash-table-mapping): Explicitly request that
Jim Blandy [Fri, 11 Oct 1996 07:54:02 +0000 (07:54 +0000)]
* mapping.scm (hash-table-mapping): Explicitly request that
make-vector fill new vectors with '(); this will make it easier to
port Guile Scheme code to other Schemes.
* boot-9.scm (make-print-style, make-print-table): Same.

27 years ago* Makefile.in (TAGS tags): Find the source files in $srcdir.
Jim Blandy [Fri, 11 Oct 1996 07:48:44 +0000 (07:48 +0000)]
* Makefile.in (TAGS tags): Find the source files in $srcdir.

27 years ago*** empty log message ***
Jim Blandy [Thu, 10 Oct 1996 17:15:34 +0000 (17:15 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Blandy [Thu, 10 Oct 1996 01:17:59 +0000 (01:17 +0000)]
*** empty log message ***

27 years ago* numbers.c (scm_divbigint): When the remainder is zero, we don't
Jim Blandy [Thu, 10 Oct 1996 01:12:02 +0000 (01:12 +0000)]
* 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.

27 years agoGive the snapshot location in other friendly formats.
Jim Blandy [Thu, 10 Oct 1996 01:07:31 +0000 (01:07 +0000)]
Give the snapshot location in other friendly formats.

27 years agoChange unpacking instructions to agree with what actually appears in
Jim Blandy [Thu, 10 Oct 1996 01:06:56 +0000 (01:06 +0000)]
Change unpacking instructions to agree with what actually appears in
the snapshots.

27 years ago*** empty log message ***
Jim Blandy [Thu, 10 Oct 1996 00:53:49 +0000 (00:53 +0000)]
*** empty log message ***

27 years ago* configure.in: If we don't have a port to the current machine,
Jim Blandy [Thu, 10 Oct 1996 00:53:39 +0000 (00:53 +0000)]
* configure.in: If we don't have a port to the current machine,
just arrange for 'make all' to do nothing.  Don't abort
configuration.  We need a fully configured directory tree in order
to make distributions and the like.

27 years ago* Makefile.in (distfiles): Update for the new directory structure.
Jim Blandy [Thu, 10 Oct 1996 00:53:04 +0000 (00:53 +0000)]
* Makefile.in (distfiles): Update for the new directory structure.
(plugin_distfiles, md_distfiles, time_distfiles): New variables.
(dist-dir): New target; use all the above to build a subtree of a
distribution.
(manifest): Target deleted.

27 years ago* async.c (scm_take_signal): Doc fixes.
Jim Blandy [Thu, 10 Oct 1996 00:52:21 +0000 (00:52 +0000)]
* async.c (scm_take_signal): Doc fixes.

27 years ago* Makefile.in (DISTFILES): Add AUTHORS and aclocal.m4.
Jim Blandy [Thu, 10 Oct 1996 00:51:59 +0000 (00:51 +0000)]
* Makefile.in (DISTFILES): Add AUTHORS and aclocal.m4.

27 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 6 Oct 1996 22:17:15 +0000 (22:17 +0000)]
*** empty log message ***

27 years ago* throw.h (scm_catch_apply): Removed the `lazyp' argument.
Mikael Djurfeldt [Sun, 6 Oct 1996 22:16:43 +0000 (22:16 +0000)]
* throw.h (scm_catch_apply): Removed the `lazyp' argument.

27 years ago* throw.c (scm_catch_apply): Finished implementation of
Mikael Djurfeldt [Sun, 6 Oct 1996 22:16:33 +0000 (22:16 +0000)]
* throw.c (scm_catch_apply): Finished implementation of
`lazy-catch'.

27 years ago* init.c (scm_boot_guile_1): Bugfix: i --> base in argument to
Mikael Djurfeldt [Sun, 6 Oct 1996 22:16:01 +0000 (22:16 +0000)]
* init.c (scm_boot_guile_1): Bugfix: i --> base in argument to
`scm_init_threads'.

27 years ago* boot-9.scm (load): rewritten again.
Gary Houston [Sun, 6 Oct 1996 06:33:11 +0000 (06:33 +0000)]
* boot-9.scm (load): rewritten again.
Append "." to the default %load-path.
(feature?): new function: checks for a symbol in the features list.
(module-local-variable): remove apparently useless (caddr (list m v
...))
(%load-announce): minor formatting change.
(file-exists?): use access? if posix is featured.
(file-is-directory?): use stat if i/o-extensions is featured.
(try-module-autoload module-name): use file-exists? before
file-is-directory?

27 years ago* filesys.c (scm_sys_select): move SCM_ALLOW_INTS past the sreturn
Gary Houston [Sun, 6 Oct 1996 06:31:43 +0000 (06:31 +0000)]
* filesys.c (scm_sys_select): move SCM_ALLOW_INTS past the sreturn
check.
(scm_init_filesys): set "i/o-extensions" feature.
include feature.h.

27 years ago*** empty log message ***
Jim Blandy [Sat, 5 Oct 1996 18:04:46 +0000 (18:04 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 5 Oct 1996 17:48:40 +0000 (17:48 +0000)]
*** empty log message ***

27 years ago* threads.scm: New file. Modified from the Cygnus-r0.3
Mikael Djurfeldt [Sat, 5 Oct 1996 17:48:22 +0000 (17:48 +0000)]
* threads.scm: New file.  Modified from the Cygnus-r0.3
distribution.

27 years ago* boot-9.scm: Added conditional loading of threads.scm.
Mikael Djurfeldt [Sat, 5 Oct 1996 17:47:59 +0000 (17:47 +0000)]
* boot-9.scm: Added conditional loading of threads.scm.

27 years ago* init.c (scm_boot_guile): Add level of indirection to
Jim Blandy [Sat, 5 Oct 1996 17:47:51 +0000 (17:47 +0000)]
* 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).

27 years ago*** empty log message ***
Jim Blandy [Sat, 5 Oct 1996 17:35:53 +0000 (17:35 +0000)]
*** empty log message ***

27 years ago* Makefile.in (root.o): Correct dependencies.
Jim Blandy [Sat, 5 Oct 1996 17:22:18 +0000 (17:22 +0000)]
* Makefile.in (root.o): Correct dependencies.

27 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 5 Oct 1996 16:55:22 +0000 (16:55 +0000)]
*** empty log message ***

27 years ago* boot-9.scm (error-catching-loop): Added handling of key
Mikael Djurfeldt [Sat, 5 Oct 1996 16:55:06 +0000 (16:55 +0000)]
* boot-9.scm (error-catching-loop): Added handling of key
`switch-repl'.

* boot-9.scm: Name change %%bad-throw --> bad-throw.

27 years ago* throw.h: Added prototypes for scm_catch_apply and
Mikael Djurfeldt [Sat, 5 Oct 1996 16:51:02 +0000 (16:51 +0000)]
* throw.h: Added prototypes for scm_catch_apply and
scm_lazy_catch.

27 years ago* continuations.c, debug.[ch], eval.c, gscm.c init.c, root.c,
Mikael Djurfeldt [Sat, 5 Oct 1996 16:50:52 +0000 (16:50 +0000)]
* 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.

27 years ago* root.h: Added member last_debug_frame to root state.
Mikael Djurfeldt [Sat, 5 Oct 1996 16:50:38 +0000 (16:50 +0000)]
* root.h: Added member last_debug_frame to root state.
Added #include "libguile/debug.h"

27 years ago* continuations.c, debug.[ch], eval.c, gscm.c init.c, root.c,
Mikael Djurfeldt [Sat, 5 Oct 1996 16:50:27 +0000 (16:50 +0000)]
* 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.

27 years ago* procs.h: Added declarations of scm_thunk_p.
Mikael Djurfeldt [Sat, 5 Oct 1996 16:50:13 +0000 (16:50 +0000)]
* procs.h: Added declarations of scm_thunk_p.

27 years ago* procs.c: New function: scm_thunk_p.
Mikael Djurfeldt [Sat, 5 Oct 1996 16:50:00 +0000 (16:50 +0000)]
* procs.c: New function: scm_thunk_p.

27 years ago* continuations.c, debug.[ch], eval.c, gscm.c init.c, root.c,
Mikael Djurfeldt [Sat, 5 Oct 1996 16:49:49 +0000 (16:49 +0000)]
* 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.

27 years ago* continuations.c, debug.[ch], eval.c, gscm.c init.c, root.c,
Mikael Djurfeldt [Sat, 5 Oct 1996 16:49:31 +0000 (16:49 +0000)]
* continuations.c, debug.[ch], eval.c, gscm.c init.c, root.c,
throw.c: Renamed last_debug_info_frame -> scm_last_debug_frame.

27 years agoUpdated.
Mikael Djurfeldt [Sat, 5 Oct 1996 16:47:17 +0000 (16:47 +0000)]
Updated.

27 years ago* Makefile.in: Added dependency entry for root.o.
Mikael Djurfeldt [Sat, 5 Oct 1996 16:46:42 +0000 (16:46 +0000)]
* Makefile.in: Added dependency entry for root.o.

27 years ago*** empty log message ***
Jim Blandy [Fri, 4 Oct 1996 21:19:06 +0000 (21:19 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Blandy [Thu, 3 Oct 1996 23:15:24 +0000 (23:15 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Jim Blandy [Thu, 3 Oct 1996 20:50:42 +0000 (20:50 +0000)]
*** empty log message ***

27 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 3 Oct 1996 11:38:08 +0000 (11:38 +0000)]
*** empty log message ***

27 years ago* root.h (scm_root, scm_set_root): Decouple thread support details
Mikael Djurfeldt [Thu, 3 Oct 1996 11:37:51 +0000 (11:37 +0000)]
* 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.

27 years ago* print.c (scm_iprlist): Bugfix: Added SCM_ECONSP tests in hare
Mikael Djurfeldt [Thu, 3 Oct 1996 11:37:38 +0000 (11:37 +0000)]
* print.c (scm_iprlist): Bugfix: Added SCM_ECONSP tests in hare
and tortoise scanning loop.

27 years ago*** empty log message ***
Jim Blandy [Thu, 3 Oct 1996 05:50:40 +0000 (05:50 +0000)]
*** empty log message ***

27 years ago* Makefile.in: Rebuild dependencies.
Jim Blandy [Thu, 3 Oct 1996 05:50:25 +0000 (05:50 +0000)]
* Makefile.in: Rebuild dependencies.

27 years ago* libguile.h: #include "libguile/print.h" before "smob.h", since
Jim Blandy [Thu, 3 Oct 1996 05:48:13 +0000 (05:48 +0000)]
* libguile.h: #include "libguile/print.h" before "smob.h", since
the latter uses the print_state structure.

27 years ago* boot-9.scm (make-record-type, record-constructor): Don't assume
Jim Blandy [Thu, 3 Oct 1996 05:47:12 +0000 (05:47 +0000)]
* boot-9.scm (make-record-type, record-constructor): Don't assume
the empty list is false when parsing the argument list.

27 years ago* _scm.h: #include "print.h" here, since it seems to be used just
Jim Blandy [Thu, 3 Oct 1996 05:44:52 +0000 (05:44 +0000)]
* _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".

27 years ago* throw.c (scm_ithrow): Use the correct variable when checking to
Jim Blandy [Thu, 3 Oct 1996 05:28:52 +0000 (05:28 +0000)]
* 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.

27 years ago* symbols.c (scm_intern_obarray_soft): Initialize the new symbol's
Jim Blandy [Thu, 3 Oct 1996 05:21:21 +0000 (05:21 +0000)]
* symbols.c (scm_intern_obarray_soft): Initialize the new symbol's
PROPS slot to '(), not #f; it's an empty alist.

27 years ago* numbers.c (scm_istr2int): If the number is short (as most
Jim Blandy [Thu, 3 Oct 1996 05:18:47 +0000 (05:18 +0000)]
* 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.

27 years ago* list.c, list.h: Use SCM_P instead of CPP hair. Doc fixes.
Jim Blandy [Thu, 3 Oct 1996 05:17:17 +0000 (05:17 +0000)]
* 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.

27 years ago* aclocal.m4 (GUILE_STRUCT_UTIMBUF): Use AC_CACHE_CHECK instead of
Jim Blandy [Thu, 3 Oct 1996 05:04:37 +0000 (05:04 +0000)]
* 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.

27 years agoDistinguish #f and ().
Jim Blandy [Thu, 3 Oct 1996 05:02:36 +0000 (05:02 +0000)]
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.

27 years ago*** empty log message ***
Jim Blandy [Wed, 2 Oct 1996 05:55:50 +0000 (05:55 +0000)]
*** empty log message ***

27 years agoNew file: From the Cygnus r0.3-release.
Mikael Djurfeldt [Tue, 1 Oct 1996 03:34:42 +0000 (03:34 +0000)]
New file: From the Cygnus r0.3-release.

27 years agoNew files: From the Cygnus r0.3 release with some modification.
Mikael Djurfeldt [Tue, 1 Oct 1996 03:29:52 +0000 (03:29 +0000)]
New files: From the Cygnus r0.3 release with some modification.

27 years agoNew files: From the Cygnus r0.3 release.
Mikael Djurfeldt [Tue, 1 Oct 1996 03:27:35 +0000 (03:27 +0000)]
New files: From the Cygnus r0.3 release.

27 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 1 Oct 1996 03:22:15 +0000 (03:22 +0000)]
*** empty log message ***

27 years ago* feature.h (scm_loc_features): Removed external declaration.
Mikael Djurfeldt [Tue, 1 Oct 1996 03:21:12 +0000 (03:21 +0000)]
* feature.h (scm_loc_features): Removed external declaration.
(Bug fix suggested by Petr Adamek <adamek@mit.edu>.)

27 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 1 Oct 1996 03:20:18 +0000 (03:20 +0000)]
*** empty log message ***

27 years ago* root.c: Added #include "genio.h", #include "smob.h", #include
Mikael Djurfeldt [Tue, 1 Oct 1996 03:19:58 +0000 (03:19 +0000)]
* 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".

27 years ago* throw.c: Added #include "stackchk.h"
Mikael Djurfeldt [Tue, 1 Oct 1996 03:19:48 +0000 (03:19 +0000)]
* throw.c: Added #include "stackchk.h"
(scm_catch): Changed SCM_DEFER_INTS --> SCM_REDEFER_INTS and
SCM_ALLOW_INTS --> SCM_REALLOW_INTS.  This is so that scm_catch
can be used in scm_call_with_new_root; Added reenabling of stack
checking when catching a throw.

27 years ago* scmsigs.c: Define `signal' to be `pthread_signal' if using
Mikael Djurfeldt [Tue, 1 Oct 1996 03:19:39 +0000 (03:19 +0000)]
* scmsigs.c: Define `signal' to be `pthread_signal' if using
mit-pthreads.

27 years agoUpdated.
Mikael Djurfeldt [Tue, 1 Oct 1996 03:19:32 +0000 (03:19 +0000)]
Updated.

27 years ago* * root.c, root.h: Added root smob.
Mikael Djurfeldt [Tue, 1 Oct 1996 03:19:22 +0000 (03:19 +0000)]
* * root.c, root.h: Added root smob.
(cwdr, scm_call_with_new_root, scm_dynamic_root, scm_app_wdr): New
functions: Implements dynamic roots mostly according to spec in
SCM manual.  Main difference is that the second argument is a
throw handler rather than an error "thunk".

* root.h: Added declaration of scm_init_root.

27 years ago * gc.c (scm_igc): Added SCM_THREAD_CRITICAL_SECTION_START and
Mikael Djurfeldt [Tue, 1 Oct 1996 03:19:14 +0000 (03:19 +0000)]
* gc.c (scm_igc): Added SCM_THREAD_CRITICAL_SECTION_START and
SCM_THREAD_CRITICAL_SECTION_END.  Moved marking of root data to
root.c:mark_root.

* * root.c, root.h: Added root smob.
(cwdr, scm_call_with_new_root, scm_dynamic_root, scm_app_wdr): New
functions: Implements dynamic roots mostly according to spec in
SCM manual.  Main difference is that the second argument is a
throw handler rather than an error "thunk".

* 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".

27 years ago* libguile.h: Added #include "libguile/../threads/threads.h".
Mikael Djurfeldt [Tue, 1 Oct 1996 03:19:02 +0000 (03:19 +0000)]
* libguile.h: Added #include "libguile/../threads/threads.h".
(This is a kludge to get thread support working.  This should be
fixed.)

27 years ago* init.c (scm_start_stack): Call `scm_make_root' to dynamically
Mikael Djurfeldt [Tue, 1 Oct 1996 03:18:54 +0000 (03:18 +0000)]
* init.c (scm_start_stack): Call `scm_make_root' to dynamically
allocate the basic dynamic root object.
(scm_boot_guile): Added call to scm_init_root.

27 years ago* gc.c (scm_igc): Added SCM_THREAD_CRITICAL_SECTION_START and
Mikael Djurfeldt [Tue, 1 Oct 1996 03:18:43 +0000 (03:18 +0000)]
* gc.c (scm_igc): Added SCM_THREAD_CRITICAL_SECTION_START and
SCM_THREAD_CRITICAL_SECTION_END.  Moved marking of root data to
root.c:mark_root.

27 years ago* feature.c (scm_init_feature): Added threads feature (needs to be
Mikael Djurfeldt [Tue, 1 Oct 1996 03:18:32 +0000 (03:18 +0000)]
* feature.c (scm_init_feature): Added threads feature (needs to be
initialized here, since features doesn't exist when
scm_init_threads is called).

27 years ago* configure.in, acconfig.h: Added flags for thread support.
Mikael Djurfeldt [Tue, 1 Oct 1996 03:16:21 +0000 (03:16 +0000)]
* configure.in, acconfig.h: Added flags for thread support.

27 years ago* _scm.h: Added conditional #include "threads.h"
Mikael Djurfeldt [Tue, 1 Oct 1996 03:15:33 +0000 (03:15 +0000)]
* _scm.h: Added conditional #include "threads.h"

27 years ago* __scm.h (SCM_ASYNC_TICK): Added call to macro
Mikael Djurfeldt [Tue, 1 Oct 1996 03:15:04 +0000 (03:15 +0000)]
* __scm.h (SCM_ASYNC_TICK): Added call to macro
SCM_THREADS_SWITCHING_CODE.

27 years agoAdded dependency root.o: root.x.
Mikael Djurfeldt [Tue, 1 Oct 1996 03:10:11 +0000 (03:10 +0000)]
Added dependency root.o: root.x.