+2002-12-08 Rob Browning <rlb@defaultvalue.org>
+
+ * configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST it.
+ (AC_CONFIG_FILES): separate out the files that need to be chmodded
+ at the end of config.status. Our "default" approach using
+ AC_CONFIG_COMMANDS quit working (and would have needed to be
+ changed to AC_CONFIG_COMMANDS(,,CMDS) rather than our previous
+ AC_CONFIG_COMMANDS(default,CMDS), but I the new approach, using
+ per-file AC_CONFIG_FILES calls appears to be more "correct" in the
+ current autoconf docs.
+
+ * GUILE-VERSION (GUILE_EFFECTIVE_VERSION): new variable.
+
2002-12-02 Marius Vollmer <mvo@zagadka.ping.de>
* Makefile.am (SUBDIRS): Removed qt.
-Guile NEWS --- history of user-visible changes. -*- text -*-
+Guile NEWS --- history of user-visible changes.
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
See the end for copying conditions.
* Changes to the distribution
-** There are two new thread implementation options: "null" and
- "coop-pthreads".
+** Guile now provide and uses an "effective" version number.
+
+Guile now provides scm_effective_version and effective-version
+functions which return the "effective" version number. This is just
+the normal full version string without the final micro-version number,
+so the current effective-version is "1.6". The effective version
+should remain unchanged during a stable series, and should be used for
+items like the versioned share directory name
+i.e. /usr/share/guile/1.6.
+
+Providing an unchanging version number during a stable release for
+things like the versioned share directory can be particularly
+important for Guile "add-on" packages, since it provides a directory
+that they can install to that won't be changed out from under them
+with each micro release during a stable series.
+
+** There are two new thread implementation options: "null" and "coop-pthreads".
When you configure "--with-threads=null", you will get the usual
threading API (call-with-new-thread, make-mutex, etc), but you can't
* Changes to Scheme functions and syntax
+** New function: effective-version
+
+Returns the "effective" version number. This is just the normal full
+version string without the final micro-version number. See "Changes
+to the distribution" above.
+
** Mutexes are now recursive.
Locking a mutex that you have already locked will now succeed. Every
* Changes to the C interface
+** New function: scm_effective_version
+
+Returns the "effective" version number. This is just the normal full
+version string without the final micro-version number. See "Changes
+to the distribution" above.
+
** The function scm_call_with_new_thread has a new prototype.
Instead of taking a list with the thunk and handler, these two
mode: outline
paragraph-separate: "[ \f]*$"
end:
-
+2002-12-08 Rob Browning <rlb@defaultvalue.org>
+
+ * scheme-options.texi (Build Config): add effective-version docs.
+
2002-11-17 Neil Jerram <neil@ossau.uklinux.net>
Applied patches from Stephen Compall as follows. (Thanks!)
+2002-12-08 Rob Browning <rlb@defaultvalue.org>
+
+ * configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST.
+
+ * Makefile.am (ice9dir): VERSION -> GUILE_EFFECTIVE_VERSION.
+
2002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
* readline.c (reentry_barrier_mutex): Reimplemented with
+2002-12-08 Rob Browning <rlb@defaultvalue.org>
+
+ * debugger/breakpoints/Makefile.am (subpkgdatadir): VERSION ->
+ GUILE_EFFECTIVE_VERSION.
+
+ * debugger/Makefile.am (subpkgdatadir): VERSION ->
+ GUILE_EFFECTIVE_VERSION.
+
+ * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
+
2002-12-04 Mikael Djurfeldt <mdj@linnaeus>
* threads.scm (par-map, par-for-each, parallel):
--- /dev/null
+Makefile
+Makefile.in
+2002-12-08 Rob Browning <rlb@defaultvalue.org>
+
+ * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
+
+ * primitives/Makefile.am (subpkgdatadir): VERSION ->
+ GUILE_EFFECTIVE_VERSION.
+
+ * internals/Makefile.am (subpkgdatadir): VERSION ->
+ GUILE_EFFECTIVE_VERSION.
+
2002-02-13 Neil Jerram <neil@ossau.uklinux.net>
* base.scm (load-emacs): Add optional parameters for specifying an
time.scm \
trace.scm
-subpkgdatadir = $(pkgdatadir)/$(VERSION)/lang/elisp/internals
+subpkgdatadir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)/lang/elisp/internals
subpkgdata_DATA = $(elisp_sources)
ETAGS_ARGS = $(subpkgdata_DATA)
system.scm \
time.scm
-subpkgdatadir = $(pkgdatadir)/$(VERSION)/lang/elisp/primitives
+subpkgdatadir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)/lang/elisp/primitives
subpkgdata_DATA = $(elisp_sources)
ETAGS_ARGS = $(subpkgdata_DATA)
+2002-12-08 Rob Browning <rlb@defaultvalue.org>
+
+ * version.h.in (SCM_MICRO_VERSION): use @--@ substitution now.
+ (SCM_MINOR_VERSION): use @--@ substitution now.
+ (SCM_MICRO_VERSION): use @--@ substitution now.
+ (scm_effective_version): new function prototype.
+
+ * version.c (scm_effective_version): new function, also add
+ effective-version.
+
+ * Makefile.am (schemelibdir): VERSION -> GUILE_EFFECTIVE_VERSION.
+ (libpath.h): use GUILE_EFFECTIVE_VERSION to compute
+ SCM_LIBRARY_DIR.
+ (version.h): generate this here rather than configure.in. This
+ approach tracks source edits better (i.e. more immediately).
+ Might be worth considering for other .in files too.
+
2002-12-02 Marius Vollmer <mvo@zagadka.ping.de>
Reorganized thread package selection. A thread package now only
+2002-12-08 Rob Browning <rlb@defaultvalue.org>
+
+ * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
+
+ * goops/Makefile.am (subpkgdatadir): VERSION ->
+ GUILE_EFFECTIVE_VERSION.
+
2002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
* goops.scm (standard-define-class): Changed definition to form
+2002-12-08 Rob Browning <rlb@defaultvalue.org>
+
+ * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
+
2002-10-26 Neil Jerram <neil@ossau.uklinux.net>
* lint (lint): Add message telling resolved module name.
+2002-12-08 Rob Browning <rlb@defaultvalue.org>
+
+ * Makefile.am (srfidir): VERSION -> GUILE_EFFECTIVE_VERSION.
+
2002-12-02 Marius Vollmer <mvo@zagadka.ping.de>
* Makefile.am (srfiinclude_HEADERS): Added srfi-1.h.
+2002-12-08 Rob Browning <rlb@defaultvalue.org>
+
+ * tests/version.test: test (effective-version).
+
2002-11-06 Neil Jerram <neil@ossau.uklinux.net>
* tests/options.test: New.