From 0a9e521f29c7de9a8b45f16c7f743efd9bac3144 Mon Sep 17 00:00:00 2001 From: Mikael Djurfeldt Date: Mon, 19 Jun 2000 10:05:54 +0000 Subject: [PATCH] *** empty log message *** --- NEWS | 28 +++++++++++++++++++++++++--- RELEASE | 11 +++++++++-- libguile/ChangeLog | 14 ++++++++++++++ test-suite/ChangeLog | 4 ++++ 4 files changed, 52 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 8972ab0cc..0482d8b76 100644 --- a/NEWS +++ b/NEWS @@ -211,6 +211,10 @@ only characters, for compatibility with R5RS. ** New procedure: port-closed? PORT Returns #t if PORT is closed or #f if it is open. +** Deprecated: list* + +The list* functionality is now provided by cons* (SRFI-1 compliant) + ** Removed deprecated: serial-map, serial-array-copy!, serial-array-map! * Changes to the gh_ interface @@ -225,12 +229,15 @@ Use gh_bool2scm instead. Thanks to Greg Badros! -** Guile primitives are defined in a new way: GUILE_PROC/GUILE_PROC1 +** Guile primitives are defined in a new way: SCM_DEFINE/SCM_DEFINE1/SCM_PROC -Now Guile primitives are defined using the GUILE_PROC/GUILE_PROC1 macros -and must contain a docstring that is extracted into foo.doc using a new +Now Guile primitives are defined using the SCM_DEFINE/SCM_DEFINE1/SCM_PROC +macros and must contain a docstring that is extracted into foo.doc using a new guile-doc-snarf script (that uses guile-doc-snarf.awk). +However, a major overhaul of these macros is scheduled for the next release of +guile. + ** Guile primitives use a new technique for validation of arguments SCM_VALIDATE_* macros are defined to ease the redundancy and improve @@ -265,6 +272,14 @@ SCM_NVECTORP These macros will be removed in a future release of Guile. +** The following types, functions and macros from numbers.h are deprecated: +scm_dblproc, SCM_UNEGFIXABLE, SCM_FLOBUFLEN, SCM_INEXP, SCM_CPLXP, SCM_REAL, +SCM_IMAG, SCM_REALPART, scm_makdbl, SCM_SINGP, SCM_NUM2DBL, SCM_NO_BIGDIG + +Further, it is recommended not to rely on implementation details for guile's +current implementation of bignums. It is planned to replace this +implementation with gmp in the future. + ** Port internals: the rw_random variable in the scm_port structure must be set to non-zero in any random access port. In recent Guile releases it was only set for bidirectional random-access ports. @@ -449,6 +464,13 @@ are run when the heap is locked. These are intended for extension of the GC in a modular fashion. Examples are the weaks and guardians modules. +** Deprecated type tags: scm_tc16_flo, scm_tc_flo, scm_tc_dblr, scm_tc_dblc + +Guile does not provide the float representation for inexact real numbers any +more. Now, only doubles are used to represent inexact real numbers. Further, +the tag names scm_tc_dblr and scm_tc_dblc have been changed to scm_tc16_real +and scm_tc16_complex, respectively. + ** Removed deprecated type scm_smobfuns ** Removed deprecated function scm_newsmob diff --git a/RELEASE b/RELEASE index 89d2aa554..700566d23 100644 --- a/RELEASE +++ b/RELEASE @@ -18,8 +18,15 @@ In release 1.5: - remove scm_tag - remove code related to the name property of hooks. Also, check init.c, since the dependency between hooks and objprop will then be eliminated. -Dirk:FIXME:: look into deprecated things in numbers.h and tags.h, don't forget -to update NEWS accordingly. +- remove deprecated function scm_list_star/list* (use SRFI-1 compliant + scm_cons_star/cons* instead.) +- remove scm_tc16_flo, scm_tc_flo (guile always uses doubles to represent + inexact real numbers) +- remove scm_tc_dblr (replaced by scm_tc16_real) +- remove scm_tc_dblc (replaced by scm_tc16_complex) +- remove deprecated types, functions and macros from numbers.h: scm_dblproc, + SCM_UNEGFIXABLE, SCM_FLOBUFLEN, SCM_INEXP, SCM_CPLXP, SCM_REAL, SCM_IMAG, + SCM_REALPART, scm_makdbl, SCM_SINGP, SCM_NUM2DBL, SCM_NO_BIGDIG Modules sort.c and random.c should be factored out into separate modules (but still be distributed with guile-core) when we get a new diff --git a/libguile/ChangeLog b/libguile/ChangeLog index a91daee0a..bcd775f6c 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,17 @@ +2000-06-19 Dirk Herrmann + + * list.[ch] (scm_cons_star/cons*): Renamed from + scm_list_star/list*. + + * list.[ch] (scm_list_star/list*): Provided as a deprecated alias + for scm_cons_star/cons*. + + * gc.c (scm_protect_object): Updated comment. + + * numbers.h (SCM_NEWREAL, SCM_NEWCOMPLEX): Removed. + + * tags.h (SCM_UNPACK_CAR, SCM_NDOUBLE_CELLP): Removed. + 2000-06-19 Mikael Djurfeldt * init.c, init.h (scm_initialized_p): Renamed from `initialized' diff --git a/test-suite/ChangeLog b/test-suite/ChangeLog index 8e2b917f3..d604ff555 100644 --- a/test-suite/ChangeLog +++ b/test-suite/ChangeLog @@ -1,3 +1,7 @@ +2000-06-16 Dirk Herrmann + + * tests/list.test: Use cons* instead of list*. + 2000-06-13 Mikael Djurfeldt * tests/numbers.test, tests/list.test: Updated for new