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

5705 commits

Author SHA1 Message Date
Martin Grabmüller
67b7dd9ea9 Minor typo fix in NEWS.
Examples are now built and tested on `make installcheck'.
2001-07-26 05:31:57 +00:00
Gary Houston
3c3db1289a * numbers.c (scm_logand, scm_logior, scm_logxor): adjusted the
docstrings to reflect the n-ary implementation.
2001-07-25 22:37:05 +00:00
Marius Vollmer
dd29a16921 *** empty log message *** 2001-07-25 22:01:50 +00:00
Marius Vollmer
a130e9829b (scm_ceval, scm_deval): Use "RETURN" macro when returning value of a
variable, not the plain "return" statement.
2001-07-25 22:01:27 +00:00
Marius Vollmer
f5fe6c2f7e *** empty log message *** 2001-07-25 21:03:59 +00:00
Marius Vollmer
d22a0ea164 Allow variables in memoized code (in addition to glocs).
(scm_lookupcar): Handle variables in lost races.  Replace symbol
with variable directly, do not make a gloc.
(scm_unmemocar): Rewrite variables using a reverse lookup, just
like glocs.
(scm_ceval, scm_deval): Deal with variables in SCM_IM_SET and in
the main switch.
2001-07-25 21:03:28 +00:00
Marius Vollmer
6d9ad98a17 *** empty log message *** 2001-07-25 15:33:03 +00:00
Marius Vollmer
2b1d120cd7 * variable.c (scm_i_variable_print): Use "value" instead of
"binding" since a binding is the mapping between symbols and
variables, not between variables and their values.
2001-07-25 15:32:30 +00:00
Marius Vollmer
ee0c7345a9 *** empty log message *** 2001-07-25 15:32:20 +00:00
Marius Vollmer
dbf5dfb3c1 * variable.h (scm_tc16_variable): Removed.
(SCM_VARIABLEP): Test for new tc7 code.
(scm_i_variable_print): New.
* variable.c (scm_tc16_variable): Removed.
(variable_print): Renamed to scm_i_variable_print and made
non-static.
(variable_equal_p): Removed.
(make_variable): Construct a tc7 object instead of a smob.
(scm_init_variable): Do not register smob.
2001-07-25 15:28:07 +00:00
Marius Vollmer
e5aca4b5c4 * tags.h (scm_tc7_variable): New.
* gc.c (scm_gc_mark): Handle scm_tc7_variable objects.
* print.c (scm_iprin1): Likewise.
2001-07-25 15:22:53 +00:00
Marius Vollmer
11057044d8 *** empty log message *** 2001-07-23 22:10:42 +00:00
Marius Vollmer
6ebb983574 (SUBDIRS): Build libguile before ice-9. 2001-07-23 22:10:29 +00:00
Marius Vollmer
9d198c1b17 * syncase.scm (psyncomp): Removed, it is now in compile-psyntax.scm.
* Makefile.am (psyntax.pp): Enable rule for psyntax.pp only in
maintainer mode.  Use compile-psyntax.scm for actual compilation.
Make sure the uninstalled guile is used.
(EXTRA_DIST): Distribute compile-psyntax.scm
* compile-psyntax.scm: New file.
2001-07-23 22:09:42 +00:00
Gary Houston
d95744e986 Reverse the n-ary logxor change. The behaviour is weird in a set
context, but consistent with logxor and scsh.  Maybe it should get
     the benefit of the doubt.
2001-07-22 23:21:03 +00:00
Gary Houston
42b54c05a9 (scm_char_set_xor): bug fix: characters should only be included if
they occur in exactly one argument, but were included if they
	occured an odd number of times >= 3, e.g, in (char-set-xor a a a)
	where a is (char-set #\a).  fix it with a "mask" array.
2001-07-22 22:01:50 +00:00
Gary Houston
d1bc66027e * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
the compulsory cs1 arguments: all args are optional in final spec.
	* srfi-14.h: declarations updated.
2001-07-22 20:17:28 +00:00
Marius Vollmer
f3805ebb7c *** empty log message *** 2001-07-22 18:31:11 +00:00
Marius Vollmer
24d1fde84c * tags.h (SCM_UNBOUND): Make it the 34th isym/iflag, the 33th slot is
taken by the new SCM_IM_CALL_WITH_VALUES.
* print.c (scm_isymnames): Update table accordingly.
2001-07-22 18:30:36 +00:00
Marius Vollmer
cda36c2356 * tags.h: Include inttypes.h when we have it.
* tags.h (SCM_UNBOUND): Make it the 34th isym/iflag, the 33th slot is
taken by the new SCM_IM_CALL_WITH_VALUES.
* print.c (scm_isymnames): Update table accordingly.
2001-07-22 18:30:08 +00:00
Marius Vollmer
f4d1173bb3 Check for "inttypes.h". 2001-07-22 18:28:21 +00:00
Gary Houston
6a1677a396 * regex-posix.c (s_scm_regexp_exec): use scm_long2num not
SCM_MAKINUM to convert regoff_t value to SCM.
2001-07-22 12:49:02 +00:00
Thien-Thi Nguyen
9977b4fb1f *** empty log message *** 2001-07-22 11:09:23 +00:00
Thien-Thi Nguyen
32bc3c4596 (autoload-info): Also handle `defmacro-public' forms. 2001-07-22 11:08:18 +00:00
Gary Houston
1bed8c28a2 * scmsigs.c: include sys/time.h for itimer stuff. 2001-07-21 21:11:16 +00:00
Thien-Thi Nguyen
bd8398e6ef Remove "how to contribute" header paragraph. 2001-07-21 06:42:46 +00:00
Martin Grabmüller
58ade1022c * alist.c, arbiters.c, async.h, backtrace.h, boolean.c, chars.c,
chars.h, continuations.h, debug-malloc.h, dynl.c, feature.c,
	feature.h, filesys.h, fluids.h, fports.h, gc_os_dep.c,
	gdb_interface.h, gh_eval.c, gh_funcs.c, gh_io.c, gh_list.c,
	gh_predicates.c, gsubr.c, gsubr.h, guardians.h,
	guile-func-name-check.in, guile-snarf-docs-texi.in,
	guile-snarf-docs.in, guile-snarf.awk.in, guile-snarf.in,
	hashtab.h, iselect.h, keywords.h, lang.c, list.h, load.h,
	objprop.c, objprop.h, options.c, options.h, random.h,
	regex-posix.h, root.c, root.h, script.c, snarf.h, stackchk.c,
	strerror.c, strop.h, strports.h, threads.h, values.c, values.h,
	version.c, version.h: Updated copyright notice.
2001-07-19 21:08:49 +00:00
Martin Grabmüller
c0b2936ee9 * INSTALL, Makefile.am, configure.in: Updated copyright notice. 2001-07-19 20:57:59 +00:00
Martin Grabmüller
96e30d2ab2 * tests/alist.test, tests/bit-operations.test,
tests/common-list.test, tests/environments.test, tests/eval.test,
	tests/gc.test, tests/hooks.test, tests/import.test,
	tests/interp.test, tests/list.test, tests/load.test,
	tests/numbers.test, tests/ports.test, tests/r4rs.test,
	tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
	copyright notice.
2001-07-19 20:30:37 +00:00
Martin Grabmüller
46a7b46f0c * srfi-11.scm, srfi-8.scm: Update copyright notice. 2001-07-19 20:28:33 +00:00
Martin Grabmüller
f3a5178732 * goops/util.scm: Updated copyright notice. 2001-07-19 20:27:40 +00:00
Martin Grabmüller
e39bbe80b6 * and-let-star.scm, debug.scm, debugger.scm, history.scm,
lineio.scm, null.scm, optargs.scm, r4rs.scm, r5rs.scm,
	receive.scm, safe-r5rs.scm, streams.scm: Updated copyright notice.
2001-07-19 20:24:49 +00:00
Martin Grabmüller
9cc64c3ea3 * Makefile.am, readline.scm: Updated copyright notice. 2001-07-19 20:23:03 +00:00
Martin Grabmüller
12ce651a81 * guile-config.in, Makefile.am: Updated copyright notice. 2001-07-19 20:22:12 +00:00
Rob Browning
61921779a9 *** empty log message *** 2001-07-19 17:58:37 +00:00
Rob Browning
41d6c85b29 * posix.texi (Signals): add docs for setitimer and getitimer. 2001-07-19 17:58:27 +00:00
Rob Browning
e658215a98 *** empty log message *** 2001-07-19 17:47:08 +00:00
Rob Browning
8afd1a2a62 * configure.in: add checks for setitimer and getitimer.
Add --enable-error-on-warning.
2001-07-19 17:46:42 +00:00
Rob Browning
363902dbb2 * box/.cvsignore: add .deps. 2001-07-19 17:46:30 +00:00
Rob Browning
0aaac665d5 * box-module/.cvsignore: add .deps. 2001-07-19 17:46:22 +00:00
Rob Browning
e80bea704d * c-tokenize.lex: add option %nounput to quiet warning.
Add prototype for yylex to quiet warning.
2001-07-19 17:45:01 +00:00
Rob Browning
f28108ee14 * gc_os_dep.c (GC_noop1): ifdef out (unused) to quiet warning. 2001-07-19 17:43:34 +00:00
Rob Browning
53f8a0d20e * scmsigs.c (s_scm_setitimer): new function.
(s_scm_setitimer): new function.
2001-07-19 17:43:22 +00:00
Rob Browning
7bcbb3f235 * scmsigs.h (scm_init_scmsigs): new prototype.
(scm_init_scmsigs): new prototype.
2001-07-19 17:43:14 +00:00
Dirk Herrmann
6b80d35202 * A couple of minor cleanups. 2001-07-18 10:14:29 +00:00
Martin Grabmüller
4c4185ee95 * srfi-14.c: Okay. Now I got it. Really. This time it's fixed.
Guaranteed. (Maybe)

	* srfi-19.scm: Define `current-time' before exporting it.
2001-07-17 19:41:49 +00:00
Martin Grabmüller
90ee03daff * r5rs.scm: Use re-export' instead of export' for re-exported
primitives.  Thanks Neil!
2001-07-17 18:59:17 +00:00
Martin Grabmüller
2671725a65 * srfi-14.c: Fix for bug caused by brain-malfunctioning on my
side.  Bit sets were handled wrong because I couldn't tell bit
	counts from byte counts.  Also, the bit array should be 256 / 8
	bytes long.  Thank you, Gary!

	Removed unnecessary protoype for scm_char_set_copy.
2001-07-17 05:35:51 +00:00
Martin Grabmüller
8d4ab69245 * goops/save.scm: Use re-export' instead of export' when
re-exporting `make-unbound'.
2001-07-17 05:26:15 +00:00
Gary Houston
8b19021c25 * srfi-14.scm: export string->char-set!, not string-char-set!.
* srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next,
	scm_end_of_char_set_p): reject negative	cursor values.
	(scm_list_to_char_set, scm_list_to_char_set_x): when reporting
	type error in list component, omit the position (was always 1).
2001-07-16 22:30:25 +00:00