Marius Vollmer
409eb4e54f
*** empty log message ***
2004-08-09 23:33:27 +00:00
Marius Vollmer
3101f40f76
(scm_round, scm_truncate): Renamed to scm_c_round and scm_c_truncate;
...
deprecated versions installed in deprecated.h and deprecated.c.
Changed all uses.
2004-08-09 23:32:14 +00:00
Marius Vollmer
565b4a6f31
Removed caveat that pretty-print uses its own 'write' implementation.
2004-08-09 21:58:14 +00:00
Marius Vollmer
d2afa1fc9f
*** empty log message ***
2004-08-09 21:56:19 +00:00
Marius Vollmer
2d51a8a165
(generic-write): In the local procedure `wr', use object->string to
...
print all data (except for the reader macros), rather than
implementing an own printer. The user-visible difference is that
procedures and control characters like #\tab are now printed in the
same way as by `write'.
2004-08-09 21:56:00 +00:00
Kevin Ryde
636d4be535
*** empty log message ***
2004-08-09 01:33:36 +00:00
Kevin Ryde
092bdcc46b
In open-file, split a paragraph for clarity.
2004-08-09 01:33:03 +00:00
Kevin Ryde
c755b8615e
(File Ports): In open-file, describe the "b" binary flag.
2004-08-09 01:32:22 +00:00
Kevin Ryde
abc358f9c5
(SLIB): Add notes on delete-file, provided? and open-file
...
overridden by ice-9 slib module.
2004-08-09 01:29:52 +00:00
Kevin Ryde
a015df9b8d
* tests/slib.test: New file.
...
* Makefile.am (SCM_TESTS): Add it.
2004-08-09 01:28:23 +00:00
Kevin Ryde
d6f7a8edfc
New file.
2004-08-09 01:23:03 +00:00
Kevin Ryde
2975040bec
*** empty log message ***
2004-08-09 01:21:32 +00:00
Kevin Ryde
e35275e2c0
(*features*): Remove array and array-for-each, core
...
definitions are insufficient for latest slib.
(t, nil): New constants slib says are supposed to exist.
(call-with-open-ports, browse-url): New functions for latest slib.
Implementations taken from Template.scm (public domain).
(open-file): Extend core definition to accept symbols for the mode,
required by latest slib.
(delete-file): Replace core definition with version returning #t/#f as
per slib spec.
(system): Mark as #:replace to suppress override warning, use new
style "(@ (guile) system)" to call core function.
2004-08-09 01:20:47 +00:00
Rob Browning
63ce14e776
(scm_resolv_error): don't cause an exception while
...
trying to throw an exception -- call scm_misc_error with correct
arguments. The previous arguments needed a format escape that
wasn't in any of the format strings.
2004-08-07 03:48:17 +00:00
Rob Browning
a00eaf19f8
*** empty log message ***
2004-08-07 03:48:03 +00:00
Kevin Ryde
f8a8200bc0
Amend #if and comments for cmp_d and get_d about unreleased gmp, don't
...
know when or as what version number it will come out.
2004-08-06 01:26:26 +00:00
Kevin Ryde
8f094b9720
*** empty log message ***
2004-08-06 01:08:37 +00:00
Kevin Ryde
2291a3a7e9
(array-fill!): Exercise byte range and type checks.
2004-08-06 01:08:12 +00:00
Kevin Ryde
4d6ed8fe44
(scm_array_fill_x): For byvect char fill, force signed char
...
so as not to depend on signedness of plain char. For byvect range
check, throw out-of-range rather than wrong-type-arg.
2004-08-06 01:04:05 +00:00
Kevin Ryde
bcb88c93fa
*** empty log message ***
2004-08-06 00:29:13 +00:00
Kevin Ryde
3fdb855887
(uniform-vector-ref): Exercise byte returns.
2004-08-06 00:27:31 +00:00
Kevin Ryde
bebf6a08af
(scm_uniform_vector_ref, scm_array_set_x): For byvect, force
...
signed byte range checks by using scm_to_schar and scm_from_schar,
don't want to depend on signedness of C char.
2004-08-06 00:21:13 +00:00
Kevin Ryde
7f9ca7c3d7
(array-set!): Exercise byte array range checks.
2004-08-06 00:17:12 +00:00
Kevin Ryde
6002ebaf0e
*** empty log message ***
2004-08-06 00:04:14 +00:00
Kevin Ryde
6c60ac51ed
(parse-message): Correction to header
...
continuation, loop with read-line not cdr lines.
2004-08-06 00:03:11 +00:00
Kevin Ryde
99de794f0d
*** empty log message ***
2004-08-05 01:19:35 +00:00
Kevin Ryde
37eb673bc6
(scm_copy_file): Use fstat on the input fd rather than
...
stat on the filename, to be certain a file rename can't mean we get
info on one filesystem object but open another. This fstat usage is
similar to Emacs copy-file.
2004-08-05 01:02:58 +00:00
Kevin Ryde
29e6112441
*** empty log message ***
2004-08-05 00:46:34 +00:00
Kevin Ryde
7305dd202d
Update docstrings per doc/ref/api-scheduling.texi.
2004-08-05 00:40:26 +00:00
Kevin Ryde
e136aab0cc
(Arbiters): Tweak wording for clarity, note any
...
thread can unlock not just the one which locked.
2004-08-05 00:38:13 +00:00
Kevin Ryde
f070ba1332
(scm_system_star): Use scm_from_int on SIGINT and SIGQUIT,
...
since that's what those values are.
2004-08-05 00:33:58 +00:00
Kevin Ryde
9bebea882a
(scm_try_arbiter): Use scm_i_misc_mutex instead of
...
SCM_DEFER_INTS.
(scm_release_arbiter): Use scm_i_misc_mutex so return value can be
guaranteed if multiple threads compete to unlock.
2004-08-05 00:20:13 +00:00
Kevin Ryde
fcc3adc2f9
(scm_setgroups): Enhance docstring, per doc/ref/posix.texi.
2004-08-05 00:19:14 +00:00
Kevin Ryde
ef04832454
(Processes): Add setgroups.
2004-08-05 00:17:39 +00:00
Kevin Ryde
03034594e0
*** empty log message ***
2004-08-05 00:13:24 +00:00
Kevin Ryde
46c4d06529
(scm_string_any, scm_string_every): Enhance docstrings as
...
per doc/ref/srfi-modules.texi.
2004-08-05 00:12:59 +00:00
Kevin Ryde
c1ab739754
(SRFI-13 Predicates): Tweak wording for clarity.
...
For string-every, note return is #t when no characters. For
string-any and string-every, note last pred call is not currently a
tail call, contrary to SRFI-13 spec.
2004-08-05 00:10:22 +00:00
Kevin Ryde
5982a8e012
(Conventions): Describe system-error args, use @defun for
...
system-error-errno instead of just words.
2004-08-05 00:02:23 +00:00
Kevin Ryde
c5e45cba93
*** empty log message ***
2004-08-04 23:49:30 +00:00
Marius Vollmer
7241f21353
*** empty log message ***
2004-08-03 17:24:44 +00:00
Marius Vollmer
5ad8c0c95b
* num2integral.i.c, num2float.i.c: Removed.
...
* Makefile.am (noinst_HEADERS): Updated.
2004-08-03 17:24:28 +00:00
Marius Vollmer
96d8c21757
*** empty log message ***
2004-08-03 17:16:29 +00:00
Marius Vollmer
5615f696b6
Added scm_is_complex, scm_is_number, scm_c_make_rectangular,
...
scm_c_make_polar, scm_c_rela_part, scm_c_imag_part, scm_c_magnitude,
and scm_c_angle.
2004-08-03 17:15:51 +00:00
Marius Vollmer
7a72bb4181
(scm_make_complex): Discouraged by moving to discouraged.h and
...
discouraged.c. Replaced all uses with scm_c_make_rectangular.
2004-08-03 17:13:16 +00:00
Marius Vollmer
8507ec804f
(scm_complex_p): New, export as "complex?" to Scheme.
...
(scm_number_p): Export as "number?" to Scheme.
(scm_is_complex, scm_is_number): New.
(scm_c_make_rectangular, scm_c_make_polar): New.
(scm_make_rectangular, scm_make_polar): Use above.
(scm_c_real_part, scm_c_imag_part, scm_c_magnitude, scm_c_angle):
New.
(scm_make_complex): Discouraged by moving to discouraged.h and
discouraged.c. Replaced all uses with scm_c_make_rectangular.
2004-08-03 17:12:14 +00:00
Marius Vollmer
f9656a9f82
*** empty log message ***
2004-08-03 15:56:49 +00:00
Marius Vollmer
cba42c9344
* numbers.h. numbers.c (scm_make_ratio): Renamed to
...
scm_i_make_ratio and made static, replaced uses with scm_divide.
2004-08-03 15:55:42 +00:00
Marius Vollmer
759aa8f9e0
*** empty log message ***
2004-08-03 15:07:37 +00:00
Marius Vollmer
b8f63daff4
Only perform the tests when the disabled features are enabled.
2004-08-03 15:07:23 +00:00
Marius Vollmer
eae5018eff
(test_to_double, test_from_double): New tests.
2004-08-03 15:06:51 +00:00