bpt/guile.git
21 years ago*** empty log message ***
Rob Browning [Tue, 25 Mar 2003 23:55:48 +0000 (23:55 +0000)]
*** empty log message ***

21 years ago* gc_os_dep.c: #include <config.h> if HAVE_CONFIG_H. Replace
Rob Browning [Tue, 25 Mar 2003 23:55:43 +0000 (23:55 +0000)]
* gc_os_dep.c: #include <config.h> if HAVE_CONFIG_H.  Replace
usage of STACK_GROWS_UP with SCM_STACK_GROWS_UP.

21 years ago* gc.h: replace usage of SIZEOF_LONG with
Rob Browning [Tue, 25 Mar 2003 23:55:37 +0000 (23:55 +0000)]
* gc.h: replace usage of SIZEOF_LONG with
SCM_SIZEOF_UNSIGNED_LONG.  Replace usage of USE_PTHREAD_THREADS
with SCM_USE_PTHREAD_THREADS.  Remove SCM_SIZEOF_LONG definition
since we handle that in scmconfig.h now.

21 years ago* gc.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:55:31 +0000 (23:55 +0000)]
* gc.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* gc-mark.c: #include <config.h> if HAVE_CONFIG_H. Rename usage
Rob Browning [Tue, 25 Mar 2003 23:55:25 +0000 (23:55 +0000)]
* gc-mark.c: #include <config.h> if HAVE_CONFIG_H.  Rename usage
of HAVE_ARRAYS to SCM_HAVE_ARRAYS.  Replace usage of
HAVE_LONG_LONGS with "SCM_SIZEOF_LONG_LONG != 0".

21 years ago* gc-malloc.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:55:20 +0000 (23:55 +0000)]
* gc-malloc.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* gc-card.c: rename usage of HAVE_ARRAYS to SCM_HAVE_ARRAYS.
Rob Browning [Tue, 25 Mar 2003 23:55:14 +0000 (23:55 +0000)]
* gc-card.c: rename usage of HAVE_ARRAYS to SCM_HAVE_ARRAYS.
Replace usage of HAVE_LONG_LONGS with "SCM_SIZEOF_LONG_LONG != 0".

21 years ago* fports.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:55:09 +0000 (23:55 +0000)]
* fports.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* filesys.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:54:53 +0000 (23:54 +0000)]
* filesys.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* feature.c: #include <config.h> if HAVE_CONFIG_H. Rename usage
Rob Browning [Tue, 25 Mar 2003 23:54:46 +0000 (23:54 +0000)]
* feature.c: #include <config.h> if HAVE_CONFIG_H.  Rename usage
of USE_NULL_THREADS to SCM_USE_NULL_THREADS.

21 years ago* extensions.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:54:41 +0000 (23:54 +0000)]
* extensions.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* evalext.c: rename usage of HAVE_ARRAYS to SCM_HAVE_ARRAYS.
Rob Browning [Tue, 25 Mar 2003 23:54:35 +0000 (23:54 +0000)]
* evalext.c: rename usage of HAVE_ARRAYS to SCM_HAVE_ARRAYS.
Replace usage of HAVE_LONG_LONGS with "SCM_SIZEOF_LONG_LONG != 0".

21 years ago* eval.c: #include <config.h> if HAVE_CONFIG_H. #include
Rob Browning [Tue, 25 Mar 2003 23:54:28 +0000 (23:54 +0000)]
* eval.c: #include <config.h> if HAVE_CONFIG_H.  #include
"libguile/__scm.h" rather than scmconfig.h.  Rename usage of
HAVE_ARRAYS to SCM_HAVE_ARRAYS.  Replace usage of HAVE_LONG_LONGS
with "SCM_SIZEOF_LONG_LONG != 0".

21 years ago* error.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:54:21 +0000 (23:54 +0000)]
* error.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* eq.c: #include <config.h> if HAVE_CONFIG_H. Rename usage of
Rob Browning [Tue, 25 Mar 2003 23:54:15 +0000 (23:54 +0000)]
* eq.c: #include <config.h> if HAVE_CONFIG_H.  Rename usage of
HAVE_ARRAYS to SCM_HAVE_ARRAYS.  Replace usage of HAVE_LONG_LONGS
with "SCM_SIZEOF_LONG_LONG != 0".

21 years ago* deprecation.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:54:07 +0000 (23:54 +0000)]
* deprecation.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* coop.c: replace usage of struct timespect with scm_t_timespec.
Rob Browning [Tue, 25 Mar 2003 23:54:01 +0000 (23:54 +0000)]
* coop.c: replace usage of struct timespect with scm_t_timespec.
#include <config.h> if HAVE_CONFIG_H.

21 years ago* coop-threads.c: #include "libguile/_scm.h" early. Replace
Rob Browning [Tue, 25 Mar 2003 23:53:56 +0000 (23:53 +0000)]
* coop-threads.c: #include "libguile/_scm.h" early.  Replace
usage of struct timespect with scm_t_timespec.  Replace usage of
STACK_GROWS_UP with SCM_STACK_GROWS_UP.

21 years ago* coop-pthreads.c: #include "libguile/_scm.h" early. Replace
Rob Browning [Tue, 25 Mar 2003 23:53:49 +0000 (23:53 +0000)]
* coop-pthreads.c: #include "libguile/_scm.h" early.  Replace
usage of struct timespect with scm_t_timespec.  Replace usage of
STACK_GROWS_UP with SCM_STACK_GROWS_UP.

21 years ago* coop-defs.h: move handling of time related headers to
Rob Browning [Tue, 25 Mar 2003 23:53:32 +0000 (23:53 +0000)]
* coop-defs.h: move handling of time related headers to
scmconfig.h.  Add #include "libguile/__scm.h".  Rename usage of
HAVE_WINSOCK2_H to SCM_HAVE_WINSOCK2_H.  Replace usage of struct
timespect with scm_t_timespec.

21 years ago* convert.i.c: rename usage of HAVE_ARRAYS to SCM_HAVE_ARRAYS.
Rob Browning [Tue, 25 Mar 2003 23:53:26 +0000 (23:53 +0000)]
* convert.i.c: rename usage of HAVE_ARRAYS to SCM_HAVE_ARRAYS.

21 years ago* convert.h: rename usage of HAVE_ARRAYS to SCM_HAVE_ARRAYS.
Rob Browning [Tue, 25 Mar 2003 23:52:58 +0000 (23:52 +0000)]
* convert.h: rename usage of HAVE_ARRAYS to SCM_HAVE_ARRAYS.

21 years ago* convert.c: #include <config.h> if HAVE_CONFIG_H. Rename usage
Rob Browning [Tue, 25 Mar 2003 23:52:52 +0000 (23:52 +0000)]
* convert.c: #include <config.h> if HAVE_CONFIG_H.  Rename usage
of HAVE_ARRAYS to SCM_HAVE_ARRAYS.

21 years ago* continuations.c: move libguile/_scm.h include to the top so we
Rob Browning [Tue, 25 Mar 2003 23:52:46 +0000 (23:52 +0000)]
* continuations.c: move libguile/_scm.h include to the top so we
pick up any critical defines like _GNU_SOURCE early.

21 years ago* backtrace.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:52:40 +0000 (23:52 +0000)]
* backtrace.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* async.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:52:33 +0000 (23:52 +0000)]
* async.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* alloca.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:52:25 +0000 (23:52 +0000)]
* alloca.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* _scm.h: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:52:18 +0000 (23:52 +0000)]
* _scm.h: #include <config.h> if HAVE_CONFIG_H.
Rename usage of USE_PTHREAD_THREADS to SCM_USE_PTHREAD_THREADS.

21 years ago* __scm.h: move libguile/scmconfig.h include up to the top, so
Rob Browning [Tue, 25 Mar 2003 23:51:57 +0000 (23:51 +0000)]
* __scm.h: move libguile/scmconfig.h include up to the top, so
we're sure to pick up any critical defines like _GNU_SOURCE early.
#include <limits.h> removed in favor of scmconfig.h inclusion when
appropriate.  STDC_HEADERS based inclusion of stdlib.h,
sys/types.h, stddef.h, and sys/stdtypes.h removed in favor of
scmconfig.h inclusion when appropriate.  Various Win32 related
definitions removed in favor of scmconfig.h inclusion when
appropriate.
(HAVE_UINTPTR_T): definition removed (see NEWS).
(SIZEOF_PTRDIFF_T): definition removed (see NEWS).
(HAVE_LONG_LONGS): definition removed (see NEWS).
(HAVE_LONG_LONG): definition removed (see NEWS).
(HAVE_PTRDIFF_T): definition removed (see NEWS).

21 years ago* Makefile.am: scmconfig.h is now generated by building and
Rob Browning [Tue, 25 Mar 2003 23:51:37 +0000 (23:51 +0000)]
* Makefile.am: scmconfig.h is now generated by building and
running gen-scmconfig.h and capturing its output.  gen-scmconfig
uses config.h and the configure.in generated gen-scmconfig.h to
decide what to output.  See gen-scmconfig.c for details.
(noinst_PROGRAMS): add gen-scmconfig.
(gen_scmconfig_SOURCES): new variable.
(gen-scmconfig.$(OBJEXT)): new target - be careful to handle
cross-compiling right.
(scmconfig.h): build scmconfig.h from gen-scmconfig's output.
(BUILT_SOURCES): add scmconfig.h.

21 years ago* configure.in: big overhaul to shift us to have separate private,
Rob Browning [Tue, 25 Mar 2003 23:51:15 +0000 (23:51 +0000)]
* configure.in: big overhaul to shift us to have separate private,
config.h, and public, scmconfig.h, configuration headers.  Added a
fair amount of code to track down new required types: scm_t_uint8,
scm_t_uint16, scm_t_uint32, scm_t_int8, scm_t_int16, scm_t_int32,
and to detect optional types scm_t_uint64, scm_t_in64, long long,
unsigned long long, scm_t_ptrdiff, intptr_t, and uintptr_t.
(SCM_I_GSC_T_PTRDIFF): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_NEEDS_INTTYPES_H): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_NEEDS_STDINT_H): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_T_UINT8): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_T_UINT16): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_T_UINT32): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_T_UINT64): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_T_INT8): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_T_INT16): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_T_INT32): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_T_INT64): gen-scmconfig.h.in AC_SUBST var.
(USE_PTHREAD_THREADS): removed - handled by gen-scmconfig.c.
(USE_NULL_THREADS): removed - handled by gen-scmconfig.c.
(USE_COOP_THREADS): removed - handled by gen-scmconfig.c.
(SCM_I_GSC_USE_PTHREAD_THREADS): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_USE_NULL_THREADS): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_USE_COOP_THREADS): gen-scmconfig.h.in AC_SUBST var.
(STACK_GROWS_UP): removed - handled by gen-scmconfig.c.
(SCM_I_GSC_STACK_GROWS_UP): gen-scmconfig.h.in AC_SUBST var.
(GUILE_DEBUG_FREELIST): removed - handled by gen-scmconfig.c.
(SCM_I_GSC_GUILE_DEBUG_FREELIST): gen-scmconfig.h.in AC_SUBST var.
(GUILE_DEBUG): removed - handled by gen-scmconfig.c.
(SCM_I_GSC_GUILE_DEBUG): gen-scmconfig.h.in AC_SUBST var.
(SCM_ENABLE_DEPRECATED): removed - handled by gen-scmconfig.c.
(SCM_I_GSC_ENABLE_DEPRECATED): gen-scmconfig.h.in AC_SUBST var.
(HAVE_ARRAYS): removed - handled by gen-scmconfig.c.
(SCM_I_GSC_HAVE_ARRAYS): gen-scmconfig.h.in AC_SUBST var.
(SCM_ENABLE_ELISP): removed - handled by gen-scmconfig.c.
(SCM_I_GSC_ENABLE_ELISP): gen-scmconfig.h.in AC_SUBST var.
(SCM_I_GSC_C_INLINE): gen-scmconfig.h.in AC_SUBST var.
(DEBUG_EXTENSIONS): removed - handled by gen-scmconfig.c.
(READER_EXTENSIONS): removed - handled by gen-scmconfig.c.
(USE_THREADS): removed - handled by gen-scmconfig.c.
(GUILE_ISELECT): removed - handled by gen-scmconfig.c.
(DYNAMIC_LINKING): removed - handled by gen-scmconfig.c.

21 years ago* scmconfig.h.top: new file -- preamble for scmconfig.h.
Rob Browning [Tue, 25 Mar 2003 23:49:14 +0000 (23:49 +0000)]
* scmconfig.h.top: new file -- preamble for scmconfig.h.

21 years ago* gen-scmconfig.h.in: new file -- see gen-scmconfig.c for details.
Rob Browning [Tue, 25 Mar 2003 23:49:03 +0000 (23:49 +0000)]
* gen-scmconfig.h.in: new file -- see gen-scmconfig.c for details.

21 years ago* gen-scmconfig.c: new file -- see comments in file for details.
Rob Browning [Tue, 25 Mar 2003 23:48:53 +0000 (23:48 +0000)]
* gen-scmconfig.c: new file -- see comments in file for details.

21 years ago* autogen.sh: call autoreconf with --force. This may fix the
Rob Browning [Tue, 25 Mar 2003 23:46:20 +0000 (23:46 +0000)]
* autogen.sh: call autoreconf with --force.  This may fix the
"order" problem below without having to have two calls.

21 years ago* README: merge information from INSTALL and remove at least some
Rob Browning [Tue, 25 Mar 2003 23:46:04 +0000 (23:46 +0000)]
* README: merge information from INSTALL and remove at least some
of the stale bits.

21 years ago* LICENSE: new file -- we should change this to the LGPL soon and
Rob Browning [Tue, 25 Mar 2003 23:45:54 +0000 (23:45 +0000)]
* LICENSE: new file -- we should change this to the LGPL soon and
add COPYING.LIB to the distribution.

21 years ago* INSTALL: use the automake installed INSTALL file. The Guile
Rob Browning [Tue, 25 Mar 2003 23:45:49 +0000 (23:45 +0000)]
* INSTALL: use the automake installed INSTALL file.  The Guile
specific instructions are now in README.

21 years ago*** empty log message ***
Rob Browning [Tue, 25 Mar 2003 02:21:10 +0000 (02:21 +0000)]
*** empty log message ***

21 years ago* lib.scm (pass-if): allow really simple tests where the test code
Rob Browning [Tue, 25 Mar 2003 02:21:03 +0000 (02:21 +0000)]
* lib.scm (pass-if): allow really simple tests where the test code
is also the name like (pass-if (even? 2)).
(expect-fail): allow really simple tests where the test code is
also the test name like (expect-fail (even? 2)).

21 years ago* tests/numbers.test: added tests (some simple) for various funcs.
Rob Browning [Tue, 25 Mar 2003 02:20:55 +0000 (02:20 +0000)]
* tests/numbers.test: added tests (some simple) for various funcs.
("odd?"): added tests.
("even?"): added tests.
("nan?"): added tests.
("abs"): added tests.
("lcm"): added tests.
("number->string"): added tests.
("number?"): added tests.
("complex?"): added tests.
("real?"): added tests.
("rational?"): added tests.
("integer?"): added tests.
("inexact?"): added tests.
("="): added tests.
("zero?"): added tests.
("positive?"): added tests.
("negative?"): added tests.

21 years ago*** empty log message ***
Rob Browning [Tue, 25 Mar 2003 02:14:06 +0000 (02:14 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Rob Browning [Tue, 25 Mar 2003 01:46:22 +0000 (01:46 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Marius Vollmer [Mon, 24 Mar 2003 16:48:55 +0000 (16:48 +0000)]
*** empty log message ***

21 years agoInclude <config.h> instead of <libguile/scmconfig.h>.
Marius Vollmer [Mon, 24 Mar 2003 16:48:39 +0000 (16:48 +0000)]
Include <config.h> instead of <libguile/scmconfig.h>.

21 years ago* srfi-1.scm: Re-export all srfi-1 bindings implemented by the
Mikael Djurfeldt [Mon, 24 Mar 2003 09:13:35 +0000 (09:13 +0000)]
* srfi-1.scm: Re-export all srfi-1 bindings implemented by the
core.  (Thanks to Kevin Ryde.)

21 years ago*** empty log message ***
Marius Vollmer [Sat, 22 Mar 2003 00:36:03 +0000 (00:36 +0000)]
*** empty log message ***

21 years ago(call/cc): Added.
Marius Vollmer [Sat, 22 Mar 2003 00:34:34 +0000 (00:34 +0000)]
(call/cc): Added.

21 years ago*** empty log message ***
Marius Vollmer [Fri, 21 Mar 2003 15:59:09 +0000 (15:59 +0000)]
*** empty log message ***

21 years agoInvoke autoreconf twice since the required files do not seem to be
Marius Vollmer [Fri, 21 Mar 2003 15:59:01 +0000 (15:59 +0000)]
Invoke autoreconf twice since the required files do not seem to be
generated in the right order.  XXX - investigate further.

21 years agoFix
Mikael Djurfeldt [Thu, 20 Mar 2003 14:12:54 +0000 (14:12 +0000)]
Fix

21 years ago* list.scm: New file.
Mikael Djurfeldt [Thu, 20 Mar 2003 13:22:45 +0000 (13:22 +0000)]
* list.scm: New file.

21 years ago*** empty log message ***
Rob Browning [Wed, 19 Mar 2003 23:55:05 +0000 (23:55 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Rob Browning [Wed, 19 Mar 2003 23:46:35 +0000 (23:46 +0000)]
*** empty log message ***

21 years ago* readline.c: add HAVE_CONFIG_H test guarding #include config.h.
Rob Browning [Wed, 19 Mar 2003 23:46:29 +0000 (23:46 +0000)]
* readline.c: add HAVE_CONFIG_H test guarding #include config.h.

21 years ago* autogen.sh: add a --force when autoreconfing. We may need to
Rob Browning [Wed, 19 Mar 2003 23:46:24 +0000 (23:46 +0000)]
* autogen.sh: add a --force when autoreconfing.  We may need to
change this if it doesn't work out...

21 years ago* Makefile.am (ice-9/readline.scm): new target -- so readline will
Rob Browning [Wed, 19 Mar 2003 23:46:19 +0000 (23:46 +0000)]
* Makefile.am (ice-9/readline.scm): new target -- so readline will
work from the source tree when guile-readline is added to
GUILE_LOAD_PATH.
(all-local): add ice-9/readline.scm.
(clean-local): remove ice-9/readline at clean time.

21 years ago*** empty log message ***
Marius Vollmer [Wed, 19 Mar 2003 22:00:31 +0000 (22:00 +0000)]
*** empty log message ***

21 years agoAdded defines for sparc-unknown-netbsdelf1.5 from Adrian Bunk.
Marius Vollmer [Wed, 19 Mar 2003 21:59:14 +0000 (21:59 +0000)]
Added defines for sparc-unknown-netbsdelf1.5 from Adrian Bunk.
Thanks!

21 years ago*** empty log message ***
Marius Vollmer [Wed, 19 Mar 2003 18:29:26 +0000 (18:29 +0000)]
*** empty log message ***

21 years ago(format:out-substr): Update the column counter correctly. This fixes
Marius Vollmer [Wed, 19 Mar 2003 18:29:04 +0000 (18:29 +0000)]
(format:out-substr): Update the column counter correctly. This fixes
the behavior of ~T (tabbing) after ~F, for instance.  Thanks to
Matthias Koeppe!

21 years ago("format basic output"): Added test for "~F" from Matthias Koeppe.
Marius Vollmer [Wed, 19 Mar 2003 18:28:52 +0000 (18:28 +0000)]
("format basic output"): Added test for "~F" from Matthias Koeppe.

21 years ago*** empty log message ***
Marius Vollmer [Wed, 19 Mar 2003 18:17:06 +0000 (18:17 +0000)]
*** empty log message ***

21 years ago(guileversion): Use $GUILE_EFFECTIVE_VERSION instead of
Marius Vollmer [Wed, 19 Mar 2003 18:16:56 +0000 (18:16 +0000)]
(guileversion): Use $GUILE_EFFECTIVE_VERSION instead of
$GUILE_VERSION.  Thanks to Kevin Ryde!

21 years ago* goops.scm (process-class-pre-define-accessor): Temporary kludge
Mikael Djurfeldt [Wed, 19 Mar 2003 14:50:20 +0000 (14:50 +0000)]
* goops.scm (process-class-pre-define-accessor): Temporary kludge
to fix a problem introduced by my previous change.

21 years ago* goops.c (make_class_from_template): New fourth arg:
Mikael Djurfeldt [Wed, 19 Mar 2003 08:57:47 +0000 (08:57 +0000)]
* goops.c (make_class_from_template): New fourth arg:
applicablep.
(scm_class_extended_generic_with_setter, scm_class_self): Fixed
cpls.

* smob.c (scm_set_smob_apply): Call scm_i_inherit_applicable.

* goops.c, objects.c, objects.h (scm_make_extended_class): New
second arg: applicablep.
(scm_i_inherit_applicable): New function.

* goops.c, goops.h (scm_class_applicable,
scm_class_extended_accessor): New classes.

21 years ago * procs.c (scm_procedure_documentation): Removed redundant
Dirk Herrmann [Tue, 18 Mar 2003 19:06:03 +0000 (19:06 +0000)]
* procs.c (scm_procedure_documentation): Removed redundant
SCM_NIMP test and replaced other calls to SCM_IMP by more explicit
predicates.

21 years ago* goops.scm (process-class-pre-define-generic,
Mikael Djurfeldt [Mon, 17 Mar 2003 13:53:58 +0000 (13:53 +0000)]
* goops.scm (process-class-pre-define-generic,
process-class-pre-define-accessor, process-define-generic,
process-define-accessor): New functions.
(define-class-pre-definition): Use
process-class-pre-define-generic and
process-class-pre-define-accessor; Make sure not to create a new
local variable if the variable has been imported.
(define-generic): Use process-define-generic.
(define-accessor): Use process-define-accessor.

21 years ago* session.scm (apropos): Don't look in duplicates interface.
Mikael Djurfeldt [Thu, 13 Mar 2003 10:16:30 +0000 (10:16 +0000)]
* session.scm (apropos): Don't look in duplicates interface.

21 years ago* boot-9.scm (duplicate-handlers): Make sure the merge-generics
Mikael Djurfeldt [Wed, 12 Mar 2003 19:27:15 +0000 (19:27 +0000)]
* boot-9.scm (duplicate-handlers): Make sure the merge-generics
and merge-accessors handlers are available also before (oop goops)
has been loaded.  This is so that people can put them as default
handlers without worrying about availability.

21 years ago* goops.scm (merge-generics): Make sure not to merge a gf with
Mikael Djurfeldt [Wed, 12 Mar 2003 18:41:44 +0000 (18:41 +0000)]
* goops.scm (merge-generics): Make sure not to merge a gf with
itself.  That would be the cause of a real binding collision.

21 years ago* slib.scm (logical:ipow-by-squaring): Removed.
Mikael Djurfeldt [Wed, 12 Mar 2003 17:35:09 +0000 (17:35 +0000)]
* slib.scm (logical:ipow-by-squaring): Removed.

21 years ago* boot-9.scm (default-duplicate-binding-handler): Set default to
Mikael Djurfeldt [Wed, 12 Mar 2003 17:16:36 +0000 (17:16 +0000)]
* boot-9.scm (default-duplicate-binding-handler): Set default to
'(replace warn last)

21 years ago* boot-9.scm (ipow-by-squaring): Removed.
Mikael Djurfeldt [Wed, 12 Mar 2003 16:52:07 +0000 (16:52 +0000)]
* boot-9.scm (ipow-by-squaring): Removed.
(default-duplicate-binding-handler): Set default to
'(replace warn last)

21 years agoAdjusted warning message
Mikael Djurfeldt [Wed, 12 Mar 2003 14:40:19 +0000 (14:40 +0000)]
Adjusted warning message

21 years ago* boot-9.scm (module-duplicates-info, set-module-duplicates-info!): Removed.
Mikael Djurfeldt [Wed, 12 Mar 2003 14:30:03 +0000 (14:30 +0000)]
* boot-9.scm (module-duplicates-info, set-module-duplicates-info!): Removed.
(module-duplicates-handlers, module-duplicates-interface): New.
(module-type): Added duplicates-handlers and duplicates-interface.

21 years ago* srfi-13.scm: Mark replacements.
Mikael Djurfeldt [Wed, 12 Mar 2003 14:11:42 +0000 (14:11 +0000)]
* srfi-13.scm: Mark replacements.

* srfi-17.scm: Mark replacements.

* boot-9.scm (module-make-local-var!): Use module-add!.
(module-primitive-add!): New function.
(resolve-interface): Use
(call-with-deferred-observers, module-call-observers): New
functions.
(module-defer-observers, module-defer-observers-mute,
module-defer-observers-table): New variables.
(process-define-module, process-use-modules, export, re-export):
Use call-with-deferred-observers.

* syncase.scm (eval): Mark as replacement.

* boot-9.scm (defmacro-public): Use export-syntax instead of export.

21 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 12 Mar 2003 10:04:35 +0000 (10:04 +0000)]
*** empty log message ***

21 years ago* slib.scm (*features*): Set the core variable instead of defining
Mikael Djurfeldt [Wed, 12 Mar 2003 10:03:25 +0000 (10:03 +0000)]
* slib.scm (*features*): Set the core variable instead of defining
a local version.
(provide, provided?): Mark as replacements.

* boot-9.scm (beautify-user-module!): Don't install the duplicates
handler here.
(default-duplicate-binding-handler): Renamed from
default-module-duplicates-handler; Removed converter.
(process-duplicates): Lookup default duplicates handler dynamically.
(default-duplicate-binding-procedures): New parameter.

21 years ago* slib.scm (identity): Removed. (Provided by core.)
Mikael Djurfeldt [Wed, 12 Mar 2003 09:28:20 +0000 (09:28 +0000)]
* slib.scm (identity): Removed.  (Provided by core.)

21 years agoAdjustments of error messages
Mikael Djurfeldt [Tue, 11 Mar 2003 20:11:20 +0000 (20:11 +0000)]
Adjustments of error messages

21 years ago* srfi-1.scm (filter, filter!): Removed. (Now implemented in the core.)
Mikael Djurfeldt [Tue, 11 Mar 2003 19:58:14 +0000 (19:58 +0000)]
* srfi-1.scm (filter, filter!): Removed.  (Now implemented in the core.)

* goops/util.scm (filter): Removed.  (Now supplied by core.)

* list.c, list.h (scm_filter, scm_filter_x): New functions.

* debugger/command-loop.scm: Prefix all commands imported from
(ice-9 debugger command-loop) with debugger:.

* boot-9.scm (resolve-interface): Process #:hide; Name custom interfaces
appropriately.
(module-use!, module-use-interfaces!): Remove existing interfaces
on the use-list based on module name rather than interface
identity so that custom interfaces truly replaces their previous
version.

21 years agoIndentation
Mikael Djurfeldt [Tue, 11 Mar 2003 19:55:00 +0000 (19:55 +0000)]
Indentation

21 years ago* modules.c (scm_module_import_interface): New function.
Mikael Djurfeldt [Tue, 11 Mar 2003 15:58:02 +0000 (15:58 +0000)]
* modules.c (scm_module_import_interface): New function.

* boot-9.scm (process-duplicates): Use module-import-interface.
(module-symbol-interface): Removed.

21 years ago* goops.scm (define-extended-generics): New syntax.
Mikael Djurfeldt [Tue, 11 Mar 2003 14:50:08 +0000 (14:50 +0000)]
* goops.scm (define-extended-generics): New syntax.
(<class> <operator-class> <entity-class> <entity>): Marked as
replacements.
(upgrade-accessor): Renamed from upgrade-generic-with-setter.
(ensure-accessor, upgrade-accessor): Rewritten to accomodate the
new <accessor> class.
(merge-accessors): Provide for merging of accessors imported from
different modules under the same name.

* goops.c, goops.h (scm_class_accessor_method): Renamed from
scm_class_accessor.
(scm_class_accessor): New class.

21 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 11 Mar 2003 12:23:15 +0000 (12:23 +0000)]
*** empty log message ***

21 years ago* srfi-1.scm (iota map for-each map-in-order list-index member
Mikael Djurfeldt [Mon, 10 Mar 2003 23:18:05 +0000 (23:18 +0000)]
* srfi-1.scm (iota map for-each map-in-order list-index member
delete delete! assoc): Marked as replacements.

* goops.scm (define-extended-generics): New syntax.
(<class> <operator-class> <entity-class> <entity>): Marked as
replacements.

* boot-9.scm (module-override!, make-mutable-parameter,
lookup-duplicates-handlers, default-module-duplicates-handler):
New functions.
(process-duplicates): Don't call duplicates handlers for duplicate
bindings of the same variable.
(process-define-module): Process #:replace.
(compile-interface-spec, resolve-interface): Process #:prefix.

* format.scm (format): Marked as replacement.

* threads.scm (future, future-ref): Marked as replacements.

21 years ago*** empty log message ***
Rob Browning [Sat, 8 Mar 2003 04:29:43 +0000 (04:29 +0000)]
*** empty log message ***

21 years ago* preface.texi: change MANUAL_EDITION to MANUAL-EDITION so we
Rob Browning [Sat, 8 Mar 2003 04:29:08 +0000 (04:29 +0000)]
* preface.texi: change MANUAL_EDITION to MANUAL-EDITION so we
don't choke TeX (thanks to Dale P. Smith).

21 years ago* guile.texi: change MANUAL_EDITION to MANUAL-EDITION so we don't
Rob Browning [Sat, 8 Mar 2003 04:28:55 +0000 (04:28 +0000)]
* guile.texi: change MANUAL_EDITION to MANUAL-EDITION so we don't
choke TeX (thanks to Dale P. Smith).

21 years ago* boot-9.scm (process-define-module): Handle #:duplicates.
Mikael Djurfeldt [Fri, 7 Mar 2003 13:12:47 +0000 (13:12 +0000)]
* boot-9.scm (process-define-module): Handle #:duplicates.
(module-use-interfaces! process-duplicates): New functions.
(duplicate-handlers): Dictionary of duplicate handlers.
(module-symbol-local-binding, module-symbol-binding): Bugfix.

* goops.scm (equal?): Define default method.
(merge-generics): Provide for merging of generic functions
imported into a module under the same name.

21 years ago* srfi-1.c (scm_init_srfi_1): Extend root module map and for-each
Mikael Djurfeldt [Thu, 6 Mar 2003 12:51:57 +0000 (12:51 +0000)]
* srfi-1.c (scm_init_srfi_1): Extend root module map and for-each
with the versions in this module using
scm_c_extend_primitive_generic.

* goops.scm (equal?): Define default method.

* goops.c (scm_primitive_generic_generic): Enable primitive
generic if not enabled.
(scm_sys_goops_loaded): Setup unextended primitive generics.

* goops.c, goops.h (scm_c_extend_primitive_generic): New function.

* snarf.h (SCM_PRIMITIVE_GENERIC, SCM_PRIMITIVE_GENERIC_1): New
snarf macros.

* numbers.c (scm_abs): Use SCM_PRIMITIVE_GENERIC.  (This is only a
testing example.  All uses of SCM_GPROC should be converted.)

* procprop.c (scm_stand_in_scm_proc): Use scm_assq instead of
scm_assoc.

* eq.c (scm_equal_p): Turned into a primitive generic.

21 years ago* session.scm (apropos): Use hash-for-each instead of
Mikael Djurfeldt [Tue, 4 Mar 2003 11:56:10 +0000 (11:56 +0000)]
* session.scm (apropos): Use hash-for-each instead of
array-for-each.

21 years agoAdded comments to scm_c_random_bignum
Mikael Djurfeldt [Mon, 3 Mar 2003 13:19:46 +0000 (13:19 +0000)]
Added comments to scm_c_random_bignum

21 years ago*** empty log message ***
Rob Browning [Thu, 27 Feb 2003 07:20:33 +0000 (07:20 +0000)]
*** empty log message ***

21 years ago* configure.in (AC_CONFIG_SRCDIR): use GUILE-VERSION.
Rob Browning [Thu, 27 Feb 2003 07:16:39 +0000 (07:16 +0000)]
* configure.in (AC_CONFIG_SRCDIR): use GUILE-VERSION.
(AM_CONFIG_HEADER): change to config.h

21 years ago* guile-aclocal.sh: deleted in favor of ACLOCAL_AMFLAGS in
Rob Browning [Thu, 27 Feb 2003 07:10:51 +0000 (07:10 +0000)]
* guile-aclocal.sh: deleted in favor of ACLOCAL_AMFLAGS in
Makefile.am.

21 years ago* Makefile.am (EXTRA_DIST): remove $(ACLOCAL).
Rob Browning [Thu, 27 Feb 2003 07:09:41 +0000 (07:09 +0000)]
* Makefile.am (EXTRA_DIST): remove $(ACLOCAL).
(ACLOCAL_AMFLAGS): replaces ACLOCAL.

21 years ago* autogen.sh: switch to autoreconf -- see how it goes. remove
Rob Browning [Thu, 27 Feb 2003 07:08:28 +0000 (07:08 +0000)]
* autogen.sh: switch to autoreconf -- see how it goes.  remove
call to guile-aclocal.sh -- we now do the same thing with an
automake setting.

21 years ago* autogen.sh: use autoreconf.
Rob Browning [Thu, 27 Feb 2003 07:04:57 +0000 (07:04 +0000)]
* autogen.sh: use autoreconf.