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

5705 commits

Author SHA1 Message Date
Mikael Djurfeldt
be33b1a39c * receive.scm, srfi-8.scm: New files. 2000-08-11 00:44:36 +00:00
Mikael Djurfeldt
1a2f1b9023 *** empty log message *** 2000-08-09 18:29:48 +00:00
Mikael Djurfeldt
85c2133978 * struct.h (SCM_STRUCT_GC_CHAIN, SCM_SET_STRUCT_GC_CHAIN): New
macros.
(scm_structs_to_free, scm_struct_prehistory): Declare.
2000-08-09 18:29:39 +00:00
Mikael Djurfeldt
08c880a367 * struct.c (scm_make_struct, scm_make_vtable_vtable): Structs
handles are now double cells; Initialize SCM_STRUCT_GC_CHAIN to
0.
(scm_struct_gc_init, scm_free_structs): New GC C hooks.
(scm_struct_prehistory): Install them.
2000-08-09 18:29:31 +00:00
Mikael Djurfeldt
1d49cea8b8 * init.c (scm_boot_guile_1): Call scm_struct_prehistory. 2000-08-09 18:29:21 +00:00
Mikael Djurfeldt
7445e0e8eb * gc.c (scm_gc_mark, scm_gc_sweep): Remove vcell = 1 magic.
(scm_structs_to_free): New variable.
(scm_gc_sweep): Hook up structs to free on the scm_structs_to_free
chain.
2000-08-09 18:29:10 +00:00
Mikael Djurfeldt
163fada3d3 *** empty log message *** 2000-08-07 20:20:24 +00:00
Marius Vollmer
b054684d81 *** empty log message *** 2000-08-06 22:04:35 +00:00
Marius Vollmer
d156d3b730 * read.c (scm_flush_ws): Include filename in error message when it
is not `#f'.
2000-08-06 22:04:11 +00:00
Marius Vollmer
7ca3873434 *** empty log message *** 2000-08-05 14:34:00 +00:00
Marius Vollmer
a26f1191e3 * iselect.c: Include <unistd.h>. Thanks to Bertrand Petit! 2000-08-05 14:33:31 +00:00
Mikael Djurfeldt
29b4f9fb2c *** empty log message *** 2000-08-02 06:48:28 +00:00
Mikael Djurfeldt
89e941f154 *** empty log message *** 2000-08-02 06:35:18 +00:00
Mikael Djurfeldt
04323af4ad * struct.c (scm_make_struct_layout, scm_make_struct,
scm_make_vtable_vtable): Updated documentation.
2000-08-02 06:34:51 +00:00
Mikael Djurfeldt
e478dffa01 *** empty log message *** 2000-08-02 06:11:08 +00:00
Mikael Djurfeldt
b62cc1c27f *** empty log message *** 2000-08-02 06:00:28 +00:00
Mikael Djurfeldt
daba1a710d * print.c (scm_simple_format): Bugfix: Coerce port before using it. 2000-08-02 06:00:09 +00:00
Gary Houston
cdaf0a20af *** empty log message *** 2000-08-01 18:43:54 +00:00
Gary Houston
3bc0c6df34 *** empty log message *** 2000-07-31 21:09:02 +00:00
Gary Houston
a080badb07 2000-07-31 Gary Houston <ghouston@arglist.com>
* net_db.c: declare h_errno only if HAVE_H_ERRNO is defined
	(thanks to Richard Kim for the bug report).
2000-07-31 21:08:30 +00:00
Gary Houston
42aae6335f *** empty log message *** 2000-07-31 21:03:47 +00:00
Gary Houston
08f980a4fa 2000-07-31 Gary Houston <ghouston@arglist.com>
* acconfig.h: added HAVE_H_ERRNO
	* configure.in: removed some dnl'd & obsolete cygwin stuff.
	added a test for h_errno.
2000-07-31 21:02:54 +00:00
Marius Vollmer
3ccd186077 *** empty log message *** 2000-07-30 13:41:01 +00:00
Marius Vollmer
60e61f0a20 * alist.c (scm_assq_remove_x, scm_assv_remove_x,
scm_assoc_remove_x): Use scm_delq1_x instead of scm_delq_x, since
using the latter is pointless.
2000-07-30 13:40:46 +00:00
Neil Jerram
6de50a5278 Fix spelling mistake 2000-07-28 13:19:01 +00:00
Dirk Herrmann
1110299262 * Renamed local variable 'free' to avoid confusion with stdlib's 'free'. 2000-07-26 11:29:58 +00:00
Dirk Herrmann
a75923bb03 * Fix vector initialization. 2000-07-26 09:20:09 +00:00
Dirk Herrmann
f762051048 * Fixed struct initialization. 2000-07-26 08:35:35 +00:00
Mikael Djurfeldt
8e2488ffae *** empty log message *** 2000-07-26 05:08:23 +00:00
Mikael Djurfeldt
5682251bb1 *** empty log message *** 2000-07-25 20:28:35 +00:00
Marius Vollmer
17dd060d12 *** empty log message *** 2000-07-25 19:06:47 +00:00
Marius Vollmer
623ada63ad * alist.c (scm_assq_remove_x, scm_assv_remove_x,
scm_assoc_remove_x): Remove only the first cell with a matching
key, not all.
2000-07-25 19:06:22 +00:00
Marius Vollmer
b73bde31c7 *** empty log message *** 2000-07-23 23:13:01 +00:00
Marius Vollmer
a15e6dcc8f * stime.c (scm_strftime): Recognize a return value of zero from
strftime as buffer overflow and take care to detect a valid zero
length result regardless.  Thanks to David Barts!
2000-07-23 23:12:39 +00:00
Marius Vollmer
23d919087e * common-list.scm (uniq): Made tail-recursive. Thanks to thi! 2000-07-23 23:12:02 +00:00
Marius Vollmer
e85da7d990 *** empty log message *** 2000-07-23 11:50:33 +00:00
Marius Vollmer
5d25385266 * alist.c (scm_assq_remove_x, scm_assv_remove_x,
scm_assoc_remove_x): Remove all cells whose key is eq, eqv, or
equal (respectively) to the argument key, not all cells that are
eq, eqv, or equal to the first cell with the argument key.  Thanks
to Neil Jerram!
2000-07-23 11:50:05 +00:00
Marius Vollmer
ff0fd4e408 *** empty log message *** 2000-07-19 18:10:46 +00:00
Marius Vollmer
6011327117 * configure.in (rl_pre_input_hook): Don't check for this with
AC_CHECK_FUNCS, it doesn't work on HP/UX.  Test for it with
AC_TRY_LINK.
2000-07-19 18:10:30 +00:00
Dirk Herrmann
78a3503e56 * Fixed some type-related errors. 2000-07-18 16:59:35 +00:00
Dirk Herrmann
62850ef3c1 * Don't use return value from SCM_SETCDR or SCM_WHASHSET. 2000-07-18 16:09:09 +00:00
Dirk Herrmann
cc4feeca51 * Deprecated function scm_call_catching_errors.
* Updated root-smob initialization.
2000-07-18 07:02:57 +00:00
Marius Vollmer
007e7c3588 *** empty log message *** 2000-07-17 20:00:22 +00:00
Marius Vollmer
1bd07992b6 * eval.c (unmemocopy): Don't rely on V being a list of at least
one element.  Thanks to Bill Schottstaedt!
2000-07-17 19:59:57 +00:00
Michael Livshin
9d47a1e6f2 * gc.c (scm_done_free): new.
expanded comments about scm_done_malloc.

* gc.h: added prototype for scm_done_free
2000-07-15 13:44:04 +00:00
Dirk Herrmann
32d0d4b1e3 * Added note about new global variable scm_gc_running_p. 2000-07-14 07:36:35 +00:00
Dirk Herrmann
406c7d9022 * Extend checks performed with SCM_DEBUG_CELL_ACCESSES=1 and make them
configurable at run-time.
* Replace SCM_FREEP by SCM_FREE_CELL_P and scm_gc_heap_lock by
  scm_gc_running_p (not in all places yet).
2000-07-13 15:00:58 +00:00
Dirk Herrmann
2238100586 * In expt, return exact results when possible. 2000-07-13 14:47:32 +00:00
Dirk Herrmann
c4da09e2dd * Minor cleanups in scm_mark_locations. 2000-07-13 07:40:04 +00:00
Dirk Herrmann
0491498616 * Added a note about removing GUILE_OLD_ASYNC_CLICK. 2000-07-13 07:27:02 +00:00