mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-18 18:40:22 +02:00
*** empty log message ***
This commit is contained in:
parent
d2c32d6324
commit
0a9e521f29
4 changed files with 52 additions and 5 deletions
28
NEWS
28
NEWS
|
@ -211,6 +211,10 @@ only characters, for compatibility with R5RS.
|
||||||
** New procedure: port-closed? PORT
|
** New procedure: port-closed? PORT
|
||||||
Returns #t if PORT is closed or #f if it is open.
|
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!
|
** Removed deprecated: serial-map, serial-array-copy!, serial-array-map!
|
||||||
|
|
||||||
* Changes to the gh_ interface
|
* Changes to the gh_ interface
|
||||||
|
@ -225,12 +229,15 @@ Use gh_bool2scm instead.
|
||||||
|
|
||||||
Thanks to Greg Badros!
|
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
|
Now Guile primitives are defined using the SCM_DEFINE/SCM_DEFINE1/SCM_PROC
|
||||||
and must contain a docstring that is extracted into foo.doc using a new
|
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).
|
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
|
** Guile primitives use a new technique for validation of arguments
|
||||||
|
|
||||||
SCM_VALIDATE_* macros are defined to ease the redundancy and improve
|
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.
|
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
|
** 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
|
must be set to non-zero in any random access port. In recent Guile
|
||||||
releases it was only set for bidirectional random-access ports.
|
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
|
the GC in a modular fashion. Examples are the weaks and guardians
|
||||||
modules.
|
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 type scm_smobfuns
|
||||||
|
|
||||||
** Removed deprecated function scm_newsmob
|
** Removed deprecated function scm_newsmob
|
||||||
|
|
11
RELEASE
11
RELEASE
|
@ -18,8 +18,15 @@ In release 1.5:
|
||||||
- remove scm_tag
|
- remove scm_tag
|
||||||
- remove code related to the name property of hooks. Also, check init.c,
|
- remove code related to the name property of hooks. Also, check init.c,
|
||||||
since the dependency between hooks and objprop will then be eliminated.
|
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
|
- remove deprecated function scm_list_star/list* (use SRFI-1 compliant
|
||||||
to update NEWS accordingly.
|
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 sort.c and random.c should be factored out into separate
|
||||||
modules (but still be distributed with guile-core) when we get a new
|
modules (but still be distributed with guile-core) when we get a new
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
2000-06-19 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
||||||
|
|
||||||
|
* 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 <mdj@thalamus.nada.kth.se>
|
2000-06-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
|
||||||
|
|
||||||
* init.c, init.h (scm_initialized_p): Renamed from `initialized'
|
* init.c, init.h (scm_initialized_p): Renamed from `initialized'
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
||||||
|
|
||||||
|
* tests/list.test: Use cons* instead of list*.
|
||||||
|
|
||||||
2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
|
2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
|
||||||
|
|
||||||
* tests/numbers.test, tests/list.test: Updated for new
|
* tests/numbers.test, tests/list.test: Updated for new
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue