Kevin Ryde
807f353fed
(scm_execl, scm_execlp, scm_execle): Avoid memory leak under error throw.
2004-02-28 19:16:26 +00:00
Kevin Ryde
72ea45ac4c
*** empty log message ***
2004-02-23 22:59:20 +00:00
Kevin Ryde
1b317eb196
(scm_cuserid): Use a private result buffer, for thread safe.
2004-02-23 22:05:37 +00:00
Kevin Ryde
2af0602e45
*** empty log message ***
2004-02-21 21:59:34 +00:00
Kevin Ryde
dab4e67a0a
(scm_max, scm_min): For one arg, dispatch to generic for
...
complex, same as for two args. (Handle only inum, big, real, frac).
2004-02-21 21:58:30 +00:00
Kevin Ryde
db752bb5cf
*** empty log message ***
2004-02-21 21:21:29 +00:00
Kevin Ryde
2c0334eccd
(NUM2FLOAT): Expand isfinite to !xisinf, as per previous change to numbers.c.
2004-02-21 00:10:47 +00:00
Kevin Ryde
b114eafe80
*** empty log message ***
2004-02-20 23:24:27 +00:00
Kevin Ryde
d675a50f53
Add copyright year 2002, which appears in the ChangeLog.
2004-02-20 23:20:15 +00:00
Kevin Ryde
e60923476f
Add a copyright year.
2004-02-20 23:19:03 +00:00
Kevin Ryde
b9a7b725a8
(scm_crypt): Use new HAVE_CRYPT.
...
(<crypt.h>): Remove HAVE_LIBCRYPT condition.
2004-02-20 23:18:10 +00:00
Neil Jerram
1e55d28813
* list.c (scm_list_n): Add #if SCM_DEBUG_CELL_ACCESSES_P around
...
validation.
* read.c (scm_lreadparen): Removed.
(scm_lreadparen1): Renamed scm_i_lreadparen.
2004-02-20 22:04:24 +00:00
Han-Wen Nienhuys
eb741d98e2
(scm_list_n): check validate non-immediate arguments;
...
this will catch forgotten a SCM_UNDEFINED.
2004-02-20 21:15:56 +00:00
Marius Vollmer
4e28ba5efd
*** empty log message ***
2004-02-18 21:16:01 +00:00
Marius Vollmer
0d558fbb95
* gc.h (scm_gc_cells_collected): Removed duplicated declaration.
...
Thanks to Bill Schottstaedt!
* socket.h (scm_gethost): Removed prototype it is already in
"net_db.h". Thanks to Bill Schottstaedt!
2004-02-18 21:14:35 +00:00
Kevin Ryde
ef861eadba
*** empty log message ***
2004-02-18 00:30:37 +00:00
Kevin Ryde
29c560674b
(INTEGRAL2BIG): WORDS_BIGENDIAN not right for word
...
order parameter to mpz_import, in fact with just one word there's no
order to worry about at all.
2004-02-18 00:25:39 +00:00
Kevin Ryde
48dc9f349d
(scm_shell_usage): Print to stdout for --help, per GNU standard.
2004-02-18 00:22:28 +00:00
Kevin Ryde
d8b95e27ab
(scm_num_eq_p): For real==frac, complex==frac, frac==real
...
and frac==complex, make an exact comparison rather than converting
with fraction2double.
2004-02-18 00:21:11 +00:00
Kevin Ryde
eb7e1603ad
(environ): Use _NSGetEnviron in Darwin
...
shared library, since environ is not directly available there.
2004-02-18 00:20:08 +00:00
Kevin Ryde
73ae3b4cb5
(scm_localtime, scm_gmtime, scm_mktime): Provide a default
...
errno EINVAL in case localtime and gmtime don't set it.
(scm_mktime, scm_strptime): Forcibly use errno EINVAL for our
SCM_SYSERROR, since mktime and strptime generally don't set errno.
2004-02-17 23:37:06 +00:00
Kevin Ryde
c9ea646268
*** empty log message ***
2004-02-16 00:51:17 +00:00
Kevin Ryde
290e9e11e4
Add a copyright year.
2004-02-16 00:50:23 +00:00
Kevin Ryde
4cd3853f37
(scm_done_malloc, scm_done_free): Allow negative sizes,
...
which were permitted in the past for these.
2004-02-16 00:45:55 +00:00
Kevin Ryde
ae43d08ea0
*** empty log message ***
2004-02-16 00:03:44 +00:00
Kevin Ryde
e69681aef4
(scm_shell_usage): Print bug-guile email address, as per
...
GNU standard. Reported by Han-Wen Nienhuys.
2004-02-15 23:49:20 +00:00
Kevin Ryde
292dfa7fbc
*** empty log message ***
2004-02-15 23:44:15 +00:00
Kevin Ryde
344a212fd1
*** empty log message ***
2004-02-15 00:37:52 +00:00
Mikael Djurfeldt
711a9fd7ee
* unif.c (scm_make_uve): Removed local variable and simplified
...
code in order to avoid compiler used uninitialized warnings.
* hashtab.c, hashtab.h (scm_hash_map_to_list): Renamed from
scm_hash_map.
(scm_hash_fold): Use scm_call_3 directly in the call to
scm_internal_hash_fold instead of going via fold_proc (which is
now removed).
(scm_hash_for_each): Use a trampoline +
scm_internal_hash_for_each_handle.
(scm_internal_hash_for_each_handle, scm_hash_for_each_handle): New
functions.
2004-02-13 23:15:37 +00:00
Kevin Ryde
a150979dab
(scm_port_line): In docstring, note first line is 0.
...
(scm_set_port_line_x): In docstring, note first line is 0.
(scm_port_column): In docstring, there's no default to current input
port, and remove shared port-line @defun.
(scm_set_port_column_x): In docstring, there's no default to current
input port, note first column is 0, remove shared set-port-line!
@defun.
2004-02-12 00:45:36 +00:00
Kevin Ryde
88531a74f3
*** empty log message ***
2004-02-11 23:46:30 +00:00
Kevin Ryde
3da7f6b233
*** empty log message ***
2004-02-11 23:33:46 +00:00
Kevin Ryde
7c183c95a4
(scm_make_uve, scm_array_p): Allow fraction 1/3 as prototype
...
for dvect.
(scm_array_p): Add missing "break"s in switch, fix llvect test look
for "l" not "s", fix dvect to be false for singp(prot) since such a
value is for fvect.
(scm_array_prototype): Return 1/3 for dvect, rather than 0.33..33.
2004-02-11 23:20:26 +00:00
Kevin Ryde
ac3c6ad6cf
(scm_array_fill_x): For fvect and dvect, use scm_num2dbl to
...
convert args the same way that array-set! does.
2004-02-11 23:16:53 +00:00
Neil Jerram
cd21f5eb17
* read.c (scm_read_opts): Change `escaped-parens' to
...
`elisp-strings'.
2004-02-10 19:44:10 +00:00
Neil Jerram
16353acc6f
* read.c (scm_read_opts): New opts `elisp-vectors' and
...
`escaped-parens'.
(s_vector): New.
(scm_lreadr): Use scm_lreadparen1 instead of scm_lreadparen. Make
handling of elisp vector syntax dependent on SCM_ENABLE_ELISP and
`elisp-vectors' option instead of SCM_ELISP_READ_EXTENSIONS.
Allow "\(" and "\)" in strings when SCM_ENABLE_ELISP defined and
`escaped-parens' option set.
(scm_read_token): If elisp vector syntax active, disallow [ and ]
in tokens.
(scm_lreadparen): Rewrite as interface to scm_lreadparen1.
(scm_lreadparen1): New.
* read.h: Remove conditionally compiled last arg to
scm_lreadparen.
(SCM_ELISP_VECTORS_P, SCM_ESCAPED_PARENS_P): New.
2004-02-08 19:14:18 +00:00
Han-Wen Nienhuys
f62b9dff21
(m_expand_body): remove stray variable new_body.
2004-01-22 23:14:09 +00:00
Marius Vollmer
ef5b6b61d0
*** empty log message ***
2004-01-22 22:43:01 +00:00
Marius Vollmer
9d4bf6d39a
(m_expand_body): Rewrite the expression in place (by overwriting
...
FORMS) also when a letrec is constructed, not only when no definitions
are found. Do not return rewritten expression to emphasize the
in-place rewriting. Changed all users.
2004-01-22 22:42:29 +00:00
Han-Wen Nienhuys
7eec4c37c7
* gc.c: add protected_object_count, a number that is dumped from
...
gc_stats()
2004-01-21 00:06:11 +00:00
Marius Vollmer
25ffbdacbd
*** empty log message ***
2004-01-11 00:59:04 +00:00
Marius Vollmer
16c5cac25a
(scm_frame_unwind, scm_frame_unwind_handler): Renamed and changed all
...
uses. (scm_frame_rewind, scm_frame_rewind_handler): Likewise.
2004-01-11 00:51:19 +00:00
Marius Vollmer
327967ef26
(scm_print_symbol_name): Handle #{`foo}#, #{,foo}#, #{.}#, and all
...
numeric strings specially. Thanks to Paul Jarc!
2004-01-11 00:40:54 +00:00
Marius Vollmer
d9623da1f2
Instead of the non-portable mktemp, use mkdir to create a unique
...
temporary directory that we can safely use. Thanks to Stefan
Nordhausen!
2004-01-10 23:30:23 +00:00
Kevin Ryde
08568c953b
*** empty log message ***
2004-01-10 23:20:10 +00:00
Kevin Ryde
88ecf5cbd4
(scm_bit_count, scm_bit_position, s_scm_bit_set_star_x,
...
s_scm_bit_count_star, s_scm_bit_invert_x): Clarify docstrings, as per
changes made to scheme-compound.texi.
2004-01-10 23:18:48 +00:00
Marius Vollmer
5565749c2e
*** empty log message ***
2004-01-10 21:22:28 +00:00
Marius Vollmer
27fca65629
Use mktemp to create a truely unique temporary file name. Thanks to
...
Stefan Nordhausen!
2004-01-10 21:20:55 +00:00
Marius Vollmer
7ebccde82e
*** empty log message ***
2004-01-07 20:21:38 +00:00
Marius Vollmer
14578fa4ea
* dynwind.h, dynwind.c (scm_i_dowinds): Removed 'explicit'
...
argument since it is always zero now. Changed all callers.
Removed code for handling fluids.
2004-01-07 20:21:30 +00:00