Ludovic Courtès [Sun, 4 May 2008 20:42:13 +0000 (22:42 +0200)]
Fix omissions and typos in previous commit.
Ludovic Courtès [Sun, 4 May 2008 20:19:30 +0000 (22:19 +0200)]
Add `pkg-config' support.
Ludovic Courtès [Mon, 28 Apr 2008 16:03:27 +0000 (18:03 +0200)]
Fix type-checking of SRFI-1 `partition'.
Ludovic Courtès [Sat, 26 Apr 2008 22:50:05 +0000 (00:50 +0200)]
Include <config.h> in SRFI-1.
Ludovic Courtès [Sat, 26 Apr 2008 19:55:29 +0000 (21:55 +0200)]
Only run `test-with-guile-module' when pthread support is built.
Ludovic Courtès [Sat, 26 Apr 2008 19:39:27 +0000 (21:39 +0200)]
Remove extraneous semi-colon in `read.c'.
Ludovic Courtès [Sat, 26 Apr 2008 19:09:40 +0000 (21:09 +0200)]
Make `(srfi srfi-35)' visible through `cond-expand'.
Ludovic Courtès [Sat, 26 Apr 2008 17:34:37 +0000 (19:34 +0200)]
Add `(srfi srfi-88)'.
Ludovic Courtès [Sat, 26 Apr 2008 17:27:55 +0000 (19:27 +0200)]
Fix dangling references to files that have been removed.
Ludovic Courtès [Thu, 24 Apr 2008 17:25:30 +0000 (19:25 +0200)]
Don't use "-I$(srcdir)", so that our "random.h" doesn't shadow libc's on Tru64.
Neil Jerram [Thu, 17 Apr 2008 20:36:20 +0000 (21:36 +0100)]
Document file-exists?
Ludovic Courtès [Thu, 17 Apr 2008 08:04:09 +0000 (10:04 +0200)]
Add `read' benchmark.
Ludovic Courtès [Wed, 16 Apr 2008 10:00:49 +0000 (12:00 +0200)]
Update `NEWS'.
Ludovic Courtès [Mon, 14 Apr 2008 16:09:49 +0000 (18:09 +0200)]
Inline `scm_getc', `scm_putc' and `scm_puts'.
Ludovic Courtès [Wed, 16 Apr 2008 07:06:02 +0000 (09:06 +0200)]
Merge branch 'master' of ssh://civodul@git.sv.gnu.org/srv/git/guile
Ludovic Courtès [Wed, 16 Apr 2008 07:01:33 +0000 (09:01 +0200)]
Don't use "echo -n" in `guile-readline/configure.in'.
Neil Jerram [Tue, 15 Apr 2008 22:52:58 +0000 (23:52 +0100)]
Add TAGS to .gitignore
Neil Jerram [Mon, 14 Apr 2008 20:25:17 +0000 (21:25 +0100)]
A few elisp fixes and enhancements
Neil Jerram [Mon, 14 Apr 2008 18:40:02 +0000 (19:40 +0100)]
* gds-client.scm (gds-debug-trap): Ensure that frame index passed to Emacs is always positive.
Ludovic Courtès [Tue, 15 Apr 2008 18:14:44 +0000 (20:14 +0200)]
Revert "Fix typo in `read.c'."
This reverts commit
6ddb3ca825b1ee8b746eb688e98aa3b37ab55c3e.
Ludovic Courtès [Tue, 15 Apr 2008 18:01:13 +0000 (20:01 +0200)]
Fix typo in `read.c'.
Ludovic Courtès [Tue, 15 Apr 2008 17:52:43 +0000 (19:52 +0200)]
Add support for SRFI-88-like postfix keyword read syntax.
Ludovic Courtès [Sun, 13 Apr 2008 18:41:23 +0000 (20:41 +0200)]
Test the interaction of GOOPS objects with `struct-{ref,set!}'.
Ludovic Courtès [Sun, 13 Apr 2008 17:38:42 +0000 (19:38 +0200)]
Slightly simplify inline machinery.
Ludovic Courtès [Sun, 13 Apr 2008 17:35:46 +0000 (19:35 +0200)]
Really fix inline machinery for MacOS X.
Ludovic Courtès [Thu, 10 Apr 2008 21:57:05 +0000 (23:57 +0200)]
Fix inline machinery in C99 mode on MacOS X.
Ludovic Courtès [Thu, 10 Apr 2008 21:20:20 +0000 (23:20 +0200)]
Add `NEWS' entries for Andy's fixes.
Andy Wingo [Wed, 9 Apr 2008 23:32:14 +0000 (01:32 +0200)]
fix struct-ref and struct-set! on "light" structs
* libguile/struct.c (scm_struct_ref, scm_struct_set_x): "Light" structs
have no hidden words (members of the SCM_STRUCT_DATA(x) array accessed
with negative indices). In that case, determine the number of fields
from the length of the struct layout descriptor. (Most GOOPS instances
are light structs.)
Andy Wingo [Wed, 9 Apr 2008 23:27:19 +0000 (01:27 +0200)]
initialize 'u' slots to 0, not SCM_UNPACK(SCM_GOOPS_UNBOUND)
* goops.c (wrap_init): Initialize 'u' slots to 0, not some random
SCM value.
Andy Wingo [Wed, 9 Apr 2008 23:23:06 +0000 (01:23 +0200)]
respect slot allocation, e.g. for <read-only-slot>
* libguile/goops.c (get_slot_value, set_slot_value): In the struct
allocation case, don't poke the slots array directly -- we should
go through struct-ref/struct-set! code so that we get the
permissions and allocation ('u' versus 'p') correct.
Neil Jerram [Fri, 28 Mar 2008 22:56:24 +0000 (22:56 +0000)]
Fix manual typo.
Ludovic Courtès [Thu, 27 Mar 2008 20:50:06 +0000 (21:50 +0100)]
Update/remove references to the CVS repository.
Ludovic Courtès [Sun, 6 Apr 2008 16:41:07 +0000 (18:41 +0200)]
Fix "#include" directives in stand-alone C tests.
Ludovic Courtès [Thu, 3 Apr 2008 15:28:42 +0000 (17:28 +0200)]
Fix inline machinery for GCC 4.3 and later in C99 mode.
Ludovic Courtès [Mon, 7 Apr 2008 21:55:58 +0000 (23:55 +0200)]
More `.gitignore'.
Ludovic Courtès [Mon, 7 Apr 2008 21:48:08 +0000 (23:48 +0200)]
More `.gitignore'.
Neil Jerram [Mon, 24 Mar 2008 21:51:09 +0000 (21:51 +0000)]
(to_timespec): Change
1000000 multiplier to
1000000000.
(unchecked_unlock_sym, allow_external_unlock_sym,
recursive_sym): Use SCM_SYMBOL.
(scm_make_mutex_with_flags): When raising unsupported option
error, report what the unsupported option was.
(fat_mutex_unlock): When raising errors, unlock m->lock first.
(fat_cond_timedwait): Removed.
(scm_timed_wait_condition_variable): Call fat_mutex_unlock
directly instead of via fat_cond_timedwait.
Neil Jerram [Mon, 24 Mar 2008 21:50:51 +0000 (21:50 +0000)]
(Mutexes and Condition Variables): Change
`flag' to `flags' in docstring.
Neil Jerram [Wed, 19 Mar 2008 22:56:17 +0000 (22:56 +0000)]
(command-loop): Use
needed modules.
Neil Jerram [Wed, 19 Mar 2008 22:51:24 +0000 (22:51 +0000)]
* api-debug.texi (Low Level Trap Calls): Removed (material
duplicated elsewhere); doc for with-traps and debug-object? moved
to section on evaluator trap options.
(High Level Traps): Renamed just `Traps'. Add references to
evaluator trap options and debug options. Make language
appropriate for core Guile (as opposed to previously separate
package).
(Location Traps): Corrected to reflect that location traps now
specify a specific position, not a range of positions.
(Debugging Examples): New (content moved here from
scheme-debugging.texi, and updated to use traps instead of
breakpoints).
* api-modules.texi (Included Guile Modules): Change `Debugging
Features' reference to `Tracing'.
* api-options.texi (Evaluator trap options): Doc for with-traps
and debug-object? is now here.
* guile.texi, scheme-debugging.texi: Move the `Tracing' content of
scheme-debugging.texi to the Modules section.
* scheme-using.texi (Using Guile in Emacs, GDS Getting Started):
Minor edits.
* scheme-debugging.texi (Debugging Features, Intro to
Breakpoints): Removed.
(Examples): Moved to api-debug.texi.
(Tracing, Old Tracing): Promoted one level.
(New Tracing, Tracing Compared): Removed.
Ludovic Courtès [Tue, 18 Mar 2008 09:10:45 +0000 (09:10 +0000)]
Use SRFI-1 in `(oop goops util)'.
Ludovic Courtès [Thu, 13 Mar 2008 14:03:58 +0000 (14:03 +0000)]
Honor $TMPDIR in the test suite.
Ludovic Courtès [Wed, 12 Mar 2008 17:01:19 +0000 (17:01 +0000)]
Fix SRFI-37 `args-fold' with short option names of argument-less options.
Ludovic Courtès [Wed, 12 Mar 2008 17:00:07 +0000 (17:00 +0000)]
Provide `describe' feature in `(oop goops describe)'.
Ludovic Courtès [Mon, 10 Mar 2008 22:34:40 +0000 (22:34 +0000)]
Fix `alloca' on FreeBSD 6.
Neil Jerram [Sun, 9 Mar 2008 21:57:00 +0000 (21:57 +0000)]
Only define scm_from_complex_double if it will
actually be used.
Neil Jerram [Sat, 8 Mar 2008 16:22:40 +0000 (16:22 +0000)]
Core enhancements, by Julian Graham, to Guile's thread, mutex and
condvar primitives, in preparation for SRFI-18 support.
Ludovic Courtès [Thu, 6 Mar 2008 09:51:44 +0000 (09:51 +0000)]
Fix type-checking for the second argument of `eval'.
Ludovic Courtès [Sun, 2 Mar 2008 17:03:42 +0000 (17:03 +0000)]
Fix "mixed linkage" errors in `inline.h'.
Neil Jerram [Wed, 27 Feb 2008 23:00:37 +0000 (23:00 +0000)]
(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?
Neil Jerram [Sat, 23 Feb 2008 18:30:00 +0000 (18:30 +0000)]
* FAQ: New file.
* Makefile.am (EXTRA_DIST): Add FAQ
Neil Jerram [Sat, 23 Feb 2008 18:29:45 +0000 (18:29 +0000)]
Updated to GNU coding
standards; added standard license statement.
Ludovic Courtès [Sat, 23 Feb 2008 11:28:11 +0000 (11:28 +0000)]
Use `imaginary_part' instead of `imaginary' to fix build on Solaris 2.10.
Ludovic Courtès [Fri, 22 Feb 2008 16:05:30 +0000 (16:05 +0000)]
Fix `(ice-9 match)' for lists of lists.
Ludovic Courtès [Fri, 22 Feb 2008 09:55:22 +0000 (09:55 +0000)]
Look for `strncasecmp' declaration.
Ludovic Courtès [Fri, 22 Feb 2008 09:53:02 +0000 (09:53 +0000)]
Fix build issue in `gc.c' on GNU/Linux IA64.
Neil Jerram [Thu, 21 Feb 2008 23:05:22 +0000 (23:05 +0000)]
Fix a strange character that got into "scm_add_slot" somehow
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