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

3297 commits

Author SHA1 Message Date
Greg J. Badros
26ec032dc5 * slib.scm: Back-out change to software-type -- renamed
slib:software-type to software-type, and leave it non-public.
2000-03-09 16:05:33 +00:00
Greg J. Badros
76d941243e *** empty log message *** 2000-03-09 16:01:27 +00:00
Greg J. Badros
1c537018aa * readline.c: scm_validate.h renamed to validate.h. 2000-03-09 16:00:42 +00:00
Greg J. Badros
e6a9f3c474 *** empty log message *** 2000-03-08 18:49:10 +00:00
Greg J. Badros
aba2031abc * readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
of readset.
2000-03-08 18:43:47 +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
Greg J. Badros
9eaa7fb6c6 *** empty log message *** 2000-03-07 16:07:43 +00:00
Greg J. Badros
8849a2449b * run-test, remaining-docs-needed: Added these scripts. The
second one is only temporary until the docstring additions are
complete.   run-test may best live on, but is here mostly for
convenience and awareness for now.
2000-03-07 16:06:13 +00:00
Greg J. Badros
94a5efac15 * hash.c: Docs, minor cleanup patch from Dirk Herrman. 2000-03-07 16:04:36 +00:00
Greg J. Badros
49673698ed *** empty log message *** 2000-03-03 00:12:02 +00:00
Greg J. Badros
cd2feccad5 * validate.h, scm_validate.h: Added the former, as a renamed
version of the latter with SCM_ASSERT_TYPE used in
SCM_MAKE_VALIDATE (instead of just SCM_ASSERT)
2000-03-03 00:11:46 +00:00
Greg J. Badros
ac802f5ad4 * Makefile.am: Rename scm_validate.h to validate.h. 2000-03-03 00:10:35 +00:00
Greg J. Badros
b6791b2e94 * error.h, error.c: Added `scm_wrong_type_arg_msg' to support
displaying the expected type.  Use SCM_LISTn in a couple places
instead of scm_cons-ing by hand.

* __scm.h: Added SCM_ASSERT_TYPE macro.

* validate.h, scm_validate.h: Added the former, as a renamed
version of the latter with SCM_ASSERT_TYPE used in
SCM_MAKE_VALIDATE (instead of just SCM_ASSERT)

* Makefile.am: Rename scm_validate.h to validate.h.

* *.c, *.h: Include validate.h, not scm_validate.h (old name's
prefix was superfluous).
2000-03-03 00:09:54 +00:00
Greg J. Badros
417bdef8a5 *** empty log message *** 2000-03-02 23:41:30 +00:00
Greg J. Badros
d550d22a7d * hashtab.c: Improved documentation for lots of functions. Added
handwritten docs for `hash-fold'.
2000-03-02 23:41:22 +00:00
Greg J. Badros
8507b88c00 * list.c: Added hand-written docs for `del{q,v,ete}1!'. 2000-03-02 23:14:28 +00:00
Greg J. Badros
26a760c65e *** empty log message *** 2000-03-02 20:56:07 +00:00
Greg J. Badros
7866a09b5b * list.c: Moved append docs to append! Thanks Dirk Hermann. Also,
added append docs from R4RS.

* strings.c: Docstring typo fix, + eliminate unneeded IMP tests.
Thanks Dirk Hermann!

* chars.h: Provide SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR and
deprecate SCM_ICHRP, SCM_ICHR, SCM_MAKICHR.  Thanks Dirk Hermann!

* *.h, *.c: Use SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR throughout.
Drop use of SCM_P for function prototypes... assume an ANSI C
compiler.  Thanks Dirk Hermann!
2000-03-02 20:54:43 +00:00
Greg J. Badros
e510ed373f *** empty log message *** 2000-03-02 20:44:28 +00:00
Greg J. Badros
5b52885cda * boot-9.scm: Drop unused definition of sfx function -- thanks
Dirk Hermann!
2000-03-02 20:44:19 +00:00
Greg J. Badros
0f202d3f36 *** empty log message *** 2000-03-01 21:18:35 +00:00
Greg J. Badros
ed11b876c8 * streams.scm: Doc patch from Richard Kim, using MIT Scheme as
source of the numerous very short changes.
2000-03-01 20:21:24 +00:00
Jim Blandy
af94609f1f (Characters): Fix type of SCM_MAKICHR argument. 2000-02-28 20:58:59 +00:00
Greg J. Badros
898942f8a3 *** empty log message *** 2000-02-19 20:40:46 +00:00
Greg J. Badros
564478fd3b * ports.c: Made set-port-column!' and set-port-line!' each
return SCM_UNSPECIFIED instead of a (not-scheme-object) integer
that caused a seg fault.  Also fixed `set-port-column!'s
docstring.  Thanks Han-Wen Nienhuys for finding the bug!
2000-02-19 20:21:19 +00:00
Greg J. Badros
84a3df2cf2 *** empty log message *** 2000-02-14 03:13:48 +00:00
Greg J. Badros
b450f07086 * arbiters.c, eq.c, gc.c, guardians.c, list.c, ports.c, print.c,
regex-posix.c, scmsigs.c, stime.c, strings.c, variable.c, stime.c,
strings.c, variable.c:  Added lots of documentation, cleaned up
some existing documentation.  Occasionally changed formal params
to match docs.  Also folded an #ifdef into the inners of a
primitive instead of having two copies of the primitive
(`get-internal-real-time', from stime.c)
2000-02-14 03:13:19 +00:00
Greg J. Badros
92540145dd *** empty log message *** 2000-02-14 02:04:20 +00:00
Greg J. Badros
e3d8af60c4 * slib.scm: Rename software-type to slib:software-type and make it
public.

* r4rs.scm: Added documentation; largely cut and pasted from R4RS
info pages.
2000-02-14 02:04:14 +00:00
Greg J. Badros
1669305496 * common-list.scm: Added documentation; largely cut and pasted
from slib docs.
2000-02-14 01:49:48 +00:00
Greg J. Badros
3f557de68c *** empty log message *** 2000-02-13 17:41:36 +00:00
Greg J. Badros
fa787a5897 * guile-doc-snarf.in: Use ${AWK} -f guile-func-name-check, not
just execing guile-func-name-check.  Thanks Michael Livshin!
2000-02-13 17:41:10 +00:00
Greg J. Badros
ddcccdb31a *** empty log message *** 2000-02-13 04:18:07 +00:00
Mikael Djurfeldt
b1c7c8f1ec *** empty log message *** 2000-02-11 04:48:18 +00:00
Mikael Djurfeldt
1af9072d73 * format.scm (format): Reintroduce (define format format:format)
so that the binding in the public interface of the module will be OK.
2000-02-11 04:48:07 +00:00
Greg J. Badros
11a5232f86 * guile-snarf.awk.in: Tweak to work with Sun/HP awk, removed some
dead code.  Patch from Michael Livshin.

* guile-doc-snarf.in: Tweak to work with Sun/HP sh.  Patch from
Michael Livshin.
2000-02-10 19:45:10 +00:00
Gary Houston
720e869247 2000-02-09 Gary Houston <ghouston@arglist.com>
* init.c (scm_init_standard_ports): when stdout is a tty, make the
	current-output-port unbuffered by default.  this is less confusing
	for interactive use.  it was line-buffered because of a
	performance problem with unbuffered ports, but I think it will be
	OK now.
2000-02-09 21:25:34 +00:00
Gary Houston
43ff3170df * __scm.h: don't define long_long or ulong_long if HAVE_LONG_LONGS
is not defined.

	* stime.c (scm_localtime, scm_mktime): if neither HAVE_TM_ZONE nor
	HAVE_TZNAME are defined, use an empty string instead of giving two
	spurious compile-time errors.
2000-02-08 22:16:15 +00:00
Greg J. Badros
4ba473028c *** empty log message *** 2000-02-08 22:01:14 +00:00
Greg J. Badros
bfc46627ce * ports.c: Doc patches from Richard Kim. Pasted from MIT Scheme.
Thanks Richard!
2000-02-08 21:59:19 +00:00
Greg J. Badros
09a617f7c0 *** empty log message *** 2000-02-07 17:09:15 +00:00
Greg J. Badros
07f7f249e5 * macros.c: Doc patches from Richard Kim. Pasted from scm.texi. 2000-02-07 17:08:07 +00:00
Greg J. Badros
9dbcf01033 *** empty log message *** 2000-02-07 04:30:25 +00:00
Greg J. Badros
d7588e5481 * pairs.c: Doc patches from Richard Kim. Pasted from MIT Scheme
(which is GNU GPL'd).
2000-02-07 04:30:17 +00:00
Gary Houston
bd9e24b301 * strings.h: don't use SCM_P. don't include <string.h>.
* error.c, gh_data.c, ports.c, script.c, strop.c: include <string.h>.

	* strings.c (scm_string_ref): make the 2nd argument compulsory.
	previously it defaulted to zero for no good reason that I can see.
	use a local variable for SCM_INUM (k).  replace
	SCM_VALIDATE_INUM_DEF with SCM_VALIDATE_INUM_COPY.

	(scm_makfromstr): cosmetic changes.

	(scm_string): Accept only chars in the list, not strings, for
	conformance to R5RS (particularly for list->string, which is
	supposed to be the inverse of string->list.)  remove
	SCM_DEFER_INTS/SCM_ALLOW_INTS, which is unnecessary since
	scm_makstr handles the cell allocation.  when reporting wrong-type
	arg, don't report the position as 1.

	* posix.c (scm_init_posix): intern PIPE_BUF if it's defined.

	* boot-9.scm (find-and-link-dynamic-module): pass strings, not symbols,
	to string-append.
2000-01-31 18:29:56 +00:00
Marius Vollmer
505ede1881 * Makefile.am (version.texi): Override automake's rule for
version.texi so that it gets created even in non-maintainer-mode.
2000-01-30 23:17:00 +00:00
Gary Houston
ae1b098b07 * posix.c (scm_pipe): rewrote the docstring.
(and fixed a bug in the scm_select change)
2000-01-29 19:50:36 +00:00