1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-07 18:30:25 +02:00
Commit graph

10129 commits

Author SHA1 Message Date
Neil Jerram
86a597f8b3 * 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.
2008-02-07 01:24:31 +00:00
Neil Jerram
0ea659f3ba (Next-method): Minor improvements to the
text.
2008-02-06 22:47:29 +00:00
Neil Jerram
32b164aacd 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.
2008-02-06 22:29:22 +00:00
Neil Jerram
4a19ed0452 (scm_gc_malloc): Return NULL if requested size is 0.
(scm_gc_free): Don't call `free' if mem is NULL.
2008-02-06 22:22:14 +00:00
Ludovic Courtès
189171c5bb Fix compilation of `numbers.c' with Sun CC. 2008-02-06 13:51:05 +00:00
Neil Jerram
d05bcb2ede * 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.
2008-02-05 23:14:21 +00:00
Neil Jerram
01be513ed1 New test file (forgotten from checkin last week). 2008-02-05 21:55:44 +00:00
Neil Jerram
3ac8359afd * 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.
2008-02-01 22:51:34 +00:00
Neil Jerram
300b1ae58a (Threads): Add "C Function scm_join_thread"
to doc for join-thread.  Thanks to Antoine Mathys for reporting
that scm_join_thread was missing.
2008-02-01 21:02:15 +00:00
Neil Jerram
027e0e2c69 (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.
2008-01-30 22:59:12 +00:00
Ludovic Courtès
d4ebfb617e Explicitly require Gnulib's `extensions' module. 2008-01-30 10:28:22 +00:00
Neil Jerram
6a945c34cf * 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.
2008-01-29 23:02:18 +00:00
Neil Jerram
5e42b8e754 *** empty log message *** 2008-01-22 21:49:04 +00:00
Neil Jerram
7df13834d4 * 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.
2008-01-22 21:46:24 +00:00
Neil Jerram
d3cf93bc25 * 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.
2008-01-22 21:06:22 +00:00
Neil Jerram
15bd90eafd * 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.
2008-01-18 23:33:41 +00:00
Neil Jerram
5485d9edee Recent gnulib adds gl_PO_BASE and gl_PO_DOMAIN
lines to this file.
2008-01-18 23:18:18 +00:00
Neil Jerram
84eebc646f * guile.m4: add serial number to m4 2007-12-31 16:02:03 +00:00
Neil Jerram
c0186ee736 (top level): Explain the point of this test. 2007-12-29 12:34:34 +00:00
Neil Jerram
378cc6458f *** empty log message *** 2007-12-29 12:33:54 +00:00
Neil Jerram
d69668b7de * standalone/test-bad-identifiers: New test.
* standalone/Makefile.am (check_SCRIPTS, TESTS): Add it.
2007-12-29 01:35:47 +00:00
Neil Jerram
5c004b6d6a * 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.
2007-12-29 01:35:33 +00:00
Ludovic Courtès
70a4404429 Changes from arch/CVS synchronization 2007-12-13 12:27:37 +00:00
Ludovic Courtès
2ae87f26a8 Add missing SRFI-69 files. 2007-12-13 12:23:40 +00:00
Ludovic Courtès
2dffd0537a Changes from arch/CVS synchronization 2007-12-09 17:38:14 +00:00
Ludovic Courtès
dfe8c13bf0 Changes from arch/CVS synchronization 2007-12-09 17:27:03 +00:00
Ludovic Courtès
9cc37597af Changes from arch/CVS synchronization 2007-12-08 16:00:56 +00:00
Ludovic Courtès
693758d5a8 Changes from arch/CVS synchronization 2007-12-04 17:57:44 +00:00
Ludovic Courtès
7d1fc87217 Changes from arch/CVS synchronization 2007-12-04 17:32:59 +00:00
Ludovic Courtès
1317062f0b Changes from arch/CVS synchronization 2007-12-03 12:36:12 +00:00
Ludovic Courtès
07e02175a0 Changes from arch/CVS synchronization 2007-10-29 22:03:37 +00:00
Ludovic Courtès
dbd1132b9c Changes from arch/CVS synchronization 2007-10-27 18:40:41 +00:00
Ludovic Courtès
8b0f07460a Changes from arch/CVS synchronization 2007-10-27 17:41:35 +00:00
Ludovic Courtès
ee834df41f Changes from arch/CVS synchronization 2007-10-27 15:15:23 +00:00
Ludovic Courtès
a49ebd8917 Changes from arch/CVS synchronization 2007-10-27 09:56:36 +00:00
Neil Jerram
5e9086b4bf Add lib-version.texi. 2007-10-24 11:55:07 +00:00
Neil Jerram
90ecbd811c * .cvsignore: Add "lib". 2007-10-24 11:52:48 +00:00
Neil Jerram
917d3db31f build-aux/.cvsignore: Add a load more generated files to ignore,
and commit to CVS.
2007-10-24 11:51:11 +00:00
Neil Jerram
0943ffcdfe Commit m4/.cvsignore to CVS. 2007-10-24 11:48:56 +00:00
Neil Jerram
6e14de7de8 *** empty log message *** 2007-10-21 20:46:54 +00:00
Neil Jerram
2d04022ce2 * 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.
2007-10-21 20:45:45 +00:00
Neil Jerram
acbfb5946b (unmemoize_delay): Extend the environment before
unmemoizing the promise thunk.  This fixes a segmentation fault
reported by Frank Schwidom.
2007-10-21 20:43:14 +00:00
Neil Jerram
4098fda1e6 *** empty log message *** 2007-10-21 20:41:42 +00:00
Ludovic Courtès
2e77f7202b Changes from arch/CVS synchronization 2007-10-20 11:09:58 +00:00
Ludovic Courtès
d41668faec Changes from arch/CVS synchronization 2007-10-17 21:56:10 +00:00
Ludovic Courtès
24e59a9257 Changes from arch/CVS synchronization 2007-10-16 21:23:53 +00:00
Ludovic Courtès
a84251b06a Add missing file `HACKING'. 2007-10-16 17:00:21 +00:00
Ludovic Courtès
c8bb98a9fa Changes from arch/CVS synchronization 2007-10-10 20:15:08 +00:00
Ludovic Courtès
6630261802 Changes from arch/CVS synchronization 2007-10-10 16:46:26 +00:00
Ludovic Courtès
1445e4492f Changes from arch/CVS synchronization 2007-10-04 16:22:05 +00:00