1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

*** empty log message ***

This commit is contained in:
Marius Vollmer 2001-05-05 19:16:08 +00:00
parent 94a0d8859a
commit c10ecc4c81
5 changed files with 37 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2001-05-05 Marius Vollmer <mvo@zagadka.ping.de>
* configure.in (--enable-deprecated): Recognize "shutup" option
argument and turn it into the default warning level "no".
2001-05-05 Gary Houston <ghouston@arglist.com>
* acconfig.h: add HAVE_IPV6.

19
NEWS
View file

@ -271,7 +271,7 @@ to write the empty list as a literal constant is to use quote: "'()".
** Auto-loading of compiled-code modules is deprecated.
Guile used to be able to automatically find and link a shared
libraries to satisfy requests for a module. For example, the module
library to satisfy requests for a module. For example, the module
`(foo bar)' could be implemented by placing a shared library named
"foo/libbar.so" (or with a different extension) in a directory on the
load path of Guile.
@ -373,14 +373,14 @@ objects are usually permanent.
** Escape procedures created by call-with-current-continuation now
accept any number of arguments, as required by R5RS.
** New function `call-with-deprecation'
** New function `issue-deprecation-warning'
Call a thunk, displaying a deprecation message at the first call:
This function is used to displaying the deprecation messages that are
controlled by GUILE_WARN_DEPRECATION as explained in the README.
(define (id x)
(call-with-deprecation "`id' is deprecated. Use `identity' instead."
(lambda ()
(identity x))))
(issue-deprecation-warning "`id' is deprecated. Use `identity' instead.")
(identity x))
guile> (id 1)
;; `id' is deprecated. Use `identity' instead.
@ -388,6 +388,13 @@ Call a thunk, displaying a deprecation message at the first call:
guile> (id 1)
1
** New syntax `begin-deprecated'
When deprecated features are included (as determined by the configure
option --enable-deprecated), `begin-deprecated' is identical to
`begin'. When deprecated features are excluded, it always evaluates
to `#f', ignoring the body forms.
** New function `make-object-property'
This function returns a new `procedure with setter' P that can be used

4
README
View file

@ -118,7 +118,7 @@ It works like this:
When `--enable-deprecated=LEVEL' has been specified (for LEVEL not
"no"), LEVEL will be used as the default value of the environment
variable GUILE_WARN_DEPRECATED. A value of "yes" is changed to
"summary", however.
"summary" and "shutup" is changed to "no", however.
When GUILE_WARN_DEPRECATION has the value "no", nothing special will
happen when a deprecated feature is used.
@ -134,7 +134,7 @@ It works like this:
warning is emitted immediatly for the first use of a deprecated
feature.
The default is `--enable-deprecation=yes'.
The default is `--enable-deprecated=yes'.
About This Distribution ==============================================

View file

@ -1,3 +1,11 @@
2001-05-05 Marius Vollmer <mvo@zagadka.ping.de>
* objects.c, objects.h (scm_valid_object_procedure_p): New.
(scm_set_object_procedure_x): Use it to check argument. Fix
docstring.
* evalext.c (scm_definedp): Fix docstring.
2001-05-05 Gary Houston <ghouston@arglist.com>
* socket.c: use HAVE_IPV6 instead of AF_INET6 to enable IPv6

View file

@ -1,3 +1,12 @@
2001-05-05 Marius Vollmer <mvo@zagadka.ping.de>
* goops.scm (initialize-object-procedure): Use
`valid-object-procedure?' instead of explicit tag magic.
(object-procedure-tags): Removed.
* goops/util.scm (top-level-env): Use `current-module' instead of
the deprecated *top-level-lookup-closure*.
2001-04-28 Rob Browning <rlb@cs.utexas.edu>
* goops/save.scm (write-readably): rename list* to cons*.