1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 07:50:20 +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> 2001-05-05 Gary Houston <ghouston@arglist.com>
* acconfig.h: add HAVE_IPV6. * 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. ** Auto-loading of compiled-code modules is deprecated.
Guile used to be able to automatically find and link a shared 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 bar)' could be implemented by placing a shared library named
"foo/libbar.so" (or with a different extension) in a directory on the "foo/libbar.so" (or with a different extension) in a directory on the
load path of Guile. load path of Guile.
@ -373,14 +373,14 @@ objects are usually permanent.
** Escape procedures created by call-with-current-continuation now ** Escape procedures created by call-with-current-continuation now
accept any number of arguments, as required by R5RS. 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) (define (id x)
(call-with-deprecation "`id' is deprecated. Use `identity' instead." (issue-deprecation-warning "`id' is deprecated. Use `identity' instead.")
(lambda () (identity x))
(identity x))))
guile> (id 1) guile> (id 1)
;; `id' is deprecated. Use `identity' instead. ;; `id' is deprecated. Use `identity' instead.
@ -388,6 +388,13 @@ Call a thunk, displaying a deprecation message at the first call:
guile> (id 1) guile> (id 1)
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' ** New function `make-object-property'
This function returns a new `procedure with setter' P that can be used 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 When `--enable-deprecated=LEVEL' has been specified (for LEVEL not
"no"), LEVEL will be used as the default value of the environment "no"), LEVEL will be used as the default value of the environment
variable GUILE_WARN_DEPRECATED. A value of "yes" is changed to 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 When GUILE_WARN_DEPRECATION has the value "no", nothing special will
happen when a deprecated feature is used. 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 warning is emitted immediatly for the first use of a deprecated
feature. feature.
The default is `--enable-deprecation=yes'. The default is `--enable-deprecated=yes'.
About This Distribution ============================================== 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> 2001-05-05 Gary Houston <ghouston@arglist.com>
* socket.c: use HAVE_IPV6 instead of AF_INET6 to enable IPv6 * 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> 2001-04-28 Rob Browning <rlb@cs.utexas.edu>
* goops/save.scm (write-readably): rename list* to cons*. * goops/save.scm (write-readably): rename list* to cons*.