1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-14 17:50:22 +02:00
Commit graph

10407 commits

Author SHA1 Message Date
Ludovic Courtès
cc7e01cedd Use SRFI-1 in `(oop goops util)'. 2008-03-18 09:10:45 +00:00
Ludovic Courtès
eedcb08a25 Honor $TMPDIR in the test suite. 2008-03-13 14:03:58 +00:00
Ludovic Courtès
62c5382b88 Fix SRFI-37 `args-fold' with short option names of argument-less options. 2008-03-12 17:01:19 +00:00
Ludovic Courtès
bbb6fc4fc2 Provide describe' feature in (oop goops describe)'. 2008-03-12 17:00:07 +00:00
Ludovic Courtès
c2ad98ad41 Fix `alloca' on FreeBSD 6. 2008-03-10 22:34:40 +00:00
Neil Jerram
bca69a9fba Only define scm_from_complex_double if it will
actually be used.
2008-03-09 21:57:00 +00:00
Neil Jerram
6180e336b2 Core enhancements, by Julian Graham, to Guile's thread, mutex and
condvar primitives, in preparation for SRFI-18 support.
2008-03-08 16:22:40 +00:00
Ludovic Courtès
61b6542aa6 Fix type-checking for the second argument of `eval'. 2008-03-06 09:51:44 +00:00
Ludovic Courtès
3f52096714 Fix "mixed linkage" errors in `inline.h'. 2008-03-02 17:03:42 +00:00
Neil Jerram
fa80e2809e (errno): Remove declarations that have been there
forever, and are known to conflict on some platforms with that
provided by <errno.h>, which we include unconditionally.  If
<errno.h> doesn't provide a errno declaration, what is the point
of it?
2008-02-27 23:00:37 +00:00
Neil Jerram
d53f85dd85 * FAQ: New file.
* Makefile.am (EXTRA_DIST): Add FAQ
2008-02-23 18:30:00 +00:00
Neil Jerram
2018147881 Updated to GNU coding
standards; added standard license statement.
2008-02-23 18:29:45 +00:00
Ludovic Courtès
a2c25234fb Use imaginary_part' instead of imaginary' to fix build on Solaris 2.10. 2008-02-23 11:28:11 +00:00
Ludovic Courtès
e27d249537 Fix `(ice-9 match)' for lists of lists. 2008-02-22 16:05:30 +00:00
Ludovic Courtès
4fcb27c471 Look for `strncasecmp' declaration. 2008-02-22 09:55:22 +00:00
Ludovic Courtès
bfb64eb408 Fix build issue in `gc.c' on GNU/Linux IA64. 2008-02-22 09:53:02 +00:00
Neil Jerram
27ba39f2e6 Fix a strange character that got into "scm_add_slot" somehow 2008-02-21 23:05:22 +00:00
Ludovic Courtès
5305df84f8 Fix bug #22369: segfault in `scm_add_slot ()'. 2008-02-21 08:43:54 +00:00
Ludovic Courtès
25a640ca6e Merge 1.8.4 release commit. 2008-02-21 08:41:24 +00:00
Ludovic Courtès
9a6fac59b1 Fix NetBSD/alpha support. 2008-02-16 19:45:41 +00:00
Neil Jerram
b226295af8 Release stuff: missing NEWS and 2007/2008 copyrights. 2008-02-15 23:13:59 +00:00
Neil Jerram
d4a00708e7 * 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).
2008-02-15 23:06:52 +00:00
Ludovic Courtès
f937ce3741 Add `gc.test' hack for SPARC GNU/Linux. 2008-02-15 16:02:22 +00:00
Neil Jerram
8cd5eae91d configure.in: additional note suggested by Greg Troxel 2008-02-12 21:00:05 +00:00
Ludovic Courtès
5b5179f895 guile-snarf: Honor $TMPDIR. 2008-02-12 14:26:37 +00:00
Neil Jerram
8c726cf0b4 (Random): New text about the default random state,
following suggestions by Stephen Uitti.
2008-02-11 22:34:33 +00:00
Neil Jerram
4b26c03ec7 * 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.
2008-02-11 21:20:14 +00:00
Ludovic Courtès
7f74cf9a67 More compilation fixes with Sun CC (bug #21378). 2008-02-07 09:54:47 +00:00
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