bpt/guile.git
24 years agomention a stdout port buffer change from a while ago.
Gary Houston [Sun, 12 Mar 2000 16:32:19 +0000 (16:32 +0000)]
mention a stdout port buffer change from a while ago.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 16:10:31 +0000 (16:10 +0000)]
*** empty log message ***

24 years ago* numbers.h (SCM_SRS, SCM_INUM): Corrected SCM_ASSCM/ASWORD fixes.
Mikael Djurfeldt [Sun, 12 Mar 2000 16:10:02 +0000 (16:10 +0000)]
* numbers.h (SCM_SRS, SCM_INUM): Corrected SCM_ASSCM/ASWORD fixes.

24 years ago* alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c,
Mikael Djurfeldt [Sun, 12 Mar 2000 16:09:46 +0000 (16:09 +0000)]
* alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c,
tags.h: Fixed copyright notices.

* struct.c, coop-threads.c: SCM_ASSCM/ASWORD fixes.

24 years ago* struct.c, coop-threads.c: SCM_ASSCM/ASWORD fixes.
Mikael Djurfeldt [Sun, 12 Mar 2000 16:09:34 +0000 (16:09 +0000)]
* struct.c, coop-threads.c: SCM_ASSCM/ASWORD fixes.

24 years ago* alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c,
Mikael Djurfeldt [Sun, 12 Mar 2000 16:08:24 +0000 (16:08 +0000)]
* alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c,
tags.h: Fixed copyright notices.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 16:03:00 +0000 (16:03 +0000)]
*** empty log message ***

24 years ago* readline.c (current_input_getc): Don't pass int values through
Mikael Djurfeldt [Sun, 12 Mar 2000 16:02:46 +0000 (16:02 +0000)]
* readline.c (current_input_getc): Don't pass int values through
SCM variables.

24 years ago*** empty log message ***
Marius Vollmer [Sun, 12 Mar 2000 15:25:41 +0000 (15:25 +0000)]
*** empty log message ***

24 years ago* init.c (scm_standard_stream_to_port): Check whether the file
Marius Vollmer [Sun, 12 Mar 2000 15:25:16 +0000 (15:25 +0000)]
* init.c (scm_standard_stream_to_port): Check whether the file
descriptor is valid and substitute "/dev/null" when not.

24 years agoDocstring clarification for scm_registered_modules.
Marius Vollmer [Sun, 12 Mar 2000 15:24:36 +0000 (15:24 +0000)]
Docstring clarification for scm_registered_modules.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 14:28:25 +0000 (14:28 +0000)]
*** empty log message ***

24 years agoReverted recent change to scm_mutex_init: now backward compatible
Mikael Djurfeldt [Sun, 12 Mar 2000 14:26:59 +0000 (14:26 +0000)]
Reverted recent change to scm_mutex_init: now backward compatible
again.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 01:48:48 +0000 (01:48 +0000)]
*** empty log message ***

24 years ago* acconfig.h (HAVE_STRUCT_TIMESPEC): Added.
Mikael Djurfeldt [Sun, 12 Mar 2000 01:48:34 +0000 (01:48 +0000)]
* acconfig.h (HAVE_STRUCT_TIMESPEC): Added.

24 years ago* configure.in (ac_cv_struct_timespec): Added test for struct
Mikael Djurfeldt [Sun, 12 Mar 2000 01:48:27 +0000 (01:48 +0000)]
* configure.in (ac_cv_struct_timespec): Added test for struct
timespec.

24 years ago* coop.c (coop_condition_variable_timed_wait_mutex): Use ETIMEDOUT
Mikael Djurfeldt [Sun, 12 Mar 2000 01:48:04 +0000 (01:48 +0000)]
* coop.c (coop_condition_variable_timed_wait_mutex): Use ETIMEDOUT
instead of ETIME.

24 years ago* coop-defs.h (struct timespec): Conditionally defined.
Mikael Djurfeldt [Sun, 12 Mar 2000 01:47:53 +0000 (01:47 +0000)]
* coop-defs.h (struct timespec): Conditionally defined.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 00:57:16 +0000 (00:57 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 00:55:12 +0000 (00:55 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 00:36:02 +0000 (00:36 +0000)]
*** empty log message ***

24 years ago* readline.c (match_paren): Bugfix: First arg to select is not
Mikael Djurfeldt [Sun, 12 Mar 2000 00:35:00 +0000 (00:35 +0000)]
* readline.c (match_paren): Bugfix: First arg to select is not
number of descriptors but the number of the highest descriptor +
1.

* readline.c (scm_init_readline): Added new arg to scm_init_mutex.

24 years ago* iselect.c (coop_timout_qinsert): Moved to coop.c
Mikael Djurfeldt [Sun, 12 Mar 2000 00:34:19 +0000 (00:34 +0000)]
* iselect.c (coop_timout_qinsert): Moved to coop.c

24 years ago* coop.c: #include <errno.h>
Mikael Djurfeldt [Sun, 12 Mar 2000 00:33:56 +0000 (00:33 +0000)]
* coop.c: #include <errno.h>
(coop_timeout_qinsert): Moved here from iselect.c
(coop_new_mutex_init, coop_new_condition_variable_init): New
functions.  The strange names are temporary.  Use scm_mutex_init
and scm_cond_init instead.
(coop_mutex_trylock): New function.  Uses errno.h:EBUSY.  errno.h
is ANSI C, but should we check for individual error codes in
configure.in?
(coop_condition_variable_timed_wait_mutex): New function.
(coop_key_create, coop_setspecific, coop_getspecific,
coop_key_delete,

24 years ago* coop-defs.h (scm_mutex_trylock): New macro: alias for
Mikael Djurfeldt [Sun, 12 Mar 2000 00:33:35 +0000 (00:33 +0000)]
* coop-defs.h (scm_mutex_trylock): New macro: alias for
coop_mutex_trylock.
(scm_cond_init): Changed definition to
coop_new_condition_variable_init.
(scm_mutex_init): Changed definition to coop_new_mutex_init.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 11 Mar 2000 23:38:51 +0000 (23:38 +0000)]
*** empty log message ***

24 years ago* pairs.h (SCM_SETAND_CAR, SCM_SETAND_CDR, SCM_SETOR_CAR,
Mikael Djurfeldt [Sat, 11 Mar 2000 23:38:33 +0000 (23:38 +0000)]
* pairs.h (SCM_SETAND_CAR, SCM_SETAND_CDR, SCM_SETOR_CAR,
SCM_SETOR_CDR): Corrected SCM_ASSCM/WORD fixes.

24 years ago* tags.h (SCM_VOIDP_TEST): Renamed from VOIDP_TEST.
Mikael Djurfeldt [Sat, 11 Mar 2000 15:10:34 +0000 (15:10 +0000)]
* tags.h (SCM_VOIDP_TEST): Renamed from VOIDP_TEST.
Layout cleanups.

24 years ago* objects.h (SCM_CLASS_FLAGS, SCM_OBJ_CLASS_FLAGS,
Mikael Djurfeldt [Sat, 11 Mar 2000 15:10:16 +0000 (15:10 +0000)]
* objects.h (SCM_CLASS_FLAGS, SCM_OBJ_CLASS_FLAGS,
SCM_SET_CLASS_INSTANCE_SIZE), struct.h (SCM_STRUCT_VTABLE_DATA),
proc.h (SCM_CLOSCAR): SCM_ASSCM/WORD fixes.

24 years ago* eval.c (scm_lookupcar1): Inserted SCM_ASWORD in expressions
Mikael Djurfeldt [Sat, 11 Mar 2000 15:09:33 +0000 (15:09 +0000)]
* eval.c (scm_lookupcar1): Inserted SCM_ASWORD in expressions
dealing with ilocs.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 9 Mar 2000 23:00:18 +0000 (23:00 +0000)]
*** empty log message ***

24 years ago* numbers.c (scm_copy_big_dec, scm_copy_smaller, scm_big_ior,
Greg J. Badros [Thu, 9 Mar 2000 22:58:32 +0000 (22:58 +0000)]
* numbers.c (scm_copy_big_dec, scm_copy_smaller, scm_big_ior,
scm_big_xor, scm_big_and, scm_big_test): Added new lowlevel bignum
logical functions from SCM.

(logand, logior, logxor, logtest, logbit?): Extended scheme
logical functions to use bignums from SCM.

(lognot): Removed call to `SCM_VALIDATE_INUM' that prevented
lognot from using bignums.

24 years agoAdded a comment re: a warning.
Greg J. Badros [Thu, 9 Mar 2000 21:53:59 +0000 (21:53 +0000)]
Added a comment re: a warning.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 9 Mar 2000 21:49:05 +0000 (21:49 +0000)]
*** empty log message ***

24 years ago* vectors.h (SCM_VELTS_AS_STACKITEMS): Added this macro to help in
Greg J. Badros [Thu, 9 Mar 2000 21:48:25 +0000 (21:48 +0000)]
* vectors.h (SCM_VELTS_AS_STACKITEMS): Added this macro to help in
eliminating some warnings.

* unif.c, strports.c, print.c, options.c: Fix some warnings on
mis-use of SCM/long

* gc.c, gc.h: Added scm_return_first_int(), and added comment re:
what the scm_return_first* functions do.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 9 Mar 2000 18:59:38 +0000 (18:59 +0000)]
*** empty log message ***

24 years ago*.[ch]: make a distinction between SCM as a generic
Greg J. Badros [Thu, 9 Mar 2000 18:58:58 +0000 (18:58 +0000)]
*.[ch]: make a distinction between SCM as a generic
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),

24 years ago*** empty log message ***
Greg J. Badros [Thu, 9 Mar 2000 16:21:55 +0000 (16:21 +0000)]
*** empty log message ***

24 years ago* slib.scm: Back-out change to software-type -- renamed
Greg J. Badros [Thu, 9 Mar 2000 16:05:33 +0000 (16:05 +0000)]
* slib.scm: Back-out change to software-type -- renamed
slib:software-type to software-type, and leave it non-public.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 9 Mar 2000 16:01:27 +0000 (16:01 +0000)]
*** empty log message ***

24 years ago* readline.c: scm_validate.h renamed to validate.h.
Greg J. Badros [Thu, 9 Mar 2000 16:00:42 +0000 (16:00 +0000)]
* readline.c: scm_validate.h renamed to validate.h.

24 years ago*** empty log message ***
Greg J. Badros [Wed, 8 Mar 2000 18:49:10 +0000 (18:49 +0000)]
*** empty log message ***

24 years ago* readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
Greg J. Badros [Wed, 8 Mar 2000 18:43:47 +0000 (18:43 +0000)]
* readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
of readset.

24 years ago*** empty log message ***
Greg J. Badros [Wed, 8 Mar 2000 18:17:03 +0000 (18:17 +0000)]
*** empty log message ***

24 years ago* numbers.c: Use SCM_VALIDATE_LONG_COPY, and longs, not ints, in
Greg J. Badros [Wed, 8 Mar 2000 18:16:50 +0000 (18:16 +0000)]
* numbers.c:  Use SCM_VALIDATE_LONG_COPY, and longs, not ints, in
various logXXX primitives.  Thanks Eric Moore!

24 years agos/'x/'foo/ in two places that I missed before.
Greg J. Badros [Tue, 7 Mar 2000 18:45:41 +0000 (18:45 +0000)]
s/'x/'foo/ in two places that I missed before.

24 years agoFix example to use 'foo, not 'x, as symbol 'x does not seem to cause
Greg J. Badros [Tue, 7 Mar 2000 16:57:03 +0000 (16:57 +0000)]
Fix example to use 'foo, not 'x, as symbol 'x does not seem to cause
the problem.

24 years ago*** empty log message ***
Greg J. Badros [Tue, 7 Mar 2000 16:07:43 +0000 (16:07 +0000)]
*** empty log message ***

24 years ago* run-test, remaining-docs-needed: Added these scripts. The
Greg J. Badros [Tue, 7 Mar 2000 16:06:13 +0000 (16:06 +0000)]
* 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.

24 years ago* hash.c: Docs, minor cleanup patch from Dirk Herrman.
Greg J. Badros [Tue, 7 Mar 2000 16:04:36 +0000 (16:04 +0000)]
* hash.c: Docs, minor cleanup patch from Dirk Herrman.

24 years ago*** empty log message ***
Greg J. Badros [Fri, 3 Mar 2000 00:12:02 +0000 (00:12 +0000)]
*** empty log message ***

24 years ago* validate.h, scm_validate.h: Added the former, as a renamed
Greg J. Badros [Fri, 3 Mar 2000 00:11:46 +0000 (00:11 +0000)]
* 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)

24 years ago* Makefile.am: Rename scm_validate.h to validate.h.
Greg J. Badros [Fri, 3 Mar 2000 00:10:35 +0000 (00:10 +0000)]
* Makefile.am: Rename scm_validate.h to validate.h.

24 years ago* error.h, error.c: Added `scm_wrong_type_arg_msg' to support
Greg J. Badros [Fri, 3 Mar 2000 00:09:54 +0000 (00:09 +0000)]
* 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).

24 years ago*** empty log message ***
Greg J. Badros [Thu, 2 Mar 2000 23:41:30 +0000 (23:41 +0000)]
*** empty log message ***

24 years ago* hashtab.c: Improved documentation for lots of functions. Added
Greg J. Badros [Thu, 2 Mar 2000 23:41:22 +0000 (23:41 +0000)]
* hashtab.c: Improved documentation for lots of functions.  Added
handwritten docs for `hash-fold'.

24 years ago* list.c: Added hand-written docs for `del{q,v,ete}1!'.
Greg J. Badros [Thu, 2 Mar 2000 23:14:28 +0000 (23:14 +0000)]
* list.c: Added hand-written docs for `del{q,v,ete}1!'.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 2 Mar 2000 20:56:07 +0000 (20:56 +0000)]
*** empty log message ***

24 years ago* list.c: Moved append docs to append! Thanks Dirk Hermann. Also,
Greg J. Badros [Thu, 2 Mar 2000 20:54:43 +0000 (20:54 +0000)]
* 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!

24 years ago*** empty log message ***
Greg J. Badros [Thu, 2 Mar 2000 20:44:28 +0000 (20:44 +0000)]
*** empty log message ***

24 years ago* boot-9.scm: Drop unused definition of sfx function -- thanks
Greg J. Badros [Thu, 2 Mar 2000 20:44:19 +0000 (20:44 +0000)]
* boot-9.scm: Drop unused definition of sfx function -- thanks
Dirk Hermann!

24 years ago*** empty log message ***
Greg J. Badros [Wed, 1 Mar 2000 21:18:35 +0000 (21:18 +0000)]
*** empty log message ***

24 years ago* streams.scm: Doc patch from Richard Kim, using MIT Scheme as
Greg J. Badros [Wed, 1 Mar 2000 20:21:24 +0000 (20:21 +0000)]
* streams.scm: Doc patch from Richard Kim, using MIT Scheme as
source of the numerous very short changes.

24 years ago(Characters): Fix type of SCM_MAKICHR argument.
Jim Blandy [Mon, 28 Feb 2000 20:58:59 +0000 (20:58 +0000)]
(Characters): Fix type of SCM_MAKICHR argument.

24 years ago*** empty log message ***
Greg J. Badros [Sat, 19 Feb 2000 20:40:46 +0000 (20:40 +0000)]
*** empty log message ***

24 years ago* ports.c: Made `set-port-column!' and `set-port-line!' each
Greg J. Badros [Sat, 19 Feb 2000 20:21:19 +0000 (20:21 +0000)]
* 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!

24 years ago*** empty log message ***
Greg J. Badros [Mon, 14 Feb 2000 03:13:48 +0000 (03:13 +0000)]
*** empty log message ***

24 years ago* arbiters.c, eq.c, gc.c, guardians.c, list.c, ports.c, print.c,
Greg J. Badros [Mon, 14 Feb 2000 03:13:19 +0000 (03:13 +0000)]
* 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)

24 years ago*** empty log message ***
Greg J. Badros [Mon, 14 Feb 2000 02:04:20 +0000 (02:04 +0000)]
*** empty log message ***

24 years ago* slib.scm: Rename software-type to slib:software-type and make it
Greg J. Badros [Mon, 14 Feb 2000 02:04:14 +0000 (02:04 +0000)]
* 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.

24 years ago* common-list.scm: Added documentation; largely cut and pasted
Greg J. Badros [Mon, 14 Feb 2000 01:49:48 +0000 (01:49 +0000)]
* common-list.scm: Added documentation; largely cut and pasted
from slib docs.

24 years ago*** empty log message ***
Greg J. Badros [Sun, 13 Feb 2000 17:41:36 +0000 (17:41 +0000)]
*** empty log message ***

24 years ago* guile-doc-snarf.in: Use ${AWK} -f guile-func-name-check, not
Greg J. Badros [Sun, 13 Feb 2000 17:41:10 +0000 (17:41 +0000)]
* guile-doc-snarf.in: Use ${AWK} -f guile-func-name-check, not
just execing guile-func-name-check.  Thanks Michael Livshin!

24 years ago*** empty log message ***
Greg J. Badros [Sun, 13 Feb 2000 04:18:07 +0000 (04:18 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 11 Feb 2000 04:48:18 +0000 (04:48 +0000)]
*** empty log message ***

24 years ago* format.scm (format): Reintroduce (define format format:format)
Mikael Djurfeldt [Fri, 11 Feb 2000 04:48:07 +0000 (04:48 +0000)]
* format.scm (format): Reintroduce (define format format:format)
so that the binding in the public interface of the module will be OK.

24 years ago* guile-snarf.awk.in: Tweak to work with Sun/HP awk, removed some
Greg J. Badros [Thu, 10 Feb 2000 19:45:10 +0000 (19:45 +0000)]
* 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.

24 years ago2000-02-09 Gary Houston <ghouston@arglist.com>
Gary Houston [Wed, 9 Feb 2000 21:25:34 +0000 (21:25 +0000)]
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.

24 years ago * __scm.h: don't define long_long or ulong_long if HAVE_LONG_LONGS
Gary Houston [Tue, 8 Feb 2000 22:16:15 +0000 (22:16 +0000)]
* __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.

24 years ago*** empty log message ***
Greg J. Badros [Tue, 8 Feb 2000 22:01:14 +0000 (22:01 +0000)]
*** empty log message ***

24 years ago* ports.c: Doc patches from Richard Kim. Pasted from MIT Scheme.
Greg J. Badros [Tue, 8 Feb 2000 21:59:19 +0000 (21:59 +0000)]
* ports.c: Doc patches from Richard Kim.  Pasted from MIT Scheme.
Thanks Richard!

24 years ago*** empty log message ***
Greg J. Badros [Mon, 7 Feb 2000 17:09:15 +0000 (17:09 +0000)]
*** empty log message ***

24 years ago* macros.c: Doc patches from Richard Kim. Pasted from scm.texi.
Greg J. Badros [Mon, 7 Feb 2000 17:08:07 +0000 (17:08 +0000)]
* macros.c: Doc patches from Richard Kim.  Pasted from scm.texi.

24 years ago*** empty log message ***
Greg J. Badros [Mon, 7 Feb 2000 04:30:25 +0000 (04:30 +0000)]
*** empty log message ***

24 years ago* pairs.c: Doc patches from Richard Kim. Pasted from MIT Scheme
Greg J. Badros [Mon, 7 Feb 2000 04:30:17 +0000 (04:30 +0000)]
* pairs.c: Doc patches from Richard Kim.  Pasted from MIT Scheme
(which is GNU GPL'd).

24 years ago * strings.h: don't use SCM_P. don't include <string.h>.
Gary Houston [Mon, 31 Jan 2000 18:29:56 +0000 (18:29 +0000)]
* 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.

24 years ago* Makefile.am (version.texi): Override automake's rule for
Marius Vollmer [Sun, 30 Jan 2000 23:17:00 +0000 (23:17 +0000)]
* Makefile.am (version.texi): Override automake's rule for
version.texi so that it gets created even in non-maintainer-mode.

24 years ago * posix.c (scm_pipe): rewrote the docstring.
Gary Houston [Sat, 29 Jan 2000 19:50:36 +0000 (19:50 +0000)]
* posix.c (scm_pipe): rewrote the docstring.

(and fixed a bug in the scm_select change)

24 years ago * filesys.c (scm_select, retrieve_select_type, get_element,
Gary Houston [Sat, 29 Jan 2000 18:04:38 +0000 (18:04 +0000)]
* 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.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 27 Jan 2000 18:16:35 +0000 (18:16 +0000)]
*** empty log message ***

24 years ago* vectors.c, symbols.c, strorder.c: Documentation cut and pasted
Greg J. Badros [Thu, 27 Jan 2000 18:15:56 +0000 (18:15 +0000)]
* vectors.c, symbols.c, strorder.c: Documentation cut and pasted
from Gregg Reynolds.  Thanks Gregg!

24 years ago*** empty log message ***
Greg J. Badros [Thu, 27 Jan 2000 18:03:53 +0000 (18:03 +0000)]
*** empty log message ***

24 years ago* strop.c (scm_i_index): Obfuscated commented-out SCM_DEFINE by
Greg J. Badros [Thu, 27 Jan 2000 18:00:06 +0000 (18:00 +0000)]
* 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.

24 years ago*** empty log message ***
Greg J. Badros [Thu, 27 Jan 2000 01:39:26 +0000 (01:39 +0000)]
*** empty log message ***

24 years ago* throw.c: Factor out an #ifdef/#else/#endif choice more finely
Greg J. Badros [Thu, 27 Jan 2000 01:35:16 +0000 (01:35 +0000)]
* 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.

24 years ago*** empty log message ***
Greg J. Badros [Wed, 26 Jan 2000 21:11:54 +0000 (21:11 +0000)]
*** empty log message ***

24 years ago* tag.c: Added doc for `tag', but mark as deprecated since Mikael
Greg J. Badros [Wed, 26 Jan 2000 18:07:07 +0000 (18:07 +0000)]
* 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.

24 years agoIgnore tmp[123] files
Greg J. Badros [Wed, 26 Jan 2000 01:26:30 +0000 (01:26 +0000)]
Ignore tmp[123] files

24 years ago*** empty log message ***
Greg J. Badros [Wed, 26 Jan 2000 01:25:40 +0000 (01:25 +0000)]
*** empty log message ***

24 years ago* sort.c: typo in comment fixed.
Greg J. Badros [Wed, 26 Jan 2000 01:17:16 +0000 (01:17 +0000)]
* 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).