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

10813 commits

Author SHA1 Message Date
Neil Jerram
bed2e15fc9 Make multi-byte reads on unbuffered ports more efficient.
Idea and original patch were by Ludovic Courts, this is Neil Jerram's
reworking of it.

	* libguile/srfi-4.c (scm_uniform_vector_read_x): Use scm_c_read,
	instead of equivalent code here.

	* libguile/ports.c (scm_fill_input): Add assertion that read
	buffer is empty when called.
	(port_and_swap_buffer, swap_buffer): New, for...
	(scm_c_read): Use caller's buffer for reading, to avoid making N
	1-byte low-level read calls, in the case where the port is
	unbuffered (or has a very small buffer).
2008-09-15 18:50:14 +01:00
Ludovic Courtès
4a281c91b4 Add `uniform-vector-read!' benchmark. 2008-09-15 01:33:02 +01:00
Ludovic Courtès
972b5d7045 Include <config.h> in standalone tests.
* test-suite/standalone/Makefile.am (test_cflags): Add `-I$(top_builddir)' so
  that <config.h> can be found.
  (snarfcppopts): Likewise.

* test-suite/standalone/*.c: Include <config.h>.
2008-09-13 20:12:10 +02:00
Ludovic Courtès
7a4e0d105e Include <config.h> in all C files; use #ifdef HAVE_CONFIG_H' rather than #if'. 2008-09-13 15:49:50 +02:00
Ludovic Courtès
8073f24ccd Add `ChangeLog-2008' files to the distribution. 2008-09-12 21:46:32 +02:00
Ludovic Courtès
e9d9445b50 Rename ChangeLog' files to ChangeLog-2008'. 2008-09-12 21:42:26 +02:00
Ludovic Courtès
0db4aa6c4a doc: Correct the default value of `%load-path'.
* doc/ref/api-options.texi (Build Config): Remove "." from the default value
  of `%load-path'.  Reported by David Séverin <david@altosw.be>.
2008-09-12 11:30:04 +02:00
Ludovic Courtès
1778e9f5fb Include <config.h> in `discouraged.c'.
* libguile/discouraged.c: Include <config.h> first so that files that
  rely on `config.h' macros (such as Gnulib-provided headers) work as
  expected.
2008-09-12 09:42:58 +02:00
Ludovic Courtès
365db7e640 Remove `.cvsignore' files. 2008-09-11 21:48:53 +02:00
Ludovic Courtès
b01284227e Use Simon Josefsson's `autobuild.m4'.
* Makefile.am (EXTRA_DIST): Add `m4/autobuild.m4'.
  (ACLOCAL_AMFLAGS): Add `-I m4'.

* configure.in: Invoke `AB_INIT'.

* m4/autobuild.m4: New file.
2008-09-11 21:48:23 +02:00
Ludovic Courtès
4e329a9569 Get rid of Automake's "maintainer mode".
* NEWS: Update.
* configure.in: Remove `AM_MAINTAINER_MODE' invocation.
* doc/Makefile.am, ice-9/Makefile.am: Ignore `MAINTAINER_MODE'
  conditional.
2008-09-09 18:07:03 +02:00
Ludovic Courtès
06b6fb81ea Update NEWS' wrt. mutex-lock' deadlock fix. 2008-09-08 14:36:12 +02:00
Julian Graham
1eb4952693 Resolve a deadlock caused by not checking mutex state after calling `SCM_TICK'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2008-09-08 14:32:22 +02:00
Ludovic Courtès
77554491e1 Remove mention of scm_i_' removal from NEWS'. 2008-09-04 21:30:12 +02:00
Ludovic Courtès
cfabe1e2e4 Revert "Add `SCM_INTERNAL' macro, use it."
This reverts commit f0c64044d3.
2008-09-04 20:26:55 +02:00
Ludovic Courtès
ca71113651 Revert "Fix `SCM_INTERNAL' with GCC 4.3."
This reverts commit bc566d672f.
2008-09-04 20:24:22 +02:00
Ludovic Courtès
ef8d3d3a2c Remove `coop-threads' files that had been useless since 2005-03-02. 2008-08-27 23:48:19 +02:00
Ludovic Courtès
e210266510 Use AC_USE_SYSTEM_EXTENSIONS' instead of the obsolete AC_AIX', etc. 2008-08-20 19:02:41 +02:00
Ludovic Courtès
f4833b3906 Add test case for the GOOPS `class-redefinition' memory corruption. 2008-08-20 00:46:57 +02:00
Ludovic Courtès
dc0f35ca61 Add ChangeLog and NEWS entry for the GOOPS `class-redefinition' memory
corruption fix.
2008-08-20 00:46:42 +02:00
Ludovic Courtès
ba368578f3 Complete fix of `hell' allocation in GOOPS. 2008-08-20 00:46:40 +02:00
Han-Wen Nienhuys
2e503afaf7 Fix sizeof() nitpick for goops corruption. 2008-08-20 00:46:12 +02:00
Han-Wen Nienhuys
49f325df90 Fix memory corruption issue with hell[] array: realloc/calloc need to
factor in sizeof(scm_t_bits)
2008-08-20 00:45:42 +02:00
Ludovic Courtès
9b4fb45a98 Remove the now useless `qthreads.m4'. 2008-08-14 00:15:03 +02:00
Ludovic Courtès
be97360245 Don't use AC_CONFIG_MACRO_DIR' in configure.in'. 2008-08-14 00:13:21 +02:00
Neil Jerram
adacd2dac5 Fix build failure on Debian hppa architecture (bad stack growth detection)
* configure.in (SCM_I_GSC_STACK_GROWS_UP): Remove use of
	AC_CACHE_CHECK, which was inadvertently causing
	SCM_I_GSC_STACK_GROWS_UP _always_ to be 0.
2008-08-07 23:26:21 +02:00
Neil Jerram
7ed52b7bbb Fix misleading output from `(help rationalize)'
* numbers.c (scm_rationalize): Update docstring to match the
	manual (which is more correct).  Change argument "err" to "eps",
	also to match the manual.
2008-08-03 00:18:33 +01:00
Neil Jerram
e460586430 Single stepping through code from Emacs
When you use GDS to evaluate Scheme code from Emacs, you can now use
`C-u' to indicate that you want to single step through that code. See
`Evaluating Scheme Code' in the manual for more details.

	* scheme-using.texi (Evaluating Scheme Code): Document use of
        `C-u' prefix with evaluation commands.

        * gds-scheme.el (gds-eval-region, gds-eval-expression)
        (gds-eval-defun, gds-eval-last-sexp): Support `C-u' prefix,
        meaning that user wants to single step through the code.

        * gds-client.scm (handle-nondebug-protocol): Add support for
        setting a trap on code that is about to be evaluated.
2008-07-17 22:44:52 +01:00
Neil Jerram
305d3e761e Merge branch 'branch_release-1-8' of ssh://ossau@git.sv.gnu.org/srv/git/guile into branch_release-1-8 2008-07-17 22:15:29 +01:00
Neil Jerram
c67a68f4f1 ChangeLog for "Improve stack direction test" 2008-07-17 22:03:49 +01:00
Neil Jerram
ac370d9737 ChangeLog for "Improved MIPS/Linux gc_os_dep.c definitions" 2008-07-17 22:02:01 +01:00
Ludovic Courtès
dc329592ff Handle lack of struct dirent64' and readdir64_r ()' on HP-UX 11.11. 2008-07-17 00:17:56 +02:00
Neil Jerram
9143131b27 Improve stack direction test
* configure.in: Update stack direction test to be like that in
	Autoconf _AC_LIBOBJ_ALLOCA and Gnulib; specifically in involving a
	function calling itself.
2008-07-12 19:32:35 +01:00
Neil Jerram
4ff3575c77 Improved MIPS/Linux gc_os_dep.c definitions
From Thiemo Seufer <ths@networkno.de>:

	* gc_os_dep.c (CPP_WORDSZ, ALIGN_DOUBLE, DATAEND,
	DYNAMIC_LOADING): Added #defines.
	(_fdata, _end): Added declarations.
	(DATASTART): Use _fdata instead of __data_start.
	(STACKBOTTOM): Changed from 0x80000000 to 0x7fff8000.
2008-07-12 19:26:39 +01:00
Ludovic Courtès
10a529b027 Use `-q' when running standalone tests. 2008-07-06 23:58:15 +02:00
Ludovic Courtès
fb4f418926 Update `INSTALL'. 2008-07-06 22:11:07 +02:00
Ludovic Courtès
34ca35ed4d Update to Autoconf 2.61. 2008-07-06 21:03:37 +02:00
Ludovic Courtès
47463c8fd7 Add `scm_c_symbol_length ()'. 2008-07-05 20:11:22 +02:00
Ludovic Courtès
3f324bb3b8 Update `THANKS'. 2008-07-04 22:23:03 +02:00
Ludovic Courtès
bc566d672f Fix `SCM_INTERNAL' with GCC 4.3. 2008-07-04 22:22:54 +02:00
Ludovic Courtès
e01343d646 Modernize Automake files. 2008-06-28 22:14:40 +02:00
Ludovic Courtès
ecb5d146f7 Fix doc typo regarding `use-syntax' and "syntax transformers". 2008-06-28 20:39:38 +02:00
Ludovic Courtès
9472870b85 Fix harmless typo in SRFI-19. 2008-06-28 20:39:30 +02:00
Ludovic Courtès
a9f32e12c4 Disable type-checking of `SCM_UNPACK' for the broken HP compilers. 2008-06-28 20:38:36 +02:00
Ludovic Courtès
22ba77df3d Update `THANKS'. 2008-06-02 21:51:46 +02:00
Ludovic Courtès
787abee8d3 guile-config: Show -L$libdir' before -lguile'. 2008-06-02 21:51:43 +02:00
Ludovic Courtès
c4df2cca63 Work around `#define except' on Tru64. 2008-06-02 21:51:27 +02:00
Ludovic Courtès
90e97a7b4b Support systems whose <inttypes.h> doesn't define `PRIiMAX'. 2008-06-02 21:51:16 +02:00
Ludovic Courtès
5c22f3e51f Fix SRFI-88 URL in the manual. 2008-06-01 13:11:05 +02:00
Ludovic Courtès
ee68246a84 Update `NEWS'. 2008-05-31 23:19:55 +02:00