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

9141 commits

Author SHA1 Message Date
Mikael Djurfeldt
74a426ae25 *** empty log message *** 2000-03-12 17:01:48 +00:00
Mikael Djurfeldt
413cb56ff4 * async.c, boolean.h, debug.c, dynl.c, dynwind.c, eval.c, eval.h,
feature.h, filesys.h, fluids.h, fports.c, fports.h, gc.c, gc.h,
  hash.c, keywords.h, macros.c, numbers.c, numbers.h, objects.c,
  objects.h, options.c, pairs.h, ports.c, ports.h, print.c,
  procs.h, ramap.c, read.c, smob.c, smob.h, srcprop.h, stacks.c,
  stacks.h, strports.c, struct.c, struct.h, tag.c, tags.h,
  throw.c, unif.c, unif.h, variable.h, vectors.h, weaks.c,
  weaks.h (SCM_SCM, SCM_BITS, SCM_CARBITS): Renamed from
  SCM_ASSCM, SCM_ASWORD, SCM_CARW).
2000-03-12 17:00:58 +00:00
Mikael Djurfeldt
7f782a0a9b *** empty log message *** 2000-03-12 16:10:31 +00:00
Mikael Djurfeldt
7a58e59f51 * numbers.h (SCM_SRS, SCM_INUM): Corrected SCM_ASSCM/ASWORD fixes. 2000-03-12 16:10:02 +00:00
Mikael Djurfeldt
8dee1541be * 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.
2000-03-12 16:09:46 +00:00
Mikael Djurfeldt
b97206b102 * struct.c, coop-threads.c: SCM_ASSCM/ASWORD fixes. 2000-03-12 16:09:34 +00:00
Mikael Djurfeldt
e282f286eb * alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c,
tags.h: Fixed copyright notices.
2000-03-12 16:08:24 +00:00
Marius Vollmer
0cd8762838 *** empty log message *** 2000-03-12 15:25:41 +00:00
Marius Vollmer
0a48b62445 * init.c (scm_standard_stream_to_port): Check whether the file
descriptor is valid and substitute "/dev/null" when not.
2000-03-12 15:25:16 +00:00
Marius Vollmer
f15a06bfc9 Docstring clarification for scm_registered_modules. 2000-03-12 15:24:36 +00:00
Mikael Djurfeldt
b74b1a6387 Reverted recent change to scm_mutex_init: now backward compatible
again.
2000-03-12 14:26:59 +00:00
Mikael Djurfeldt
f3b5e18566 *** empty log message *** 2000-03-12 01:48:48 +00:00
Mikael Djurfeldt
bc5329cc8b * coop.c (coop_condition_variable_timed_wait_mutex): Use ETIMEDOUT
instead of ETIME.
2000-03-12 01:48:04 +00:00
Mikael Djurfeldt
14d2005d86 * coop-defs.h (struct timespec): Conditionally defined. 2000-03-12 01:47:53 +00:00
Mikael Djurfeldt
38eca29bf0 *** empty log message *** 2000-03-12 00:36:02 +00:00
Mikael Djurfeldt
dd276c8eb3 * iselect.c (coop_timout_qinsert): Moved to coop.c 2000-03-12 00:34:19 +00:00
Mikael Djurfeldt
df26ebfdc9 * 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,
2000-03-12 00:33:56 +00:00
Mikael Djurfeldt
32e738bb26 * 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.
2000-03-12 00:33:35 +00:00
Mikael Djurfeldt
32e1616c22 *** empty log message *** 2000-03-11 23:38:51 +00:00
Mikael Djurfeldt
293bb454ed * pairs.h (SCM_SETAND_CAR, SCM_SETAND_CDR, SCM_SETOR_CAR,
SCM_SETOR_CDR): Corrected SCM_ASSCM/WORD fixes.
2000-03-11 23:38:33 +00:00
Mikael Djurfeldt
d266d03a0b * tags.h (SCM_VOIDP_TEST): Renamed from VOIDP_TEST.
Layout cleanups.
2000-03-11 15:10:34 +00:00
Mikael Djurfeldt
a54367e2da * 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.
2000-03-11 15:10:16 +00:00
Mikael Djurfeldt
9374451b7e * eval.c (scm_lookupcar1): Inserted SCM_ASWORD in expressions
dealing with ilocs.
2000-03-11 15:09:33 +00:00
Greg J. Badros
d5c390692d *** empty log message *** 2000-03-09 23:00:18 +00:00
Greg J. Badros
8a525303c7 * 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.
2000-03-09 22:58:32 +00:00
Greg J. Badros
3e892913a7 *** empty log message *** 2000-03-09 21:49:05 +00:00
Greg J. Badros
41b0806d3e * 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.
2000-03-09 21:48:25 +00:00
Greg J. Badros
7ac030d6de *** empty log message *** 2000-03-09 18:59:38 +00:00
Greg J. Badros
c209c88e54 *.[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),
2000-03-09 18:58:58 +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
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
3f557de68c *** empty log message *** 2000-02-13 17:41:36 +00:00