+2001-04-19 Dirk Herrmann <D.Herrmann@tu-bs.de>
+
+ This patch eliminates some further applications of SCM_C[AD]R to
+ non pair cells.
+
+ * gc.h (SCM_SETAND_CAR, SCM_SETOR_CAR): Deprecated. These have
+ never been applied to real pairs.
+
+ * srcprop.h (SCM_SOURCE_PROPERTY_FLAG_BREAK): Added.
+
+ (SRCPROPBRK): Use SCM_SOURCE_PROPERTY_FLAG_BREAK.
+
+ * unif.h (SCM_ARRAY_CONTIGUOUS, SCM_ARRAY_FLAG_CONTIGUOUS,
+ SCM_ARRAY_CONTP): Renamed SCM_ARRAY_CONTIGUOUS to
+ SCM_ARRAY_FLAG_CONTIGUOUS and use it.
+
+ (SCM_SET_ARRAY_CONTIGUOUS_FLAG, SCM_CLR_ARRAY_CONTIGUOUS_FLAG):
+ Added.
+
+ * srcprop.h (SRCPROPH), unif.h (UNIFH): Renamed to
+ SCM_SOURCE_PROPERTIES_H and SCM_UNIFORM_VECTORS_H, respectively.
+
+ * srcprop.h (SETSRCPROPBRK, CLEARSRCPROPBRK), unif.c
+ (scm_dimensions_to_uniform_array, scm_ra_set_contp): Don't use
+ SCM_SET{AND,OR}_CAR.
+
+2001-04-17 Gary Houston <ghouston@arglist.com>
+
+ * some initial support for IPv6:
+
+ * socket.c (scm_fill_sockaddr): improve the argument validation.
+ don't allocate memory until all args are checked. instead of
+ unconditional memset of soka, try setting sin_len to 0 if
+ SIN_LEN is defined. add support for AF_INET6. define FUNC_NAME.
+ (scm_socket, scm_connect): extend docstrings for IPv6.
+ (scm_init_socket): intern AF_INET6 and PF_INET6.
+
+2001-04-17 Niibe Yutaka <gniibe@m17n.org>
+
+ * srcprop.c (scm_make_srcprops): Added SCM_ALLOW_INTS which
+ matches SCM_DEFER_INTS at the beginning of the function.
+
+ * mallocs.c (scm_malloc_obj): Remove un-matched SCM_ALLOW_INTS.
+
+ * gc.c (scm_igc): Unconditionally call
+ SCM_CRITICAL_SECTION_START/END.
+
+ * fluids.c (next_fluid_num): Unconditionally call
+ SCM_CRITICAL_SECTION_START/END.
+ (s_scm_make_fluid): Remove un-matched SCM_DEFER_INTS.
+
+ * coop-defs.h (SCM_THREAD_DEFER, SCM_THREAD_ALLOW,
+ SCM_THREAD_REDEFER, SCM_THREAD_REALLOW_1, SCM_THREAD_REALLOW_2):
+ Removed.
+
+ * __scm.h (SCM_CRITICAL_SECTION_START, SCM_CRITICAL_SECTION_END):
+ Defined as nothing for the case of !defined(USE_THREADS).
+ (SCM_THREAD_DEFER, SCM_THREAD_ALLOW, SCM_THREAD_REDEFER):
+ Removed.
+ (<stdio.h>): Include when (SCM_DEBUG_INTERRUPTS == 1).
+ (SCM_CHECK_NOT_DISABLED, SCM_CHECK_NOT_ENABLED): Print FILE and
+ LINE.
+ (SCM_DEFER_INTS, SCM_ALLOW_INTS_ONLY, SCM_ALLOW_INTS,
+ SCM_REDEFER_INTS, SCM_REALLOW_INTS): Don't use
+ SCM_THREAD_DEFER/SCM_THREAD_ALLOW. Instead, use
+ SCM_CRITICAL_SECTION_START/END.
+ (SCM_REALLOW_INTS: Bug fix. Don't call
+ SCM_THREAD_SWITCHING_CODE.
+ (SCM_TICK): Don't use SCM_DEFER_INTS/SCM_ALLOW_INTS. Instead, use
+ SCM_THREAD_SWITCHING_CODE directly.
+ (SCM_ENTER_A_SECTION): Unconditionally use
+ SCM_CRITICAL_SECTION_START/END. (was:
+ SCM_DEFER_INTS/SCM_ALLOW_INTS when SCM_POSIX_THREADS defined).
+
+2001-04-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
+
+ * __scm.h (SCM_CAREFUL_INTS, SCM_DEBUG_INTERRUPTS): Replaced the
+ macro SCM_CAREFUL_INTS by the macro SCM_DEBUG_INTERRUPTS and
+ allowed to explicitly set this macro via the CFLAGS variable
+ during make.
+
+ * fluids.c (next_fluid_num), gc.c (scm_igc), coop-defs.h
+ (SCM_THREAD_CRITICAL_SECTION_START,
+ SCM_THREAD_CRITICAL_SECTION_END): Renamed
+ SCM_THREAD_CRITICAL_SECTION_START/END to
+ SCM_CRITICAL_SECTION_START/END.
+
+2001-04-11 Keisuke Nishida <kxn30@po.cwru.edu>
+
+ * debug-malloc.c (grow, scm_debug_malloc_prehistory): Use memset
+ instead of bzero.
+
+ * coop.c, iselect.c (FD_ZERO_N): Unconditionally use memset.
+ (MISSING_BZERO_DECL): Remove the declaration.
+
+ Thanks to NIIBE Yutaka.
+
+2001-04-10 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
+
+ * init.c, goops.c, goops.h: Reverted change of 2001-03-29. (The
+ goops module should be registered in order to work for an
+ application which uses libguile statically linked.)
+
+2001-04-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
+
+ * numbers.[ch] (scm_num2long, scm_num2long_long,
+ scm_num2ulong_long, scm_num2ulong): Argument position is an
+ unsigned integer.
+
+ * environments.c (eval_environment_folder,
+ import_environment_folder), gh_data.c (gh_scm2longs,
+ gh_scm2floats, gh_scm2doubles): Distinguish between 0 and NULL
+ for integers and pointers, respectively.
+
+ * gh_data.c (gh_scm2ulong, gh_scm2long, gh_scm2int), socket.c
+ (scm_fill_sockaddr), unif.c (scm_array_set_x), validate.h
+ (SCM_NUM2ULONG, SCM_NUM2LONG, SCM_NUM2LONG_DEF,
+ SCM_NUM2LONG_LONG): Don't pass argument positions as pointers.
+
+ * filesys.c (scm_open_fdes, scm_open), net_db (scm_inet_ntoa,
+ scm_inet_netof, scm_lnaof, scm_gethost, scm_getproto), posix.c
+ (scm_utime), ramap.c (scm_array_fill_int), scmsigs.c
+ (scm_sigaction), socket.c (scm_htonl, scm_ntohl, scm_sendto),
+ stime.c (scm_localtime, scm_gmtime), struct.c (scm_struct_set_x),
+ validate.h (SCM_VALIDATE_LONG_COPY): Whitespace fixes.
+
+2001-04-09 Neil Jerram <neil@ossau.uklinux.net>
+
+ * strings.c (scm_read_only_string_p): Update docstring to reflect
+ current (non-)usage of "read only" strings.
+ (scm_make_shared_substring): Clarify docstring by changing
+ "semantics" to "arguments".
+
+2001-04-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
+
+ * hooks.c (scm_make_hook, scm_make_hook_with_name),
+ (scm_hook_p, scm_hook_empty_p, scm_run_hook): Docstring
+ improvements.
+
+2001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
+
+ The following changes make the documentation more consistent.
+
+ * rdelim.c (scm_write_line), posix.c (scm_utime), ports.c
+ (scm_seek), net_db.c (scm_inet_aton, scm_inet_ntoa),
+ (scm_inet_netof, scm_lnaof, scm_inet_makeaddr), ioext.c
+ (scm_ftell): Changed @smalllisp ... @end smalllisp to @lisp
+ ... @end lisp.
+
+ * vports.c (scm_make_soft_port), version.c (scm_version), unif.c
+ (scm_array_dimensions, scm_make_shared_array),
+ (scm_transpose_array, scm_enclose_array, scm_bit_count_star),
+ throw.c (scm_catch), struct.c (scm_make_vtable_vtable), strop.c
+ (scm_string_rindex, scm_string_index, scm_substring_fill_x),
+ (scm_string_null_p), strings.c (scm_read_only_string_p), root.c
+ (scm_call_with_dynamic_root), ramap.c (scm_array_index_map_x),
+ posix.c (scm_mknod), numbers.c (scm_logtest, scm_logbit_p),
+ macros.c (scm_makmmacro), list.c (scm_append), environments.c
+ (scm_environment_fold), dynwind.c (s_scm_dynamic_wind): Changed
+ @example ... @end example to @lisp ... @end lisp.
+
+ * weaks.c (scm_weak_vector): Corrected docstring.
+
+ * hashtab.c (scm_hashq_ref, scm_hashq_set_x, scm_hashq_remove_x),
+ (scm_hashv_ref, scm_hashv_set_x, scm_hashv_remove_x),
+ (scm_hash_ref, scm_hash_set_x, scm_hash_remove_x, scm_hashx_ref),
+ (scm_hashx_set_x, scm_hashx_get_handle),
+ (scm_hashx_create_handle_x), regex-posix.c (scm_make_regexp),
+ (scm_regexp_exec, scm_regexp_p), numbers.c (scm_logtest),
+ vectors.c (scm_vector_fill_x), strings.c
+ (scm_make_shared_substring), symbols.c (scm_string_to_symbol),
+ objprop.c (scm_set_object_properties_x):
+ (scm_set_object_property_x), throw.c (scm_catch, scm_lazy_catch),
+ strports.c (scm_call_with_input_string), ports.c
+ (scm_truncate_file), ioext.c (scm_ftell), ports.c (scm_seek),
+ list.c (scm_append_x), dynwind.c (scm_dynamic_wind), error.c
+ (scm_error_scm), vports.c (scm_make_soft_port), weaks.c
+ (scm_make_weak_vector,scm_weak_vector_p),
+ (scm_make_weak_key_hash_table, scm_make_weak_value_hash_table),
+ (scm_make_doubly_weak_hash_table, scm_weak_key_hash_table_p),
+ (scm_weak_value_hash_table_p, scm_doubly_weak_hash_table_p),
+ macros.c (scm_macro_type), dynl.c (scm_dynamic_link),
+ (scm_dynamic_unlink, scm_dynamic_call, scm_dynamic_args_call):
+ Made parameter names match documentation by renaming parameters
+ and/or fixing docstrings.
+
+ * numbers.c (scm_ash): Corrected Texinfo markup.
+
+ * strop.c (scm_string_index, scm_string_rindex),
+ (scm_substring_fill_x, scm_string_null_p): Removed `qdocs'.
+
+ * vports.c (scm_make_soft_port), unif.c
+ (scm_uniform_vector_length, scm_array_p, scm_array_rank),
+ (scm_dimensions_to_uniform_array, scm_transpose_array),
+ (scm_array_in_bounds_p, scm_uniform_vector_ref),
+ (scm_bit_count, scm_bit_position, scm_bit_count_star),
+ (scm_array_to_list, scm_list_to_uniform_array),
+ (scm_array_prototype, symbols.c (scm_string_to_symbol), strports.c
+ (scm_open_input_string, scm_open_output_string),
+ (scm_get_output_string), strop.c (scm_string_copy),
+ (scm_string_fill_x), strings.c (scm_string_p, scm_string), stime.c
+ (scm_get_internal_real_time, scm_times),
+ (scm_get_internal_run_time, scm_current_time, scm_gettimeofday),
+ (scm_localtime, scm_gmtime), socket.c (scm_htons, scm_ntohs),
+ (scm_htonl, scm_ntohl, scm_socket, scm_socketpair),
+ (scm_getsockopt, scm_getsockname, scm_getpeername, scm_recvfrom),
+ simpos.c (scm_system), random.c (scm_random_uniform),
+ (scm_random_normal, scm_random_exp), ramap.c
+ (scm_array_equal_p), posix.c (scm_pipe, scm_getgroups),
+ (scm_status_exit_val, scm_status_term_sig, scm_status_stop_sig),
+ (scm_getppid, scm_getuid, scm_getgid, scm_geteuid, scm_getegid),
+ (scm_getpgrp, scm_ttyname, scm_ctermid, scm_tcgetpgrp, scm_uname),
+ (scm_environ, scm_tmpnam, scm_mkstemp, scm_access, scm_getpid),
+ (scm_setlocale), ports.c (scm_char_ready_p, scm_drain_input),
+ (scm_pt_size, scm_pt_member, scm_port_revealed, scm_port_mode),
+ (scm_close_port, scm_input_port_p, scm_output_port_p, scm_port_p),
+ (scm_port_closed_p, scm_eof_object_p, scm_read_char),
+ (scm_peek_char), pairs.c (scm_pair_p, scm_cons), numbers.c
+ (scm_logand, scm_logior, scm_logxor, scm_lognot),
+ (scm_integer_expt, scm_bit_extract, scm_logcount),
+ (scm_integer_length, scm_string_to_number, scm_inexact_to_exact),
+ net_db.c (scm_inet_netof, scm_lnaof), modules.c
+ (scm_interaction_environment), macros.c (scm_makacro),
+ (scm_makmacro, scm_makmmacro), keywords.c (scm_keyword_p), ioext.c
+ (scm_ftell, scm_dup_to_fdes, scm_fileno, scm_isatty_p),
+ (scm_fdopen, scm_fdes_to_ports), gc.c (scm_gc_stats), fluids.c
+ (scm_fluid_ref), filesys.c (scm_open_fdes),
+ (scm_stat, scm_directory_stream_p, scm_getcwd, scm_readlink):
+ Docstring correction: `Returns' -> `Return'
+
+ * gc.c (scm_set_debug_cell_accesses_x):
+ (s_scm_gc_set_debug_check_freelist_x):
+ * fluids.c (scm_fluid_p): Added texinfo markup.
+
+ * error.c (scm_strerror): Made docstring more precise.
+
+ * vectors.c (scm_vector_p, scm_vector, scm_make_vector),
+ (scm_vector_to_list, _scm_vector_fill_x), symbols.c
+ (scm_symbol_p, scm_symbol_to_string), strorder.c
+ (scm_string_equal_p, scm_string_ci_equal_p, scm_string_less_p),
+ (scm_string_leq_p, scm_string_gr_p, scm_string_geq_p),
+ (scm_string_ci_less_p, scm_string_ci_leq_p, scm_string_ci_gr_p):
+ (scm_string_ci_geq_p), strop.c (scm_string_copy),
+ (scm_string_fill_x): Removed `(r5rs)' from docstrings.
+
2001-04-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
* gc.c (MARK): Re-introduce a cheap sanity test for non debug