Ludovic Courtès [Thu, 21 Feb 2008 08:43:54 +0000 (08:43 +0000)]
Fix bug #22369: segfault in `scm_add_slot ()'.
Ludovic Courtès [Thu, 21 Feb 2008 08:41:24 +0000 (08:41 +0000)]
Merge 1.8.4 release commit.
Ludovic Courtès [Sat, 16 Feb 2008 19:45:41 +0000 (19:45 +0000)]
Fix NetBSD/alpha support.
Neil Jerram [Fri, 15 Feb 2008 23:13:59 +0000 (23:13 +0000)]
Release stuff: missing NEWS and 2007/2008 copyrights.
Neil Jerram [Fri, 15 Feb 2008 23:06:52 +0000 (23:06 +0000)]
* autogen.sh: Copy versions of config.guess and config.sub from
Guile CVS to build-aux and guile-readline.
* HACKING: Note need for libtool >= 1.5.26.
* config.rpath, build-aux/config.rpath: Updated to latest upstream
version.
* config.guess, config.sub: 2008-01-07 versions added to Guile
CVS, to ensure that Guile developers are using new enough versions
(in particular for AIX 6.1 support).
Ludovic Courtès [Fri, 15 Feb 2008 16:02:22 +0000 (16:02 +0000)]
Add `gc.test' hack for SPARC GNU/Linux.
Neil Jerram [Tue, 12 Feb 2008 21:00:05 +0000 (21:00 +0000)]
configure.in: additional note suggested by Greg Troxel
Ludovic Courtès [Tue, 12 Feb 2008 14:26:37 +0000 (14:26 +0000)]
guile-snarf: Honor $TMPDIR.
Neil Jerram [Mon, 11 Feb 2008 22:34:33 +0000 (22:34 +0000)]
(Random): New text about the default random state,
following suggestions by Stephen Uitti.
Neil Jerram [Mon, 11 Feb 2008 21:20:14 +0000 (21:20 +0000)]
* numbers.c (SCM_COMPLEX_VALUE): Use GUILE_I instead of _Complex_I
directly, and only if GUILE_I was defined by the configure step.
(scm_log, scm_log10, scm_exp, scm_sqrt): Use SCM_COMPLEX_VALUE
code only if SCM_COMPLEX_VALUE is defined.
* configure.in (--without-64-calls): Use AC_MSG_CHECKING and
AC_MSG_RESULT instead of just echo.
(GUILE_I): New programs to try using _Complex_I or 1.0fi for the
imaginary unit.
Ludovic Courtès [Thu, 7 Feb 2008 09:54:47 +0000 (09:54 +0000)]
More compilation fixes with Sun CC (bug #21378).
Neil Jerram [Thu, 7 Feb 2008 01:24:31 +0000 (01:24 +0000)]
* threads.c (do_thread_exit, scm_cancel_thread,
scm_set_thread_cleanup_x, scm_thread_cleanup): Lock on thread-specific
admin mutex instead of `thread_admin_mutex'.
* threads.h (scm_i_thread)[admin_mutex]: New field.
* throw.c (make_jmpbuf): Don't enter critical section during thread
spawn -- there is a possibility of deadlock if other threads are
exiting.
Neil Jerram [Wed, 6 Feb 2008 22:47:29 +0000 (22:47 +0000)]
(Next-method): Minor improvements to the
text.
Neil Jerram [Wed, 6 Feb 2008 22:29:22 +0000 (22:29 +0000)]
Default to --without-64-calls for
powerpc-ibm-aix*. Thanks to Rainer Tammer for reporting that the
64 calls are a problem on that OS.
Neil Jerram [Wed, 6 Feb 2008 22:22:14 +0000 (22:22 +0000)]
(scm_gc_malloc): Return NULL if requested size is 0.
(scm_gc_free): Don't call `free' if mem is NULL.
Ludovic Courtès [Wed, 6 Feb 2008 13:51:05 +0000 (13:51 +0000)]
Fix compilation of `numbers.c' with Sun CC.
Neil Jerram [Tue, 5 Feb 2008 23:14:21 +0000 (23:14 +0000)]
* fports.c (fport_seek): Make dependent on GUILE_USE_64_CALLS.
* _scm.h: Make definition of CHOOSE_LARGEFILE depend on
GUILE_USE_64_CALLS.
* configure.in (--without-64-calls): New option.
Neil Jerram [Tue, 5 Feb 2008 21:55:44 +0000 (21:55 +0000)]
New test file (forgotten from checkin last week).
Neil Jerram [Fri, 1 Feb 2008 22:51:34 +0000 (22:51 +0000)]
* modules.c (the_root_module): Moved before scm_current_module.
(scm_current_module): Return the root module if `the-module' fluid
gives #f.
* standalone/Makefile.am: Add stanza for test-with-guile-module.
* standalone/test-with-guile-module.c: New test.
Neil Jerram [Fri, 1 Feb 2008 21:02:15 +0000 (21:02 +0000)]
(Threads): Add "C Function scm_join_thread"
to doc for join-thread. Thanks to Antoine Mathys for reporting
that scm_join_thread was missing.
Neil Jerram [Wed, 30 Jan 2008 22:59:12 +0000 (22:59 +0000)]
(dyld_prefix), pre-inst-guile-env.in
(dyld_prefix): Construct and export dyld_prefix in a similar way
to ltdl_prefix, to allow pre-install dynamic linking to work on
MacOS. Thanks to Roger Mc Murtrie for reporting this problem.
Ludovic Courtès [Wed, 30 Jan 2008 10:28:22 +0000 (10:28 +0000)]
Explicitly require Gnulib's `extensions' module.
Neil Jerram [Tue, 29 Jan 2008 23:02:18 +0000 (23:02 +0000)]
* readline.c (scm_init_readline): Only do init_bouncing_parens ()
if HAVE_RL_GET_KEYMAP.
(init_bouncing_parens, find_matching_paren, match_paren): Compile
out if ! HAVE_RL_GET_KEYMAP.
* configure.in: Add check for rl_get_keymap.
Neil Jerram [Tue, 22 Jan 2008 21:49:04 +0000 (21:49 +0000)]
*** empty log message ***
Neil Jerram [Tue, 22 Jan 2008 21:46:24 +0000 (21:46 +0000)]
* LICENSE: Change COPYING.LIB to COPYING.LESSER.
* COPYING.LESSER: Renamed, previously COPYING.LIB.
* COPYING: Removed.
* COPYING: Removed.
* COPYING: Removed.
* COPYING: Removed.
* COPYING: Removed.
* COPYING: Removed.
* COPYING: Removed.
* COPYING: Removed.
Neil Jerram [Tue, 22 Jan 2008 21:06:22 +0000 (21:06 +0000)]
* srfi-39.scm: Update copyright statement to LGPL.
* __scm.h, _scm.h, weaks.c: Update copyright statement to LGPL.
* compat/compat.h: Update copyright statement to LGPL.
* oldfmt.c: Update copyright statement to LGPL.
* libguile.h: Update copyright statement to LGPL.
Neil Jerram [Fri, 18 Jan 2008 23:33:41 +0000 (23:33 +0000)]
* hashtab.c (scm_hash_fn_create_handle_x): If supplied assoc_fn
returns neither a pair nor #f, signal a wrong-type-arg error.
(Thanks to Gregory Marton for reporting this.)
* tests/hash.test: New "hashx" test supplied by Gregory Marton;
prior to today's fix in libguile/hashtab.c, this caused a
segmentation fault.
Neil Jerram [Fri, 18 Jan 2008 23:18:18 +0000 (23:18 +0000)]
Recent gnulib adds gl_PO_BASE and gl_PO_DOMAIN
lines to this file.
Neil Jerram [Mon, 31 Dec 2007 16:02:03 +0000 (16:02 +0000)]
* guile.m4: add serial number to m4
Neil Jerram [Sat, 29 Dec 2007 12:34:34 +0000 (12:34 +0000)]
(top level): Explain the point of this test.
Neil Jerram [Sat, 29 Dec 2007 12:33:54 +0000 (12:33 +0000)]
*** empty log message ***
Neil Jerram [Sat, 29 Dec 2007 01:35:47 +0000 (01:35 +0000)]
* standalone/test-bad-identifiers: New test.
* standalone/Makefile.am (check_SCRIPTS, TESTS): Add it.
Neil Jerram [Sat, 29 Dec 2007 01:35:33 +0000 (01:35 +0000)]
* gc.c (mark_gc_async): Change "func_data" to "fn_data", to avoid
clash with AIX header file.
* hooks.c (scm_c_hook_add, scm_c_hook_remove): Same again.
* hooks.h (scm_t_c_hook_function, scm_c_hook_add,
scm_c_hook_remove): Same again.
Ludovic Courtès [Thu, 13 Dec 2007 12:27:37 +0000 (12:27 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Thu, 13 Dec 2007 12:23:40 +0000 (12:23 +0000)]
Add missing SRFI-69 files.
Ludovic Courtès [Sun, 9 Dec 2007 17:38:14 +0000 (17:38 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sun, 9 Dec 2007 17:27:03 +0000 (17:27 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sat, 8 Dec 2007 16:00:56 +0000 (16:00 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Tue, 4 Dec 2007 17:57:44 +0000 (17:57 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Tue, 4 Dec 2007 17:32:59 +0000 (17:32 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Mon, 3 Dec 2007 12:36:12 +0000 (12:36 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Mon, 29 Oct 2007 22:03:37 +0000 (22:03 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sat, 27 Oct 2007 18:40:41 +0000 (18:40 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sat, 27 Oct 2007 17:41:35 +0000 (17:41 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sat, 27 Oct 2007 15:15:23 +0000 (15:15 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sat, 27 Oct 2007 09:56:36 +0000 (09:56 +0000)]
Changes from arch/CVS synchronization
Neil Jerram [Wed, 24 Oct 2007 11:55:07 +0000 (11:55 +0000)]
Add lib-version.texi.
Neil Jerram [Wed, 24 Oct 2007 11:52:48 +0000 (11:52 +0000)]
* .cvsignore: Add "lib".
Neil Jerram [Wed, 24 Oct 2007 11:51:11 +0000 (11:51 +0000)]
build-aux/.cvsignore: Add a load more generated files to ignore,
and commit to CVS.
Neil Jerram [Wed, 24 Oct 2007 11:48:56 +0000 (11:48 +0000)]
Commit m4/.cvsignore to CVS.
Neil Jerram [Sun, 21 Oct 2007 20:46:54 +0000 (20:46 +0000)]
*** empty log message ***
Neil Jerram [Sun, 21 Oct 2007 20:45:45 +0000 (20:45 +0000)]
* tests/continuations.test ("continuations"): Use
with-debugging-evaluator.
* lib.scm (with-debugging-evaluator*, with-debugging-evaluator):
New utilities.
* standalone/test-use-srfi: Use -q to avoid picking up the user's
~/.guile file.
* tests/eval.test (promises)[unmemoizing a promise]: New test.
Neil Jerram [Sun, 21 Oct 2007 20:43:14 +0000 (20:43 +0000)]
(unmemoize_delay): Extend the environment before
unmemoizing the promise thunk. This fixes a segmentation fault
reported by Frank Schwidom.
Neil Jerram [Sun, 21 Oct 2007 20:41:42 +0000 (20:41 +0000)]
*** empty log message ***
Ludovic Courtès [Sat, 20 Oct 2007 11:09:58 +0000 (11:09 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Wed, 17 Oct 2007 21:56:10 +0000 (21:56 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Tue, 16 Oct 2007 21:23:53 +0000 (21:23 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Tue, 16 Oct 2007 17:00:21 +0000 (17:00 +0000)]
Add missing file `HACKING'.
Ludovic Courtès [Wed, 10 Oct 2007 20:15:08 +0000 (20:15 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Wed, 10 Oct 2007 16:46:26 +0000 (16:46 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Thu, 4 Oct 2007 16:22:05 +0000 (16:22 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Tue, 2 Oct 2007 16:06:25 +0000 (16:06 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Tue, 2 Oct 2007 03:16:28 +0000 (03:16 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Mon, 1 Oct 2007 20:22:08 +0000 (20:22 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sun, 23 Sep 2007 10:28:23 +0000 (10:28 +0000)]
Changes from arch/CVS synchronization
Kevin Ryde [Tue, 11 Sep 2007 00:47:34 +0000 (00:47 +0000)]
*** empty log message ***
Kevin Ryde [Tue, 11 Sep 2007 00:46:15 +0000 (00:46 +0000)]
(scm_putenv): Confine the putenv("NAME=") bit to mingw, use
putenv("NAME") as the fallback everywhere else. In particular this is
needed for solaris 9. Reported by Frank Storbeck.
Ludovic Courtès [Mon, 10 Sep 2007 18:28:15 +0000 (18:28 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Mon, 3 Sep 2007 16:58:20 +0000 (16:58 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sun, 2 Sep 2007 22:56:56 +0000 (22:56 +0000)]
Changes from arch/CVS synchronization
Kevin Ryde [Sun, 2 Sep 2007 22:40:23 +0000 (22:40 +0000)]
*** empty log message ***
Kevin Ryde [Sun, 2 Sep 2007 22:39:45 +0000 (22:39 +0000)]
(AC_CHECK_FUNCS): Move cexp and clog up into the main
funcs check block. Remove carg which is now unused.
Kevin Ryde [Sun, 2 Sep 2007 22:36:23 +0000 (22:36 +0000)]
(scm_log): Test HAVE_CLOG as well as HAVE_COMPLEX_DOUBLE
before using clog(). It's possible for gcc to provide the "complex
double" type, but for the system not to have the complex funcs.
(scm_exp): Ditto HAVE_CEXP for cexp().
(clog, cexp, carg): Remove fallback definitions. These only
duplicated the code within scm_log and scm_exp, and the latter have to
exist for the case when there's no "complex double". So better just
fix up the conditionals selecting between the complex funcs and plain
doubles than worry about fallbacks.
Ludovic Courtès [Sun, 2 Sep 2007 10:55:58 +0000 (10:55 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sat, 1 Sep 2007 16:54:26 +0000 (16:54 +0000)]
Changes from arch/CVS synchronization
Han-Wen Nienhuys [Sun, 26 Aug 2007 18:12:53 +0000 (18:12 +0000)]
("port-for-each"): remove unresolved for
port-for-each memory test.
("fdes->port"): test fdes->port
Han-Wen Nienhuys [Sun, 26 Aug 2007 18:11:57 +0000 (18:11 +0000)]
replace port table with weak hash table. This simplifies
memory management, and fixes freed cells appearing in
port-for-each output.
Han-Wen Nienhuys [Sun, 26 Aug 2007 18:11:24 +0000 (18:11 +0000)]
(cleanup_for_exit): abort cleanup if init_mutex is still
held.
Ludovic Courtès [Thu, 23 Aug 2007 21:17:24 +0000 (21:17 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Thu, 23 Aug 2007 21:10:57 +0000 (21:10 +0000)]
Changes from arch/CVS synchronization
Kevin Ryde [Thu, 23 Aug 2007 00:32:00 +0000 (00:32 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 23 Aug 2007 00:03:14 +0000 (00:03 +0000)]
(port-for-each): New test for passing freed cell,
marked as unresolved since problem not yet fixed.
Kevin Ryde [Tue, 21 Aug 2007 01:09:41 +0000 (01:09 +0000)]
*** empty log message ***
Kevin Ryde [Tue, 21 Aug 2007 01:08:17 +0000 (01:08 +0000)]
(scm_i_card_statistics): Record scm_tc7_number types as
tc16 values so big, real, complex and fraction can be distinguished.
(scm_i_tag_name): Return "number" for scm_tc7_number, not NULL. NULL
was making numbers come out as "type 23" in gc-live-object-stats.
Fix tests of the tc16 number types, they were checked under
scm_tc7_number, but the values went down the tag>=255 smob case.
Put smob case under scm_tc7_smob instead of using tag>=255, per
recommendation in comments with scm_tc7_smob to use symbolic values.
Use SCM_TC2SMOBNUM to extract scm_smobs index, instead of explicit
code. Lose some unnecessary "break" statements.
(scm_i_card_statistics): Use scm_hashq_create_handle_x and modify the
element returned, rather than two lookups scm_hashq_ref and
scm_hashq_set_x.
Kevin Ryde [Thu, 16 Aug 2007 23:34:58 +0000 (23:34 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 16 Aug 2007 23:33:46 +0000 (23:33 +0000)]
Add #define _REENTRANT, to get gmtime_r() prototype on
solaris 2.6. Reported by anirkko.
Ludovic Courtès [Tue, 14 Aug 2007 14:32:38 +0000 (14:32 +0000)]
Added `config.rpath'.
Ludovic Courtès [Sat, 11 Aug 2007 10:49:59 +0000 (10:49 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sat, 11 Aug 2007 10:13:09 +0000 (10:13 +0000)]
Added SRFI-35 files.
Ludovic Courtès [Sat, 11 Aug 2007 10:08:10 +0000 (10:08 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Wed, 8 Aug 2007 15:35:56 +0000 (15:35 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Wed, 8 Aug 2007 14:56:02 +0000 (14:56 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sun, 29 Jul 2007 15:30:09 +0000 (15:30 +0000)]
Added `m4/gnulib-cache.m4'.
Ludovic Courtès [Sun, 29 Jul 2007 15:27:24 +0000 (15:27 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sun, 29 Jul 2007 15:16:46 +0000 (15:16 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sun, 29 Jul 2007 14:58:21 +0000 (14:58 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sun, 29 Jul 2007 13:52:38 +0000 (13:52 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Tue, 24 Jul 2007 23:17:54 +0000 (23:17 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Sun, 22 Jul 2007 16:30:13 +0000 (16:30 +0000)]
Changes from arch/CVS synchronization
Ludovic Courtès [Wed, 18 Jul 2007 22:13:14 +0000 (22:13 +0000)]
Changes from arch/CVS synchronization