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

9450 commits

Author SHA1 Message Date
Marius Vollmer
dfd71abaf0 (rstate_free): Return zero. 2002-07-25 12:12:21 +00:00
Dirk Herrmann
35060ae90e * environments.c (remove_key_from_alist): Removed.
(obarray_remove):  Simplified.
2002-07-24 16:34:43 +00:00
Stefan Jahn
6a53544072 2002-07-24 Stefan Jahn <stefan@lkcc.org>
* continuations.h: ia64: Include <signal.h> before
        <sys/ucontext.h>.
2002-07-24 09:25:24 +00:00
Han-Wen Nienhuys
afc8e572ba (mscripts): find and check version number of
automake. Complain if 1.6 is not found.
2002-07-22 00:17:26 +00:00
Dirk Herrmann
bcbd25b74f * modules.c (scm_sym2var): Don't compare SCM values with ==. 2002-07-21 21:18:27 +00:00
Han-Wen Nienhuys
1d1559ce6d * macros.c: include deprecation.h
* vectors.c (s_scm_vector_move_right_x): remove side effect in
macro arg.
(s_scm_vector_move_left_x): idem.

* net_db.c, posix.c, socket.c: variable naming: change ans to
result.

* sort.c (scm_merge_vector_x): accept vector as argument
iso. SCM*. This is needed for full GC correctness.

* gc.h: undo previous undocumented changes related to #ifdef
GENGC.
2002-07-21 17:46:23 +00:00
Dirk Herrmann
8f28ea31bb * lib.scm (print-result, print-user-result): Changed the
reporter's outputs to use symbols rather than strings to document
the individual values.  Thanks to Neil Jerram for the suggestion.
2002-07-21 12:01:26 +00:00
Dirk Herrmann
bde9d30b51 * benchmarks/0-reference.bm: Added as a reference benchmark to be
used to calibrate iteration counts.

* lib.scm: Added documentation.  Added some initialization
messages.

(benchmark-time-base, benchmark-total-time, benchmark-user-time,
benchmark-system-time, benchmark-frame-time, benchmark-core-time,
benchmark-user-time\interpreter, benchmark-core-time\interpreter):
Exported.

(benchmark-time-base, time-base): Renamed time-base to
benchmark-time-base and introduced new time-base as a short-cut.

(total-time, benchmark-total-time, user-time, benchmark-user-time,
system-time, benchmark-system-time, frame-time,
benchmark-frame-time, benchmark-time, benchmark-core-time,
user-time\interpreter, benchmark-user-time\interpreter,
benchmark-time\interpreter, benchmark-core-time\interpreter,
print-result, print-user-result):  Renamed <foo>-time to
benchmark-<foo>-time.  Exceptions: benchmark-time and
benchmark-time\interpreter were renamed to benchmark-core-time and
benchmark-core-time\interpreter, respectively.
2002-07-21 10:22:54 +00:00
Han-Wen Nienhuys
34d19ef643 2002-07-20 Han-Wen <hanwen@cs.uu.nl>
* *.c: add space after commas everywhere.

* *.c: use SCM_VECTOR_SET everywhere, where a vector is written.
Document cases where SCM_WRITABLE_VELTS() is used.

* vectors.h (SCM_VELTS): prepare for write barrier, and let
SCM_VELTS() return a const pointer
(SCM_VECTOR_SET): add macro.

* autogen.sh (mscripts): find and check version number of
autoconf. Complain if 2.53 is not found.
2002-07-20 14:08:34 +00:00
Dirk Herrmann
dd897aafbd * benchmark-guile.in: Copied from check-guile.in and adapted for
use with benchmarks.

* Makefile.am:  Recurse into the benchmark-suite subdir.

* configure.in:  Added benchmarking files.
2002-07-20 01:30:36 +00:00
Dirk Herrmann
0237895653 * COPYING, README, Makefile.am, lib.scm, guile-benchmark: Copied
from the test-suite directory, renamed and adapted for use with
benchmarks.

* benchmarks/logand.bm, benchmarks/continuations.bm,
benchmarks/if.bm:  Added as initial fairly stupid examples for
benchmarks.
2002-07-20 01:21:36 +00:00
Marius Vollmer
bb59ff52af *** empty log message *** 2002-07-17 18:55:20 +00:00
Marius Vollmer
4923bb187e Added configuration for ARM. 2002-07-17 18:54:57 +00:00
Marius Vollmer
47f7fb3621 New. 2002-07-17 18:53:57 +00:00
Neil Jerram
3db0333819 New doc about stack overflow. 2002-07-16 22:25:49 +00:00
Neil Jerram
c5d1306193 Apply patch from M. Luedde on use of tail recursion to avoid stack overflow 2002-07-16 20:57:34 +00:00
Dirk Herrmann
3063e30a6d * eval.c (SCM_CEVAL), macros.c (macro_print, scm_makmacro,
scm_sym_macro, scm_macro_type), macros.h (scm_makmacro):
Deprecated the special kind of built-in dynamic syntax transformer
that was inaccurately named "macro".  Note:  The built-in syntax
transformers that are named "mmacro" or "memoizing-macro" still
exist, and it is these which come much closer to what one would
call a macro.
2002-07-15 20:39:53 +00:00
Neil Jerram
4c5f8e8fe0 Fix for 1001-local-eval-error-backtrace-segfaults. 2002-07-14 15:43:24 +00:00
Dirk Herrmann
33e04d5492 * oop/goops.scm (define-generic, define-accessor): Make sure that
define-generic and define-accessor will continue to work when
mmacros are expanded before execution.

* test-suite/tests/goops.test: Added tests for define-generic and
define-accessor.
2002-07-13 09:44:39 +00:00
Dirk Herrmann
9f04540330 * oop/goops.scm (define-class): Make sure that define-class will
continue to work when mmacros are expanded before execution.

* test-suite/tests/goops.test: Added tests for define-class.
2002-07-13 08:18:35 +00:00
Gary Houston
4f6f9ae3d3 * dynl.c: Don't define stub procedures if DYNAMIC_LINKING is not
defined.  They don't do anything useful, especially since the
	only case where DYNAMIC_LINKING is undefined seems to be
	when --with-modules=no is given to configure, which is basically
	requesting that the "dynamic linking module" be omitted.

	* Makefile.am (libguile_la_SOURCES): move dynl.c from
	libguile_la_SOURCES to EXTRA_libguile_la_SOURCES.

	* extensions.c (load_extension): check DYNAMIC_LINKING for
	scm_dynamic_call.
	* init.c (scm_init_guile_1): check DYNAMIC_LINKING for
	scm_init_dynamic_linking.

	* configure.in: check dynamic linking before modules.  Add dynl.c
	if dynamic linking is available, i.e., unless --with-modules=no
	was given to configure.
2002-07-12 17:46:15 +00:00
Marius Vollmer
7e7eb95b41 Added 2002 to the copyright years. 2002-07-11 23:21:25 +00:00
Marius Vollmer
c21935e6cd *** empty log message *** 2002-07-11 23:20:45 +00:00
Marius Vollmer
4abbb327ee Added Clinton Ebadi. 2002-07-11 23:20:16 +00:00
Gary Houston
9540b68f94 * eq.c: include <string.h> 2002-07-10 22:25:55 +00:00
Gary Houston
dd235de4a6 * scheme-modules.texi (Compiled Code Modules): Removed description
of scm_register_module_xxx, which no longer exists.  A description
	of current techniques is needed.
2002-07-10 22:21:25 +00:00
Gary Houston
ee95d597c7 * dynl.c: docstring editing. 2002-07-10 22:20:16 +00:00
Marius Vollmer
f87c105ae3 No need to check for Cygwin when including <winsock2.h>, this is
already check for by configure.  Thus, revert change from 2002-07-07.
2002-07-10 19:40:43 +00:00
Gary Houston
d2e13cf79d *** empty log message *** 2002-07-10 18:13:59 +00:00
Gary Houston
59afd55537 * docstring.el: optional 2nd environment variable to locate
built files.
2002-07-10 17:18:41 +00:00
Gary Houston
46732b5441 * dynl.c (scm_dynamic_call): docstring editing. 2002-07-09 22:40:03 +00:00
Gary Houston
fc5c6d0047 * docstring.el: defined caddr, used in several places but missing
for some reason.
2002-07-09 21:09:58 +00:00
Marius Vollmer
2398796a8d *** empty log message *** 2002-07-09 13:25:53 +00:00
Marius Vollmer
0f59dd5fe6 Patch libltdl/ltdl.c to avoid a nasty bug in libtool-1.4.2. 2002-07-09 13:25:40 +00:00
Rob Browning
c09d12e0fd *** empty log message *** 2002-07-09 04:42:49 +00:00
Rob Browning
9c52b21814 * gc_os_dep.c: HURD fixes. 2002-07-08 23:41:00 +00:00
Marius Vollmer
fdf7e1d7ed *** empty log message *** 2002-07-08 20:55:30 +00:00
Marius Vollmer
6012c379ae (make-exchanger): Added. Thanks to Clinton Ebadi! 2002-07-08 20:55:20 +00:00
Dirk Herrmann
9ffa41dbae * goops.scm (define-generic, define-accessor): Make sure that
implicit redefines only happen on top level.

* goops.scm (define-class, define-generic, define-accessor),
goops/stklos.scm (define-class):  Use mmacros instead of macros.
2002-07-08 20:40:32 +00:00
Marius Vollmer
658b35a01e Renamed :rename to :renamer. 2002-07-08 18:55:21 +00:00
Marius Vollmer
ca679709cc *** empty log message *** 2002-07-07 20:22:15 +00:00
Marius Vollmer
2e562f3a01 * autogen.sh: Do not copy INSTALL from workbook since it is not
uniform across branches.
* INSTALL: Re-added to repository.
2002-07-07 20:17:29 +00:00
Marius Vollmer
3f6571eb94 *** empty log message *** 2002-07-07 20:06:31 +00:00
Marius Vollmer
7c9e56d664 Do not include <winsock2.h> on Cygwin even when we have it. 2002-07-07 19:58:15 +00:00
Marius Vollmer
b32fca0fbc Override default rule for c-tokenize.$(OBJECT);
this should be compiled for BUILD host.
Override default rule for
guile_filter_doc_snarfage$(EEXECT); this should run on BUILD host.
Add missing $(EXEEXT) to guile_filter_doc_snarfage invocation.
(snarf2checkedtexi): Use GUILE_FOR_BUILD instead of preinstguile.
2002-07-07 19:50:49 +00:00
Marius Vollmer
887efef59c *** empty log message *** 2002-07-07 19:40:09 +00:00
Marius Vollmer
452e366198 Only fix libltdl/configure.in if it exists. Current libtool CVS does
not need this fix.
2002-07-07 19:39:21 +00:00
Marius Vollmer
0db83c0423 * configure.in (AC_LIBTOOL_WIN32_DLL): Add for shared Cygwin
build.
Add --with-cc-for-build option to re-enable cross building.
Add --with-guile-for-build option to re-enable cross building.
2002-07-07 19:38:23 +00:00
Marius Vollmer
9352332891 Crosscompiling and Cygwin fixes from Jan Nieuwenhuizen. Thanks! 2002-07-07 19:36:42 +00:00
Dirk Herrmann
7c38399f30 * now using mmacros instead of macros at some places. 2002-07-07 05:18:17 +00:00