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

2513 commits

Author SHA1 Message Date
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
Mikael Djurfeldt
6c56304f22 Code layout fix 2000-06-13 11:14:35 +00:00
Mikael Djurfeldt
e36a087045 *** empty log message *** 2000-06-13 00:49:57 +00:00
Mikael Djurfeldt
f30c9c8f53 * fports.c (scm_setvbuf): Use free' instead of scm_must_free'
since read and write buffers are allocated by `malloc'.
2000-06-13 00:49:40 +00:00
Mikael Djurfeldt
eb422a4c18 Doc fix 2000-06-13 00:49:28 +00:00
Mikael Djurfeldt
c47e8cc1fd *** empty log message *** 2000-06-12 23:45:20 +00:00
Mikael Djurfeldt
117e819f43 * gh_test_c.c, gh_test_repl.c: Removed. 2000-06-12 23:44:46 +00:00
Mikael Djurfeldt
95d566aa36 * Makefile.am: Removed old test code. 2000-06-12 23:44:20 +00:00
Mikael Djurfeldt
a8861fa056 *** empty log message *** 2000-06-12 21:27:42 +00:00
Mikael Djurfeldt
4f4d60fddb * symbols.c (scm_intern_obarray_soft,
scm_sysintern0_no_module_lookup): Cast `name' to unsigned char ptr
in calls to scm_strhash.
2000-06-12 21:27:19 +00:00
Mikael Djurfeldt
a4c7145ba4 * strports.c (st_resize_port): Substituted SCM_UCHARS for
SCM_CHARS.
(st_write): Cast argument to strncpy to char ptr.
(scm_mkstrport): Substituted SCM_ROUCHARS for SCM_ROCHARS.
(scm_strport_to_string): Cast argument to scm_makfromstr to char
ptr.
2000-06-12 21:27:04 +00:00
Mikael Djurfeldt
e1c7d601ad * ramap.c (s_scm_array_fill_x): Cast `ve' properly in case
`scm_tc7_uvect'.
2000-06-12 21:26:52 +00:00
Mikael Djurfeldt
b038d983a1 Added comment 2000-06-12 21:26:35 +00:00
Mikael Djurfeldt
c357d54673 * ports.c (scm_ungetc): Cast value to unsigned char ptr before
storing in putback_buf.
(scm_unread_string): Substituted SCM_ROCHARS for SCM_ROUCHARS.
2000-06-12 21:25:41 +00:00
Mikael Djurfeldt
c507087791 * iselect.c (SCM_NLONGBITS): Add workaround for the Sun 4.2
compiler.
2000-06-12 21:25:10 +00:00
Mikael Djurfeldt
dce41066d3 * ioext.c (s_scm_read_line): Cast result of call to
scm_do_read_line to unsigned char ptr.
2000-06-12 21:24:43 +00:00
Mikael Djurfeldt
a9121c98ac * inet_aton.c (inet_aton): Cast init value for `cp'. 2000-06-12 21:24:29 +00:00
Mikael Djurfeldt
d230c13028 *** empty log message *** 2000-06-12 18:13:56 +00:00