summaryrefslogtreecommitdiff
path: root/libguile
AgeCommit message (Collapse)AuthorFilesLines
2000-03-09*** empty log message ***Greg J. Badros1-0/+8
2000-03-09*.[ch]: make a distinction between SCM as a genericGreg J. Badros53-1341/+1351
name for a Scheme object (now a void*), and SCM as 32 bit word for storing tags and immediates (now a long int). Introduced SCM_ASWORD and SCM_ASSCM for conversion. Fixed various dubious code in the process: arbiter.c (use macros), unif.c (scm_array_p),
2000-03-08*** empty log message ***Greg J. Badros1-0/+5
2000-03-08* numbers.c: Use SCM_VALIDATE_LONG_COPY, and longs, not ints, inGreg J. Badros1-14/+14
various logXXX primitives. Thanks Eric Moore!
2000-03-07s/'x/'foo/ in two places that I missed before.Greg J. Badros1-2/+2
2000-03-07Fix example to use 'foo, not 'x, as symbol 'x does not seem to causeGreg J. Badros1-2/+2
the problem.
2000-03-07*** empty log message ***Greg J. Badros1-0/+9
2000-03-07* run-test, remaining-docs-needed: Added these scripts. TheGreg J. Badros2-0/+6
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* hash.c: Docs, minor cleanup patch from Dirk Herrman.Greg J. Badros1-31/+61
2000-03-03*** empty log message ***Greg J. Badros1-0/+17
2000-03-03* validate.h, scm_validate.h: Added the former, as a renamedGreg J. Badros1-2/+2
version of the latter with SCM_ASSERT_TYPE used in SCM_MAKE_VALIDATE (instead of just SCM_ASSERT)
2000-03-03* Makefile.am: Rename scm_validate.h to validate.h.Greg J. Badros1-1/+1
2000-03-03* error.h, error.c: Added `scm_wrong_type_arg_msg' to supportGreg J. Badros61-64/+89
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-02*** empty log message ***Greg J. Badros1-0/+9
2000-03-02* hashtab.c: Improved documentation for lots of functions. AddedGreg J. Badros1-41/+76
handwritten docs for `hash-fold'.
2000-03-02* list.c: Added hand-written docs for `del{q,v,ete}1!'.Greg J. Badros1-5/+8
2000-03-02*** empty log message ***Greg J. Badros1-0/+15
2000-03-02* list.c: Moved append docs to append! Thanks Dirk Hermann. Also,Greg J. Badros79-941/+942
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-02-19*** empty log message ***Greg J. Badros1-0/+7
2000-02-19* ports.c: Made `set-port-column!' and `set-port-line!' eachGreg J. Badros1-3/+5
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-14*** empty log message ***Greg J. Badros1-0/+15
2000-02-14* arbiters.c, eq.c, gc.c, guardians.c, list.c, ports.c, print.c,Greg J. Badros12-85/+88
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-13*** empty log message ***Greg J. Badros1-0/+5
2000-02-13* guile-doc-snarf.in: Use ${AWK} -f guile-func-name-check, notGreg J. Badros1-1/+1
just execing guile-func-name-check. Thanks Michael Livshin!
2000-02-13*** empty log message ***Greg J. Badros1-0/+8
2000-02-10* guile-snarf.awk.in: Tweak to work with Sun/HP awk, removed someGreg J. Badros2-10/+9
dead code. Patch from Michael Livshin. * guile-doc-snarf.in: Tweak to work with Sun/HP sh. Patch from Michael Livshin.
2000-02-092000-02-09 Gary Houston <ghouston@arglist.com>Gary Houston2-1/+9
* 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-08 * __scm.h: don't define long_long or ulong_long if HAVE_LONG_LONGSGary Houston3-20/+26
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*** empty log message ***Greg J. Badros1-0/+5
2000-02-08* ports.c: Doc patches from Richard Kim. Pasted from MIT Scheme.Greg J. Badros1-8/+41
Thanks Richard!
2000-02-07*** empty log message ***Greg J. Badros1-0/+4
2000-02-07* macros.c: Doc patches from Richard Kim. Pasted from scm.texi.Greg J. Badros1-3/+27
2000-02-07*** empty log message ***Greg J. Badros1-0/+5
2000-02-07* pairs.c: Doc patches from Richard Kim. Pasted from MIT SchemeGreg J. Badros1-4/+8
(which is GNU GPL'd).
2000-01-31 * strings.h: don't use SCM_P. don't include <string.h>.Gary Houston10-92/+105
* 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-29 * posix.c (scm_pipe): rewrote the docstring.Gary Houston3-16/+24
(and fixed a bug in the scm_select change)
2000-01-29 * filesys.c (scm_select, retrieve_select_type, get_element,Gary Houston2-91/+197
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-27*** empty log message ***Greg J. Badros1-0/+5
2000-01-27* vectors.c, symbols.c, strorder.c: Documentation cut and pastedGreg J. Badros3-29/+154
from Gregg Reynolds. Thanks Gregg!
2000-01-27*** empty log message ***Greg J. Badros1-0/+6
2000-01-27* strop.c (scm_i_index): Obfuscated commented-out SCM_DEFINE byGreg J. Badros1-1/+1
adding "x" prefix to the line so that guile-func-name-check doesn't complain unnecessarily.
2000-01-27*** empty log message ***Greg J. Badros1-0/+8
2000-01-27* throw.c: Factor out an #ifdef/#else/#endif choice more finelyGreg J. Badros2-34/+153
for maintainability. * strop.c: Documentation added by Gregg A. Reynolds. Pasted in from qdocs, RnRs.
2000-01-26*** empty log message ***Greg J. Badros1-0/+17
2000-01-26* tag.c: Added doc for `tag', but mark as deprecated since MikaelGreg J. Badros3-27/+36
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*** empty log message ***Greg J. Badros1-0/+14
2000-01-26* sort.c: typo in comment fixed.Greg J. Badros6-16/+40
* 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-25* random.c: Added documentation, from SLIB page:Greg J. Badros2-9/+53
http://angela.ctrl-c.liu.se/~calle/scheme/slib_toc.html
2000-01-25* variable.c, version.c: Added documentation, written by handGreg J. Badros2-19/+41
since I could not find anything already written that was relevant.
2000-01-23 * filesys.c (scm_chown): omit port/fdes support if HAVE_FCHOWN isGary Houston2-11/+17
not defined (thanks to Richard Y. Kim).