Mikael Djurfeldt
bc858b80ca
* readline.c (current_input_getc): Don't pass int values through
...
SCM variables.
2000-03-12 16:02:46 +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
2afe9d0e3e
*** empty log message ***
2000-03-12 14:28:25 +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
6a2d5b8ce7
* acconfig.h (HAVE_STRUCT_TIMESPEC): Added.
2000-03-12 01:48:34 +00:00
Mikael Djurfeldt
7534dfdc2e
* configure.in (ac_cv_struct_timespec): Added test for struct
...
timespec.
2000-03-12 01:48:27 +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
810e1aecca
*** empty log message ***
2000-03-12 00:57:16 +00:00
Mikael Djurfeldt
0af43c4aa5
*** empty log message ***
2000-03-12 00:55:12 +00:00
Mikael Djurfeldt
38eca29bf0
*** empty log message ***
2000-03-12 00:36:02 +00:00
Mikael Djurfeldt
053f9faad7
* 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.
2000-03-12 00:35:00 +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
3ef7e3a14a
Added a comment re: a warning.
2000-03-09 21:53:59 +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
df8bb2dc39
*** empty log message ***
2000-03-09 16:21:55 +00:00
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