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

6616 commits

Author SHA1 Message Date
Thien-Thi Nguyen
d19586ede9 Mark "scripts prelude bugfix" item as done. 2001-08-01 05:16:34 +00:00
Thien-Thi Nguyen
9ebd6e6281 *** empty log message *** 2001-08-01 05:10:12 +00:00
Thien-Thi Nguyen
8c914f6b69 In boilerplate, use -l$0. Thanks to Daniel Skarda. 2001-08-01 05:09:30 +00:00
Thien-Thi Nguyen
2caa250a74 *** empty log message *** 2001-08-01 05:06:07 +00:00
Thien-Thi Nguyen
50c0f3bcbb In boilerplate, use -l$0. Thanks to Daniel Skarda. 2001-08-01 05:04:45 +00:00
Thien-Thi Nguyen
fdd2c5c71a Add entry; take ownership. 2001-08-01 04:54:50 +00:00
Gary Houston
aaf41af6d5 * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
accounting for the (char-set-union cs2...) in the spec.  i.e.,
	(char-set-diff+intersection a) -> copy-of-a, empty-set
	and the following are equivalent:
	(char-set-diff+intersection a (char-set #\a) (char-set #\b))
	(char-set-diff+intersection a (char-set #\a #\b))

	(scm_char_set_xor_x): disabled the side-effecting code, since it
	gives inconsistent results to scm_char_set_xor for the case
	(char-set-xor! a a a).

	(scm_char_set_diff_plus_intersection_x): added cs2 argument, since
	two arguments are compulsory in final spec.  also similar changes
	as for scm_char_set_diff_plus_intersection.
	* srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
2001-07-31 21:50:30 +00:00
Gary Houston
9be745030e * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
accounting for the (char-set-union cs2...) in the spec.  i.e.,
	(char-set-diff+intersection a) -> copy-of-a, empty-set
	and the following are equivalent:
	(char-set-diff+intersection a (char-set #\a) (char-set #\b))
	(char-set-diff+intersection a (char-set #\a #\b))

	(scm_char_set_xor_x): disabled the side-effecting code, since it
	gives inconsistent results to scm_char_set_xor for the case
	(char-set-xor! a a a).

	(scm_char_set_diff_plus_intersection_x): added cs2 argument, since
	two arguments are compulsory in final spec.  also similar changes
	as for scm_char_set_diff_plus_intersection.
	* srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
2001-07-31 21:42:24 +00:00
Keisuke Nishida
88c4ba2aef * boot-9.scm (process-define-module): Bug fixed. 2001-07-31 14:08:04 +00:00
Dirk Herrmann
3c9a524f01 * Rewrote string->number stuff. 2001-07-30 19:35:15 +00:00
Dirk Herrmann
01f11e027e * Minor changes. 2001-07-30 18:55:50 +00:00
Dirk Herrmann
6cf695375f * Use SCM_CONSP, not SCM_ECONSP. 2001-07-30 18:25:14 +00:00
Marius Vollmer
54866b6c20 *** empty log message *** 2001-07-29 20:48:52 +00:00
Marius Vollmer
8b958d72d1 (hashset-index): Renumbered, since the vcell slot of structs has been
removed.
2001-07-29 20:48:41 +00:00
Marius Vollmer
c0227bcdb0 (build_class_class_slots): Removed vcell slot definition. 2001-07-29 20:46:37 +00:00
Marius Vollmer
7895b092c4 Renumbered slot indices. (SCM_CLASS_CLASS_LAYOUT):
Removed vcell slot layout code.
(scm_si_vcell): Removed.
2001-07-29 20:46:23 +00:00
Marius Vollmer
e93854046b (scm_si_redefined, scm_si_hashsets): Renumbered. 2001-07-29 20:43:05 +00:00
Marius Vollmer
6902384eb9 (scm_struct_vtable_p): Do not check vcell slot for zero. Use
scm_vtable_index_layout instead of "0" when accessing said slot.
(scm_init_struct): Remove vcell slot layout code from
required_vtable_fields.
2001-07-29 20:42:06 +00:00
Marius Vollmer
7866776ca0 (scm_vtable_index_vcell): Removed. Renumbered subsequent indices. 2001-07-29 20:39:38 +00:00
Martin Grabmüller
024001c213 Check in forgotten test scripts. 2001-07-27 16:11:13 +00:00
Marius Vollmer
a0f5718e15 *** empty log message *** 2001-07-26 21:40:52 +00:00
Marius Vollmer
904a077df1 * tags.h: Update tag system docs.
(scm_tc3_cons_gloc): Renamed to scm_tc3_struct.  Changed all uses.
(scm_tcs_cons_gloc): Renamed to scm_tcs_struct.  Changed all uses.
(SCM_ECONSP, SCM_NECONSP): Removed.  Changed all uses to SCM_CONSP
or SCM_NCONSP, respectively.

* struct.c, struct.h, srcprop.c, procs.c, procprop.c, print.c,
objects.c. modules.c, goops.c, eval.c, debug.c: Changed all uses
of scm_tc3_cond_gloc and scm_tcs_cons_gloc.  See above.

* print.c (scm_iprin1): Remove printing of glocs.  Do not try to
tell glocs from structs.

* gc.c (scm_gc_mark, scm_gc_sweep): Remove handling of glocs.

* eval.c (scm_m_atbind): Make a list of variables, not glocs.
(scm_ceval, scm_deval): For SCM_IM_BIND, fiddle with variables
instead of with glocs.
(EVALCAR): Do not test for glocs.
(scm_lookupcar, scm_lookupcar1): Do not handle glocs in race
condition.
(scm_unmemocar): Do not handle glocs.
(scm_m_atfop): Memoize as a variable, not as a gloc.
(scm_eval_args, scm_deval_args): Do not handle glocs.
(scm_ceval, scm_deval): Likewise.

* eval.h (SCM_XEVALCAR): Do not test for glocs.
(SCM_GLOC_VAR, SCM_GLOC_VAL, SCM_GLOC_SET_VAL, SCM_GLOC_VAL_LOC):
Removed.

* debug.h, debug.c (scm_make_gloc, scm_gloc_p): Removed.

* dynwind.c (scm_swap_bindings): Likewise.
(scm_dowinds): Updated to recognize lists of variables instead of
lists of glocs.

* __scm.h (SCM_CAUTIOS, SCM_RECKLESS): Update comments.
2001-07-26 21:40:18 +00:00
Marius Vollmer
5b54c4daa1 *** empty log message *** 2001-07-26 16:58:55 +00:00
Marius Vollmer
d315ea8ccc (GC_noop1): Moved into the same #if/#endif context where it is needed. 2001-07-26 16:58:30 +00:00
Marius Vollmer
50694746a3 *** empty log message *** 2001-07-26 16:58:00 +00:00
Marius Vollmer
429e955781 (GC_noop1): Moved into the same #if/#endif context where it is needed. 2001-07-26 16:57:27 +00:00
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
Martin Grabmüller
914c9f842a Minor typo fix. 2001-07-26 05:29:43 +00:00
Gary Houston
e3fc0809bb * numbers.c (scm_logand, scm_logior, scm_logxor): adjusted the
docstrings to reflect the n-ary implementation.
2001-07-25 22:39:44 +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
Martin Grabmüller
814e260104 Doc file overhaul. See TODO for what is still missing. 2001-07-25 19:49:38 +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
Martin Grabmüller
ed83e47e99 minor updates. 2001-07-24 17:25:29 +00:00
Martin Grabmüller
1321f4ff18 All examples are now built and tested on `make installcheck'
rather than `make check'.
2001-07-24 10:43:34 +00:00
Marius Vollmer
ba7562306f *** empty log message *** 2001-07-23 22:14:37 +00:00
Marius Vollmer
abd1460ea9 (SUBDIRS): Build libguile before ice-9. 2001-07-23 22:14:24 +00:00
Marius Vollmer
489a7bdd73 * 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.
* syncase.scm (psyncomp): Removed, it is now in
compile-psyntax.scm.
2001-07-23 22:13:30 +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
cvs2svn
1b3d27e503 This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2001-07-23 22:09:43 +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
3eb5076d65 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:22:07 +00:00