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

2108 commits

Author SHA1 Message Date
Mikael Djurfeldt
a1bfef7f94 * guile-doc-snarf.in: Don't use absolute path for `sed'. (Note
that we can't use autoconf for this.  Autoconf itself relies on
the existence of `sed' somewhere on your path.  (Thanks to Dirk
Herrman.)
2000-03-13 11:04:41 +00:00
Mikael Djurfeldt
b44a555abf *** empty log message *** 2000-03-13 10:47:45 +00:00
Mikael Djurfeldt
bde6987150 * Makefile.am (libguile_la_SOURCES): Moved iselect.c here from
EXTRA_libguile_la_SOURCES.
2000-03-13 10:47:36 +00:00
Mikael Djurfeldt
87b21c0955 * iselect.h: Always declare scm_internal_select. 2000-03-13 10:47:24 +00:00
Mikael Djurfeldt
1cbf4dea5b * iselect.c (scm_internal_select): Added SCM_ASYNC_TICK at the
end.  Also let scm_internal_select be a real function also when
not using threads.
2000-03-13 10:47:14 +00:00
Mikael Djurfeldt
68933ba3a4 *** empty log message *** 2000-03-13 10:14:32 +00:00
Mikael Djurfeldt
cd91156565 * __scm.h (SCM_TICK): Oops! Forgot to put SCM_ASYNC_TICK here... 2000-03-13 10:14:24 +00:00
Mikael Djurfeldt
c7f6ea118f *** empty log message *** 2000-03-13 10:02:20 +00:00
Mikael Djurfeldt
f7acb3985e * __scm.h (SCM_ALLOW_INTS, SCM_REALLOW_INTS): Removed call to
SCM_ASYNC_TICK.  (This is a preparation for POSIX threads support,
and kind of an experiment: Will this cause problems?)
2000-03-13 10:02:12 +00:00
Greg J. Badros
62dbc24451 *** empty log message *** 2000-03-12 21:33:01 +00:00
Greg J. Badros
2baca9748b * Makefile.am: Added *.doc to DISTCLEANFILES. 2000-03-12 21:26:42 +00:00
Gary Houston
4f2f645d2e *** empty log message *** 2000-03-12 19:59:13 +00:00
Gary Houston
19b27fa236 * fports.c (scm_fdes_to_port): call fcntl F_GETFL to test that
the fdes is valid before doing anything else.  check that
	the file descriptor supports the modes required.
	(scm_fport_buffer_add): don't throw an error if fstat doesn't
	work: just use the default buffer size.

	* throw.c: change an outdated comment about scm_internal_catch
	BODY: it doesn't take a jumpbuf arg.

	* init.c (scm_standard_stream_to_port): install a handler in case
	scm_fdes_to_port throws an error.  don't check here whether the
	file descriptor is valid, since scm_fdes_to_port will do that.
	set the revealed count depending on whether the port got the
	standard file descriptor.
	(stream_body_data): new type.
	(stream_body, stream_handler): new procs.
2000-03-12 19:58:56 +00:00
Mikael Djurfeldt
f12677062e *** empty log message *** 2000-03-12 18:30:33 +00:00
Mikael Djurfeldt
67673f7594 *** empty log message *** 2000-03-12 17:52:45 +00:00
Mikael Djurfeldt
4d45e7b69a * stacks.c, stacks.h, struct.c, tags.h, unif.c (scm_bits_t):
Renamed from SCMWORD.
2000-03-12 17:52:18 +00:00
Mikael Djurfeldt
0bc908e7c4 * arbiters.c (SCM_ARB_LOCKED): Use SCM_CARBITS. 2000-03-12 17:51:49 +00:00
Mikael Djurfeldt
74a426ae25 *** empty log message *** 2000-03-12 17:01:48 +00:00
Mikael Djurfeldt
413cb56ff4 * async.c, boolean.h, debug.c, dynl.c, dynwind.c, eval.c, eval.h,
feature.h, filesys.h, fluids.h, fports.c, fports.h, gc.c, gc.h,
  hash.c, keywords.h, macros.c, numbers.c, numbers.h, objects.c,
  objects.h, options.c, pairs.h, ports.c, ports.h, print.c,
  procs.h, ramap.c, read.c, smob.c, smob.h, srcprop.h, stacks.c,
  stacks.h, strports.c, struct.c, struct.h, tag.c, tags.h,
  throw.c, unif.c, unif.h, variable.h, vectors.h, weaks.c,
  weaks.h (SCM_SCM, SCM_BITS, SCM_CARBITS): Renamed from
  SCM_ASSCM, SCM_ASWORD, SCM_CARW).
2000-03-12 17:00:58 +00:00
Mikael Djurfeldt
7f782a0a9b *** empty log message *** 2000-03-12 16:10:31 +00:00
Mikael Djurfeldt
7a58e59f51 * numbers.h (SCM_SRS, SCM_INUM): Corrected SCM_ASSCM/ASWORD fixes. 2000-03-12 16:10:02 +00:00
Mikael Djurfeldt
8dee1541be * alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c,
tags.h: Fixed copyright notices.

* struct.c, coop-threads.c: SCM_ASSCM/ASWORD fixes.
2000-03-12 16:09:46 +00:00
Mikael Djurfeldt
b97206b102 * struct.c, coop-threads.c: SCM_ASSCM/ASWORD fixes. 2000-03-12 16:09:34 +00:00
Mikael Djurfeldt
e282f286eb * alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c,
tags.h: Fixed copyright notices.
2000-03-12 16:08:24 +00:00
Marius Vollmer
0cd8762838 *** empty log message *** 2000-03-12 15:25:41 +00:00
Marius Vollmer
0a48b62445 * init.c (scm_standard_stream_to_port): Check whether the file
descriptor is valid and substitute "/dev/null" when not.
2000-03-12 15:25:16 +00:00
Marius Vollmer
f15a06bfc9 Docstring clarification for scm_registered_modules. 2000-03-12 15:24:36 +00:00
Mikael Djurfeldt
b74b1a6387 Reverted recent change to scm_mutex_init: now backward compatible
again.
2000-03-12 14:26:59 +00:00
Mikael Djurfeldt
f3b5e18566 *** empty log message *** 2000-03-12 01:48:48 +00:00
Mikael Djurfeldt
bc5329cc8b * coop.c (coop_condition_variable_timed_wait_mutex): Use ETIMEDOUT
instead of ETIME.
2000-03-12 01:48:04 +00:00
Mikael Djurfeldt
14d2005d86 * coop-defs.h (struct timespec): Conditionally defined. 2000-03-12 01:47:53 +00:00
Mikael Djurfeldt
38eca29bf0 *** empty log message *** 2000-03-12 00:36:02 +00:00
Mikael Djurfeldt
dd276c8eb3 * iselect.c (coop_timout_qinsert): Moved to coop.c 2000-03-12 00:34:19 +00:00
Mikael Djurfeldt
df26ebfdc9 * coop.c: #include <errno.h>
(coop_timeout_qinsert): Moved here from iselect.c
(coop_new_mutex_init, coop_new_condition_variable_init): New
functions.  The strange names are temporary.  Use scm_mutex_init
and scm_cond_init instead.
(coop_mutex_trylock): New function.  Uses errno.h:EBUSY.  errno.h
is ANSI C, but should we check for individual error codes in
configure.in?
(coop_condition_variable_timed_wait_mutex): New function.
(coop_key_create, coop_setspecific, coop_getspecific,
coop_key_delete,
2000-03-12 00:33:56 +00:00
Mikael Djurfeldt
32e738bb26 * coop-defs.h (scm_mutex_trylock): New macro: alias for
coop_mutex_trylock.
(scm_cond_init): Changed definition to
coop_new_condition_variable_init.
(scm_mutex_init): Changed definition to	coop_new_mutex_init.
2000-03-12 00:33:35 +00:00
Mikael Djurfeldt
32e1616c22 *** empty log message *** 2000-03-11 23:38:51 +00:00
Mikael Djurfeldt
293bb454ed * pairs.h (SCM_SETAND_CAR, SCM_SETAND_CDR, SCM_SETOR_CAR,
SCM_SETOR_CDR): Corrected SCM_ASSCM/WORD fixes.
2000-03-11 23:38:33 +00:00
Mikael Djurfeldt
d266d03a0b * tags.h (SCM_VOIDP_TEST): Renamed from VOIDP_TEST.
Layout cleanups.
2000-03-11 15:10:34 +00:00
Mikael Djurfeldt
a54367e2da * objects.h (SCM_CLASS_FLAGS, SCM_OBJ_CLASS_FLAGS,
SCM_SET_CLASS_INSTANCE_SIZE), struct.h (SCM_STRUCT_VTABLE_DATA),
proc.h (SCM_CLOSCAR): SCM_ASSCM/WORD fixes.
2000-03-11 15:10:16 +00:00
Mikael Djurfeldt
9374451b7e * eval.c (scm_lookupcar1): Inserted SCM_ASWORD in expressions
dealing with ilocs.
2000-03-11 15:09:33 +00:00
Greg J. Badros
d5c390692d *** empty log message *** 2000-03-09 23:00:18 +00:00
Greg J. Badros
8a525303c7 * numbers.c (scm_copy_big_dec, scm_copy_smaller, scm_big_ior,
scm_big_xor, scm_big_and, scm_big_test): Added new lowlevel bignum
logical functions from SCM.

(logand, logior, logxor, logtest, logbit?): Extended scheme
logical functions to use bignums from SCM.

(lognot): Removed call to `SCM_VALIDATE_INUM' that prevented
lognot from using bignums.
2000-03-09 22:58:32 +00:00
Greg J. Badros
3e892913a7 *** empty log message *** 2000-03-09 21:49:05 +00:00
Greg J. Badros
41b0806d3e * vectors.h (SCM_VELTS_AS_STACKITEMS): Added this macro to help in
eliminating some warnings.

* unif.c, strports.c, print.c, options.c: Fix some warnings on
mis-use of SCM/long

* gc.c, gc.h: Added scm_return_first_int(), and added comment re:
what the scm_return_first* functions do.
2000-03-09 21:48:25 +00:00
Greg J. Badros
7ac030d6de *** empty log message *** 2000-03-09 18:59:38 +00:00
Greg J. Badros
c209c88e54 *.[ch]: make a distinction between SCM as a generic
name for a Scheme object (now a void*), and SCM as 32 bit word for
storing tags and immediates (now a long int).  Introduced
SCM_ASWORD and SCM_ASSCM for conversion. Fixed various dubious
code in the process: arbiter.c (use macros), unif.c (scm_array_p),
2000-03-09 18:58:58 +00:00
Greg J. Badros
f635d2d4d6 *** empty log message *** 2000-03-08 18:17:03 +00:00
Greg J. Badros
3dd632c9ae * numbers.c: Use SCM_VALIDATE_LONG_COPY, and longs, not ints, in
various logXXX primitives.  Thanks Eric Moore!
2000-03-08 18:16:50 +00:00
Greg J. Badros
10d7b66590 s/'x/'foo/ in two places that I missed before. 2000-03-07 18:45:41 +00:00
Greg J. Badros
3fcc798d33 Fix example to use 'foo, not 'x, as symbol 'x does not seem to cause
the problem.
2000-03-07 16:57:03 +00:00