bpt/guile.git
21 years ago* rdelim.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:59:11 +0000 (23:59 +0000)]
* rdelim.c: #include <config.h> if HAVE_CONFIG_H.

21 years ago* random.c: #include <config.h> if HAVE_CONFIG_H. Replace usage
Rob Browning [Tue, 25 Mar 2003 23:59:05 +0000 (23:59 +0000)]
* random.c: #include <config.h> if HAVE_CONFIG_H.  Replace usage
of LONG32, LONG64, SIZEOF_LONG, and HAVE_LONG_LONGS with
scm_t_int32, scm_t_int64, and SCM_HAVE_T_INT64.  Rename usage of
HAVE_ARRAYS to SCM_HAVE_ARRAYS.

21 years ago* ramap.c: replace usage of HAVE_LONG_LONGS with
Rob Browning [Tue, 25 Mar 2003 23:58:58 +0000 (23:58 +0000)]
* ramap.c: replace usage of HAVE_LONG_LONGS with
"SCM_SIZEOF_LONG_LONG != 0".

21 years ago* putenv.c: #include <config.h> if HAVE_CONFIG_H. #include
Rob Browning [Tue, 25 Mar 2003 23:58:51 +0000 (23:58 +0000)]
* putenv.c: #include <config.h> if HAVE_CONFIG_H.  #include
"libguile/scmconfig.h".

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

21 years ago* print.c: rename usage of HAVE_ARRAYS to SCM_HAVE_ARRAYS.
Rob Browning [Tue, 25 Mar 2003 23:58:39 +0000 (23:58 +0000)]
* print.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* posix.c: #include <config.h> if HAVE_CONFIG_H.
Rob Browning [Tue, 25 Mar 2003 23:58:31 +0000 (23:58 +0000)]
* posix.c: #include <config.h> if HAVE_CONFIG_H.

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

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

21 years ago* numbers.h: replace usage of HAVE_FLOATINGPOINT_H with
Rob Browning [Tue, 25 Mar 2003 23:57:58 +0000 (23:57 +0000)]
* numbers.h: replace usage of HAVE_FLOATINGPOINT_H with
SCM_HAVE_FLOATINGPOINT_H.  Replace usage of HAVE_IEEEFP_H with
SCM_HAVE_IEEEFP_H.  Replace usage of HAVE_NAN_H with
SCM_HAVE_NAN_H.  Replace usage of STDC_HEADERS with
SCM_HAVE_STDC_HEADERS.  Replace usage of ptrdiff_t with
scm_t_ptrdiff.  Replace usage of HAVE_LONG_LONGS with
"SCM_SIZEOF_LONG_LONG != 0".

21 years ago* numbers.c: #include <config.h> if HAVE_CONFIG_H. Replace usage
Rob Browning [Tue, 25 Mar 2003 23:57:51 +0000 (23:57 +0000)]
* numbers.c: #include <config.h> if HAVE_CONFIG_H.  Replace usage
of HAVE_LONG_LONGS with "SCM_SIZEOF_LONG_LONG != 0".  Replace
usage of ptrdiff_t with scm_t_ptrdiff.  Replace usage of
SIZEOF_PTRDIFF_T with SCM_SIZEOF_SCM_T_PTRDIFF.

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

21 years ago* null-threads.h: replace usage of struct timespect with
Rob Browning [Tue, 25 Mar 2003 23:57:38 +0000 (23:57 +0000)]
* null-threads.h: replace usage of struct timespect with
scm_t_timespec.

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

21 years ago* mkstemp.c: #include <config.h> if HAVE_CONFIG_H. #include
Rob Browning [Tue, 25 Mar 2003 23:57:26 +0000 (23:57 +0000)]
* mkstemp.c: #include <config.h> if HAVE_CONFIG_H.  #include
"libguile/__scm.h".  Remove definition of gcc_uint64_t in favor of
scm_t_uint64 and rename usages.

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

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

21 years ago* iselect.h: move handling of time related headers to scmconfig.h.
Rob Browning [Tue, 25 Mar 2003 23:57:11 +0000 (23:57 +0000)]
* iselect.h: move handling of time related headers to scmconfig.h.
Rename usage of HAVE_SYS_SELECT_H to SCM_HAVE_SYS_SELECT_H.
Rename usage of HAVE_WINSOCK2_H to SCM_HAVE_WINSOCK2_H.  Rename
usage of USE_COOP_THREADS to SCM_USE_COOP_THREADS.

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

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

21 years ago* inline.h: #include "libguile/__scm.h" at the top. Change code
Rob Browning [Tue, 25 Mar 2003 23:56:55 +0000 (23:56 +0000)]
* inline.h: #include "libguile/__scm.h" at the top.  Change code
to use SCM_C_INLINE and SCM_INLINE_C_INCLUDINT_INLINE_H to decide
what to do instead of creating a new public #define.  Rename usage
of USE_COOP_THREADS to SCM_USE_COOP_THREADS.  Rename usage of
USE_NULL_THREADS to SCM_USE_NULL_THREADS.  Rename usage of
USE_COPT_THREADS to SCM_USE_COPT_THREADS.

* inline.c: rearrange handling -- now we just #define
SCM_INLINE_C_INCLUDING_INLINE_H to 1 and #include
"libguile/inline.h".  scmconfig.h will define SCM_C_INLINE as
appropriate, and we use that in inline.h along with the above
define to determine how to respond.

21 years ago* inline.c: rearrange handling -- now we just #define
Rob Browning [Tue, 25 Mar 2003 23:56:49 +0000 (23:56 +0000)]
* inline.c: rearrange handling -- now we just #define
SCM_INLINE_C_INCLUDING_INLINE_H to 1 and #include
"libguile/inline.h".  scmconfig.h will define SCM_C_INLINE as
appropriate, and we use that in inline.h along with the above
define to determine how to respond.

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

* gdbinit.c: #include <config.h> if HAVE_CONFIG_H.

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

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

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

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)