Ludovic Courtès [Wed, 7 May 2008 18:52:59 +0000 (20:52 +0200)]
Bump version to 1.8.5 for release.
Ludovic Courtès [Wed, 7 May 2008 17:57:40 +0000 (19:57 +0200)]
Remove uses of non-portable makefile constructs.
Ludovic Courtès [Wed, 7 May 2008 15:43:17 +0000 (17:43 +0200)]
Avoid warning with GCC on FreeBSD 6.2 in `numbers.c'.
Neil Jerram [Mon, 5 May 2008 22:47:24 +0000 (23:47 +0100)]
Fix c-tokenize.c error: 'input' defined but not used, when compiling with GCC 4.3.0
Neil Jerram [Mon, 5 May 2008 21:31:07 +0000 (22:31 +0100)]
Add NEWS and concept index entries for traps infrastructure and Emacs support.
Ludovic Courtès [Sun, 4 May 2008 20:41:34 +0000 (22:41 +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 20:05:00 +0000 (22:05 +0200)]
Actually remove `ANON-CVS' and `SNAPSHOTS'.
These files were outdated and not available in the 1.9/master branch.
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 [Wed, 16 Apr 2008 09:58:42 +0000 (11:58 +0200)]
Copy srcprop implementation from the 1.9 branch, fixes a deadlock.
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:05:20 +0000 (09:05 +0200)]
Merge branch 'branch_release-1-8' of ssh://civodul@git.sv.gnu.org/srv/git/guile into branch_release-1-8
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 23:02:58 +0000 (00:02 +0100)]
Merge commit 'gds-el-experiment^' into branch_release-1-8
Neil Jerram [Tue, 15 Apr 2008 22:52:58 +0000 (23:52 +0100)]
Add TAGS to .gitignore
Neil Jerram [Tue, 15 Apr 2008 21:09:53 +0000 (22:09 +0100)]
Add TAGS to .gitignore
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.
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 [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.
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 [Thu, 27 Mar 2008 20:50:06 +0000 (21:50 +0100)]
Update/remove references to the CVS repository.
Ludovic Courtès [Mon, 7 Apr 2008 21:48:08 +0000 (23:48 +0200)]
More `.gitignore'.
Han-Wen Nienhuys [Mon, 22 Jan 2007 15:10:40 +0000 (15:10 +0000)]
new file. Make using git easier.
Neil Jerram [Wed, 19 Mar 2008 23:06:52 +0000 (23:06 +0000)]
* api-debug.texi (Debugging Examples): New (from CVS HEAD).
Neil Jerram [Wed, 19 Mar 2008 22:54:31 +0000 (22:54 +0000)]
(command-loop): Use
needed modules.
Neil Jerram [Wed, 19 Mar 2008 21:32:08 +0000 (21:32 +0000)]
(Interactive Debugger): Cover continuing
execution.
(Stepping and Continuing): New (from CVS HEAD).
(GDS Introduction): Mention traps and continuing execution.
Neil Jerram [Wed, 19 Mar 2008 20:35:20 +0000 (20:35 +0000)]
(Location Traps): Corrected to reflect that
location traps now specify a specific position, not a range of
positions.
(Trap Shorthands): Depersonalize.
Neil Jerram [Wed, 19 Mar 2008 00:37:49 +0000 (00:37 +0000)]
* api-debug.texi (Traps): Minor edits.
* scheme-using.texi (Using Guile in Emacs, GDS Getting Started):
Minor edits.
Ludovic Courtès [Tue, 18 Mar 2008 09:09:56 +0000 (09:09 +0000)]
Use SRFI-1 in `(oop goops util)'.
Ludovic Courtès [Thu, 13 Mar 2008 13:56:43 +0000 (13:56 +0000)]
Honor $TMPDIR in the test suite.
Ludovic Courtès [Wed, 12 Mar 2008 16:57:36 +0000 (16:57 +0000)]
Fix SRFI-37 `args-fold' with short option names of argument-less options.
Ludovic Courtès [Wed, 12 Mar 2008 16:47:18 +0000 (16:47 +0000)]
Provide `describe' feature in `(oop goops describe)'.
Neil Jerram [Wed, 12 Mar 2008 00:59:08 +0000 (00:59 +0000)]
ice-9/debugging/.cvsignore: New.
Neil Jerram [Wed, 12 Mar 2008 00:57:41 +0000 (00:57 +0000)]
Merge GDS (except for breakpoints) from CVS HEAD:
* debugger/commands.scm (evaluate, info-args, info-frame,
position, up, down): Improve/fix doc strings.
* Makefile.am (SUBDIRS): Add debugging.
(ice9_sources): Add gds-client.scm and gds-server.scm.
* scheme-debugging.texi: Remove lots of text that is now
duplicated (exactly) elsewhere, leaving only the `Tracing' node.
* guile.texi: Replace `Debugging Features' (scheme-debugging.texi)
by `Using Guile Interactively' and `Using Guile in Emacs'
(scheme-using.texi). Move the `Tracing' content of
scheme-debugging.texi to the Modules section.
* api-options.texi (Evaluator trap options): Move doc for
with-traps and debug-object? to here.
* api-modules.texi (Included Guile Modules): Change reference from
`Debugging Features' to `Tracing'.
* api-evaluation.texi (Evaluator Behaviour): Add reference to
`Evaluator trap options'.
* api-debug.texi (Examining the Stack): Minor improvements to
display-backtrace doc.
* api-debug.texi (Debug on Error): New text on how to catch errors
and the error stack.
* api-debug.texi (High Level Traps): New.
* api-debug.texi (Debugging): New intro text. New subsection
"Evaluation Model". Moved existing subsections "Capturing the
Stack or Innermost Stack Frame", "Examining the Stack", "Examining
Stack Frames", "Source Properties", "Decoding Memoized Source
Expressions" and "Starting a New Stack" under "Evaluation Model".
(Capturing the Stack or Innermost Stack Frame): Some new text, and
correction to doc for last-stack-frame.
(Debug on Error): Renamed from "Interactive Debugging".
* configure.in (AC_CONFIG_FILES): Add emacs/Makefile and
ice-9/debugging/Makefile.
* Makefile.am (SUBDIRS): Add emacs.
Neil Jerram [Wed, 12 Mar 2008 00:39:26 +0000 (00:39 +0000)]
Merge GDS (except for breakpoints) from CVS HEAD:
* scheme-using.texi: New (merged with modifications from CVS
HEAD).
* Makefile.am, gds-scheme.el, gds-server.el, gds.el: New (merged
with modifications from CVS HEAD).
* debugging/Makefile.am, debugging/example-fns.scm,
debugging/ice-9-debugger-extensions.scm, debugging/steps.scm,
debugging/trace.scm, debugging/traps.scm, debugging/trc.scm: New
(merged with modifications from CVS HEAD).
* gds-client.scm, gds-server.scm: New (merged with modifications
from CVS HEAD).
Ludovic Courtès [Mon, 10 Mar 2008 22:13:33 +0000 (22:13 +0000)]
Fix `alloca' on FreeBSD 6.
Neil Jerram [Sun, 9 Mar 2008 21:53:25 +0000 (21:53 +0000)]
Only define scm_from_complex_double if it will
actually be used.
Ludovic Courtès [Thu, 6 Mar 2008 09:48:26 +0000 (09:48 +0000)]
Fix type-checking for the second argument of `eval'.
Ludovic Courtès [Sun, 2 Mar 2008 16:28:04 +0000 (16:28 +0000)]
Fix "mixed linkage" errors in `inline.h'.
Neil Jerram [Wed, 27 Feb 2008 23:02:05 +0000 (23:02 +0000)]
*** empty log message ***
Neil Jerram [Wed, 27 Feb 2008 21:24:44 +0000 (21:24 +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:27:21 +0000 (18:27 +0000)]
* FAQ: New file.
* Makefile.am (EXTRA_DIST): Add FAQ
Neil Jerram [Sat, 23 Feb 2008 18:08:24 +0000 (18:08 +0000)]
Updated to GNU coding
standards; added standard license statement.
Ludovic Courtès [Sat, 23 Feb 2008 10:33:33 +0000 (10:33 +0000)]
Use `imaginary_part' instead of `imaginary' to fix build on Solaris 2.10.
Ludovic Courtès [Fri, 22 Feb 2008 15:55:36 +0000 (15:55 +0000)]
Fix `(ice-9 match)' for lists of lists.
Ludovic Courtès [Fri, 22 Feb 2008 09:24:37 +0000 (09:24 +0000)]
Look for `strncasecmp' declaration.
Ludovic Courtès [Fri, 22 Feb 2008 08:57:45 +0000 (08:57 +0000)]
Fix build issue in `gc.c' on GNU/Linux IA64.
Neil Jerram [Thu, 21 Feb 2008 23:03:53 +0000 (23:03 +0000)]
Fix a strange character that got into "scm_add_slot" somehow
Ludovic Courtès [Thu, 21 Feb 2008 08:36:22 +0000 (08:36 +0000)]
Fix bug #22369: segfault in `scm_add_slot ()'.
Ludovic Courtès [Sun, 17 Feb 2008 00:13:16 +0000 (00:13 +0000)]
Release Guile 1.8.4.
Ludovic Courtès [Sat, 16 Feb 2008 19:38:25 +0000 (19:38 +0000)]
Fix NetBSD/alpha support.
Neil Jerram [Fri, 15 Feb 2008 22:37:52 +0000 (22:37 +0000)]
Release stuff: missing NEWS and 2007/2008 copyrights.
Ludovic Courtès [Fri, 15 Feb 2008 15:59:34 +0000 (15:59 +0000)]
Add hack for `gc.test' on SPARC GNU/Linux.
Neil Jerram [Fri, 15 Feb 2008 00:11:02 +0000 (00:11 +0000)]
*** empty log message ***
Neil Jerram [Fri, 15 Feb 2008 00:05:04 +0000 (00:05 +0000)]
Back out (i.e. remove) the copies of config.guess and config.sub that
I just added to CVS in build-aux/ and guile-readline/
autogen.sh: Copy versions of config.guess and config.sub from
Guile CVS to build-aux and guile-readline.
Neil Jerram [Thu, 14 Feb 2008 23:23:54 +0000 (23:23 +0000)]
* 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).
* HACKING: Note need for libtool >= 1.5.26.
* config.rpath, build-aux/config.rpath: Updated to latest upstream
version.
* build-aux/config.guess, build-aux/config.sub: Same as following.
* 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).
Neil Jerram [Tue, 12 Feb 2008 20:58:59 +0000 (20:58 +0000)]
configure.in: additional note suggested by Greg Troxel
Ludovic Courtès [Tue, 12 Feb 2008 14:10:16 +0000 (14:10 +0000)]
guile-snarf: Honor $TMPDIR.
Neil Jerram [Mon, 11 Feb 2008 22:32:40 +0000 (22:32 +0000)]
(Random): New text about the default random state,
following suggestions by Stephen Uitti.
Neil Jerram [Mon, 11 Feb 2008 21:02:15 +0000 (21:02 +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:31:06 +0000 (09:31 +0000)]
More compilation fixes with Sun CC (bug #21378).
Neil Jerram [Thu, 7 Feb 2008 01:02:33 +0000 (01:02 +0000)]
*** empty log message ***
Neil Jerram [Wed, 6 Feb 2008 22:46:42 +0000 (22:46 +0000)]
(Next-method): Minor improvements to the
text.
Neil Jerram [Wed, 6 Feb 2008 22:27:59 +0000 (22:27 +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:16:35 +0000 (22:16 +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:17:51 +0000 (13:17 +0000)]
Fix compilation of `numbers.c' with Sun CC.
Neil Jerram [Tue, 5 Feb 2008 22:04:52 +0000 (22:04 +0000)]
* 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.
Neil Jerram [Fri, 1 Feb 2008 22:47:53 +0000 (22:47 +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 20:59:28 +0000 (20:59 +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:55:28 +0000 (22:55 +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.
Neil Jerram [Tue, 29 Jan 2008 23:03:15 +0000 (23:03 +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:48:34 +0000 (21:48 +0000)]
*** empty log message ***
Neil Jerram [Tue, 22 Jan 2008 21:45:34 +0000 (21:45 +0000)]
Should say version 1.8.3, not 1.8.2.
Neil Jerram [Tue, 22 Jan 2008 21:29:54 +0000 (21:29 +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:12:07 +0000 (21:12 +0000)]
* 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.
Neil Jerram [Fri, 18 Jan 2008 23:40:49 +0000 (23:40 +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 [Sat, 29 Dec 2007 12:33:18 +0000 (12:33 +0000)]
(top level): Explain the point of this test.
Neil Jerram [Sat, 29 Dec 2007 12:32:31 +0000 (12:32 +0000)]
*** empty log message ***
Neil Jerram [Sat, 29 Dec 2007 01:34:19 +0000 (01:34 +0000)]
* standalone/test-bad-identifiers: New test.
* standalone/Makefile.am (check_SCRIPTS, TESTS): Add it.
Neil Jerram [Sat, 29 Dec 2007 01:33:54 +0000 (01:33 +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.