* posix.c: don't include <sys/select.h> or define macros for
[bpt/guile.git] / libguile / ChangeLog
index 3b0abfd..1ddc72c 100644 (file)
@@ -1,3 +1,163 @@
+Thu May 15 05:21:36 1997  Gary Houston  <ghouston@actrix.gen.nz>
+
+       * posix.c: don't include <sys/select.h> or define macros for
+       select, since they were not used in this file.
+
+*      * filesys.c (scm_select): make the fifth parameter microseconds,
+       not milliseconds.  let the fourth parameter be either a real value
+       or an integer or #f.  The first, second and third arguments can
+       now be vectors: the type of the corresponding return set will be
+       the same.
+       (set_element, get_element): new static procedures.
+
+Wed May 14 12:18:12 1997  Jim Blandy  <jimb@floss.cyclic.com>
+
+       * strports.c (scm_eval_string): New function.
+       (scm_eval_0str): Trivially re-implemented in terms of
+       scm_eval_string.
+       * strports.h (scm_eval_string): New extern decl.
+
+       * net_db.c (h_errno): Add extern decl for this.
+
+       * fports.c (local_pclose): New function.
+       (scm_pipob): Use it in the initializer here.
+
+       From Tim Pierce:
+       * net_db.c (scm_gethost, scm_getproto, scm_getnet, scm_getserv):
+       Use a meaningful error message when signalling an error.  For
+       this, scm_gethost must check h_errno rather than errno.
+
+Tue May 13 16:40:06 1997  Jim Blandy  <jimb@floss.cyclic.com>
+
+       * Makefile.in: Regenerated, using automake-1.1p.
+
+Tue May 13 04:34:52 1997  Gary Houston  <ghouston@actrix.gen.nz>
+
+       * socket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify,
+       not SCM_UNSPECIFIED.
+
+       * script.c (scm_compile_shell_switches): don't append (quit) if
+       interactive.
+       (scm_shell): call scm_exit_status and exit on the result of the
+       evaluation.
+
+Mon May 12 17:23:58 1997  Jim Blandy  <jimb@floss.cyclic.com>
+
+       Ensure that shared substrings are handled properly when passed to
+       a system call or other foreign function.  Many thanks to Tim
+       Pierce!
+       * symbols.h (SCM_COERCE_SUBSTR): new macro.
+       * filesys.c (scm_chmod, scm_rename, scm_delete_file, scm_mkdir,
+       scm_rmdir, scm_opendir, scm_chdir, scm_symlink, scm_readlink,
+       scm_lstat), ports.c (scm_sys_make_void_port), posix.c (scm_utime,
+       scm_putenv, scm_setlocale, scm_mknod), stime.c (setzone,
+       scm_strftime), vports.c (scm_make_soft_port), backtrace.c
+       (scm_display_error_message): use RO macros when strings may be RO.
+       * error.c (scm_error_scm), filesys.c (scm_chown, scm_chmod,
+       scm_rename, scm_delete_file, scm_mkdir, scm_rmdir, scm_opendir,
+       scm_chdir, scm_symlink, scm_readlink, scm_lstat), ioext.c
+       (scm_freopen, scm_duplicate_port, scm_fdopen), net_db.c
+       (scm_gethost, scm_getnet, scm_getproto, scm_getserv), ports.c
+       (scm_sys_make_void_port), posix.c (scm_getgrgid, scm_utime,
+       scm_setlocale, scm_mknod), stime.c (setzone, scm_strptime,
+       scm_strftime), vports.c (scm_make_soft_port): use
+       SCM_COERCE_SUBSTR to make sure shared substrings are
+       null-terminated.
+
+Mon May 12 15:33:10 1997  Jim Blandy  <jimb@totoro.cyclic.com>
+
+       * error.c (scm_error): Add newline to error message.
+
+       * init.c (scm_init_standard_ports): Doc fix.
+
+Thu May  8 14:38:01 1997  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * dynl-shl.c: Completely replaced with new code from Bernard
+       URBAN.
+
+       * script.c (scm_ice_9_already_loaded): New variable.
+       (scm_compile_shell_switches): Use it.
+
+Mon May  5 20:35:08 1997  Gary Houston  <ghouston@actrix.gen.nz>
+
+       * filesys.c (scm_input_waiting_p): add missing third argument to
+       scm_misc_error.
+
+       * stime.c (scm_localtime): copy the result of localtime before
+       calling gmtime in case they share a buffer.
+       (scm_localtime, scm_mktime): throw an error if neither HAVE_TM_ZONE
+       nor HAVE_TZNAME.
+
+Fri May  2 19:07:11 1997  Gary Houston  <ghouston@actrix.gen.nz>
+
+       * eq.c (scm_equal_p): use SCM_TYP7SD (y) not SCM_TYP7SD (x).
+       
+Thu May  1 17:01:45 1997  Jim Blandy  <jimb@floss.cyclic.com>
+
+       * Makefile.am (check-local): New target, which causes 'make check'
+       to run gh_test_c and gh_test_repl, with some trivial input.
+       * Makefile.in: Rgnrtd.
+
+Tue Apr 29 19:00:40 1997  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * dynl.c (print_dynl_obj): Indicate whether the dynamic object has
+       been unlinked.
+
+Mon Apr 28 06:10:14 1997  Gary Houston  <ghouston@actrix.gen.nz>
+
+       * async.c (scm_sys_tick_async_thunk): commented out.  I'm not
+       sure how this was supposed to work.
+       (scm_async_click): don't send SCM_TICK_SIGNAL.
+       (scm_init_async): don't initialize %tick-thunk.
+
+       * the following change doesn't affect the Scheme interface:
+       gc-thunk is called at the end of garbage collection.  however it's
+       no longer implemented by pretending it's a signal.
+       
+       * gc.c (scm_gc_end): don't call scm_take_signal.  instead mark the
+       system async corresponding to scm_gc_thunk.
+       * async.h: declare scm_gc_async.
+       * async.c (scm_sys_gc_async_thunk): apply the thunk named by
+       gc-thunk directly, instead of going through a signal handler.
+       (scm_gc_async): new variable, points to the GC system-async.
+       (scm_init_async): save the GC async as scm_gc_async instead
+       of using system_signal_asyncs.
+       (scm_gc_vcell): new variable, stores the gc-thunk vcell.
+
+Mon Apr 28 19:14:44 1997  Jim Blandy  <jimb@floss.cyclic.com>
+
+       * Makefile.am (libpath.h, cpp_err_symbols.c, cpp_sig_symbols.c):
+       Don't screw up if we're interrupted.
+       * Makefile.in: Regeneradet.
+
+Sun Apr 27 17:57:15 1997  Jim Blandy  <jimb@floss.cyclic.com>
+
+       * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
+
+       * Makefile.am (modincludedir): Use "ice-9" instead of "@module@";
+       we're not using AM_INIT_GUILE_MODULE any more.
+       * Makefile.in: Reneregated.
+
+Thu Apr 24 00:41:08 1997  Jim Blandy  <jimb@floss.cyclic.com>
+
+       Functions for finding variable bindings, grace à Tim Pierce.
+*      * gh_data.c (gh_lookup, gh_module_lookup): New functions.
+       * gh.h (gh_lookup, gh_module_lookup): New prototypes.
+
+       Get 'make dist' to work again.
+       * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
+       * Makefile.in: Regenerated, like a surry without a fringe on top.
+
+       Changes for reduced Guile distribution: one configure script,
+       no plugins.
+       * configure.in, configure: Removed.
+       * acconfig.h, acinclude.m4: Moved to parent directory, where the
+       real configure script lives.
+       * Makefile.in, scmconfig.h.in: Regenerated.
+
+       * init.c: #include "script.h", to get prototype for script.c's
+       init function.
+
 Wed Apr 23 21:25:39 1997  Jim Blandy  <jimb@floss.cyclic.com>
 
        * gh_data.c (gh_scm2newstr, gh_symbol2newstr): Use