+1997-12-08 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * filesys.c (set_element): Return file descriptor.
+ (fill_select_type): Return the highest file descriptor.
+ (scm_select): Tell select about the highest file descriptor. On
+ some systems the SELECT_SET_SIZE can be as much as 128 bytes.
+ Therefore the extra overhead for calculating the maximum fd seems
+ to be more than compensated. Is this correct? In any case,
+ scm_internal_select will be much faster with this info.
+ (scm_select, fill_select_type, set_element): Don't accept any kind
+ of object in the file descriptor list or vector.
+
+1997-12-07 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * iselect.c (finalize_fd_sets): Bugfix.
+
+1997-12-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * filesys.c (scm_select): Don't use SCM_DEFER_INTS/SCM_ALLOW_INTS
+ when using scm_internal_select (since we might switch to another
+ thread).
+
+Sun Dec 7 01:43:56 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * simpos.c (scm_system): always define: use sysmissing if not
+ available. Check for HAVE_SYSTEM instead of _Windows (does
+ Windows lack system or does it have an unusable one?).
+ Check for error conditions -1 and 127. Use SCM_DEFER_INTS.
+ Let the argument be optional: if not supplied, call system(NULL).
+
+ * ports.c (scm_close_port): relax the type check from OPPORTP to
+ PORTP; closing a closed port is allowed.
+
+1997-12-04 Tim Pierce <twp@ppp39.Nantucket.net>
+
+ * fports.c (scm_fgets): Return if the last char in a chunk is
+ newline. When fgets returns a string whose length is `size-1', it
+ is ambiguous whether a whole line was retrieved, so we must check
+ explicitly whether a line terminator is present.
+
+1997-12-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * print.h (SCM_COERCE_OUTPORT): Check that the object is a pair
+ before taking the CDR. (Thanks to Harald Meland.)
+
+ * filesys.c (scm_stat): Slightly optimized.
+
+Wed Dec 3 12:23:06 1997 Jim Blandy <jimb@totoro.red-bean.com>
+
+ * ports.c (scm_close_port): Make sure the port is open before
+ trying to close it.
+
+ * guile-snarf.in: Pass args through to gcc in a way that preserves
+ whitespace boundaries. (Thanks to Greg Badros.)
+
+1997-12-02 Tim Pierce <twp@skepsis.com>
+
+ * stacks.c (scm_frame_procedure): Reverse the logic in the return
+ statement. (Thanks to Doug Evans for pointing this out.)
+
+1997-12-01 Tim Pierce <twp@skepsis.com>
+
+ * scmconfig.h.in: Regenerated for USCORE change in ../acconfig.h.
+
+Sun Nov 30 11:29:18 1997 Mikael Djurfeldt <mdj@kenneth>
+
+ * coop-defs.h (struct coop_t): Renamed errno --> _errno to prevent
+ errno macro expansion of this field name. (errno is a C
+ preprocessor macro on some systems.)
+
+1997-11-29 Tim Pierce <twp@skepsis.com>
+
+ * iselect.c: Doc fix.
+
+Sat Nov 29 01:16:53 1997 Mikael Djurfeldt <mdj@kenneth>
+
+ * init.c (scm_start_stack): Removed initialization of
+ scm_the_last_stack_var.
+
+ * backtrace.h: Declare scm_the_last_stack_var.
+
+ * backtrace.c: Define scm_the_last_stack_var.
+
+ * root.c (mark_root): Don't mark the_last_stack_var.
+
+ * root.h (scm_root_state): Removed the_last_stack_var.
+
+ * throw.c: Added #include "fluids.h"
+ (ss_handler): `the-last-stack' is now a fluid.
+
+ * (backtrace.h, backtrace.c, throw.c): Renamed the_last_stack_var
+ --> the_last_stack_fluid.
+
+ * backtrace.c: Added #include "fluids.h"
+ (scm_init_backtrace): Initialize `the-last-stack' to a fluid.
+ (scm_backtrace): `the-last-stack' is now a fluid.
+
+ * init.c (scm_boot_guile_1): Moved call to scm_init_backtrace
+ after scm_init_fluids.
+
+1997-11-28 Tim Pierce <twp@skepsis.com>
+
+ * iselect.c: #ifdef USE_THREADS around thread-related includes.
+
+ * dynl-dl.c (sysdep_dynl_func): Check both USCORE and
+ DLSYM_ADDS_USCORE to decide whether to add an underscore.
+
+1997-11-28 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * iselect.c (coop_next_runnable_thread,
+ coop_wait_for_runnable_thread): Disable interrupts so that no
+ async is executed before a potential error_revive.
+ (scm_internal_select): Disable interrupts during the parts of the
+ code which manipulate the sleep queue and the file descriptors.
+
+1997-11-27 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * Makefile.am: Added iselect.c and iselect.h.
+
+ * coop.c (coop_qinit): Initialize fields used by
+ scm_internal_select.
+ (coop_qget, coop_qget, coop_tmp_queue): Made global.
+ (coop_next_runnable_thread): If GUILE_ISELECT enabled, use
+ replacement in iselect.c.
+ (coop_mutex_lock, coop_condition_variable_wait, coop_abort,
+ coop_join): If GUILE_ISELECT enabled, use
+ coop_wait_for_runnable_thread instead of
+ coop_next_runnable_thread.
+ (usleep, sleep): New replacements for system functions if
+ GUILE_ISELECT is enabled.
+
+ * coop-threads.h: Declare coop_wait_for_runnable_thread.
+
+ * coop-defs.h (coop_t): Added fields used by scm_internal_select.
+
+ * filesys.c: Added #include "iselect.h". Moved FD-macros to
+ iselect.h. Implement Scheme level `select' using
+ scm_internal_select. (See NEWS.)
+
+ * genio.c (scm_getc): Block with scm_internal_select. (See NEWS.)
+
+ * init.c: Call scm_init_iselect.
+
+ * iselect.h, iselect.c: New files. Implements
+ scm_internal_select. (See NEWS.)
+
+1997-11-27 Tim Pierce <twp@skepsis.com>
+
+ Fix a memory leak in scm_read_line and a type cast bug in the ptob.
+ * fports.c (scm_fgets): Use malloc/free rather than scm_must_malloc
+ and scm_must_free, since ultimately the string returned will be copied
+ by scm_makfrom0str anyway. Also, read any characters that may have
+ been pushed onto the port with scm_ungetc.
+ * ports.c (scm_generic_fgets): Same as for scm_fgets.
+ * ioext.c (scm_read_line): Free string after Guilifying it.
+ * ports.h (scm_ptobfuns): fgets method returns a char *, not a char.
+
+1997-11-26 Anthony Green <green@hoser.cygnus.com>
+
+ * gh_data.c (gh_set_substr): Strings can be longer than 256 bytes.
+
+ * gh.h: Safely wrap prototypes for c++ usage.
+
+1997-11-25 Mark Galassi <rosalia@cygnus.com>
+
+ * gh_test_repl.c (main_prog): changed invocation of gh_repl() to
+ gh_repl (argc, argv).
+
+1997-11-24 Mark Galassi <rosalia@nis.lanl.gov>
+
+ * gh_init.c (gh_repl): modified gh_repl() to accept argc and argv
+ and to invoke scm_shell().
+ (gh_launch_pad): took out the loading of boot-9.scm from here,
+ since it is probably best to let the user control that. In fact,
+ gh_repl() now invokes scm_shell() which does that.
+
+1997-11-23 Mark Galassi <rosalia@cygnus.com>
+
+ * gh_test_repl.c (main_prog): added argc and argv to the gh_repl()
+ invocation.
+
+1997-11-22 Tim Pierce <twp@twp.tezcat.com>
+
+ * dynl-dl.c (sysdep_dynl_func): Fix memory leak created by
+ yesterday's underscore patch. (Thanks to Marius Vollmer for
+ spotting this.)
+
+1997-11-21 Tim Pierce <twp@twp.tezcat.com>
+
+ * dynl-dl.c (sysdep_dynl_func): Prepend symb with underscore if
+ DLSYM_ADDS_USCORE is not defined.
+
+1997-11-17 Mark Galassi <rosalia@nis.lanl.gov>
+
+ * gh_data.c (gh_uniform_vector_length):
+ (gh_uniform_vector_ref): started implementing the uniform types in
+ the gh_ interface.
+
+1997-11-06 Mikael Djurfeldt <mdj@nada.kth.se>
+
+ * regex-posix.c (scm_free_regex_t): Return size of regex_t instead
+ of 0; size_t --> scm_size_t. Thanks to Bernard Urban.
+
+1997-10-26 Mikael Djurfeldt <mdj@nada.kth.se>
+
+ * scmconfig.h.in: Updated (HAVE_LIBTERMCAP was added when
+ configure.in was changed).
+
+Sun Oct 26 02:20:11 1997 Jim Blandy <jimb@totoro.red-bean.com>
+
+ * Makefile.am (modinclude_HEADERS): Include readline.h here.
+ * Makefile.in: Regenerated.
+
+1997-10-25 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * print.h (SCM_COERCE_OPORT): Renamed to SCM_COERCE_OUTPORT. An
+ OPORT is an `open' port, not an output port.
+
+ * filesys.c (scm_close, set_element, get_element, scm_chown,
+ scm_chmod, scm_stat, scm_truncate_file, scm_fcntl, scm_fsync): Use
+ SCM_COERCE_OUTPORT to cope with the printstate/port magic.
+ * ports.c (scm_port_revealed, scm_set_port_revealed_x,
+ scm_close_port, scm_port_line, scm_set_port_line_x,
+ scm_port_column, scm_set_port_column_x, scm_port_filename,
+ scm_set_port_filename_x, scm_port_mode,
+ scm_close_all_ports_except, scm_set_current_output_port,
+ scm_set_current_error_port): Likewise
+ * ioext.c (scm_redirect_port, scm_dup_to_fdes, scm_freopen,
+ scm_ftell, scm_fileno, scm_isatty_p, scm_primitive_move_to_fdes):
+ Likewise
+ * posix.c (scm_ttyname, scm_tcgetpgrp, scm_tcsetpgrp): Likewise
+ * backtrace.c (display_backtrace_body): Likewise
+ * fports (scm_setvbuf): Likewise
+ * socket.c (scm_getsockopt, scm_setsockopt, scm_shutdown,
+ scm_connect, scm_bind, scm_listen, scm_accept, scm_getsockname,
+ scm_getpeername, scm_send, scm_sendto): Likewise
+ * unif.c (scm_uniform_array_write): Likewise
+
+Sat Oct 25 02:52:58 1997 Jim Blandy <jimb@totoro.red-bean.com>
+
+ Minor problems with substring-related tag changes.
+ * symbols.h (SCM_SUBSTRP): Don't mask off the S bit; that's
+ exactly what we want to leave in to detect substrings.
+ (SCM_ROSTRINGP, ROUCHARS): Formatting tweaks.
+ * tags.h: Fix diagrams and comments describing the S tag bit;
+ remove vestigial remarks about the D tag bit.
+ (SCM_TYP7, SCM_TYP7S): Rephrased for readability.
+ * strings.c: Formatting tweaks.
+
+ * load.c (scm_init_load_path): Check GUILE_LOAD_PATH environment
+ variable first; then SCHEME_LOAD_PATH, with a warning message.
+ (scm_parse_path): New function.
+ * script.c: Doc fixes.
+
+Thu Oct 23 01:02:03 1997 Jim Blandy <jimb@totoro.red-bean.com>
+
+ Readline support, from Daniel Risacher.
+ * readline.c, readline.h: New files.
+ * init.c: #include "readline.h".
+ (scm_boot_guile_1): Call scm_init_readline, if we have it.
+ * Makefile.am (libguile_la_SOURCES): Include readline.c.
+ * Makefile.in: Regenerated.
+ * scmconfig.h.in: Regenerated, after change to ../configure.
+
+1997-10-20 Mark Galassi <rosalia@nis.lanl.gov>
+
+ * gh.h: gh_vector_set -> gh_vector_set_x
+
+1997-10-20 Mark Galassi <rosalia@nis.lanl.gov>
+
+ * gh_data.c (gh_vector_set_x): changed name to make it consistent
+ with the ! -> _x mapping when going from Scheme to C.
+
+1997-10-19 Mark Galassi <rosalia@cygnus.com>
+
+ * gh.h (gh_reverse):
+ (gh_list_tail):
+ (gh_list_ref):
+ (gh_memq):
+ (gh_memv):
+ (gh_member):
+ (gh_assq):
+ (gh_assv):
+ (gh_assoc): added these gh_ functions implemented as macros.
+
+ * gh_predicates.c (gh_null_p):
+ (gh_string_equal_p): added these two missing predicates.
+
+ * gh_list.c (gh_append):
+ (gh_append2):
+ (gh_append3):
+ (gh_append4):
+ (gh_set_car_x):
+ (gh_set_cdr_x): added these routines as I go through and try to
+ complete the picture R4RS functions that should be mirrored in the
+ gh_ interface.
+
+Sat Oct 18 01:52:51 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * tags.h (scm_tc7_substring): Changed the comment and code to
+ conform with the changes below. Folks! We have suddenly two new
+ free tc7 codes!!! Jummy, jummy!
+
+Tue Oct 14 22:03:06 1997 Tom Tromey <tromey@cygnus.com>
+
+ * Makefile.in: Rebuilt.
+ * Makefile.am (libguile_la_SOURCES): Removed extchrs.c,
+ mbstrings.c.
+ (modinclude_HEADERS): Removed extchrs.h, mbstrings.h.
+ * unif.c (scm_vector_set_length_x): Don't handle multibyte
+ strings.
+ * tag.c (scm_utag_mb_string, scm_utag_mb_substring): Removed.
+ (scm_tag): Don't handle multibyte strings.
+ * read.c: Don't include mbstrings.h.
+ (scm_lreadr): Don't handle multibyte ports.
+ * kw.c: Don't include mbstrings.h.
+ * init.c: Don't include mbstrings.h.
+ (scm_boot_guile_1): Don't init mbstrings module.
+ * hash.c (scm_hasher): Don't handle mbstrings.
+ * gscm.c (gscm_run_scm): Don't init mbstrings module.
+ * gc.c (scm_gc_mark): Don't handle mbstrings.
+ (scm_gc_sweep): Likewise.
+ * eval.c (SCM_CEVAL): Don't handle mbstrings.
+ * eq.c (scm_equal_p): Use SCM_TYP7S, not SCM_TYP7SD.
+ * tags.h (SCM_TYP7SD): Removed.
+ (SCM_TYP7D): Removed.
+ (scm_tc7_mb_string): Removed.
+ (scm_tc7_mb_substring): Removed.
+ * print.c (scm_iprin1): Handle char printing directly. Don't
+ handle mbstrings.
+ Don't include "mbstrings.h".
+ * symbols.c (scm_intern_obarray_soft, scm_string_to_symbol,
+ scm_string_to_obarray_symbol, msymbolize): Don't set symbol's
+ multi-byte flag.
+ Don't include "mbstrings.h".
+ * symbols.h (SCM_SYMBOL_MULTI_BYTE_STRINGP): Removed.
+ (SCM_SYMBOL_SLOTS): Define as 4.
+ (SCM_ROSTRINGP): Use SCM_TYP7S, not SCM_TYP7SD.
+ * arbiters.c, backtrace.c, debug.c, dynl.c, eval.c, fluids.c,
+ gc.c, gsubr.c, ioext.c, kw.c, mallocs.c, numbers.c, ports.c,
+ print.c, read.c, regex-posix.c, root.c, srcprop.c, stackchk.c,
+ struct.c, threads.c, throw.c, unif.c, variable.c: Use new
+ ("gen"-less) I/O function names.
+ * ports.c (scm_add_to_port_table): Don't set port's
+ representation.
+ * ports.h (scm_port_representation_type): Removed.
+ (scm_string_representation_type): Removed.
+ (struct scm_port_table ): Removed representation field.
+ (SCM_PORT_REPRESENTATION): Removed.
+ (SCM_SET_PORT_REPRESENTATION): Removed.
+ * genio.h: Use new function names.
+ * genio.c: Don't include "extchrs.h".
+ (scm_gen_putc, scm_gen_puts, scm_gen_write, scm_get_getc):
+ Removed.
+ (scm_putc, scm_puts, scm_lfwrite): No longer static.
+ (scm_getc): No longer static; handle line and column changes.
+ (scm_ungetc): Renamed from scm_gen_ungetc.
+ (scm_do_read_line): Renamed from scm_gen_read_line.
+ * libguile.h: Don't include "extchrs.h" or "mbstrings.h"
+ * extchrs.h, extchrs.c, mbstrings.h, mbstrings.c: Removed.
+
+1997-10-12 Mark Galassi <rosalia@cygnus.com>
+
+ * gh_test_repl.c (c_vector_test): same as gh_test_c.c
+
+ * gh_test_c.c (c_vector_test): some improvements on the vector
+ routines test.
+
+ * gh.h (gh_vector): this used to exist but do the wrong thing.
+ Now it (almost) does the right thing, though it takes a list
+ instead of the individual arguments. I need to see how it could
+ be done right.
+ (gh_list_to_vector): added this function as a macro. Corresponds
+ to Scheme's (list->vector ...).
+ (gh_vector_to_list): added this function as a macro. Corresponds
+ to Scheme's (vector->list ...).
+
+ * gh_data.c (gh_vector_ref): renamed from gh_vref to
+ gh_vector_ref, so that it resembles the Scheme routines more.
+ (gh_vector_set): renamed from gh_vset to gh_vector_set, so that it
+ resembles the Scheme routines more.
+ (gh_make_vector): this used to be (stupidly) called gh_vector().
+ This is the right name, since it does the same thing as the Scheme
+ (make-vector ...) procedure.
+
+Sun Oct 12 14:41:39 1997 Mikael Djurfeldt <mdj@kenneth>
+
+ * ports.h: #include "libguile/print.h"
+
+ * eval.c (SCM_CEVAL, scm_apply): Completed GOOPS support code;
+ Some indentation fixes.
+
+ * objects.h (SCM_METACLASS_STANDARD_LAYOUT): Printer field is no
+ longer a user field; New field: class_flags.
+
+ * objets.c, objects.h: New metaclass: scm_metaclass_operator.
+
+Tue Oct 7 09:37:24 1997 Mark Galassi <rosalia@cygnus.com>
+
+ * gh_data.c (gh_bool2scm): new function which replaces
+ gh_int2scmb(), which is now tagged as obsolete.
+
+1997-10-03 Mikael Djurfeldt <mdj@nada.kth.se>
+
+ * print.h (SCM_PRINT_STATE_P): Removed SCM_NIMP test. (NIMP
+ macros should by convention not test for NIMPness.)
+ (SCM_COERCE_OPORT): Adjust indentation.
+
+ * print.c (scm_valid_oport_value_p): Adjusted indentation; Added
+ SCM_NIMP test before SCM_PRINT_STATE_P.
+
+ * struct.c, struct.h, gc.c: Renamed:
+ scm_struct_i_layout --> scm_vtable_index_layout
+ scm_struct_i_vcell --> scm_vtable_index_vcell
+ scm_struct_i_vtable --> scm_vtable_index_vtable
+ scm_struct_i_printer --> scm_vtable_index_printer
+ scm_struct_i_vtable_offset --> scm_vtable_offset_user
+
+ * struct.c (scm_print_struct): Use new printer slot; Default
+ printing: Also output hex code of vtable so that type identity
+ will be indicated as well.
+ (scm_init_struct): Updated required_vtable_fields to "pruosrpw";
+ Removed struct_printer_var; Removed struct-vtable-offset;
+ (vtable-index-layout, vtable-index-vtable, vtable-index-printer,
+ vtable-offset-user): New constants.
+
+ * struct.h (scm_struct_i_vtable_offset): Bumped from 3 to 4.
+ (scm_struct_i_printer, SCM_STRUCT_PRINTER): New slot in vtables.
+ If this slot contains a procedure, use that to print structures of
+ the type represented by this vtable.
+
+ * print.c (scm_iprin1): Don't print arguments of macro
+ transformers. (They are always: exp env.); Bugfix: Unmemoize
+ transformer source with correct environment.
+
+1997-10-02 Marius Vollmer <mvo@zagadka.ping.de>
+
+ Streamlining of call-with-dynamic-root:
+
+ * root.c (cwdr_inner_body, cwdr_body): Remove "inner" from name,
+ there is now only one catch.
+ (cwdr_outer_body): Removed.
+ (cwdr_handler): New function.
+ (scm_internal_cwdr): New function to perform the function of cwdr
+ but take args that are more useful to C code. Also, the handler
+ is now invoked *outside* of the new dynamic root, like the docs
+ say. We no longer have to catch absolutely all errors, the caller
+ is responsible for using a handler that does not throw, if he
+ wants that.
+ (cwdr): Reimplemented in terms of scm_internal_cwdr.
+ * root.h (scm_internal_cwdr): New prototype.
+
+ Even more but risky streamlining:
+
+ * root.c (USE_STACKJMPBUF): New define to activate a stack-based
+ allocation of the jumpbuf of a root continuation. The changes
+ below are controlled by it. They are now deactivated.
+ (scm_internal_cwdr): Allocate the scm_contregs on the stack. Set
+ the JMPBUF of the scm_rootcont to NULL before returning.
+
+ * gc.c (scm_gc_sweep): Free the SCM_VELTS of a scm_tc7_contin only
+ when they are non-NULL.
+ (scm_gc_mark): Likewise, mark only when non-NULL.
+
+ Make dynamic linking work on Dec Unix. (Thanks to Clark McGrew)
+ * dynl.c: Include "dynl-dl.c" also when HAVE_DLOPEN is defined.
+
+ * gc.c (scm_done_malloc): New function.
+ gc.h (scm_done_malloc): New prototype.
+
+ * print.h (SCM_PRINT_STATE_P, SCM_COERCE_OPORT): New macros.
+ (struct scm_print_state) [revealed]: New field.
+ (scm_print_state_vtable): Make visible to the outside world for
+ type checking purposes.
+ (scm_valid_oport_value_p): New prototype.
+
+ * print.c (scm_valid_oport_value_p): New function to check whether
+ a certain value is acceptable as a port argument.
+ (scm_print_state_vtable): New variable.
+ (scm_free_print_state): Set `revealed' field to false.
+ (scm_iprin1): Call user supplied closure printer with
+ scm_printer_apply. Print in the traditional way when there isn't
+ one or when it returns #f.
+ (scm_prin1, scm_display, scm_write, scm_newline, scm_write_char):
+ Accept a port/print-state pair in addition to just a port.
+ (scm_prin1): Don't return the print_state to the pool when it has
+ been `revealed'.
+ (scm_printer_apply): Set `revealed' field of print_state to true.
+ (scm_init_print): Set scm_print_state_vtable.
+ (print_state_fluid, print_state_fluid_num): Removed.
+
+ * throw.h (scm_handle_by_proc_catching_all): New prototype
+ throw.c (scm_handle_by_proc_catching_all): New function
+
+Mon Sep 29 23:54:09 1997 Jim Blandy <jimb@totoro.red-bean.com>
+
+ * Makefile.in: Regenerated with automake 1.2c.
+
+Sun Sep 28 21:35:42 1997 Radey Shouman <shouman@zianet.com>
+
+ * ramap.c (scm_array_index_map_x): Fixed for zero-rank arguments,
+ was looping endlessly.
+
+Sun Sep 28 00:04:29 1997 Jim Blandy <jimb@totoro.red-bean.com>
+
+ * strports.c (scm_eval_string): Don't close the port.
+
+ * stime.c (bdtime2c): Use SCM_LENGTH, not scm_vector_length; the
+ former returns a nice normal integer. (Thanks to Daniel
+ Risacher.)
+
+Sat Sep 27 20:19:34 1997 Jim Blandy <jimb@totoro.red-bean.com>
+
+ * Makefile.am (libpath.h): Include the value of the THREAD_LIBS
+ makefile variable as a build parameter called LIBS. The
+ build-guile program will use this, for the time being.
+ * Makefile.in: Regenerated.
+
+ Thanks to Shiro Kawai:
+ * gc.c (scm_gc_mark): Pass NULL to scm_wta as the subroutine name.
+ * ports.h (scm_ptobfuns): The fgets method returns a char *, not
+ an SCM.
+
+ * Makefile.in: Regenerated with automake 1.2a.
+
+ * script.c (scm_compile_shell_switches): If we hit the -c or --
+ arguments, don't set the car of (command-line) to scm_usage_name,
+ the prettified name of the guile executable; give it the full
+ path, the way shells usually handle $0.
+
+Wed Sep 24 22:09:52 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * ramap.c (scm_array_map): Renamed to scm_array_map_x. Removed
+ Scheme-level name `array-map' and renamed `serial-array-map' to
+ `serial-array-map!'.
+
+ * backtrace.c: Introduced exception handlers which now enclose
+ `display-error' and `display-backtrace' so that error reporting
+ won't get into infinite loops if an error occurs during displaying
+ of the error. This can very easily happen with user supplied
+ print call-back routines.
+
+Tue Sep 23 12:43:17 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * ramap.c: Added alias `array-map!' for `array-map'. (Probably,
+ the names `serial-array-map' and `array-map' should be removed.)
+
+Mon Sep 22 01:21:54 1997 Mikael Djurfeldt <mdj@kenneth>
+
+ * init.c (scm_boot_guile_1): Added scm_init_objects ().
+ Added #include "objects.h"
+
+ * eval.c (scm_makprom): Added SCM_DEFER_INTS and SCM_ALLOW_INTS.
+ Add #include "feature.h".
+
+ * Makefile.am (libguile_la_SOURCES): Added objects.c.
+ (modinclude_HEADERS): Added objects.h.
+
+ * ports.h (SCM_EOF_OBJECT_P): New macro predicate.
+ This test is needed at many places in the code and should be
+ abstracted. (Motivated by the need of this test in libguiletk.)
+
+ * ports.c (scm_eof_object_p), vports.c (sfgetc), strports.c
+ (scm_eval_string), load.c (scm_primitive_load,
+ scm_read_and_eval_x), gh_eval.c (gh_eval_str):
+ Use SCM_EOF_OBJECT_P.
+
+ * eval.c (scm_init_eval): Add feature `delay'.
+
+Tue Sep 16 02:12:02 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * scmhob.h: Removed.
+
+Mon Sep 15 20:42:03 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * list.h (SCM_LISTn): New macros. Make list creation in C code
+ prettier. The idea comes from STk.
+
+ * sequences.h, sequences.c, append.h, append.c: Removed. These
+ files implemented non-R4RS operations which would encourage
+ non-portable programming style and less easy-to-read code.
+
+ * Makefile.am (sequences.h, sequences.c, append.h, append.c):
+ Removed.
+
+ * libguile.h, eval.c, init.c, stime.c, unif.c: Removed #include
+ sequences.h, #include append.h.
+
+ * init.c (scm_boot_guile_1): Removed calls to scm_init_append and
+ scm_init_sequences.
+
+ * gh.h, gh_list.c: Renamed gh_list_length --> gh_length.
+
+ * list.h, list.c: Renamed scm_list_length --> scm_length, scm
+
+ * stime.c (bdtime2c): Changed scm_obj_length --> scm_vector_length.
+
+Sat Sep 13 00:21:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * eval.c: Added #include "objects.h"
+
+ * tags.h (scm_tc16_object, scm_tc16_entity): Smobtags for objects
+ and entities.
+
+ * smob.c (scm_smob_prehistory): Create two objectsmobs with
+ adjacent smob numbers.
+
+Thu Sep 11 00:59:17 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * procprop.h: Added declaration of scm_i_inner_name.
+
+ * gsubr.c: New global symbol scm_i_inner_name.
+
+ * debug.c (scm_procedure_name): Try procedure property
+ `inner-name' if `name' fails.
+
+ * print.c (scm_iprin1): Use scm_macro_name.
+
+ * eval.c (scm_m_define): Give names to macros as well; Only the
+ first top-level definition gives a procedure/macro a name.
+ Otherwise confusing names can turn up in backtraces.
+ (SCM_CEVAL): SCM_IM_DEFINE: Set `inner-name' property instead of
+ `name'; Give names to macros as well.
+
+ * procs.c (scm_closure_p), print.c (scm_iprin1), eval.c
+ (scm_macro_transformer): Use SCM_CLOSUREP instead of
+ scm_closure_p.
+
+Wed Sep 10 20:52:18 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+* * eval.c (macro?, macro-type, macro-name, macro-transfomer): New
+ procedures;
+ (prinmacro): Removed. The code has been moved/merged into print.c
+ in order to decrease code redundancy. We want macros to print in
+ a way equivalent to procedures, and it would be silly to duplicate
+ the required code. (We don't want to maintain two places.)
+ (macrosmob): Print field is now a NULL pointer.
+
+ * eval.h (scm_macro_p, scm_macro_type, scm_macro_name,
+ scm_macro_transformer): New prototypes.
+ (scm_tc16_macro): Declared.
+
+* * print.c (scm_iprin1): Added code for printing of macros. Macros
+ are now printed in a way equivalent to procedures.
+
+Sat Sep 6 12:20:42 1997 Mikael Djurfeldt <mdj@kenneth>
+
+ * procs.h (scm_closure_p): Added declaration.
+
+Fri Sep 5 13:36:14 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * gc.c (scm_gc_mark): Fixed "rogue pointer in heap" message:
+ Shouldn't pass "heap" as the subr name.
+
+Tue Sep 2 18:14:30 1997 Jim Blandy <jimb@totoro.red-bean.com>
+
+ * gh_predicates.c (gh_boolean_p, gh_symbol_p, gh_char_p,
+ gh_vector_p, gh_pair_p, gh_number_p, gh_string_p, gh_procedure_p,
+ gh_list_p, gh_inexact_p, gh_exact_p, gh_eq_p, gh_eqv_p,
+ gh_equal_p): Use SCM_NFALSEP, instead of testing against
+ SCM_BOOL_T. Any non-false value is true.
+
+Tue Sep 2 00:27:07 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * symbols.h (scm_builtin_bindings, scm_builtin_weak_bindings,
+ scm_gensym): Added prototypes.
+
+ * symbols.c (scm_gensym): New function. This will speed up
+ certain types of applications (such as macro systems) which
+ generate lots of symbols.
+
+Mon Sep 1 22:30:33 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * numbers.c (logand, logior, logxor): Handle 0 or 1 arguments.
+
+Sat Aug 30 18:56:19 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * unif.c (scm_shap2ra): tighten the checking of the array dimension
+ specifier, since (2) or (2 . 3) would cause SEGV.
+ (scm_transpose_array): more argument checking fixes.
+
+Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com>
+
+ * Makefile.in: Regenerated.
+
+Wed Aug 27 17:44:44 1997 Jim Blandy <jimb@totoro.red-bean.com>
+
+ * Makefile.in: Regenerated, so it uses "tar", not "gtar".
+
+Mon Aug 25 13:47:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * error.c, error.h (scm_error_callback): Removed (see NEWS).
+
+Sun Aug 24 01:25:35 1997 Mikael Djurfeldt <mdj@kenneth>
+
+ * regex-posix.c: If <regex.h> can't be found, try <rxposix.h> or
+ <rx/rxposix.h>. (This is in order to accomodate for the GNU Rx
+ library.)
+
+ * ramap.c (scm_ra_matchp, scm_array_fill_int, racp, ramap_1,
+ ramap_2o, scm_array_index_map_x, raeql_1, scm_array_equal_p),
+ unif.c (scm_vector_set_length_x, scm_uniform_vector_length,
+ scm_array_p, scm_array_rank, scm_array_dimensions,
+ scm_enclose_array, scm_array_in_bounds_p, scm_uniform_vector_ref,
+ scm_cvref, scm_array_set_x, scm_array_contents, scm_array_to_list,
+ scm_array_prototype): Added case scm_tc7_wvect.
+
+Sat Aug 23 18:45:44 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * errno.h: prototype for scm_strerror.
+ * error.c (scm_strerror): new procedure.
+
+Mon Aug 18 14:58:22 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * list.c (scm_list_append_x): Allow non-pair as last argument.
+ This is consistent with the R4RS append and is probably the
+ correct behaviour as specified by R2RS. (Thanks to Radey Shouman)
+
+Sat Aug 16 18:42:15 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * stime.h: prototype for scm_times.
+ * stime.c (scm_times): new procedure.
+ * ioext.c (scm_fseek): if the first argument is a file descriptor
+ call lseek.
+ (scm_ftell): if the first argument is a file descriptor call lseek
+ (sic).
+ * filesys.h: prototypes for scm_open_fdes, scm_fsync.
+ * filesys.c (scm_chmod): if the first argument is a file descriptor,
+ call fchmod.
+ (scm_chown): if the first argument is a port or file descriptor,
+ call fchown.
+ (scm_truncate_file): new procedure.
+ Add DEFER/ALLOW INTS to a few other procedures.
+ (scm_fsync): new procedure.
+ (scm_open_fdes): new procedure.
+ (scm_open): use scm_open_fdes. If mode isn't specified, 666 will
+ now be used.
+ (scm_fcntl): the first argument can now be a file descriptor. The
+ third argument is now optional.
+
+ * posix.c (scm_execl, scm_execlp): make the filename argument
+ compulsory, since omitting it causes SEGV.
+ (scm_sync): return unspecified instead of #f.
+ (scm_execle): new procedure.
+ (environ_list_to_c): new procedure.
+ (scm_environ): use environ_list_to_c. disable interrupts.
+ (scm_convert_exec_args): take pos and subr arguments and
+ improve error checking.
+
+1997-08-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * stacks.c (scm_make_stack), coop-threads.c, mit-pthreads.c
+ (scm_call_with_new_thread): Bugfix: SCM_WNA should go as third
+ argument to SCM_ASSERT. Furthermore, the name of the function
+ should be passed as first argument when signalling
+ SCM_WNA. (Thanks to Thomas Morgan)
+
+ * gsubr.c (scm_gsubr_apply): From Radey Shouman
+ <shouman@zianet.com>: "The switch in scm_gsubr_apply that
+ dispatches on the number of actual args has a default case
+ reporting an internal error. This is a vestige from a version
+ that mallocated a SCM vector to hold the arguments. In the
+ current version this check is too late: if it ever happens we will
+ have already overstepped the bounds of the array.
+
+ Also, the patch [...] adds a check for too many actual arguments."
+
+ mdj: Removed check for "internal programming error".
+
+Wed Aug 13 15:38:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * gh_io.c (gh_write): New function.
+
+ * gh_eval.c (catch_with_saved_stack): Removed. Replaced by:
+ throw.c (scm_internal_stack_catch): New sibling to the other catch
+ functions. Code moved from gh_eval.c.
+ throw.h: Added header.
+ gh_eval.c (gh_eval_str_with_stack_saving_handler): Renamed call to
+ scm_internal_stack_catch.
+
+Tue Jul 29 01:03:08 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * ioext.h: fix up prototypes.
+ * ioext.c (scm_dup_to_fdes): renamed from scm_primitive_dup2.
+ Scheme name is now dup->fdes.
+ (scm_dup_to_fdes): make the second argument optional and
+ fold in the functionality of scm_primitive_dup.
+ (scm_primitive_dup): deleted.
+
+Mon Jul 28 05:24:42 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * fports.h (SCM_P): prototypes for scm_setvbuf, scm_setfileno.
+ * fports.c (scm_setbuf0): don't disable the setbuf if MSDOS or
+ ultrix are defined. Use setvbuf instead of setbuf.
+ (scm_setvbuf): new procedure.
+ (scm_init_fports): intern _IOFBF, _IOLBF, _IONBF.
+ (scm_setfileno): moved from ioext.c.
+ (scm_fgets): cast SCM_STREAM to (FILE *), remove unused lp variable.
+ (top of file): Delete 25 lines of probably obsolete CPP hair for MSDOS.
+
+Sun Jul 27 10:54:01 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * fluids.c (scm_fluid_p): New function.
+ * fluids.h (scm_fluid_p): New prototype.
+
+Sat Jul 26 21:33:37 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * print.c (scm_iprin1): Enter printed structures into the print
+ state as nested data while they are printed.
+ (print_state_fluid, print_state_fluid_num): New variables.
+ (scm_init_print): Initialize them.
+ (scm_iprin): If print_state_fluid carries a print_state, use that
+ instead of creating a new one.
+ (scm_printer_apply, apply_stub, struct apply_data): New
+ definitions to help with calling printer functions written in
+ Scheme.
+ * print.h (scm_printer_apply): New prototype.
+
+ * struct.c (scm_print_struct): Use scm_printer_apply to call the
+ user defined struct printer.
+
+ * dynwind.c (scm_dowinds): Handle fluids on the wind list.
+ * fluids.h (scm_internal_with_fluids, scm_with_fluids,
+ scm_swap_fluids, scm_swap_fluids_reverse): New prototypes.
+ * fluids.c (scm_internal_with_fluids, scm_with_fluids,
+ scm_swap_fluids, scm_swap_fluids_reverse): New functions.
+
+Fri Jul 25 12:05:46 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * fluids.c (scm_fluid_ref, scm_fluid_set_x): Fixed use of
+ SCM_ASSERT: arg comes before pos.
+
+Fri Jul 25 17:00:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+
+ * eval.c (scm_apply): Handle the case when a tc7_sybr_2 is applied
+ to a list of length zero correctly.
+
+Wed Jul 23 16:17:46 1997 Tim Pierce <twpierce@bio-5.bsd.uchicago.edu>
+
+ Supply an `fgets' method for port objects to do fast line i/o.
+ * ioext.c (scm_read_line): New function.
+ * genio.c (scm_gen_read_line): New function.
+ * fports.c (scm_fgets): New function.
+ (scm_fptob, scm_pipob): Add scm_fgets method.
+ * ports.c (fgets_void_port, scm_generic_fgets): New functions.
+ (void_port_ptob): Add void fgets method.
+ (scm_newptob): Initialize fgets method from ptob struct.
+ * ports.h (scm_ptobfuns): Add fgets method.
+ * vports.c (scm_sfptob): Supply generic fgets method.
+ * strports.c (scm_stptob): Supply generic fgets method.
+
+Mon Jul 21 04:03:42 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * ioext.h: removed scm_duplicate_port prototype.
+
+ * ioext.c (scm_primitive_dup2): return the new file descriptor
+ instead of SCM_UNSPECIFIED, since similarity to scm_primitive_dup
+ is convenient.
+ (scm_fdopen): bug fix: don't try to make port unbuffered until its
+ stream has been set.
+ (scm_duplicate_port): deleted, there's now an implementation in
+ boot-9.scm.
+ (scm_primitive_dup2): do nothing if newfd == oldfd.
+
+Sun Jul 20 03:55:49 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * filesys.c (scm_close): oops, don't call SCM_INUM twice on the
+ argument.
+
+ * ioext.h: new prototypes.
+ * ioext.c (scm_primitive_dup, scm_primitive_dup2): new procedures.
+
+ * fluids.c (next_fluid_num): don't do
+ SCM_THREAD_CRITICAL_SECTION_START/END unless USE_THREADS is defined.
+
+ * ports.h: prototypes too.
+ * ports.c (scm_mode_bits, scm_port_mode): moved from fports.c.
+
+ * fports.h: prototype too.
+ * fports.c (scm_evict_ports): moved from ioext.c.
+
+Sat Jul 19 04:56:52 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * ports.c (scm_close_port): return a boolean instead of unspecified.
+ throw an error if an error other than EBADF occurs.
+
+ * filesys.h: scm_close prototype.
+ * filesys.c (scm_close): new procedure, can close file descriptors
+ and ports (scsh compatible).
+
+ * ports.c (scm_flush_all_ports): SCM_PROC incorrectly allowed an
+ optional argument.
+
+Fri Jul 18 11:19:53 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * fluids.c, fluid.h: New files.
+ * Makefile.am (libguile_la_SOURCES): Added "fluids.c".
+ (modinclude_HEADERS): Added "fluids.h"
+
+ * init.c: Include "fluids.h". (scm_boot_guile_1): Added call to
+ scm_init_fluids to initialize the fluid machine.
+ (scm_start_stack): Initialize the fluids of the first root with
+ scm_make_initial_fluids.
+
+ * root.h: Added "fluids" member to scm_root_state.
+ * root.c: Include "fluids.h". (scm_mark_root): Mark "fluids".
+ (scm_make_root): Call scm_copy_fluids to make fluid bindings
+ unique for the new root when it has a parent.
+
+ * smob.h: Include "libguile/print.h" to make scm_print_state
+ visible.
+
+ * dynl.c (free_dynl_obj): New function to free the dynamic object
+ data. (dynl_smob): Use it.
+ * dynl.c (scm_dynamic_link): Moved allocating of the memory for
+ the dynamic object data below the linking of the object to avoid
+ memory leak when the linking code throws an error. Now the code
+ leaks a whole dynamically linked library when must_malloc throws,
+ but that should be much less likely.
+
+Fri Jul 11 00:19:47 1997 Jim Blandy <jimb@floss.red-bean.com>
+
+ Changes to compile under gnu-win32, from Marcus Daniels:
+ * stime.c (tzset): If tzset isn't provided, make it a NOP.
+ (scm_localtime): Change SCM_EOF to SCM_EOL.
+ (scm_mktime): Likewise.
+ * socket.c: Don't include sys/un.h unless autoconf tells
+ us Unix domain sockets are available.
+ (scm_fill_sockaddr): Ignore Unix domain code.
+ (scm_addr_vector): Likewise.
+ (scm_init_addr_buffer): Likewise.
+ (scm_socketpair): Don't include unless socketpair was
+ found during autoconf.
+ * simpos.c (SYSTNAME): Treat cygwin like Unix.
+ * scmsigs.c (scm_pause): Don't include unless pause was found
+ during autoconf.
+ * posix.c (scm_getgroups): Don't include unless support function
+ was found during autoconf (in this case, getgroups).
+ (scm_setpwent): For setpwent.
+ (scm_setegid): For setegid.
+ * net_db.c (scm_inet_netof): Don't include unless support
+ function was found during autoconf (in this case, inet_netof).
+ (scm_lnaof): For inet_lnaof.
+ (scm_inet_makeaddr): For inet_makeaddr.
+ (scm_getnet): For getnetent, getnetbyname, getnetbyaddr.
+ (scm_getproto): For getprotoent.
+ (scm_getserv): For getservent.
+ (scm_sethost): For sethostent, endhostent.
+ (scm_setnet): For setnetent, endnetent.
+ (scm_setproto): For setprotoent, endprotoent.
+ (scm_setserv): For setservent, endservent.
+ * scmconfig.h.in: Regenerated.
+
+Thu Jul 10 00:22:24 1997 Jim Blandy <jimb@floss.red-bean.com>
+
+ * stime.c (scm_localtime, scm_mktime): Pass SCM_EOL to
+ scm_misc_error, not SCM_EOF.
+
+ * error.c (scm_wta): Pass SCM_EOL to scm_misc_error as the list of
+ arguments for formatting the error message, not SCM_BOOL_F. I
+ think this is left over from the (eq? '() #f) days.
+
+ * read.c (recsexpr): Give this a dummy definition if
+ DEBUG_EXTENSIONS isn't #defined.
+
+Fri Jul 4 23:42:17 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * coop-threads.c (scm_wait_condition_variable): Lock mutex again
+ after waiting.
+
+Thu Jul 3 16:31:24 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * root.c (cwdr_outer_body): Bugfix: Pass `c' instead of `&c' to
+ scm_internal_catch.
+
+Sat Jun 28 16:14:09 1997 Tim Pierce <twp@twp.tezcat.com>
+
+ * Makefile.am (libguile_la_LIBADD): Remove @ALLOCA@, since
+ alloca.lo will be included in @LIBLOBJS@. Something better than
+ this should be possible.
+ * Makefile.in: Regenerated.
+
+Sat Jun 28 03:40:15 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * simpos.h: prototype for scm_primitive_exit.
+ * simpos.c (scm_primitive_exit): new procedure, terminates the
+ process without unwinding the stack.
+
+Sat Jun 28 03:45:25 1997 Tim Pierce <twp@twp.tezcat.com>
+
+ * regex-posix.c (scm_make_regexp): Make `flags' a variable-length
+ argument and logior its components together, so the user doesn't
+ have to do this explicitly. Also, if regexp/basic is supplied, then
+ turn off REG_EXTENDED.
+ (scm_init_regex_posix): New regexp/basic symbol.
+ (REG_BASIC): #define this if it is not already present.
+
+Fri Jun 27 20:36:35 1997 Tim Pierce <twpierce@bio-5.bsd.uchicago.edu>
+
+ * Makefile.am (libguile_la_LIBADD): Include @ALLOCA@.
+ (MOSTLYCLEANFILES): New target, changed from CLEANFILES.
+ (CLEANFILES): New target, clean versiondat.h, libpath.h.
+ (DISTCLEANFILES): New target, clean *.x.
+ * Makefile.in: Regenerated.
+
+Tue Jun 24 00:29:07 1997 Jim Blandy <jimb@floss.red-bean.com>
+
+ * script.c (scm_compile_shell_switches): Add 1997 to copyright
+ years in usage message.
+
+ * Makefile.am (libguile_la_LDFLAGS): Bump library version.
+ * Makefile.in: Regenerated.
+
+ * regex-posix.c (scm_init_regex_posix): Delete the regexp/nosub
+ flag; I don't think we support it.
+ (scm_make_regexp): Make sure the user doesn't pass the
+ regexp/nosub flag.
+
+ * regex-posix.c (scm_make_regexp, scm_regexp_exec): Add optional
+ FLAGS arguments.
+ (scm_init_regex_posix): Define constants for the REG_mumble flags;
+ name them according to the SCSH convention: regexp/mumble.
+
+ * regex-posix.h (scm_make_regexp, scm_regexp_exec): Update prototypes.
+
+Mon Jun 23 18:44:49 1997 Jim Blandy <jimb@floss.red-bean.com>
+
+ * Makefile.am (libpath.h): Include the values of all the standard
+ Makefile directory variables. Print a message, but don't print
+ all the commands.
+ (versiondat.h): Print a message, but don't print all the commands.
+ * load.c: #include "alist.h".
+ (init_build_info): New function.
+ (scm_init_load): Call it.
+ * Makefile.in: Regenerated.
+
+Sun Jun 22 19:12:58 1997 Jim Blandy <jimb@floss.red-bean.com>
+
+ * root.c: Establish a reliable catch-all handler for the new root.
+ After all the Scheme handler function might signal an error too,
+ and we don't want to lose that.
+ (cwdr_inner_body): Renamed from cwdr_body.
+ (cwdr_outer_body): New function, to establish the user's handler,
+ and pass control to cwdr_inner_body.
+ (cwdr): Establish the reliable catch-all handler here, and pass
+ control to cwdr_outer_body.
+ (struct cwdr_body_data): New field, handler, to allow cwdr to pass
+ the user's handler through to cwdr_outer_body.
+ * throw.c (scm_handle_by_message): Move guts into....
+ (handler_message): New static function.
+ (scm_handle_by_message_noexit): New function.
+ * throw.h (scm_handle_by_message_noexit): New prototype.
+
+ * __scm.h: (SCM_FENCE): New macro: optimizer will not move code
+ across this. Only works on GCC. Otherwise, we hope for the best.
+ (SCM_DEFER_INTS, SCM_ALLOW_INTS): Use FENCE appropriately. I have
+ the feeling that real thread systems will not need this...
+
+Sun Jun 22 15:46:35 1997 Jim Blandy <jimb@floss.red-bean.com>
+
+ Try to detect when people are using one version of libguile and a
+ different version of ice-9. People have been skewing things and
+ sending in bug reports.
+ * Makefile.am (versiondat.h): New file to generate.
+ * version.c: #include "versiondat.h", to get version info.
+ (scm_libguile_config_stamp): New function.
+ * script.c: #include "version.h".
+ (scm_compile_switches): Call scm_version to get version number.
+ * scmconfig.h.in, Makefile.in: Regenerated.
+ * Makefile.in: Regenerated.
+
+ * Makefile.am (ETAGS_ARGS): Catch SCM_PROC, etc. so we can find
+ primitive definitions under their Scheme names.
+
+ * Makefile.am (libguile_la_LDFLAGS): Update library version to
+ 1:2. Helps avoid confusion between installed and uninstalled libs.
+
+ * scmconfig.h.in: Regenerated. (Needed after June 3 change to
+ ../configure.in.)
+
+ * gdb_interface.h (GDB_INTERFACE): Remove semicolon and trailing
+ backslash from definition; this should be used like: GDB_INTERFACE;
+
+Sun Jun 22 04:00:32 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * ioext.c (scm_duplicate_port): bug fix: don't try to make the
+ new port unbuffered until its stream has been set.
+
+Sat Jun 21 18:44:03 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * ports.h: new prototype.
+ * ports.c (scm_flush_all_ports): new procedure, scsh compatible.
+
+Sat Jun 21 00:25:03 1997 Jim Blandy <jimb@floss.red-bean.com>
+
+ Make things compile neatly under Sun's C compiler.
+ * dynl.c (scm_dynamic_func): Cast return value from sysdep_dynl_func.
+ * extchrs.c (xmbtowc): Make the second arg a normal char, not
+ unsigned, because that's what the ANSI function takes.
+ * extchrs.h (xmbtowc): Corresponding change to prototype.
+ * genio.c (scm_gen_getc): Make buf plain chars. Nobody wants
+ uchars here.
+ * mbstrings.c (scm_mb_ilength): Use ANSI arg syntax. Make DATA
+ argument plain char *.
+ * strings.c (scm_string): Use SCM_ROCHARS, since c is a plain
+ char.
+ * tag.c (scm_tag): Remove unreachable statement.
+ * unif.c (scm_array_to_list): If we want to shift a 1 bit to the
+ top of the word, it should be unsigned.
+
+ * eval.c (scm_lookupcar1): Don't declare var2 unless USE_THREADS
+ is defined, to avoid warnings; it's only used in the
+ conflict-checking code. Which might go away anyway.
+ (SCM_CEVAL): All goto's targeting the `dispatch' label are in
+ conditionals; put the label definition in an #if too, to stifle
+ warnings.
+
+ * Makefile.am (EXTRA_DIST): Include ChangeLog-gh and
+ ChangeLog-threads in the distribution.
+ * Makefile.in: Regenerated.
+
+Fri Jun 20 10:03:41 1997 Tim Pierce <twpierce@bio-5.bsd.uchicago.edu>
+
+ * guile-snarf.in: Changed regexp to support CPPs that insert
+ whitespace between lexical tokens (which munges the `%%%' snarf
+ cookie).
+
+Tue Jun 17 13:49:56 1997 Tim Pierce <twpierce@bio-5.bsd.uchicago.edu>
+
+ * load.c (scm_init_load_path): Append $(datadir)/guile to
+ %load-path, so modules do not have to be installed in Guile's
+ current version directory.
+
+Mon Jun 16 17:20:55 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * dynl.c (scm_dynamic_call, scm_dynamic_args_call): Wrap dynamic
+ function call in SCM_DEFER_INTS/SCM_ALLOW_INTS.
+ (scm_dynamic_link, scm_dynamic_unlink, scm_dynamic_func): Always
+ call the sysdep functions with deferred ints.
+ * dynl.c, dynl-dl.c, dynl-dld.c, dynl-shl.c (sysdep_dynl_link,
+ sysdep_dynl_unlink, sysdep_dynl_func): Expect to be called with
+ deferred interrupts and insert SCM_ALLOW_INTS before throwing an
+ error.
+
+ * dynl.c (scm_dynamic_unlink, scm_dynamic_call): Return
+ SCM_UNSPECIFIED.
+
+Sat Jun 14 19:00:58 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * scmsigs.c (sys_deliver_signals): add a comment about a probable bug.
+
+Wed Jun 11 00:33:00 1997 Jim Blandy <jimb@floss.red-bean.com>
+
+ * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
+ ../configure.in.
+
+Sun Jun 8 14:37:26 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * eval.c (scm_lookupcar1): New procedure to cope with a race
+ condition during lookup (when using threads).
+ (scm_lookupcar): Implement in terms of scm_lookupcar1.
+ (SCM_CEVAL): Use scm_lookupcar1 instead of scm_lookupcar in one
+ place.
+
+Fri Jun 6 19:05:07 1997 Jim Blandy <jimb@totoro.cyclic.com>
+
+ * regex-posix.c (scm_regexp_exec): Use the `start' argument if
+ supplied. (Change from Tim Pierce.)
+
+Thu Jun 5 16:38:19 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * struct.c (init_struct): Forget to mention this in the "Wed Jun 4
+ 23:47:01 1997" changelog: Slots are now initialized with `#f' by
+ default and not `()'. `#f' is the canonical non-value in Scheme,
+ right?
+
+Wed Jun 4 23:47:01 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * struct.c (struct_printer): New variable that holds a handle on
+ the Scheme variable *struct-printer*. This variable can be set by
+ Scheme code to override the printing of structures.
+ (scm_print_struct): If struct_printer is set, call it. If it is
+ not set, or returns #f, print the structure in the old fashion.
+ Include "eval.h" for scm_apply.
+
+Tue Jun 3 23:01:39 1997 Marius Vollmer <mvo@zagadka.ping.de>
+
+ * struct.c (scm_struct_ref, scm_struct_set_x): Use
+ scm_struct_i_n_words to get the number of fields, not
+ -scm_struct_n_extra_words.
+
+ On the route to fancier struct printing:
+ * struct.c (scm_print_struct): New function to print a structure.
+ Include "genio.h" to support it. This function doesn't do
+ anything interesting right now, but I think it should be here
+ anyway.
+ * struct.h: Include "print.h" and add prototype for
+ scm_print_struct.
+ * print.c (scm_iprin1): Call scm_print_struct instead of trying to
+ print structures ourself.
+
+Sun Jun 1 07:58:41 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * scmsigs.c (sys_deliver_signals): bug fix: reset got_signal[i]
+ before applying the handler in case it doesn't return.
+
+Sat May 31 18:57:51 1997 Gary Houston <ghouston@actrix.gen.nz>
+
+ * scmsigs.h, async.h: updated.
+
+ * _scm.h: if HAVE_RESTARTS is defined then don't use a SYSCALL
+ loop.
+
+ * posix.c (scm_uname): interpret only negative values as an error.
+ Solaris normally returns a positive value.
+
+ * script.c (scm_compile_shell_switches): if we are not going into
+ an interactive repl, set scm_mask_ints to zero so that asyncs can
+ run.
+
+ * simpos.c (scm_system): don't ignore/unignore signals around
+ the "system" call.
+
+ * posix.c (scm_open_pipe): don't ignore/unignore signals around
+ the "popen" call.
+
+ * init.c (scm_boot_guile_1): don't call scm_init_signals, it's
+ done in boot-9.scm instead.
+
+ * scmsigs.c, async.c: Major rewriting of signal handling code.
+ (scm_sigaction): new procedure.
+ (scm_sleep): don't wrap sleep in SCM_SYSCALL, it would mess up the
+ timing.
+ (scm_raise): return unspecified, throw error on failure.
+
+Thu May 29 02:47:36 1997 Jim Blandy <jimb@floss.cyclic.com>
+
+ * regex-posix.c (scm_init_regex_posix): Register the "regex"
+ feature, to help boot-9.scm decide whether to import the regex
+ module.
+
+Thu May 29 02:19:40 1997 Jim Blandy <jimb@floss.cyclic.com>
+
+ * eval.c: Include scmconfig.h at the beginning of the file so that
+ HAVE_ALLOCA_H may properly be defined. Thanks to Bill Janssen for
+ pointing this out.
+
+ * regex-posix.c: #include "_scm.h" before conditionally #including
+ <regex.h>; the former defines HAVE_REGCOMP.
+
+ * regex-posix.c: #include <regex.h> conditionally, so the file is
+ CPP'able (for dependency scanning) even on systems that don't have
+ a <regex.h> header.
+
+Tue May 27 23:48:38 1997 Jim Blandy <jimb@floss.cyclic.com>
+
+ Add new R4RS-compliant syntax for keywords.
+ * read.c (scm_lreadr): Recognize `#:' as a prefix for keywords,
+ regardless of the setting of the `keywords' read option.
+ * kw.c (prin_kw): Print keywords using the `#:' syntax, so they
+ can be re-read no matter what the setting of the `keywords' read
+ option.
+
+Tue May 27 22:47:31 1997 Tim Pierce <twp@twp.tezcat.com>
+
+ Add support for POSIX regular expressions.
+
+ * regex-posix.c, regex-posix.h: New files. (Some code
+ is taken liberally from rx/rgx.c in the old Guile dist.)
+
+ * init.c: Include regex-posix.h.
+ (scm_boot_guile_1): Call scm_init_regex_posix.
+
+ * Makefile.am (EXTRA_libguile_la_SOURCES, modinclude_HEADERS):
+ Add regex-posix.[ch] sources.
+ * Makefile.in: Regenerated.
+
+ * scmconfig.h.in: Add HAVE_REGCOMP macro. (automake is supposed
+ to do this automatically? It didn't for me, bleh.)
+
+Mon May 26 18:51:29 1997 Jim Blandy <jimb@floss.cyclic.com>
+
+ * fports.c (print_pipe_port): New function.
+ (scm_fptob): Use print_pipe_port instead of scm_prinport; the
+ latter doesn't even take the right arguments.
+
+ * Makefile.am: Increment shared lib revision number. I think
+ sometimes the uninstalled Guile finds the installed shared lib;
+ Gord says doing this might help. As things turned out, I can't
+ say whether it does.
+ * Makefile.in: Regenerated.
+
+ * gh_init.c (gh_enter): Cast c_main_prog to a void * before
+ passing it as the closure argument to scm_boot_guile. (Bill
+ Janssen)
+
+ * ports.c (print_void_port, putc_void_port, puts_void_port,
+ write_void_port, flush_void_port, getc_void_port, close_void_port,
+ noop0): Use ANSI prototypes instead of K&R declarations, so the
+ initialization of void_port_ptob gets aggressively type-checked.
+ Fix arguments of print_void_port and write_void_port. (Bill
+ Janssen)
+
+ * COPYING, __scm.h, _scm.h, alist.c, alist.h, append.c, append.h,
+ appinit.c, arbiters.c, arbiters.h, async.c, async.h, backtrace.c,
+ backtrace.h, boolean.c, boolean.h, chars.c, chars.h,
+ continuations.c, continuations.h, coop-defs.h, coop-threads.c,
+ coop-threads.c.cygnus, coop-threads.h, coop-threads.h.cygnus,
+ coop.c, debug.c, debug.h, dynl-dl.c, dynl-dld.c, dynl-shl.c,
+ dynl-vms.c, dynl.c, dynl.h, dynwind.c, dynwind.h, eq.c, eq.h,
+ error.c, error.h, eval.c, eval.h, extchrs.h, feature.c, feature.h,
+ filesys.c, filesys.h, fports.c, fports.h, fsu-pthreads.h, gc.c,
+ gc.h, gdbint.c, gdbint.h, genio.c, genio.h, gh.h, gh_data.c,
+ gh_eval.c, gh_funcs.c, gh_init.c, gh_io.c, gh_list.c,
+ gh_predicates.c, gh_test_c.c, gh_test_repl.c, gscm.c, gscm.h,
+ gsubr.c, gsubr.h, guile.c, hash.c, hash.h, hashtab.c, hashtab.h,
+ init.c, init.h, ioext.c, ioext.h, kw.c, kw.h, libguile.h, list.c,
+ list.h, load.c, load.h, mallocs.c, mallocs.h, markers.c,
+ markers.h, mbstrings.c, mbstrings.h, mit-pthreads.c,
+ mit-pthreads.h, net_db.c, net_db.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, putenv.c, ramap.c, ramap.h, read.c,
+ read.h, root.c, root.h, scmhob.h, scmsigs.c, scmsigs.h, script.c,
+ script.h, sequences.c, sequences.h, simpos.c, simpos.h, smob.c,
+ smob.h, snarf.h, socket.c, socket.h, srcprop.c, srcprop.h,
+ stackchk.c, stackchk.h, stacks.c, stacks.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, tags.h, threads.c, threads.h, throw.c, throw.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: New
+ address for FSF.
+
+Mon May 26 12:37:30 1997 Jim Blandy <jimb@floss.cyclic.com>
+
+ * script.c (scm_find_executable): Use prototype-style definition
+ here; apparently it's not quite right to have const in a prototype
+ and then use a K&R declaration. I wonder if stuff like this will
+ go away if we compile with -Wrequire-prototypes, or whatever that
+ is... (Bernard URBAN)
+
+ * scmhob.h: New text from Bernard URBAN.
+
+Sat May 17 17:14:36 1997 Jim Blandy <jimb@floss.cyclic.com>
+
+ * script.c: Don't #define const on hpux. Configure takes care of
+ this. (Thanks to Larry Schwimmer.)
+
+ * script.c: Use the HAVE_UNISTD_H symbol provided by autoconf to
+ decide whether to #include <unistd.h>, instead of listing a bunch
+ of systems. Don't #include stdio twice. Removed dyked-out
+ definition of scm_find_impl_file.
+
+Fri May 16 03:06:08 1997 Jim Blandy <jimb@floss.cyclic.com>
+
+ * Makefile.am (libguile_la_LDFLAGS): Update libguile's shared
+ library version info to 1:0.
+ * Makefile.in: Regenerated.
+
+ * backtrace.c, backtrace.h, debug.c, debug.h, eq.c,
+ gdb_interface.h, gdbint.c, gdbint.h, gh_data.c, gh_init.c,
+ gh_io.c, gh_list.c, gh_predicates.c, gh_test_c.c, gh_test_repl.c,
+ init.c, net_db.c, options.c, options.h, ports.c, print.c, read.c,
+ script.h, snarf.h, srcprop.c, srcprop.h, stacks.c, stacks.h,
+ throw.c: Update copyright years; these files have been worked on
+ significantly in 1997, but only had copyright years for 1996.
+ Also, change name of copyright holder on some from Mikael
+ Djurfeldt to Free Software Foundation; he has signed papers
+ assigning the changes to the FSF.
+
+ * script.c (scm_shell_usage): Pass FATAL to exit. There's no
+ reason not to give the user the option.
+
+ * net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_getserv):
+ Return #f on end-of-file when scanning table (i.e. when called
+ with no arguments). Try to catch errors, when we can.
+ * posix.c (scm_getgrgid, scm_getpwuid): Same.
+
+ * script.h (scm_shell_usage, scm_compile_shell_switches): New
+ external declarations. These are useful.
+
+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'
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_data.c (gh_lookup, gh_module_lookup): New functions.
* gh.h (gh_lookup, gh_module_lookup): New prototypes.
Get 'make dist' to work again.
Fri Apr 11 14:12:13 1997 Jim Blandy <jimb@floss.cyclic.com>
-* * filesys.c (scm_fcntl): New function from Roland McGrath.
+ * filesys.c (scm_fcntl): New function from Roland McGrath.
(scm_init_filesys): New symbols for use with fcntl.
* filesys.h: Added prototype.
(scm_strftime): don't call mktime before strftime. Use
filltime for return value.
(filltime): convert NULL zname to #f.
-* (scm_strptime): return a count of characters consumed, not
+ (scm_strptime): return a count of characters consumed, not
the remaining string.
Sun Apr 6 05:44:11 1997 Gary Houston <ghouston@actrix.gen.nz>
* posix.h: add prototype for scm_close_pipe, remove prototypes for
scm_open_input_pipe, scm_open_output_pipe, change scm_mknod prototype.
-* * posix.c (scm_mknod): split the mode argument into type and perms
+ * posix.c (scm_mknod): split the mode argument into type and perms
arguments, like the extra fields returned by stat.
* fports.c (scm_pipob): set the close, free and print procedures.
* unif.c (scm_array_set_x): Cast ICHR (obj) to char if storing in
a scm_tc7_byvect.
- * ramap.c (scm_ra_matchp, scm_ra_matchp, scm_array_fill_int, racp,
+ * ramap.c (scm_ra_matchp, scm_array_fill_int, racp,
scm_array_index_map_x, raeql_1, scm_array_equal_p): Completed
support for byte vectors.
Setup scm_keyword_prefix symbol.
(scm_lreadr): Only process keywords if SCM_KEYWORD_STYLE is
set to 'prefix.
-* I've left keyword support disabled by default, since it doesn't
+ I've left keyword support disabled by default, since it doesn't
seem to break the module system and it gives R4RS standard behaviour.
It can be reactivated with (read-set! keywords 'prefix).
* read.c (scm_read_hash_procedures): new variable.
(scm_read_hash_extend): new procedure.
(scm_get_hash_procedure): new procedure.
-* (scm_lreadr): use scm_get_hash_procedure instead of an argument
+ (scm_lreadr): use scm_get_hash_procedure instead of an argument
for extended # processing.
(scm_read, scm_lreadr, scm_lreadrecparen, scm_lreadparen,
scm_read_token): remove case_i, sharp arguments. Change callers.
(SCM_CASE_INSENSITIVE_P): define.
* read.c: add case-insensitive option to scm_read_opts.
-* (scm_read_token): use SCM_CASE_INSENSITIVE_P instead of an argument
+ (scm_read_token): use SCM_CASE_INSENSITIVE_P instead of an argument
to determine whether to convert symbol case.
(default_case_i): definition removed.
* read.c (scm_read_token): if case_i, downcase ic before doing
debug support twice, but it also seems to increase the speed of
the evaluator for such calls (e. g. (+ 1 2 3)).
-* * backtrace.c (scm_display_application): New procedure:
+ * backtrace.c (scm_display_application): New procedure:
display-application; Set fancy printing parameters individually
for different types of display (backtrace, error, application).
(These should of course be customizable!)
(scm_symbol_hash): Bugfix: Must msymbolize if tc7_ssymbol, othwise
we get segmentation fault!
-* * symbols.c: Added #include "weaks.h". New functions:
+ * symbols.c: Added #include "weaks.h". New functions:
`builtin-bindings' and `builtin-weak-bindings'. (These will be
moved to an extraneous library when we split libguile.)
Tue Feb 4 05:07:35 1997 Gary Houston <ghouston@actrix.gen.nz>
-* * net_db.c (scm_lnaof): change scheme name from lnaof to inet-lnaof.
+ * net_db.c (scm_lnaof): change scheme name from lnaof to inet-lnaof.
Mon Feb 3 06:12:37 1997 Gary Houston <ghouston@actrix.gen.nz>
* ioext.c, ioext.h: remove obsolete _sys_ from 9 procedure names.
-* * posix.c (scm_fork): Scheme name changed from fork to primitive-fork,
+ * posix.c (scm_fork): Scheme name changed from fork to primitive-fork,
to avoid clash with various scsh forks.
Thu Jan 30 20:14:09 1997 Mikael Djurfeldt <mdj@syk-0606.pdc.kth.se>
* __scm.h: uncomment SCM_ARG6 and SCM_ARG7, I needed SCM_ARG6.
* ioext.h: update prototypes.
-* * ioext.c (scm_read_delimited_x): replaces scm_read_line and
+ * ioext.c (scm_read_delimited_x): replaces scm_read_line and
scm_read_line_x, it's a more general procedure using an
interface from scsh. read-line and read-line! are now defined
in boot-9.scm.
-* Note that the new read-line trims the terminator
+ Note that the new read-line trims the terminator
by default, previously it was appended to the returned string. An
optional argument specifies how to process the terminator (scsh
compatible). For the old behaviour: (read-line port 'concat).
socket.h: update prototypes.
* socket.c (scm_recvfrom): for consistency with other procedures,
take start and end as separate optional arguments.
-* (scm_recv, scm_recvfrom): don't allow the second argument
+ (scm_recv, scm_recvfrom): don't allow the second argument
to be a size, only a buffer. Change the scheme names to
recv! and recvfrom!. Don't return the buffer.
SCM_FD.
* filesys.c (scm_sys_stat, scm_sys_lstat): pass errno to
scm_syserror_msg.
-* (scm_sys_read_fd, scm_sys_write_fd, scm_sys_close, scm_sys_lseek,
+ (scm_sys_read_fd, scm_sys_write_fd, scm_sys_close, scm_sys_lseek,
scm_sys_dup): deleted: FD capability will be added to other
procedures.
-* Remove support for the FD object type: scm_tc16_fd, scm_fd_print,
+ Remove support for the FD object type: scm_tc16_fd, scm_fd_print,
scm_fd_free, fd_smob, scm_intern_fd.
-* (scm_open): renamed from scm_sys_open. Return a port instead of
+ (scm_open): renamed from scm_sys_open. Return a port instead of
an FD object. Make the mode argument optional.
-* (scm_sys_create): deleted, it's just a special case of open.
+ (scm_sys_create): deleted, it's just a special case of open.
(scm_init_filesys): move interning of constants O_CREAT etc.,
here (were previously using SCM_CONST_LONG macro).
Add missing constants: O_RDONLY, O_WRONLY, O_RDWR, O_CREAT.