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

9141 commits

Author SHA1 Message Date
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
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
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
Gary Houston
28d77376bc * filesys.c (scm_select, retrieve_select_type, get_element,
fill_select_type, set_element): modified so that Scheme
	"select" tests port buffers for the ability to provide input
	or accept output.  Previously only the underlying file descriptors
	were checked.  Rewrote the docstring.

	* expect.scm (expect): don't call char-ready? before expect-select,
	since select now checks port buffers itself.  don't bother to check
	the time first either, since expect-select does it.
2000-01-29 18:04:38 +00:00
Greg J. Badros
7f1497ce18 *** empty log message *** 2000-01-27 18:16:35 +00:00
Greg J. Badros
5ffe9968de * vectors.c, symbols.c, strorder.c: Documentation cut and pasted
from Gregg Reynolds.  Thanks Gregg!
2000-01-27 18:15:56 +00:00
Greg J. Badros
2288ff9b51 *** empty log message *** 2000-01-27 18:03:53 +00:00
Greg J. Badros
0821c4f671 * strop.c (scm_i_index): Obfuscated commented-out SCM_DEFINE by
adding "x" prefix to the line so that guile-func-name-check
doesn't complain unnecessarily.
2000-01-27 18:00:06 +00:00
Greg J. Badros
349af6dde9 *** empty log message *** 2000-01-27 01:39:26 +00:00
Greg J. Badros
6552dbf799 * throw.c: Factor out an #ifdef/#else/#endif choice more finely
for maintainability.

* strop.c: Documentation added by Gregg A. Reynolds.   Pasted in
from qdocs, RnRs.
2000-01-27 01:35:16 +00:00
Greg J. Badros
a28eb12715 *** empty log message *** 2000-01-26 21:11:54 +00:00
Greg J. Badros
6fa73e72f8 * tag.c: Added doc for `tag', but mark as deprecated since Mikael
suggests removing tag.c altogether (and using a new `class-of'
instead).

* strings.c:  Added documentation from Gregg A. Reynolds.  Edited
a bit by me to use FOO instead of @var{foo} and to have the
summary come before preconditions on input.  Also dropped trailing
(rnrs) note.

* gsubr.c: Do not use SCM_DEFINE for `gsubr-apply'. Register the
function with scm_make_subr_opt w/ last arg of 0 so it is not
visible at the Scheme level. Mikael says (on devel-guile) that
this is the right thing because the first arg to the proc is the
guts of a compiled closure and shouldn't be exposed to the Scheme
level.
2000-01-26 18:07:07 +00:00
Greg J. Badros
ac2259fc4d *** empty log message *** 2000-01-26 01:25:40 +00:00
Greg J. Badros
da4a1dbab4 * sort.c: typo in comment fixed.
* keywords.c: Added documentation.

* guardians.c: Added documentation (could be better).

* gc.c: Added docs for gc-set-debug-check-freelist.

* eq.c: Added docs for eq?, eqv? equal? abridged from R4RS.

* boolean.c: Added docs for `not', `boolean?' (by hand).
2000-01-26 01:17:16 +00:00
Greg J. Badros
d928e0b4fb * random.c: Added documentation, from SLIB page:
http://angela.ctrl-c.liu.se/~calle/scheme/slib_toc.html
2000-01-25 21:29:57 +00:00
Greg J. Badros
d727c64bf9 * variable.c, version.c: Added documentation, written by hand
since I could not find anything already written that was
relevant.
2000-01-25 01:50:50 +00:00
Gary Houston
d831b03918 * filesys.c (scm_chown): omit port/fdes support if HAVE_FCHOWN is
not defined (thanks to Richard Y. Kim).
2000-01-23 20:25:27 +00:00
Greg J. Badros
88ec97ad6d *** empty log message *** 2000-01-20 21:01:16 +00:00
Greg J. Badros
078e909286 *** empty log message *** 2000-01-20 21:01:13 +00:00
Greg J. Badros
2d8da5fe59 * Makefile.in: Removed, this is auto-generated.
* version.texi, stamp-vti: Removed -- these are auto-generated.
2000-01-20 21:00:55 +00:00
Greg J. Badros
2de14ecd1c Patch from Dirk Hermann:
* list.c: Put some variable initialization code at the point of
declaration; Added a comment for list*; Formatting changes.

* load.c: use SCM_NNULLP to make sure the end of a list is not
reached yet.
2000-01-20 20:59:33 +00:00
Mikael Djurfeldt
a177af3496 *** empty log message *** 2000-01-18 18:25:12 +00:00
Mikael Djurfeldt
3fceef5984 * backtrace.c (scm_display_error_message): Bugfix: Don't use
result of scm_list_p as C boolean.
(scm_display_error_message, scm_set_print_params_x): Use new
validation macros. (Thanks to Dirk Herrmann.)
2000-01-18 18:24:57 +00:00
Mikael Djurfeldt
d06bcb02eb *** empty log message *** 2000-01-18 14:13:43 +00:00
Mikael Djurfeldt
a3c8b9fce9 * strports.c (st_end_input): Inserted parenthesis to get operator
grouping correct.

* fports.c, list.c, numbers.c, ports.c, stime.c, symbols.c,
filesys.c, posix.c: Converted docstrings to ANSI C format and
escaped " occurring inside string literals.
2000-01-18 14:13:31 +00:00
Mikael Djurfeldt
d9b6c17032 * net_db.c (scm_resolv_error): Cast result from hstrerror. 2000-01-18 14:13:00 +00:00
Mikael Djurfeldt
e7a96050f2 *** empty log message *** 2000-01-18 13:10:05 +00:00
Mikael Djurfeldt
fc0d72d448 * fports.c, list.c: Converted docstrings to ANSI C format and
escaped " occurring inside string literals.
2000-01-18 13:09:54 +00:00
Mikael Djurfeldt
682eefe9e2 *** empty log message *** 2000-01-18 12:22:26 +00:00
Mikael Djurfeldt
c7940c02eb * posix.c (scm_mknod): Escape " occuring inside docstring. 2000-01-18 12:22:13 +00:00
Mikael Djurfeldt
56cfe22bf6 *** empty log message *** 2000-01-18 11:27:18 +00:00
Mikael Djurfeldt
d3818c2982 * alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c,
evalext.c, filesys.c, gc.c, hash.c, hashtab.c, ioext.c,
   keywords.c, list.c, load.c, macros.c, net_db.c, numbers.c,
   objprop.c, ports.c, posix.c, print.c, procprop.c, procs.c,
   ramap.c, regex-posix.c, root.c, scmsigs.c, simpos.c, socket.c,
   stacks.c, stime.c, strings.c, strop.c, strports.c, struct.c,
   symbols.c, throw.c, unif.c, vectors.c, version.c, vports.c,
   weaks.c: Converted docstrings to ANSI C format.

* filesys.c (scm_chmod), simpos.c (s_scm_system), version
(scm_version), vports (scm_make_soft_port): Escape " occuring
inside docstring.
2000-01-18 11:24:37 +00:00
Mikael Djurfeldt
b380b88547 * alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c,
evalext.c, filesys.c, gc.c, hash.c, hashtab.c, ioext.c,
   keywords.c, list.c, load.c, macros.c, net_db.c, numbers.c,
   objprop.c, ports.c, posix.c, print.c, procprop.c, procs.c,
   ramap.c, regex-posix.c, root.c, scmsigs.c, simpos.c, socket.c,
   stacks.c, stime.c, strings.c, strop.c, strports.c, struct.c,
   symbols.c, throw.c, unif.c, vectors.c, version.c, vports.c,
   weaks.c: Converted docstrings to ANSI C format.
2000-01-18 11:24:03 +00:00
Greg J. Badros
fcb1720f87 *** empty log message *** 2000-01-17 19:45:51 +00:00
Greg J. Badros
2cd04b426f * scm_validate.h: Added SCM_VALIDATE_ULONG_COPY,
SCM_VALIDATE_LONG_COPY

* numbers.c: Use SCM_VALIDATE_ULONG_COPY, instead of
SCM_VALIDATE_INUM_COPY to let bigger numbers be used.  Rename a
couple of formal arguments (and fix their uses) to make arguments
match the documentation.
2000-01-17 19:44:01 +00:00
Greg J. Badros
153511a74c *** empty log message *** 2000-01-16 22:07:08 +00:00
Maciej Stachowiak
b9af3d0e02 * Makefile.am: Augment path when running guile-doc-snarf so
guile-func-name-check is found.
2000-01-15 03:24:25 +00:00
Greg J. Badros
72158b7406 * scm_validate.h (SCM_NUM2LONG_DEF): Fix this macro to just use
def, not SCM_MAKINUM(def);  thanks Janis Bzerins!
2000-01-14 17:35:13 +00:00
Mikael Djurfeldt
2eca09c5c4 Replaced #ifdef 0 --> #if 0 2000-01-12 13:06:27 +00:00
Greg J. Badros
59d5245fc8 *** empty log message *** 2000-01-12 08:09:57 +00:00