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

3366 commits

Author SHA1 Message Date
Mikael Djurfeldt
f862488f8a * Makefile.am (libguile_la_LDFLAGS): Bumped library version
number.
2000-03-14 06:37:16 +00:00
Gary Houston
8c20c34f8a *** empty log message *** 2000-03-13 22:24:20 +00:00
Gary Houston
b70ecbd05c *** empty log message *** 2000-03-13 22:22:02 +00:00
Gary Houston
70df8af662 * ports.c (flush_void_port): renamed to flush_port_default.
(end_input_void_port): renamed to end_input_default.

	* init.c (scm_standard_stream_to_port): create a void port instead
	of opening /dev/null if the standard file descriptors are bad.
	advantages: no portability problems, doesn't waste a file descriptor,
	simplifies the code (thanks to Marius for the idea).

	* vports.c (s_scm_make_soft_port): call scm_port_non_buffer.

	* void ports: make reading from a void port give EOF instead of
	segv:
	* ports.c (s_scm_sys_make_void_port): modified docstring.
	(fill_input_void_port): new proc.
	(scm_init_ports): set up fill_input_void_port.
	* ports.c (scm_port_non_buffer): new proc.
	(scm_void_port): call scm_port_non_buffer.

	* fports.c (scm_setvbuf): docstring: remove the fcntl documentation
	which was incorrectly appended.
2000-03-13 22:21:21 +00:00
Mikael Djurfeldt
26fba92291 *** empty log message *** 2000-03-13 12:07:47 +00:00
Mikael Djurfeldt
fdc7ea2deb *** empty log message *** 2000-03-13 11:10:28 +00:00
Mikael Djurfeldt
ed5ede2838 * configure.in: Don't add iselect.o to LIBOBJS. 2000-03-13 11:09:46 +00:00
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
Mikael Djurfeldt
31d8abcec8 *** empty log message *** 2000-03-13 01:10:44 +00:00
Mikael Djurfeldt
d67c13f65e * configure.in: Added end-tag for local variables. (Thanks to
Thien-Thi Nguyen.)
2000-03-13 01:10:13 +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
f8a72ca4c9 *** empty log message *** 2000-03-12 18:41:47 +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
Gary Houston
244fdc2f4b *** empty log message *** 2000-03-12 16:34:41 +00:00
Gary Houston
ae8de16e0a * README (Guile Documentation, About This Distribution): updated. 2000-03-12 16:33:00 +00:00
Gary Houston
1a35eadceb mention a stdout port buffer change from a while ago. 2000-03-12 16:32:19 +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
Mikael Djurfeldt
58d805603c *** empty log message *** 2000-03-12 16:03:00 +00:00
Mikael Djurfeldt
bc858b80ca * readline.c (current_input_getc): Don't pass int values through
SCM variables.
2000-03-12 16:02:46 +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
2afe9d0e3e *** empty log message *** 2000-03-12 14:28:25 +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
6a2d5b8ce7 * acconfig.h (HAVE_STRUCT_TIMESPEC): Added. 2000-03-12 01:48:34 +00:00
Mikael Djurfeldt
7534dfdc2e * configure.in (ac_cv_struct_timespec): Added test for struct
timespec.
2000-03-12 01:48:27 +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
810e1aecca *** empty log message *** 2000-03-12 00:57:16 +00:00