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

9023 commits

Author SHA1 Message Date
Gary Houston
aec1eb3048 * acconfig.h: added BROKEN_GCSE.
* configure.in: check for a gcc GCSE optimisation bug.
2000-08-18 22:44:12 +00:00
Michael Livshin
005b59783e *** empty log message *** 2000-08-18 22:36:11 +00:00
Michael Livshin
35e9b48d79 * gc.h: removed some stuff that broke compilation for people and
wasn't actually needed anyway.
2000-08-18 22:33:37 +00:00
Neil Jerram
55892d875c * filesys.c (scm_fcntl): Docstring fix - missing newlines inserted. 2000-08-18 17:12:37 +00:00
Neil Jerram
d46e47131c * net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_sethost,
scm_setnet, setproto, setserv): Argument names changed to match
  doc string.
* feature.c (scm_program_arguments): New docstring.
* simpos.c (scm_getenv): Reflow docstring.
2000-08-18 16:52:15 +00:00
Neil Jerram
cdbc74184f * Docstring fixes - adding texinfo markup and removing extraneous trailing newlines. 2000-08-18 09:30:54 +00:00
Mikael Djurfeldt
7e6b52f867 *** empty log message *** 2000-08-18 00:57:08 +00:00
Michael Livshin
bbe6d8db73 *** empty log message *** 2000-08-17 20:46:22 +00:00
Michael Livshin
dc16aa360d *** empty log message *** 2000-08-17 20:39:05 +00:00
Michael Livshin
d6884e6373 * gc.c: (scm_default_init_heap_size_*): defined to take cards into
account, but keeping more or less the same values as previously.
added some simple helper macros.
(CLUSTER_SIZE_IN_BYTES, ALIGNMENT_SLACK): defined to take cards
into account.
(BVEC_*, scm_mark_space_t, current_mark_space, mark_space_ptr,
current_mark_space_offset, mark_space_head, get_bvec,
clear_mark_space): new functions and supporting variables, types
and macros that implement mark space management.
(scm_igc): clear the mark space (all of it) before beginning the
mark phase.
(scm_gc_mark): changed the tests for rogue cells, much simplified
throughout (no different mark bit locations to worry about now).
(scm_mark_locations): don't consider card header cells.
(scm_cellp): ditto.
(scm_gc_sweep): simplified.
(init_heap_seg): changed to take cards into account.
2000-08-17 20:38:44 +00:00
Michael Livshin
e618c9a3c8 * gc.h (SCM_MARKEDP): simplified, there are no different mark bit
locations anymore.
(SCM_GC_CARD_*, SCM_C_BVEC_*): lots of new macros to deal with
cards and bvecs (bit-vectors).
2000-08-17 20:38:23 +00:00
Michael Livshin
ee4413093e * tags.h: (SCM_GCTYPE16, SCM_GCCDR, SCM_GC[8]MARKP,
SCM_SETGC[8]MARK, SCM_CLRGC[8]MARK): moved from here into gc.h.
some (most) of these are probably going to be deprecated.
2000-08-17 20:37:55 +00:00
Mikael Djurfeldt
2fb8bdabd2 Mikael's ideas on a new type of Scheme interpreter 2000-08-17 04:10:42 +00:00
Mikael Djurfeldt
53bb550828 *** empty log message *** 2000-08-17 04:08:31 +00:00
Marius Vollmer
6219924c22 *** empty log message *** 2000-08-16 22:43:03 +00:00
Marius Vollmer
a099f10e49 * optargs.scm (#\&): Emit warning about `#&' being deprecated. 2000-08-16 22:42:41 +00:00
Marius Vollmer
76ef92f358 *** empty log message *** 2000-08-16 19:30:28 +00:00
Marius Vollmer
dfb49627fc * optargs.scm: Replaced `#&' reader syntax with keywords. 2000-08-16 19:30:07 +00:00
Michael Livshin
83238bc162 *** empty log message *** 2000-08-16 00:25:38 +00:00
Michael Livshin
1c299a6be5 * stime.c (scm_c_get_internal_run_time): new function, same as
scm_get_internal_run_time but returns a long.  it's used by the GC
for timekeeping, since with scm_get_internal_run_time there is a
(extremely theoretical) possibility of consing.
(scm_get_internal_run_time): redefined in terms of
scm_c_get_internal_run_time.

* stime.h: added prototype for scm_c_get_internal_run_time.
2000-08-16 00:23:59 +00:00
Michael Livshin
c9b0d4b090 * gc.c (scm_gc_stats): add more obscure stats, such as: mark time,
sweep time, total marked cells, total swept cells, and number of
times GC was invoked.
(gc_start_stats): renamed from scm_gc_start, made static, taught
to init the new stats.
(gc_end_stats): renamed from scm_gc_end, made static, taught to
calculate the new stats.
(scm_igc): don't call gc_start_stats unless we are sure that we
are indeed going to collect.  also, added some timekeeping between
the mark and sweep phases.
(scm_gc_sweep): count number of cells we sweep as we go.

* gc.h: removed prototypes for scm_gc_{start,end}.
2000-08-16 00:23:18 +00:00
Mikael Djurfeldt
d6f3775530 *** empty log message *** 2000-08-14 15:40:27 +00:00
Mikael Djurfeldt
a510a7d8d5 * format.scm (format:obj->str): Made tail-recursive. (Thanks to
Matthias Köppe.)
2000-08-14 15:40:03 +00:00
Mikael Djurfeldt
1aa621a3d1 Fix 2000-08-13 21:05:03 +00:00
Mikael Djurfeldt
a94da0e030 *** empty log message *** 2000-08-13 20:53:27 +00:00
Mikael Djurfeldt
8a4b993ec3 * alist.c (scm_assq, scm_assv, scm_assoc): Report argument type
error for the alist rather than the sublist where the type
mismatch is discovered.
2000-08-13 20:53:09 +00:00
Mikael Djurfeldt
402dd41f64 Regenerated 2000-08-13 20:27:39 +00:00
Mikael Djurfeldt
4be092bcf9 Commentary fix 2000-08-13 20:26:49 +00:00
Mikael Djurfeldt
c4778010b3 *** empty log message *** 2000-08-13 19:21:34 +00:00
Mikael Djurfeldt
544468de3d * emacs.scm (emacs-symdoc): Parenthesis fix. 2000-08-13 19:21:25 +00:00
Mikael Djurfeldt
1fe16f927b Updated 2000-08-13 19:21:14 +00:00
Mikael Djurfeldt
eaa6f703ea * psyntax.ss (top-level-eval-hook, local-eval-hook): Pass
`(interaction-environment)' as second arg to `eval'.  This is
completely equivalent with the state before the change to eval of
2000-08-11, but we should extend psyntax.ss to be module aware.
(Thanks to Ian Bicking.)
2000-08-13 19:21:04 +00:00
Mikael Djurfeldt
7f43f900ed *** empty log message *** 2000-08-13 04:47:26 +00:00
Mikael Djurfeldt
f587dec1ba *** empty log message *** 2000-08-13 04:16:18 +00:00
Mikael Djurfeldt
5a0c9f69c8 *** empty log message *** 2000-08-13 03:44:52 +00:00
Mikael Djurfeldt
f888a1b586 *** empty log message *** 2000-08-13 02:31:46 +00:00
Neil Jerram
2a2a730bfa * Docstring fixes. 2000-08-12 23:15:48 +00:00
Neil Jerram
ee826bae22 Docstring updated so that make-soft-port example is correct. 2000-08-12 22:18:04 +00:00
Neil Jerram
1670bef991 Docstring fix - quote quotation marks and backslashes. 2000-08-12 22:15:55 +00:00
Neil Jerram
f0a7af1a86 Docstring fix for scm_logand. 2000-08-12 22:13:32 +00:00
Mikael Djurfeldt
5da1a3da3e * translate/langtools.text: New file. 2000-08-12 06:25:04 +00:00
Mikael Djurfeldt
b63434358d *** empty log message *** 2000-08-12 06:24:16 +00:00
Neil Jerram
872e0c7291 * macros.c: Remove surplus newlines from end of docstrings.
* list.c (scm_list_tail): Add @deffnx line to docstring for
	list-cdr-ref.

	* keywords.c: Docstring improvements in conjunction with new
	reference manual doc on keywords.

	* error.c (scm_error_scm): Fix texinfo syntax error in
	docstring.  (@code(~S) should be @code{~S}.)

	* dynl.c: Remove surplus newlines from end of docstrings.
2000-08-11 15:12:37 +00:00
Mikael Djurfeldt
41d7d2af42 *** empty log message *** 2000-08-11 09:30:07 +00:00
Mikael Djurfeldt
f7de400af6 *** empty log message *** 2000-08-11 09:20:14 +00:00
Mikael Djurfeldt
c7c6b0cbc0 * safe-r5rs.scm (null-environment): Bugfix: Should include
syntactic bindings.
2000-08-11 09:20:06 +00:00
Mikael Djurfeldt
728ee71e19 * r5rs.scm (interaction-environment): Removed definition. (Is now
provided by libguile/modules.c.)
2000-08-11 09:19:58 +00:00
Mikael Djurfeldt
3a33a9b117 *** empty log message *** 2000-08-11 08:46:32 +00:00
Mikael Djurfeldt
6232c3dd69 * syncase.scm (eval): Add second arg both in definition and use. 2000-08-11 08:46:14 +00:00
Mikael Djurfeldt
21c2a33a19 * slib.scm (slib:eval): Use eval instead of eval-in-module.
(defmacro:eval): Eval in (interaction-environment).
2000-08-11 08:46:07 +00:00