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

3681 commits

Author SHA1 Message Date
Mikael Djurfeldt
7c1e0b12a3 *** empty log message *** 2000-04-15 19:34:09 +00:00
Mikael Djurfeldt
39bcc76e45 * validate.h (SCM_VALIDATE_INPUT_PORT, SCM_VALIDATE_OUTPUT_PORT):
New macros.
Cleanup of code layout.
2000-04-15 19:30:16 +00:00
Mikael Djurfeldt
df97587f22 * ports.h (SCM_INPUT_PORT_P, SCM_OUTPUT_PORT_P): New macros.
(SCM_INPORTP, SCM_OUTPORTP): Marked as deprecated.

* ports.c, ports.h (close-input-port, close-output-port): New R5RS
procedures.
2000-04-15 19:29:58 +00:00
Mikael Djurfeldt
7a754ca6c2 * ports.c, ports.h (close-input-port, close-output-port): New R5RS
procedures.
2000-04-15 19:29:47 +00:00
Dirk Herrmann
01c8a3dd96 * Made scm_dynthrow static.
* Simplified and optimized the continuation calling code.
2000-04-13 12:02:18 +00:00
Mikael Djurfeldt
553f441497 *** empty log message *** 2000-04-13 03:45:07 +00:00
Mikael Djurfeldt
e2d373365b * unif.c, unif.h (shared-array-root, shared-array-offset,
shared-array-increments): New primitives.
2000-04-13 03:44:51 +00:00
Mikael Djurfeldt
a401a730c9 Typo 2000-04-13 00:29:22 +00:00
Mikael Djurfeldt
2f52380ca9 *** empty log message *** 2000-04-13 00:15:21 +00:00
Mikael Djurfeldt
068cb5392f *** empty log message *** 2000-04-13 00:08:44 +00:00
Mikael Djurfeldt
13ae91514e * session.scm (help): New macro. Prints helpful information. 2000-04-13 00:08:22 +00:00
Mikael Djurfeldt
065c6bdead *** empty log message *** 2000-04-12 21:55:36 +00:00
Dirk Herrmann
cf551a2be9 The msymbol slots are now a field of scm_bits_t values. 2000-04-12 12:48:11 +00:00
Dirk Herrmann
12a8b76952 Fix some SCM/scm_bits_t mismatches. 2000-04-12 09:58:43 +00:00
Dirk Herrmann
d8c40b9f49 The struct data is now an array of scm_bits_t variables. 2000-04-12 01:19:49 +00:00
Dirk Herrmann
1c3e63f06d The struct vtable data is now an array of scm_bits_t variables. 2000-04-11 22:36:55 +00:00
Dirk Herrmann
bc66755eef Don't use C operators to compare SCM values. 2000-04-11 13:45:01 +00:00
Dirk Herrmann
828865c30d * (scm_quotient, scm_modulo): Reordered to handle the case of immediate
numbers parameters first.  Also, only use decoded numbers for numerical
comparison.
2000-04-11 13:00:15 +00:00
Gary Houston
d8859d6bd8 *** empty log message *** 2000-04-10 21:56:38 +00:00
Gary Houston
70cb4fa6ac * popen.scm (open-process): after forking, close all ports except
the end of the pipe to the parent.  otherwise move->fdes and
	the exec'd program and the exit handlers can interfere with file
	descriptors still in use in parent ports.
2000-04-10 21:55:53 +00:00
Mikael Djurfeldt
1cf49a85c9 * objects.h: Don't redeclare scm_call_generic_0 and
scm_apply_generic.  (Thanks to Tal Tversky.)
2000-04-10 20:37:48 +00:00
Mikael Djurfeldt
abfadf764a *** empty log message *** 2000-04-10 20:37:23 +00:00
Dirk Herrmann
dba97178b1 scm_hasher: Use symbolic names for the tc3 constants and some SCM usage
cleanups.
2000-04-10 14:29:26 +00:00
Mikael Djurfeldt
3da01fa367 *** empty log message *** 2000-04-10 12:38:19 +00:00
Mikael Djurfeldt
51523cd1f2 * coop.c (mother): Handled EINTR (the wait has been interrupted by
a signal).
2000-04-10 12:35:57 +00:00
Gary Houston
bf0e28d8f1 *** empty log message *** 2000-04-09 21:10:33 +00:00
Gary Houston
2969637c9e * popen.scm (close-process-quietly): new procedure. use it from
reap-pipes to avoid errors or hanging during background cleanup.
2000-04-09 21:10:06 +00:00
Dirk Herrmann
451e591cdd Some SCM/scm_bits_t type strictness fixes. 2000-04-07 10:41:39 +00:00
Michael Livshin
e94e3f21d6 * async.[ch]: unexpose low-level async access macros (thanks to
Dirk Herrmann).

* validate.h: move async validation macros to async.c (nobody else
needs them anyway), and rename them.
2000-04-05 15:28:28 +00:00
Michael Livshin
843e4e9d17 * async.h: kill the scm_async_t struct. having a heap cell
pretending to be a C struct is not helthy, and is not needed here
anyway, as asyncs happily fit in one heap cell.

* async.c: reflect the fact that asyncs are now represented by
single heap cell each.
2000-04-04 20:07:11 +00:00
Gary Houston
873c35ee82 *** empty log message *** 2000-04-04 19:12:59 +00:00
Gary Houston
1de052a72c * error.c (scm_syserror): save errno before doing anything else,
since it's used in two expressions and may get mutated (thanks to
	Dirk Herrmann).
2000-04-04 19:11:58 +00:00
Dirk Herrmann
4260a7fced Lots of fixes with respect to strict typing. 2000-04-04 12:13:41 +00:00
Mikael Djurfeldt
304b56da60 *** empty log message *** 2000-04-04 11:40:49 +00:00
Mikael Djurfeldt
186cf94654 * format.scm (format:obj->str): Handle circular references. Also,
print improper lists with (x y . z) syntax rather than as
individual pairs.  (This code should probably be integrated into C
level facilities.  It is currently terribly slow.)
2000-04-04 11:40:39 +00:00
Dirk Herrmann
f60d011a05 Fix handling of SCM value with regard to strict typing. 2000-04-04 10:46:08 +00:00
Mikael Djurfeldt
5b15c3b457 *** empty log message *** 2000-04-04 09:15:11 +00:00
Mikael Djurfeldt
5d46ebe36d * print.c: Removed promise to rewrite printer code before next
release.  :)
2000-04-04 09:15:03 +00:00
Mikael Djurfeldt
395c856721 *** empty log message *** 2000-04-03 19:45:32 +00:00
Mikael Djurfeldt
26cbcbf968 * iselect.c (add_fd_sets): Insert empty statement after label.
(Thanks to Tim Mooney.)
2000-04-03 19:45:20 +00:00
Michael Livshin
f6e2fd8bf3 tweaked ChangeLog comments alittle 2000-04-03 15:56:17 +00:00
Michael Livshin
b87e3d4d19 * streams.scm (stream-fold, stream-for-each): don't use named let,
because it prevents the gc from junking the stream argument.
2000-04-03 15:38:35 +00:00
Michael Livshin
50fecba92d * guardians.c (scm_guardian_zombify): mark all zombies in a
separate loop after processing all the currently known live
guardians, so as to not introduce order dependencies (thanks to
Gary Houston).  also, make another outer loop to process zombified
guardians (which are uncovered while marking zombies).
2000-04-03 13:55:54 +00:00
Dirk Herrmann
54778cd312 Lots of fixes to make guile (at some time) compile with strict typing. 2000-04-03 08:47:51 +00:00
Gary Houston
abeed82198 *** empty log message *** 2000-04-02 21:53:17 +00:00
Gary Houston
e46f3fa6ba * guardians.c (TCONC_IN, scm_make_guardian): set the CDR of the
empty tconc pair to SCM_EOL instead of SCM_BOOL_F, avoiding the
	use of an improper list (which breaks g_print.  g_print isn't
	used).
	guardians.c: Added more comments and modified the make-guardian
	docstring.  Reordered a few procedures.
2000-04-02 21:52:49 +00:00
Dirk Herrmann
cf49832683 Some fixes for strict typing. 2000-04-01 21:23:09 +00:00
Gary Houston
47a4dcc5b4 *** empty log message *** 2000-03-31 19:24:09 +00:00
Gary Houston
8cc58ec1cc * tests/ports.test (non-blocking-I/O): a couple more details:
a) combine the O_NONBLOCK flag with the default flags instead
	of replacing them.  b) check EWOULDBLOCK as well as EAGAIN.
2000-03-31 19:23:52 +00:00
Dirk Herrmann
cffcab3013 Some more SCM/scm_bits_t and SCM-is-union issues. 2000-03-31 15:59:57 +00:00