Marius Vollmer
2eb78d0670
(scm_setgroups): Check that the gid list is not too long. Thanks to
...
Paul Jarc!
2003-09-15 12:36:57 +00:00
Dirk Herrmann
22f2cf2d9a
* tags.h: Reduced the number of short instructions from 14 to 13.
...
The typecode of the former 14th short instruction is now used to
represent long instructions. Changed some comments to reflect
this fact.
(SCM_MAKISYM): ISYMs get a new tc7 code, namely the one that was
previously used by SCM_IM_DEFINE.
(SCM_IM_DEFINE): Turned into a long instruction.
* eval.c (unmemocopy, SCM_CEVAL): Treat SCM_IM_DEFINE as a long
instruction.
* eval.c (SCM_CEVAL): Since characters and iflags have now a tc7
code that is separate from all instructions, one level of dispatch
for long instructions can be eliminated.
* print.c (scm_isymnames): Removed some commented code.
2003-09-14 08:07:10 +00:00
Marius Vollmer
97a61c5f91
*** empty log message ***
2003-09-12 15:43:04 +00:00
Marius Vollmer
189b66ba87
(SCM_FENCE): Use __memory_barrier with the Intel compiler on IA64.
2003-09-12 15:42:29 +00:00
Marius Vollmer
50e0ba57da
*** empty log message ***
2003-09-12 15:16:56 +00:00
Marius Vollmer
cdc5f67652
(scm_tc16_hashtable): Added "extern" declaration.
2003-09-12 15:11:59 +00:00
Marius Vollmer
6dc1cd1eec
(scm_module_reverse_lookup): Check that the obarray really is a
...
hashtable and do nothing if not.
2003-09-12 15:11:09 +00:00
Marius Vollmer
62f548e16c
*** empty log message ***
2003-09-12 14:14:05 +00:00
Marius Vollmer
2b2c6fca20
Use "extern inline" only with GCC. Use "static
...
inline" else.
2003-09-12 14:13:48 +00:00
Dirk Herrmann
0d5e348022
* numbers.h (SCM_INEXACTP, SCM_REALP, SCM_COMPLEXP): Removed uses
...
of SCM_SLOPPY_INEXACTP, SCM_SLOPPY_REALP and SCM_SLOPPY_COMPLEXP.
* numbers.h, deprecated.h (SCM_SLOPPY_INEXACTP, SCM_SLOPPY_REALP,
SCM_SLOPPY_COMPLEXP): Deprecated and moved from numbers.h to
deprecated.h.
2003-09-06 09:17:29 +00:00
Dirk Herrmann
6b412e9171
* eq.c (scm_eqv_p, scm_equal_p): Removed uses of
...
SCM_SLOPPY_INEXACTP, SCM_SLOPPY_REALP and SCM_SLOPPY_COMPLEXP.
* eq.c (scm_eqv_p, scm_equal_p): Reordered comparisons from
0.0==some_expression to some_expression==0.0. The latter is
better readable. The former is preferred by some people, since it
leads to a compiler error when confusing == with =. However, when
using gcc, a warning will be issued if in an if-statement an
assigment appears. Since many Guile developers are using gcc,
such errors will not remain unnoticed anyway. We can therefore
focus on better readability.
2003-09-06 08:50:26 +00:00
Dirk Herrmann
7e3b25bf51
* tags.h: Added description of Guile's type system. Removed some
...
old and misleading comments.
2003-09-04 20:47:41 +00:00
Dirk Herrmann
3ea39242b8
* unit.c (scm_cvref): Eliminate unnecessary uses of SCM_NIMP,
...
SCM_SLOPPY_REALP and SCM_SLOPPY_COMPLEXP.
2003-09-04 20:14:02 +00:00
Dirk Herrmann
5d7d39ff5d
* numbers.h (SCM_MAKINUM): Define in terms of scm_tc2_int.
...
(SCM_INEXACTP, SCM_REALP, SCM_COMPLEXP): Define in terms of the
respective SLOPPY macro.
2003-09-04 20:04:30 +00:00
Dirk Herrmann
baa84a205c
* eq.c (scm_equal_p): Use SCM_TYP7 to check if an object is of
...
type string, not SCM_TYP7S.
2003-09-04 19:21:21 +00:00
Kevin Ryde
53bb87824d
*** empty log message ***
2003-09-03 00:03:20 +00:00
Kevin Ryde
03b79aa32a
(scm_strptime): Add comment about glibc strptime %s and
...
current timezone requiring SCM_DEFER_INTS.
2003-09-03 00:01:17 +00:00
Kevin Ryde
ba15f500e3
*** empty log message ***
2003-09-02 23:03:34 +00:00
Kevin Ryde
4d814788fc
(scm_lognot): Correction to docstring, ones-complement not 2s-complement.
2003-09-02 23:00:28 +00:00
Neil Jerram
defdc4b4ee
Make -s switch optional.
2003-08-30 21:22:45 +00:00
Kevin Ryde
0f008a157a
*** empty log message ***
2003-08-30 00:07:49 +00:00
Kevin Ryde
f9811f9f2e
(scm_lognot): Rewrite using ~ and mpz_com, for directness
...
and to have non-integer types rejected as per other logical funcs.
2003-08-30 00:04:42 +00:00
Kevin Ryde
438a3ba10d
*** empty log message ***
2003-08-28 00:13:06 +00:00
Kevin Ryde
c1ffdc6a42
(scm_remember_upto_here_1): Revise comments on the asm form.
2003-08-27 23:34:53 +00:00
Kevin Ryde
98dceb376e
*** empty log message ***
2003-08-22 23:26:07 +00:00
Kevin Ryde
f94e3e6e4b
(scm_system): Remove SCM_DEFER_INTS, system() should be
...
thread safe, and could take a long time too.
2003-08-22 23:25:02 +00:00
Kevin Ryde
c072c40c8b
Add a copyright year.
2003-08-22 23:23:17 +00:00
Kevin Ryde
1fa79a3839
*** empty log message ***
2003-08-22 01:19:24 +00:00
Kevin Ryde
708f22c6af
(scm_difference): Correction to bignum - negative inum.
2003-08-22 01:17:48 +00:00
Kevin Ryde
d97f9b4230
*** empty log message ***
2003-08-12 21:43:34 +00:00
Kevin Ryde
9e1569bd0d
(scm_remember_upto_here_1, scm_remember_upto_here_2): Undefine
...
macros while defining functions.
2003-08-12 21:09:10 +00:00
Kevin Ryde
aca3618f81
(scm_remember_upto_here_1, scm_remember_upto_here_2) [__GNUC__]:
...
Use volatile asm macros rather than a function call.
2003-08-12 21:08:34 +00:00
Kevin Ryde
34b6177b15
(scm_system): In docstring, refer to status:exit-val rather than
...
"functions above".
2003-08-12 20:24:52 +00:00
Kevin Ryde
6a4d17af96
(getenv): Use <stdlib.h> for prototype.
2003-08-12 20:23:35 +00:00
Kevin Ryde
b9052fcc32
*** empty log message ***
2003-08-08 22:58:24 +00:00
Kevin Ryde
f5003c13b6
(scm_source_properties): Return plist from hash if it's a
...
list set by source-properties! rather than an SRCPROPS object,
2003-08-08 22:57:28 +00:00
Kevin Ryde
8e5b4b9e34
*** empty log message ***
2003-07-28 23:59:47 +00:00
Kevin Ryde
93acf7cb2b
(scm_primitive_property_ref): In docstring, note
...
parameters to not-found-proc, use hyphens rather than underscores for
that parameter name.
(scm_primitive_property_set_x): In docstring, VAL is the value
parameter not CODE.
2003-07-28 23:29:17 +00:00
Marius Vollmer
c6ccee3417
*** empty log message ***
2003-07-27 16:31:43 +00:00
Marius Vollmer
c6b49e8964
(scm_print_symbol_name): handle more weird characters by escaping the
...
symbol name properly. Thanks to Paul Jarc!
2003-07-27 16:31:11 +00:00
Marius Vollmer
2f4931bf1b
*** empty log message ***
2003-07-27 16:21:33 +00:00
Marius Vollmer
f360a962d4
* posix.h (scm_setgroups): New prototype.
...
* posix.c (scm_setgroups): New. Thanks to Paul Jarc!
(scm_getgroups): Handle groups ids that don't fit into a fixnum.
Don't use SCM_WRITABLE_VELTS.
2003-07-27 16:20:21 +00:00
Marius Vollmer
265c456f2f
*** empty log message ***
2003-07-27 13:56:48 +00:00
Marius Vollmer
c5b0618d92
* gc.h (SCM_GC_SET_CELL_BVEC): New.
...
* gc-card.c (scm_i_init_card_freelist): Use it. Thanks to
Matthias Koeppe!
2003-07-27 13:56:10 +00:00
Marius Vollmer
20703ac4dc
*** empty log message ***
2003-07-27 13:35:02 +00:00
Marius Vollmer
570b6821e3
* __scm.h (SCM_C_INLINE_KEYWORD): New.
...
* numbers.c: Use it in place of SCM_C_INLINE so that the code
compiles when SCM_C_INLINE is undefined.
2003-07-27 13:34:32 +00:00
Dirk Herrmann
59c4bb82e3
* __scm.h: Reformulated the architecture and compiler properties
...
in terms of properties of scm_t_bits and SCM variables rather than
in terms of c standard types. This is since it is not known which
of the standard types scm_t_bits and SCM variables will be defined
to.
2003-07-24 06:32:20 +00:00
Kevin Ryde
d7850c8d68
*** empty log message ***
2003-07-24 01:05:02 +00:00
Kevin Ryde
c8ae173e8a
(scm_angle): Use scm_flo0 for non-negative inum, bignum and real.
2003-07-24 01:03:40 +00:00
Kevin Ryde
8a0c514f35
*** empty log message ***
2003-07-17 23:40:03 +00:00