bpt/guile.git
16 years agoFix compilation of `numbers.c' with Sun CC.
Ludovic Courtès [Wed, 6 Feb 2008 13:51:05 +0000 (13:51 +0000)]
Fix compilation of `numbers.c' with Sun CC.

16 years ago* fports.c (fport_seek): Make dependent on GUILE_USE_64_CALLS.
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.

16 years agoNew test file (forgotten from checkin last week).
Neil Jerram [Tue, 5 Feb 2008 21:55:44 +0000 (21:55 +0000)]
New test file (forgotten from checkin last week).

16 years ago* modules.c (the_root_module): Moved before scm_current_module.
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.

16 years ago(Threads): Add "C Function scm_join_thread"
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.

16 years ago(dyld_prefix), pre-inst-guile-env.in
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.

16 years agoExplicitly require Gnulib's `extensions' module.
Ludovic Courtès [Wed, 30 Jan 2008 10:28:22 +0000 (10:28 +0000)]
Explicitly require Gnulib's `extensions' module.

16 years ago* readline.c (scm_init_readline): Only do init_bouncing_parens ()
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.

16 years ago*** empty log message ***
Neil Jerram [Tue, 22 Jan 2008 21:49:04 +0000 (21:49 +0000)]
*** empty log message ***

16 years ago* LICENSE: Change COPYING.LIB to COPYING.LESSER.
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.

16 years ago* srfi-39.scm: Update copyright statement to LGPL.
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.

16 years ago* hashtab.c (scm_hash_fn_create_handle_x): If supplied assoc_fn
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.

16 years agoRecent gnulib adds gl_PO_BASE and gl_PO_DOMAIN
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.

16 years ago * guile.m4: add serial number to m4
Neil Jerram [Mon, 31 Dec 2007 16:02:03 +0000 (16:02 +0000)]
* guile.m4: add serial number to m4

16 years ago(top level): Explain the point of this test.
Neil Jerram [Sat, 29 Dec 2007 12:34:34 +0000 (12:34 +0000)]
(top level): Explain the point of this test.

16 years ago*** empty log message ***
Neil Jerram [Sat, 29 Dec 2007 12:33:54 +0000 (12:33 +0000)]
*** empty log message ***

16 years ago* standalone/test-bad-identifiers: New test.
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.

16 years ago* gc.c (mark_gc_async): Change "func_data" to "fn_data", to avoid
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.

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Thu, 13 Dec 2007 12:27:37 +0000 (12:27 +0000)]
Changes from arch/CVS synchronization

16 years agoAdd missing SRFI-69 files.
Ludovic Courtès [Thu, 13 Dec 2007 12:23:40 +0000 (12:23 +0000)]
Add missing SRFI-69 files.

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sun, 9 Dec 2007 17:38:14 +0000 (17:38 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sun, 9 Dec 2007 17:27:03 +0000 (17:27 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 8 Dec 2007 16:00:56 +0000 (16:00 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Tue, 4 Dec 2007 17:57:44 +0000 (17:57 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Tue, 4 Dec 2007 17:32:59 +0000 (17:32 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Mon, 3 Dec 2007 12:36:12 +0000 (12:36 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Mon, 29 Oct 2007 22:03:37 +0000 (22:03 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 27 Oct 2007 18:40:41 +0000 (18:40 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 27 Oct 2007 17:41:35 +0000 (17:41 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 27 Oct 2007 15:15:23 +0000 (15:15 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 27 Oct 2007 09:56:36 +0000 (09:56 +0000)]
Changes from arch/CVS synchronization

16 years agoAdd lib-version.texi.
Neil Jerram [Wed, 24 Oct 2007 11:55:07 +0000 (11:55 +0000)]
Add lib-version.texi.

16 years ago* .cvsignore: Add "lib".
Neil Jerram [Wed, 24 Oct 2007 11:52:48 +0000 (11:52 +0000)]
* .cvsignore: Add "lib".

16 years agobuild-aux/.cvsignore: Add a load more generated files to ignore,
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.

16 years agoCommit m4/.cvsignore to CVS.
Neil Jerram [Wed, 24 Oct 2007 11:48:56 +0000 (11:48 +0000)]
Commit m4/.cvsignore to CVS.

16 years ago*** empty log message ***
Neil Jerram [Sun, 21 Oct 2007 20:46:54 +0000 (20:46 +0000)]
*** empty log message ***

16 years ago* tests/continuations.test ("continuations"): Use
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.

16 years ago(unmemoize_delay): Extend the environment before
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.

16 years ago*** empty log message ***
Neil Jerram [Sun, 21 Oct 2007 20:41:42 +0000 (20:41 +0000)]
*** empty log message ***

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 20 Oct 2007 11:09:58 +0000 (11:09 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Wed, 17 Oct 2007 21:56:10 +0000 (21:56 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Tue, 16 Oct 2007 21:23:53 +0000 (21:23 +0000)]
Changes from arch/CVS synchronization

16 years agoAdd missing file `HACKING'.
Ludovic Courtès [Tue, 16 Oct 2007 17:00:21 +0000 (17:00 +0000)]
Add missing file `HACKING'.

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Wed, 10 Oct 2007 20:15:08 +0000 (20:15 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Wed, 10 Oct 2007 16:46:26 +0000 (16:46 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Thu, 4 Oct 2007 16:22:05 +0000 (16:22 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Tue, 2 Oct 2007 16:06:25 +0000 (16:06 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Tue, 2 Oct 2007 03:16:28 +0000 (03:16 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Mon, 1 Oct 2007 20:22:08 +0000 (20:22 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sun, 23 Sep 2007 10:28:23 +0000 (10:28 +0000)]
Changes from arch/CVS synchronization

16 years ago*** empty log message ***
Kevin Ryde [Tue, 11 Sep 2007 00:47:34 +0000 (00:47 +0000)]
*** empty log message ***

16 years ago(scm_putenv): Confine the putenv("NAME=") bit to mingw, use
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.

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Mon, 10 Sep 2007 18:28:15 +0000 (18:28 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Mon, 3 Sep 2007 16:58:20 +0000 (16:58 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sun, 2 Sep 2007 22:56:56 +0000 (22:56 +0000)]
Changes from arch/CVS synchronization

16 years ago*** empty log message ***
Kevin Ryde [Sun, 2 Sep 2007 22:40:23 +0000 (22:40 +0000)]
*** empty log message ***

16 years ago(AC_CHECK_FUNCS): Move cexp and clog up into the main
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.

16 years ago(scm_log): Test HAVE_CLOG as well as HAVE_COMPLEX_DOUBLE
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.

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sun, 2 Sep 2007 10:55:58 +0000 (10:55 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 1 Sep 2007 16:54:26 +0000 (16:54 +0000)]
Changes from arch/CVS synchronization

16 years ago("port-for-each"): remove unresolved for
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

16 years agoreplace port table with weak hash table. This simplifies
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.

16 years ago(cleanup_for_exit): abort cleanup if init_mutex is still
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.

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Thu, 23 Aug 2007 21:17:24 +0000 (21:17 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Thu, 23 Aug 2007 21:10:57 +0000 (21:10 +0000)]
Changes from arch/CVS synchronization

16 years ago*** empty log message ***
Kevin Ryde [Thu, 23 Aug 2007 00:32:00 +0000 (00:32 +0000)]
*** empty log message ***

16 years ago(port-for-each): New test for passing freed cell,
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.

16 years ago*** empty log message ***
Kevin Ryde [Tue, 21 Aug 2007 01:09:41 +0000 (01:09 +0000)]
*** empty log message ***

16 years ago(scm_i_card_statistics): Record scm_tc7_number types as
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.

16 years ago*** empty log message ***
Kevin Ryde [Thu, 16 Aug 2007 23:34:58 +0000 (23:34 +0000)]
*** empty log message ***

16 years agoAdd #define _REENTRANT, to get gmtime_r() prototype on
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.

16 years agoAdded `config.rpath'.
Ludovic Courtès [Tue, 14 Aug 2007 14:32:38 +0000 (14:32 +0000)]
Added `config.rpath'.

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 11 Aug 2007 10:49:59 +0000 (10:49 +0000)]
Changes from arch/CVS synchronization

16 years agoAdded SRFI-35 files.
Ludovic Courtès [Sat, 11 Aug 2007 10:13:09 +0000 (10:13 +0000)]
Added SRFI-35 files.

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 11 Aug 2007 10:08:10 +0000 (10:08 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Wed, 8 Aug 2007 15:35:56 +0000 (15:35 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Wed, 8 Aug 2007 14:56:02 +0000 (14:56 +0000)]
Changes from arch/CVS synchronization

16 years agoAdded `m4/gnulib-cache.m4'.
Ludovic Courtès [Sun, 29 Jul 2007 15:30:09 +0000 (15:30 +0000)]
Added `m4/gnulib-cache.m4'.

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sun, 29 Jul 2007 15:27:24 +0000 (15:27 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sun, 29 Jul 2007 15:16:46 +0000 (15:16 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sun, 29 Jul 2007 14:58:21 +0000 (14:58 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sun, 29 Jul 2007 13:52:38 +0000 (13:52 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Tue, 24 Jul 2007 23:17:54 +0000 (23:17 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sun, 22 Jul 2007 16:30:13 +0000 (16:30 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Wed, 18 Jul 2007 22:13:14 +0000 (22:13 +0000)]
Changes from arch/CVS synchronization

16 years agoRevision: lcourtes@laas.fr--2006-libre/guile-core--cvs-head--0--patch-82
Ludovic Courtès [Wed, 18 Jul 2007 20:40:16 +0000 (20:40 +0000)]
Revision: lcourtes@laas.fr--2006-libre/guile-core--cvs-head--0--patch-82
Creator:  Ludovic Courtes <ludovic.courtes@laas.fr>

Slight edits to `srfi-37.scm'.

* srfi/srfi-37.scm: Don't use the SCSH comment syntax.  Properly use the
  `Commentary:' syntax.

16 years agoRevision: lcourtes@laas.fr--2006-libre/guile-core--cvs-head--0--patch-81
Ludovic Courtès [Wed, 18 Jul 2007 20:40:09 +0000 (20:40 +0000)]
Revision: lcourtes@laas.fr--2006-libre/guile-core--cvs-head--0--patch-81
Creator:  Ludovic Courtes <ludovic.courtes@laas.fr>

Added SRFI-37, by Stephen Compall.

(See ChangeLogs.)

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Wed, 18 Jul 2007 20:25:38 +0000 (20:25 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Tue, 17 Jul 2007 08:39:35 +0000 (08:39 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Tue, 10 Jul 2007 22:34:50 +0000 (22:34 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Mon, 9 Jul 2007 16:47:56 +0000 (16:47 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Mon, 25 Jun 2007 22:25:22 +0000 (22:25 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Tue, 12 Jun 2007 22:01:56 +0000 (22:01 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Tue, 12 Jun 2007 21:55:11 +0000 (21:55 +0000)]
Changes from arch/CVS synchronization

16 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Thu, 7 Jun 2007 08:36:13 +0000 (08:36 +0000)]
Changes from arch/CVS synchronization

17 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 26 May 2007 14:30:50 +0000 (14:30 +0000)]
Changes from arch/CVS synchronization

17 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Wed, 16 May 2007 07:51:52 +0000 (07:51 +0000)]
Changes from arch/CVS synchronization

17 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Wed, 9 May 2007 21:14:49 +0000 (21:14 +0000)]
Changes from arch/CVS synchronization

17 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Wed, 9 May 2007 20:18:31 +0000 (20:18 +0000)]
Changes from arch/CVS synchronization

17 years agoChanges from arch/CVS synchronization
Ludovic Courtès [Sat, 5 May 2007 20:38:57 +0000 (20:38 +0000)]
Changes from arch/CVS synchronization