X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/b142c81de498c730fcd70f8b632973e85096d632..e173f7f18b5207df2c49bf6da5890eb8f1861a5e:/libguile/ChangeLog diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 5f77298f8..eaa524858 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,5 +1,206 @@ +1999-10-11 Mikael Djurfeldt + + * ioext.c: Added #include "feature.h". + + These changes turns `delay' into a memoizing macro. This is + because it may be expanded before evaluation if it occurs at the + beginning of a body. (Thanks to Lauri Alanko.) + + * eval.c, eval.h (scm_sym_delay): New global symbol. + + * tags.h (SCM_IM_DELAY): New immediate symbol. + + * print.c (scm_isymnames): Printed representation. + + * eval.c (unmemocopy, SCM_CEVAL): Handle SCM_IM_DELAY. + (scm_m_delay): Turned into a memoizing macro. + + * Makefile.am (libguile_la_LDFLAGS): Bumped libguile version. + +1999-10-11 Jim Blandy + + * gh_data.c (gh_ints2scm, gh_doubles2scm): Make sure elements are + protected from GC while building the vector. (Thanks to Bernard + Urban and Greg Harvey.) + +1999-10-08 Mikael Djurfeldt + + * throw.c (handler_message): Display backtrace if backtraces + enabled. + +1999-10-05 Jim Blandy + + * Makefile.in, scmconfig.h.in: Deleted from CVS repository. Run + the autogen.sh script to create generated files like these. + + * numbers.c (scm_string_to_number): Signal an error if radix is + less than two. (Thanks to Jorgen Schaefer.) + + * print.c (scm_write, scm_display, scm_newline, scm_write_char): + Don't assume that the current output port is valid. Somebody + might close it. (Thanks to Bernard Urban.) + +1999-10-02 Jim Blandy + + * scmconfig.h.in: Regenerated. + + * Makefile.am (EXTRA_libguile_la_SOURCES): fix typo. + +Mon Sep 27 17:15:14 1999 Greg J. Badros + + * __scm.h: Fix a bunch of macros that were missing do-while(0) + sandwiches. + + * debug.c, eval.c: Fix buggy uses of SCM_ALLOW_INTS (missing + semicolon) exposed by the above change. + +1999-09-27 Greg J. Badros + + * stacks.c: Avoid compiler warning re: unitialized var. + + * scmconfig.h.in: Added DEBUG_FREELIST + + * pairs.h: Fix macro that was not do-while(0) sandwiched. + + * gc.h, gc.c: Added scm_gc_set_debug_check_freelist_x, + scm_map_free_list + +1999-09-23 Gary Houston + + * ioext.c (scm_init_ioext): enable "i/o-extensions" feature here + instead of in scm_init_filesys. + + * init.c (scm_boot_guile_1): don't call scm_init_posix or + scm_init_filesys unless HAVE_POSIX is defined. + don't call scm_init_netdb or scm_init_socket unless + HAVE_NETWORKING is defined. + + * Makefile.am (EXTRA_libguile_la_SOURCES): filesys.c, posix.c, + net_db.c, socket.c: moved here from libguile_la_SOURCES. + +1999-09-25 Jim Blandy + + * root.c (scm_make_root): Initialize all the fields of the new + root. GC could happen any time, you know. (Thanks to Greg + Harvey.) + + * numbers.c (scm_number_to_string): Signal an error if radix is + less than two. (Thanks to Jorgen Schaefer.) + + * Makefile.am (EXTRA_libguile_la_SOURCES): Add memmove.c here, + so automake will actually generate rules for it. + * Makefile.in: Regenerated. + +1999-09-21 Jim Blandy + + * backtrace.c: #include "_scm.h" before testing whether + HAVE_UNISTD_H is #defined. + +1999-09-20 Jim Blandy + + * read.c (scm_read): Don't assume that scm_cur_inp is always open. + * ports.c (scm_read_char): Same. + * ioext.c (scm_read_line): Same. + (Thanks to Bernard Urban.) + +1999-09-21 Mikael Djurfeldt + + * vectors.c (scm_vector_move_right_x): Bugfix: Remove side effect + in SCM_ASSERT macro. + numbers.c: Removed #ifndef SCM_RECKLESS at places where type + checking may invoke a generic. (Thanks to Michael Livshin.) + + * __scm.h (SCM_WTA_DISPATCH_0, SCM_GASSERT0): New macros. + + * numbers.c (scm_max, scm_min, scm_sum, scm_difference, + scm_product, scm_divide): Bugfix: Don't pass SCM_UNDEFINED to the + generic function if the asubr is called with only one arg. + +1999-09-20 Gary Houston + + * scmsigs.c (scm_sigaction): add SA_RESTART to flags only if + HAVE_RESTARTABLE_SYSCALLS. + (scm_init_scmsigs): use siginterrupt if it's available. not + everyone who has restartable syscalls has SA_RESTART it seems. + + (scm_sigaction): use scm_num2long/scm_long2num when converting + SIG_DFL/SIG_IGN, in case it doesn't fit in an INUM. use + scm_integer_p to test the type. + +1999-09-18 Gary Houston + + * _scm.h, scmsigs.c: replace HAVE_RESTARTS with + HAVE_RESTARTABLE_SYSCALLS. + + * strports.c (scm_strport_to_string): create the string from + pt->read_buf instead of an expression that evaluates to the + same thing. + + * gdbint.c (gdb_print): don't just use SCM_CHARS to get a C string + from the port: the port's buffer may not be NUL terminated. + +1999-09-16 Mikael Djurfeldt + + * Makefile.am (.c.x): Added missing semicolon after `false'. + +1999-09-15 Mikael Djurfeldt + + * print.c (scm_iprin1): Turn `write' and `display' into + primitive generics and use their associated generic functions in + scm_iprin1 for GOOPS objects. + + * backtrace.c: #include if present. + +1999-09-14 Jim Blandy + + * Makefile.am (.c.x): Don't create a subshell just to delete the + .x file and return false. + * Makefile.in: Regenerated. + +1999-09-13 Mikael Djurfeldt + + * feature.c (scm_create_hook): New function. Replaces + scm_make_named_hook which is now deprecated. + (scm_make_hook_with_name): New primitive. + (print_hook): Hooks now print in a fancy way. + +1999-09-12 Mikael Djurfeldt + + * __scm.h, backtrace.c, backtrace.h, debug.c, debug.h, dynl-dld.c, + dynwind.c, dynwind.h, eval.h, evalext.c, evalext.h, feature.c, + feature.h, hashtab.c, hashtab.h, objects.c, objects.h, print.c, + procs.c, procs.h, smob.c, smob.h, srcprop.c, strorder.c, struct.c, + struct.h: Updated copyright notices. + + * srcprop.c (scm_source_property): Bugfix: Use SCM_NECONSP instead + of SCM_NCONSP. (Thanks to Greg Badros.) + + * gsubr.c (scm_make_gsubr): Use scm_make_subr_opt for creation of + the self subr. + + * eval.c, debug.h (SCM_BACKTRACE_WIDTH): New debug option: width. + + * backtrace.c: Keep backtraces within specified width by + adaptively adjusting fancy printing parameters and cut output if + necessary. + (scm_display_application): Check args. + 1999-09-11 Jim Blandy + Change the name of the objects returned by OPENDIR from + "directory" to "directory stream". A predicate named "directory?" + would be confusing. + * filesys.c (scm_directory_stream_p): Renamed from scm_directory_p. + At the Scheme level, "directory?" -> "directory-stream?". + (scm_dir_print): Use the phrase "directory stream" in printed form. + * filesys.h (scm_directory_stream_p): Prototype renamed + accordingly. + + * Makefile.am (CLEANFILES): Remove versiondat.h; that should only + be removed by `make distclean', since it's generated by configure. + * Makefile.in: Regenerated. + (Thanks to Robert Bihlmeyer.) + * strop.c (scm_substring_move_x): Signal an error if start1 doesn't come before end1. (Thanks to Karoly Lorentey). @@ -8,6 +209,7 @@ * version.c (scm_libguile_config_stamp): Deleted. See corresponding change to ../ice-9/boot-9.scm. + * versiondat.h.in: Remove definition for GUILE_STAMP. * version.h: Delete prototype. * Makefile.in: Regenerated.