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

6023 commits

Author SHA1 Message Date
Marius Vollmer
e11e60d635 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
and-let*).
2001-02-08 18:50:50 +00:00
Marius Vollmer
aa767bc58f * modules.h (scm_selected_module, scm_current_module): Renamed
scm_selected_module to scm_current_module to synchronize Scheme
and C names.
(scm_select_module, scm_set_current_module): Likewise.  Changed
all uses.
2001-02-08 18:49:52 +00:00
Marius Vollmer
fdfe6305a5 * ports.c (scm_port_for_each): Make a snapshot of the port table
before iterating over it.  The table might change while the user
code is running.  With the snapshot, the user can depend on the
fact that each port that was open at teh start of the iteration is
encountered exactly once.  (ice-9 popen) depends on this.
2001-02-08 18:44:34 +00:00
Marius Vollmer
6a721afbc8 * and-let-star-compat.scm: Display the warning to the
`current-error-port'.
2001-02-08 18:39:08 +00:00
Dirk Herrmann
cb0d8be234 * Fixed parameter checking for make-string.
* Corrected a bug introduced with the last patch.
2001-02-08 11:40:51 +00:00
Dirk Herrmann
e382fdbe0f * Fixed parameter checking for make-vector. 2001-02-08 10:48:01 +00:00
Keisuke Nishida
bf8f092280 Removed redundant code. 2001-02-06 02:12:10 +00:00
Keisuke Nishida
5f17c66f82 Minor modifications. 2001-02-05 19:14:20 +00:00
Keisuke Nishida
35d99e4aeb *** empty log message *** 2001-02-05 19:00:56 +00:00
Keisuke Nishida
914cceec2c New dump/undump scheme. 2001-02-05 08:46:21 +00:00
Marius Vollmer
93a6e9c4a7 * and-let-star.scm, and-let*.scm: Renamed `and-let*.scm' to
`and-let-star.scm'.  Updated module name as well.
* and-let-star-compat.scm: New file, installed as `and-let*.scm'.
* Makefile.am (ice9_sources): Replaced "and-let*.scm" with
"and-let-star.scm".
(install-data-local): Install "and-let-star-compat.scm" as
"and-let*.scm", ignoring errors.
(EXTRA_DIST): Distribute `and-let-star-compat.scm'.
2001-02-04 18:22:18 +00:00
Marius Vollmer
fbf0c8c7b1 *** empty log message *** 2001-02-04 18:21:38 +00:00
Marius Vollmer
bd7d4f408d *** empty log message *** 2001-02-04 17:30:00 +00:00
Marius Vollmer
7ecbf85dde * data-rep.texi: Use SCM_SMOB_DATA instead of SCM_CDR. Also
things like SCM_SMOB_PREDICATE and SCM_NEWSMOB.  Thanks to Dale
P. Smith!
2001-02-04 17:29:06 +00:00
Michael Livshin
ecf470a2aa SCM_DOUBLE_CELLP deprecated and made unused 2001-02-03 12:26:38 +00:00
Keisuke Nishida
ec89608938 *** empty log message *** 2001-02-03 05:01:07 +00:00
Keisuke Nishida
03416a991e New files: dump.c, dump.h. 2001-02-03 04:59:16 +00:00
Keisuke Nishida
00ffa0e7d6 New functions: scm_c_make_vector, scm_c_make_hash_table. 2001-02-02 04:56:25 +00:00
Mikael Djurfeldt
b8446ce883 * unif.c (rapr1): Don't apply scm_uniform_vector_length on arrays. 2001-01-31 15:18:47 +00:00
Mikael Djurfeldt
c2886a5ae1 Added #include "libguile/rdelim.h". 2001-01-31 15:14:53 +00:00
Dirk Herrmann
e32398681a * Added docstrings by Martin Grabmueller. 2001-01-30 14:53:20 +00:00
Mikael Djurfeldt
41ee56dde3 * eval.c (SCM_APPLY): Check that primitives which take 1 arg
really get that arg.
2001-01-29 18:23:34 +00:00
Marius Vollmer
d42b03fd66 *** empty log message *** 2001-01-28 17:56:46 +00:00
Marius Vollmer
539fdb77e0 * readline.scm (make-readline-port): PROMPT becomes PROMPT2 as
soon as GET-CHARACTER returns any character at all that was
previously read.  This makes the continuation prompt appear
properly for partial expressions.  Thanks to Neil Jerram!
2001-01-28 17:56:34 +00:00
Keisuke Nishida
b6311c0832 goops.c (s_scm_get_keyword): Bug fix. 2001-01-27 00:13:55 +00:00
Dirk Herrmann
a49af0c0f7 * Fix parameter error reporting and avoid redundant parameter checks. 2001-01-26 18:04:32 +00:00
Dirk Herrmann
13070bd3b0 * Added missing includes of string.h. 2001-01-26 17:30:54 +00:00
Dirk Herrmann
e9bab9df3d * Make readline run-time options accessible. 2001-01-26 16:58:48 +00:00
Dirk Herrmann
efb07c899c * Fixed things that I had broken with the last patch :-( 2001-01-26 16:49:28 +00:00
Dirk Herrmann
8992c8a2ef * Forgot to add the file check-guile.in with the latest commit. 2001-01-26 13:47:53 +00:00
Dirk Herrmann
1ff7abbe3f * Added Thien-Thi Nguyen's patch to support "make check". 2001-01-26 13:44:57 +00:00
Dirk Herrmann
2f2b390c83 * On errors, show line and column information even for unnamed ports. 2001-01-25 23:34:31 +00:00
Dirk Herrmann
c4a9b7bbd1 * Make sure that only open file ports are used as readline ports. 2001-01-25 17:57:29 +00:00
Dirk Herrmann
efa40607b1 * Added a file-port? primitive. 2001-01-25 17:40:50 +00:00
Dirk Herrmann
a98bddfd12 * Made the port implementations less tightly coupled within guile. 2001-01-25 17:18:41 +00:00
Dirk Herrmann
0419a52877 * Fix handling of (set-source-property! <obj> 'copy <datum>). 2001-01-25 11:09:21 +00:00
Gary Houston
fd937ecb02 *** empty log message *** 2001-01-24 21:47:23 +00:00
Gary Houston
22d356150d * tests/ports.test: include (ice-9 rdelim) module. 2001-01-24 21:46:04 +00:00
Gary Houston
6d36532c1c * boot-9.scm: don't import (ice-9 rdelim) here. it's done
in C for now.
	* rdelim.scm: export the C primitives too.
	* documentation.scm: use (ice-9 rdelim).

	* filesys.c (scm_link): docstring fix.
	* fports.h (scm_setfileno): obsolete declaration removed.
	* posix.c: bogus popen declaration removed.

	* rdelim.c: new file, split from ioext.c with new proc
	scm_init_rdelim.
	* rdelim.h: new file.
	* Makefile.am: add rdelim.c and related files.
	* init.c: call scm_init_rdelim.  include rdelim.h.
2001-01-24 21:45:09 +00:00
Gary Houston
1c8cbd62c5 *** empty log message *** 2001-01-24 21:31:39 +00:00
Dirk Herrmann
3ba5a6c2f2 * Make sure that parameter errors are reported correctly.
Thanks to Martin Grabmueller for sending this patch.
2001-01-24 18:07:29 +00:00
Dirk Herrmann
ed6a2db9d7 * Ooops: Forgot to credit Neil for the bug report. 2001-01-24 16:06:20 +00:00
Dirk Herrmann
e40a4095d6 * Make sure that scm_display_error validates its port argument. 2001-01-24 15:58:46 +00:00
Mikael Djurfeldt
f1e06a96a2 * eval.c (SCM_APPLY): Added # args check for application of
procedures with arity 3.  (Thanks to Anders Holst.)
2001-01-24 01:26:44 +00:00
Dirk Herrmann
30ea841d0c * Separate the handling of OPEN flags between ports and directories. 2001-01-24 00:02:43 +00:00
Dirk Herrmann
312ae976ad * Move all real functionality from scm_eval into inner_eval.
* Avoid to copy the evaluated expression twice.
2001-01-22 13:32:08 +00:00
Gary Houston
9d7748147e * rdelim.scm: new file implementing module (ice-9 rdelim).
* ice-9.scm (scm-line-incrementors read-line! read-delimited!
	read-delimited read-line): moved to rdelim.scm.
	scm-line-incrementors is not exported.
	* boot-9.scm: import (ice-9 rdelim) for backwards compatibility,
	for now.
	* lineio.scm: use module (ice-9 rdelim).
	* Makefile.am (ice9_sources): add rdelim.scm.
2001-01-21 22:11:29 +00:00
Dirk Herrmann
4567ed787c * Applied Martin Grabmueller's fix of case's handling of 'else. 2001-01-19 17:16:52 +00:00
Neil Jerram
6c29a390fa * Make the readline port input-only. 2001-01-19 09:00:05 +00:00
Gary Houston
10288a0948 * ioext.c: further simplify scm_read_string_x_partial by defining
a macro	SCM_EBLOCK.
2001-01-18 22:54:54 +00:00