+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.
** 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.
** 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.
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
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.
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 ==============================================
+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
+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*.