1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
Commit graph

3326 commits

Author SHA1 Message Date
Dirk Herrmann
8c494e9973 * Removed lots of deprecated stuff. 2001-08-31 14:42:31 +00:00
Dirk Herrmann
dee01b012c * Removed deprecated stuff.
* Some more renamings to SCM_<filename>_H.
2001-08-31 12:13:50 +00:00
Dirk Herrmann
b29058ffee * Remove deprecated macros and typenames.
* Rename header macros to SCM_<filename>_H.
* Prefer !SCM_<foo> over SCM_N<foo>.
2001-08-31 11:17:06 +00:00
Dirk Herrmann
0527e68763 * Renamed header macros to the SCM_<filename>_H format. 2001-08-31 10:42:19 +00:00
Marius Vollmer
fada26b27e *** empty log message *** 2001-08-26 21:54:33 +00:00
Marius Vollmer
f5fd8aa2a7 Replaced "scm_t_portable" with "scm_port_table" which was an artifact
from the great "scm_*_t -> scm_t_" renaming.
2001-08-26 21:54:11 +00:00
Thien-Thi Nguyen
e4d1c1eabd *** empty log message *** 2001-08-25 18:29:38 +00:00
Thien-Thi Nguyen
d098d810cf (SCM_VALIDATE_USHORT_COPY, SCM_VALIDATE_SHORT_COPY,
SCM_VALIDATE_UINT_COPY, SCM_VALIDATE_INT_COPY): New macros.
Thanks to Chris Cramer.
2001-08-25 18:22:50 +00:00
Thien-Thi Nguyen
9ec1e7705c (GC_noop1): Move before `GC_find_limit' where it is used; nfc.
Thanks to Bill Schottstaedt.
2001-08-25 18:20:56 +00:00
Marius Vollmer
b573e74455 *** empty log message *** 2001-08-25 16:12:28 +00:00
Marius Vollmer
2e1711782d * eval.c (scm_m_atbind): Redesigned to behvae like `let', but with
dynamic scope.
* dynwind.h (scm_swap_bindings): Declare.
* dynwind.c (scm_swap_bindings): Make non-static.
2001-08-25 16:08:13 +00:00
Marius Vollmer
3307df9557 (AUTOMAKE_OPTIONS): Change "foreign" to "gnu". 2001-08-25 16:05:04 +00:00
Michael Livshin
8a3e715b20 * gc.c (scm_gc_sweep): now can sweep unreachable variables (by
doing exactly nothing about them).  thanks Neil!
2001-08-24 23:57:12 +00:00
Thien-Thi Nguyen
ec2667f0cf *** empty log message *** 2001-08-24 22:24:11 +00:00
Neil Jerram
cf504ee0cf * Fix spelling mistake in comment. 2001-08-18 16:32:04 +00:00
Thien-Thi Nguyen
43b83b541d *** empty log message *** 2001-08-17 23:50:02 +00:00
Thien-Thi Nguyen
eae3393547 Fix omission bug: Add `heap_segment' forward decl
(proto) in the case when either `GUILE_DEBUG' or
`GUILE_DEBUG_FREELIST' preprocessor symbols are defined.

(map_free_list): Fix typo: Ref `f' correctly.

Thanks to Chris Cramer.
2001-08-17 23:45:29 +00:00
Rob Browning
ab4cd34b26 *** empty log message *** 2001-08-16 03:44:29 +00:00
Rob Browning
9e86801e2f * Makefile.am (libguile_la_LDFLAGS): use libtool interface version
variables.
(libpath.h): change libguileversion to libguileinterface.
2001-08-16 03:44:19 +00:00
Marius Vollmer
b754e3d1ec *** empty log message *** 2001-08-07 18:18:55 +00:00
Marius Vollmer
41973b48bb (EXTRA_DIST): Distribute ChangeLog-1996-1999 and ChangeLog-2000.
Thanks to Daniel Skarda!
2001-08-07 18:14:56 +00:00
Michael Livshin
8b1d12c79a * guile-snarf-docs-texi.in: don't call the tokenizer here, we now
do it from the Makefile.

* Makefile.am: rearrange the snarfing slightly, so that .doc files
are of a reasonable size.
2001-08-06 23:19:50 +00:00
Neil Jerram
baffb19f27 * Explain cutting args for `make-stack'. 2001-08-02 20:26:21 +00:00
Marius Vollmer
c1151355d2 *** empty log message *** 2001-08-01 21:28:45 +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
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
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
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
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
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