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

10832 commits

Author SHA1 Message Date
Neil Jerram
c84fd82650 (Random): New text about the default random state,
following suggestions by Stephen Uitti.
2008-02-11 22:32:40 +00:00
Neil Jerram
03a3c619ed * 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:02:15 +00:00
Ludovic Courtès
270ff306cf More compilation fixes with Sun CC (bug #21378). 2008-02-07 09:31:06 +00:00
Neil Jerram
dcde80f096 *** empty log message *** 2008-02-07 01:02:33 +00:00
Neil Jerram
595f4ed74b (Next-method): Minor improvements to the
text.
2008-02-06 22:46:42 +00:00
Neil Jerram
3d02a866a9 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:27:59 +00:00
Neil Jerram
c14bb7ad22 (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:16:35 +00:00
Ludovic Courtès
136cddb3e4 Fix compilation of `numbers.c' with Sun CC. 2008-02-06 13:17:51 +00:00
Neil Jerram
08f9eb4adc * configure.in (--without-64-calls): New option.
* fports.c (fport_seek): Make dependent on GUILE_USE_64_CALLS.

* _scm.h: Make definition of CHOOSE_LARGEFILE depend on
GUILE_USE_64_CALLS.
2008-02-05 22:04:52 +00:00
Neil Jerram
a06872c2bc * 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:47:53 +00:00
Neil Jerram
6ba395189f (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 20:59:28 +00:00
Neil Jerram
0116c1941b (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:55:28 +00:00
Neil Jerram
9cfe821f64 * 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:03:15 +00:00
Neil Jerram
96d4e139c7 *** empty log message *** 2008-01-22 21:48:34 +00:00
Neil Jerram
421539be07 Should say version 1.8.3, not 1.8.2. 2008-01-22 21:45:34 +00:00
Neil Jerram
738f9ef01f * 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:29:54 +00:00
Neil Jerram
8fd0f8a672 * libguile.h: Update copyright statement to LGPL.
* oldfmt.c: Update copyright statement to LGPL.

* compat/compat.h: Update copyright statement to LGPL.

* __scm.h, _scm.h, weaks.c: Update copyright statement to LGPL.

* srfi-39.scm: Update copyright statement to LGPL.
2008-01-22 21:12:07 +00:00
Neil Jerram
1978dd74b8 * 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:40:49 +00:00
Neil Jerram
95da7a8613 (top level): Explain the point of this test. 2007-12-29 12:33:18 +00:00
Neil Jerram
4291a8df7f *** empty log message *** 2007-12-29 12:32:31 +00:00
Neil Jerram
276cff1a52 * standalone/test-bad-identifiers: New test.
* standalone/Makefile.am (check_SCRIPTS, TESTS): Add it.
2007-12-29 01:34:19 +00:00
Neil Jerram
7c6861e1cc * 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:33:54 +00:00
Ludovic Courtès
7c680febe5 Changes from arch/CVS synchronization 2007-12-13 12:32:02 +00:00
Ludovic Courtès
2bfaaa3ab7 Add missing SRFI-69 files. 2007-12-13 12:29:26 +00:00
Ludovic Courtès
48a55ab223 Changes from arch/CVS synchronization 2007-12-09 17:40:54 +00:00
Ludovic Courtès
dbbed1aa14 Changes from arch/CVS synchronization 2007-12-08 16:33:26 +00:00
Ludovic Courtès
7365adaa33 Changes from arch/CVS synchronization 2007-12-04 18:04:03 +00:00
Ludovic Courtès
a23c67bcef Changes from arch/CVS synchronization 2007-12-04 17:38:59 +00:00
Ludovic Courtès
8e0ea2987d Changes from arch/CVS synchronization 2007-12-03 14:15:54 +00:00
Neil Jerram
2b4c5ec18a Removing material about breakpoint-related features that aren't
actually present in the 1.8.x series...

* api-debug.texi (Breakpoints): Removed.

* scheme-debugging.texi (Debugging Features): Breakpoint-related
text removed.
(Intro to Breakpoints, Breakpoints Overview, Source Breakpoints,
Procedural Breakpoints, Setting Breakpoints, break! trace!
trace-subtree!, Accessing Breakpoints, Breakpoint Behaviours,
Enabling and Disabling, Deleting Breakpoints, Breakpoint
Information, Other Breakpoint Types, Single Stepping, Run To Frame
Exit, Continue Execution, New Tracing, Tracing Compared): Removed.
(Old Tracing): Text moved to parent Tracing node.
(Tracing): Removed introductory statement about two tracing
implementations.
(Display Backtrace): Remove ref to Backtrace Format node.
(Backtrace Format): Removed (as it was empty).
(Interactive Debugger, Frame Selection, Frame Information, Frame
Evaluation): Merge textual improvements from CVS HEAD.
(Leave Debugger): Removed.
(Interactive Debugger): Document quit command here, as in CVS
HEAD.
2007-10-23 13:50:26 +00:00
Neil Jerram
953204a37e *** empty log message *** 2007-10-19 22:16:32 +00:00
Neil Jerram
62a43d2f1c *** empty log message *** 2007-10-19 22:08:57 +00:00
Neil Jerram
6f640c9f22 * tests/eval.test (promises)[unmemoizing a promise]: New test.
* tests/continuations.test ("continuations"): Use
with-debugging-evaluator.

* standalone/test-use-srfi: Use -q to avoid picking up the user's
~/.guile file

* lib.scm (with-debugging-evaluator*, with-debugging-evaluator):
New utilities.
2007-10-19 22:07:31 +00:00
Neil Jerram
9a79f394f9 (unmemoize_delay): Extend the environment before
unmemoizing the promise thunk.  This fixes a segmentation fault
reported by Frank Schwidom.
2007-10-19 22:06:48 +00:00
Ludovic Courtès
dfdb8448a9 Changes from arch/CVS synchronization 2007-10-17 22:16:44 +00:00
Ludovic Courtès
9adcdca34b Changes from arch/CVS synchronization 2007-10-16 18:23:30 +00:00
Ludovic Courtès
02e73552f1 Changes from arch/CVS synchronization 2007-10-10 20:21:25 +00:00
Ludovic Courtès
b560974ad9 Changes from arch/CVS synchronization 2007-10-10 16:58:57 +00:00
Ludovic Courtès
7b5165f13e Changes from arch/CVS synchronization 2007-10-02 16:38:40 +00:00
Ludovic Courtès
4ee1337075 Changes from arch/CVS synchronization 2007-10-02 04:02:47 +00:00
Ludovic Courtès
2358b40271 Changes from arch/CVS synchronization 2007-09-11 07:00:44 +00:00
Kevin Ryde
0ffa334413 *** empty log message *** 2007-09-11 00:53:14 +00:00
Kevin Ryde
0dcd29c96f copyright year 2007-09-11 00:44:54 +00:00
Kevin Ryde
af63af7896 (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.
2007-09-11 00:42:29 +00:00
Ludovic Courtès
dbb47af4a6 Changes from arch/CVS synchronization 2007-09-03 17:04:49 +00:00
Ludovic Courtès
8369648a2f Changes from arch/CVS synchronization 2007-09-02 23:12:02 +00:00
Kevin Ryde
a5447a6a34 *** empty log message *** 2007-09-02 22:33:28 +00:00
Kevin Ryde
6bc98ba721 (AC_CHECK_FUNCS): Add clog and cexp. 2007-09-02 22:32:55 +00:00
Kevin Ryde
1cd24a3942 (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().
2007-09-02 22:25:41 +00:00
Ludovic Courtès
1f41cbac0b Changes from arch/CVS synchronization 2007-09-02 11:00:50 +00:00