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

6185 commits

Author SHA1 Message Date
Thien-Thi Nguyen
8c84b81eca *** empty log message *** 2001-08-02 10:48:12 +00:00
Thien-Thi Nguyen
8940c16b17 *** empty log message *** 2001-08-02 10:29:32 +00:00
Thien-Thi Nguyen
4f70d598bf Refill to fit in 80 columns.
(process-long-option): Fix bug: Keep track of `optional' value-required
info and use this to determine whether or not the next element is to be
taken as the option arg.
2001-08-02 10:26:52 +00:00
Thien-Thi Nguyen
ed9ef46202 *** empty log message *** 2001-08-02 10:14:17 +00:00
Thien-Thi Nguyen
3cc2e575a6 Initial revision 2001-08-02 10:13:03 +00:00
Marius Vollmer
c1151355d2 *** empty log message *** 2001-08-01 21:28:45 +00:00
Marius Vollmer
915bd26388 Added `--disable-linuxthreads' option and do not define
GUILE_PTHREAD_COMPAT nor link with -lpthread when it is given.  Thanks
to Cris Cramer!
2001-08-01 21:28:29 +00:00
Marius Vollmer
ccbd262bd1 (scm_char_alphabetic_p, scm_char_numeric_p, scm_char_whitespace_p,
scm_char_upper_case_p, scm_char_lower_case_p, scm_char_is_both_p): Do
not require characters to fulfill isascii in addition to the primary
predicate.
2001-08-01 21:27:59 +00:00
Keisuke Nishida
29aa75ea12 Wrote more informative change log. 2001-08-01 16:50:34 +00:00
Thien-Thi Nguyen
9b97433596 *** empty log message *** 2001-08-01 10:01:51 +00:00
Thien-Thi Nguyen
bba2d1908a (run-test-exception): Add special handling for
`error'-generated exceptions, which pass key
`misc-error' and leave messages unformatted.
2001-08-01 09:57:01 +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
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
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