Mikael Djurfeldt
9b7def6677
* boot-9.scm: Renamed %%throw-handler-default -->
...
throw-handler-default.
((handle-system-error key . arg-list)): Changed the way errors are
reported.
((scm-style-repl)): Wrap up the call to eval in a start-stack
acro.
((error-catching-loop thunk)): Introduce a lazy-catch into
error-catching-loop so that the stack can be captured.
1996-10-14 03:28:26 +00:00
Mikael Djurfeldt
49bc24feca
* symbols.c (scm_sym2ovcell): Fixed documentation.
1996-10-14 03:27:11 +00:00
Mikael Djurfeldt
02aa5a4c2f
* init.c: Added #include "backtrace.h" and #include "stacks.h".
...
(scm_boot_guile_1): Added calls to scm_init_backtrace and
scm_init_stacks.
* Makefile.in: Added entries for new files: backtrace.c,
backtrace.h, stacks.c and stacks.h.
1996-10-14 03:26:57 +00:00
Mikael Djurfeldt
782d171cf0
* continuations.c, continuations.h, debug.c, gc.c, init.c, root.c,
...
stacks.c: Renamed regs --> scm_contregs.
* Makefile.in: Added entries for new files: backtrace.c,
backtrace.h, stacks.c and stacks.h.
1996-10-14 03:26:51 +00:00
Mikael Djurfeldt
34019bd652
* srcprop.c, srcprop.h: Made scm_i_filename, scm_i_copy,
...
scm_i_line, scm_i_column and scm_i_breakpoint global.
1996-10-14 03:26:44 +00:00
Mikael Djurfeldt
a4645b977f
* srcprop.c (scm_source_properties, scm_set_source_properties_x,
...
s_set_source_property_x): Check that first argument is a pair or a
memoized object.
* srcprop.c, srcprop.h: Made scm_i_filename, scm_i_copy,
scm_i_line, scm_i_column and scm_i_breakpoint global.
1996-10-14 03:26:37 +00:00
Mikael Djurfeldt
0db18cf45a
* continuations.c, continuations.h, debug.c, gc.c, init.c, root.c,
...
stacks.c: Renamed regs --> scm_contregs.
1996-10-14 03:26:29 +00:00
Mikael Djurfeldt
6cb66921f6
* print.h: Added selector SCM_PRINT_STATE.
...
* print.h: Added declarations for scm_make_print_state,
scm_free_print_state.
1996-10-14 03:26:21 +00:00
Mikael Djurfeldt
698c029502
* 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.
1996-10-14 03:26:13 +00:00
Mikael Djurfeldt
0e44fcca98
* 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.
1996-10-14 03:25:59 +00:00
Mikael Djurfeldt
4e646a03d6
* eval.c: Added new debug options maxdepth' and
indent'.
1996-10-14 03:25:40 +00:00
Mikael Djurfeldt
fcbb26b21f
* 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.
1996-10-14 03:25:31 +00:00
Mikael Djurfeldt
bfe3154c01
* 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.
1996-10-14 03:25:21 +00:00
Mikael Djurfeldt
9ab71a53ad
* configure.in: Build with backtrace.o and stacks.o if debug
...
support enabled.
1996-10-14 03:24:57 +00:00
Mikael Djurfeldt
ab4f3efbfc
* Makefile.in: Added entries for new files: backtrace.c,
...
backtrace.h, stacks.c and stacks.h.
1996-10-14 03:24:16 +00:00
Mikael Djurfeldt
8cac820d17
* async.c: Moved `min' macro to _scm.h.
1996-10-14 03:24:09 +00:00
Mikael Djurfeldt
462a6f1f0c
* _scm.h (min, max): Added.
...
* async.c: Moved `min' macro to _scm.h.
1996-10-14 03:24:01 +00:00
Jim Blandy
1cc91f1b29
* __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.)
1996-10-14 01:33:50 +00:00
Jim Blandy
1717856b4e
* __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.
1996-10-14 01:28:01 +00:00
Jim Blandy
0682f7ab1d
*** empty log message ***
1996-10-14 00:58:55 +00:00
Jim Blandy
b145c1720c
* 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.
1996-10-14 00:58:30 +00:00
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
9518bec3de
*** empty log message ***
1996-10-11 20:14:11 +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
95b6af86e8
* 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.
1996-10-11 07:54:02 +00:00
Jim Blandy
f0bfd97ebb
* Makefile.in (TAGS tags): Find the source files in $srcdir.
1996-10-11 07:48:44 +00:00
Jim Blandy
8828ddcab9
*** empty log message ***
1996-10-10 17:15:34 +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
fb21f20278
Give the snapshot location in other friendly formats.
1996-10-10 01:07:31 +00:00
Jim Blandy
cd2e9eb5db
Change unpacking instructions to agree with what actually appears in
...
the snapshots.
1996-10-10 01:06:56 +00:00
Jim Blandy
a857bf16c6
*** empty log message ***
1996-10-10 00:53:49 +00:00
Jim Blandy
015464927f
* 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.
1996-10-10 00:53:39 +00:00
Jim Blandy
e093029958
* 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.
1996-10-10 00:53:04 +00:00
Jim Blandy
e4d24f3af1
* async.c (scm_take_signal): Doc fixes.
1996-10-10 00:52:21 +00:00
Jim Blandy
91088deffc
* Makefile.in (DISTFILES): Add AUTHORS and aclocal.m4.
1996-10-10 00:51:59 +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
6fa8995c39
* 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?
1996-10-06 06:33:11 +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