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

6936 commits

Author SHA1 Message Date
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
Dirk Herrmann
bd987b8eda * __scm.h (SCM_CAUTIOUS), eval.c (scm_eval_args, deval_args,
SCM_CEVAL):  Removed compile time option SCM_CAUTIOUS to clean up
the code.  Full number of arguments checking of closures is
mandatory now.  However, the option to disable the checking has
most probably not been used anyway.
2002-06-30 22:40:01 +00:00
Dirk Herrmann
8505e285ec * backtrace.c (SCM_ASSERT), debug.c (scm_debug_options), eval.c
(scm_lookupcar, scm_lookupcar1, scm_badargsp, SCM_CEVAL,
SCM_APPLY, scm_map, scm_for_each), feature.c (scm_init_feature),
gsubr.c (scm_gsubr_apply), numbers.c (scm_logand, scm_logior,
scm_logxor, scm_i_dbl2big), srcprop.c (scm_source_properties,
scm_set_source_properties_x, scm_source_property):  Removed
compile time option SCM_RECKLESS to clean up the code.  Full
number of arguments checking of closures is mandatory now.
However, the option to disable the checking has most probably not
been used anyway.

* srcprop.c (scm_source_properties, scm_set_source_properties_x,
scm_source_property): Use !SCM_CONSP instead of SCM_NCONSP.
2002-06-30 22:03:43 +00:00
Gary Houston
732b932732 * dynl.c: Removed all SCM_DEFER_INTS/SCM_ALLOW_INTS, which won't
do anything useful.  Added a comment about need for a mutex if
	pre-emptive threading is supported.
2002-06-30 20:34:38 +00:00
Gary Houston
2ee08a2833 * posix.c (scm_convert_exec_args), dynl.c
(scm_make_argv_from_stringlist): static procs: 1) renamed both to
	allocate_string_pointers.  2) simplified: don't reallocate the
	strings, just make an array of pointers 3) avoid memory leaks on
	error 4) let the procedure report errors in its own name.
	Consequences: 1) the procedures now assume that SCM strings are
	nul-terminated, which should always be the case.  2) Since strings
	are not reallocated, it's now possible for strings passed to
	dynamic-args-call to be mutated.
2002-06-30 19:27:18 +00:00
Gary Houston
feec7802ff * autogen.sh: Changed the path to the scripts directory.
In libltdl, run aclocal before autoconf and automake: this
	eliminated various warnings after upgrading to newer automake.
2002-06-30 17:06:35 +00:00
Dirk Herrmann
c136c9205e * __scm.h, eval.c, eval.h: Removed compile time option
MEMOIZE_LOCALS to clean up the code.  Now, caching of local
variable positions during memoization is mandatory.  However, the
option to disable the caching has most probably not been used
anyway.
2002-06-28 22:40:08 +00:00
Marius Vollmer
23de7b97e9 Bettered wording for inf? and nan? procedures. 2002-06-19 11:41:13 +00:00
Marius Vollmer
e540802f9c *** empty log message *** 2002-06-17 23:30:36 +00:00
Marius Vollmer
ba4271760f (scm_simple_format): Print missing part of format before ~% control.
Thanks to Daniel Skarda!
2002-06-17 23:30:20 +00:00
Gary Houston
1334c61ab0 * boot-9.scm (file-set-position): use seek, not fseek. Make
third argument optional, for better SCM compatibility.
	(file-position): simplify definition.
2002-06-01 17:14:17 +00:00
Marius Vollmer
be87cdb704 *** empty log message *** 2002-06-01 16:16:59 +00:00
Marius Vollmer
f68acbb4b4 (file-set-position): Use seek instead of fseek. 2002-06-01 16:16:49 +00:00
Marius Vollmer
4c1ffcdda1 *** empty log message *** 2002-06-01 16:06:50 +00:00
Marius Vollmer
57e2f421dd Added exception notice to license statement. 2002-06-01 16:06:27 +00:00