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

3680 commits

Author SHA1 Message Date
Michael Livshin
7f40b48a9f * guile-doc-snarf.in: use cut instead of sed, that's much much
faster.  also, don't call basename more than needed.  and, to gain
a couple of microseconds more, don't call cat needlessly.  (thanks
to Brad Knotwell).
2000-06-21 15:14:00 +00:00
Dirk Herrmann
3c6d9d717f * Renamed SCM__X tokens to better readable ones that also follow the
SCM_SNARF_ prefix convention.
2000-06-21 08:43:12 +00:00
Mikael Djurfeldt
2b6e0d2b77 *** empty log message *** 2000-06-21 02:47:01 +00:00
Mikael Djurfeldt
7e73eaee6e (SCM_TOP_LEVEL_LOOKUP_CLOSURE): New macro which replaces
SCM_CDR (scm_top_level_lookup_closure_var) everywhere.
2000-06-21 02:46:01 +00:00
Mikael Djurfeldt
51eb747ebf * root.c (mark_root): Removed marking of
s->top_level_lookup_closure_var and s->system_transformer.
2000-06-21 02:45:26 +00:00
Mikael Djurfeldt
de87227851 * root.h (scm_top_level_lookup_closure_var): Removed. (It's no
sense in having the *variable* be a "fluid".)
2000-06-21 02:42:41 +00:00
Mikael Djurfeldt
7f763132bc * modules.c (scm_selected_module): the_module is now a fluid. 2000-06-21 02:42:31 +00:00
Mikael Djurfeldt
a0ea2bf043 * eval.c, eval.h (scm_top_level_lookup_closure_var): Added.
#include "libguile/fluids.h".

* eval.h (SCM_TOP_LEVEL_LOOKUP_CLOSURE): New macro which replaces
SCM_CDR (scm_top_level_lookup_closure_var) everywhere.
2000-06-21 02:42:14 +00:00
Mikael Djurfeldt
549e6ec69d * eval.c, eval.h (scm_top_level_lookup_closure_var): Added.
#include "libguile/fluids.h".
2000-06-21 02:42:03 +00:00
Mikael Djurfeldt
5bc9cbd2d8 *** empty log message *** 2000-06-20 14:58:06 +00:00
Mikael Djurfeldt
076d6063fa * gc.h, tags.h: Be kind to compilers which must see hash signs in
column 0.  (Thanks to Ian Grant.)
2000-06-20 14:57:55 +00:00
Mikael Djurfeldt
9ea8cdcb43 * numbers.h: Put #ifdef HAVE_LONG_LONGS around declarations using
the long_long type.  (Thanks to Bernard Urban.)
2000-06-20 14:57:45 +00:00
Mikael Djurfeldt
f69a01b29c Inserted some comments 2000-06-20 14:55:52 +00:00
Mikael Djurfeldt
b5074b2374 *** empty log message *** 2000-06-20 02:38:36 +00:00
Mikael Djurfeldt
5b99c4a9e7 Layout fix 2000-06-20 02:38:19 +00:00
Mikael Djurfeldt
c72baaaa75 * smob.h: Changed comments for scm_make_smob_type and
scm_make_smob_type_mfpe, warning that the latter might be
deprecated in a future release.
2000-06-20 02:37:53 +00:00
Mikael Djurfeldt
33d0abd7e1 * list.c (scm_cons_star): Updated comment. 2000-06-20 02:37:41 +00:00
Mikael Djurfeldt
aeacfc8fd1 * gc.c, gc.h (scm_default_init_heap_size_1,
scm_default_min_yield_1, scm_default_init_heap_size_2,
scm_default_min_yield_2, scm_default_max_segment_size): New global
variables.  Can be customized by the application before booting
Guile.  (We might want to be able to control these parameters
dynamically through the "options interface" in the future, but
note that that is additional functionality.  Here we're giving
default values which the environment variables can override.)
2000-06-20 02:37:23 +00:00
Mikael Djurfeldt
0a9e521f29 *** empty log message *** 2000-06-19 10:05:54 +00:00
Mikael Djurfeldt
04d894fdb2 * tags.h (SCM_UNPACK_CAR, SCM_NDOUBLE_CELLP): Removed. 2000-06-19 10:05:08 +00:00
Mikael Djurfeldt
c4929149b9 * numbers.h (SCM_NEWREAL, SCM_NEWCOMPLEX): Removed. 2000-06-19 10:04:52 +00:00
Mikael Djurfeldt
26a379b298 * list.[ch] (scm_cons_star/cons*): Renamed from
scm_list_star/list*.

* list.[ch] (scm_list_star/list*):  Provided as a deprecated alias
for scm_cons_star/cons*.
2000-06-19 10:04:31 +00:00
Mikael Djurfeldt
7bd4fbe2de * gc.c (scm_protect_object): Updated comment. 2000-06-19 10:03:57 +00:00
Mikael Djurfeldt
264871aab7 *** empty log message *** 2000-06-19 00:42:48 +00:00
Mikael Djurfeldt
a0adfbf022 * print.c (scm_current_pstate, scm_make_print_state): Simplified
tests, using the assumption that Guile has been initialized.
2000-06-19 00:42:03 +00:00
Mikael Djurfeldt
9293b3c638 * gdbint.c (gdb_print): Print warning instead of calling scm_write
if Guile isn't yet initialized.
2000-06-19 00:41:54 +00:00
Mikael Djurfeldt
bf1b9494f7 * init.c, init.h (scm_initialized_p): Renamed from `initialized'
and made global.
2000-06-19 00:41:33 +00:00
Greg J. Badros
3785f31772 *** empty log message *** 2000-06-18 22:30:25 +00:00
Greg J. Badros
0a284a4e88 * print.c (s_scm_current_pstate): Do not segfault when the
print_state_pool is unitialized in `current-pstate', and better
verify its state before altering it in scm_make_print_state().
2000-06-18 21:47:23 +00:00
Greg J. Badros
e8293eb671 Inserted old Apr. 18th changelog message that was floating in my work
directory.  My apologies for the delay of this commit.
2000-06-18 20:13:42 +00:00
Michael Livshin
6732de1bdf * scmsigs.c (s_scm_sigaction): guard the SIGIOT case with an
#ifdef -- it's missing on at least one platform.  (thanks to
Jan Nieuwenhuizen).
2000-06-18 12:06:01 +00:00
Dirk Herrmann
79494f15d3 * Removed duplicate implementation of list*. 2000-06-16 12:38:41 +00:00
Dirk Herrmann
6a19994066 * The reference count in scm_unprotect_object is always positive. 2000-06-15 08:35:42 +00:00
Mikael Djurfeldt
3243bcc0c7 *** empty log message *** 2000-06-14 22:02:28 +00:00
Mikael Djurfeldt
8878f04033 * eval.c: Updated comment above scm_map. 2000-06-14 22:02:13 +00:00
Mikael Djurfeldt
26c9c3ce4d *** empty log message *** 2000-06-14 15:03:09 +00:00
Mikael Djurfeldt
0f0f08998d * gc.c (scm_protect_object): Avoid looking up the object handle
twice.
(scm_unprotect_object): Abort if scm_unprotect_object is called on
an unprotected object.
2000-06-14 15:00:52 +00:00
Michael Livshin
2dd6a83aed * gc.c (scm_unprotect_object): fix a nasty typo bug (thanks to
Dirk Herrmann).
2000-06-14 14:21:49 +00:00
Mikael Djurfeldt
43fbd20f25 *** empty log message *** 2000-06-14 01:33:20 +00:00
Mikael Djurfeldt
2cf6d0146c * socket.c (scm_getsockopt): Changed type for `optlen' from int to
size_t.
(scm_accept, scm_getsockname, scm_getpeername, scm_recvfrom):
Ditto for `tmp_size'.
(scm_addr_buffer_size): Changed type from int to size_t.
2000-06-14 01:33:10 +00:00
Mikael Djurfeldt
f34d19c740 * random.c: #include <string.h>. (Needed by memcpy.) 2000-06-14 01:33:02 +00:00
Mikael Djurfeldt
97ebbbcac0 *** empty log message *** 2000-06-14 00:59:55 +00:00
Mikael Djurfeldt
f7736e9a6e * guile-snarf.awk.in: Replace the dot_doc_file arg with "-",
indicating stdin, instead of "" and don't reset ARGC.  This is a
workaround for `nawk' in AIX 4.3 on RS6000 but, as far as I know,
it is correct, and perhaps even better.
2000-06-14 00:59:42 +00:00
Gary Houston
14d72d4820 *** empty log message *** 2000-06-14 00:10:16 +00:00
Gary Houston
3efb80f231 * scmsigs.c (scm_init_scmsigs): if HAVE_SIGINTERRUPT is not
defined, add SA_RESTART to the sigaction flags correctly
	(thanks to Dale P. Smith).
2000-06-14 00:09:31 +00:00
Mikael Djurfeldt
010d1e9d14 *** empty log message *** 2000-06-13 19:08:37 +00:00
Mikael Djurfeldt
faf2c9d7f8 * strings.c: #include <string.h>. (Thanks to Bill Schottstaedt.) 2000-06-13 19:08:25 +00:00
Mikael Djurfeldt
5a5f3646b5 * net_db.c (scm_resolv_error): Only use macro NETDB_INTERNAL if
defined. It isn't on sgi irix 5.3.  (Thanks to Bill Schottstaedt.)
2000-06-13 19:08:14 +00:00
Mikael Djurfeldt
d99783cb7c *** empty log message *** 2000-06-13 11:45:52 +00:00
Mikael Djurfeldt
43082c8e74 * Makefile.am (.c.doc): Pipe output (the .x contents) to /dev/null. 2000-06-13 11:45:40 +00:00