1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 22:40:25 +02:00
Commit graph

9759 commits

Author SHA1 Message Date
Kevin Ryde
42ad91f742 (Loading): In %load-hook, need to use set!, and describe #f. 2005-01-14 23:55:07 +00:00
Kevin Ryde
4497bd2f81 (Random): In random:solid-sphere!, there is no return value. 2005-01-14 23:52:02 +00:00
Kevin Ryde
5c132e68d0 @code for %load-path 2005-01-14 23:23:08 +00:00
Kevin Ryde
a46648acb3 (Bitwise Operations): In logtest and logbit?, describe
operations in words, not just equivalent expressions.  In
integer-expt, clarify a bit and note negative k allowed and 0^0==1.
2005-01-14 23:20:25 +00:00
Marius Vollmer
0b5a0521d1 *** empty log message *** 2005-01-14 18:27:12 +00:00
Marius Vollmer
00c17d4526 (scm_take_u64vector,
scm_array_handle_u64_elements,
scm_array_handle_u64_writable_elements, scm_u64vector_elements,
scm_u64vector_writable_elements): Do not define when scm_t_uint64
is not available.
(scm_take_s64vector, scm_array_handle_s64_elements,
scm_array_handle_s64_writable_elements, scm_s64vector_elements,
scm_s64vector_writable_elements): Likewise for scm_t_int64.
(uvec_sizes, uvec_print, uvec_equalp): Use SCM bignums when
scm_t_int64/scm_t_uint64 are not available.
(uvec_mark): New, to mark the bignums.
(alloc_uvec): Initialize bignums.
(uvec_fast_ref): Return bignums directly.
(scm_uint64_min, scm_uint64_max, scm_int64_min, scm_int64_max,
assert_exact_integer): New.
(uvec_fast_set): Use them to validate the bignums.
(scm_init_srfi_4): Set mark function of smob when needed.
Initialize scm_uint64_min, scm_uint64_max, scm_int64_min,
scm_int64_max.
2005-01-14 18:19:13 +00:00
Marius Vollmer
55fcbb966b Don't check for definedness of SCM_HAVE_T_INT64, check
its value.
2005-01-14 18:01:31 +00:00
Marius Vollmer
6e4cd850f6 *** empty log message *** 2005-01-14 16:24:17 +00:00
Marius Vollmer
e70c841fe6 Describe new 1.4 compatability behavior of
-e option.
2005-01-14 16:24:09 +00:00
Marius Vollmer
39e707a130 (sym_at, sym_atat, sym_main, all_symbols): New.
(scm_compile_shell_switches): Use them to recognize and convert
1.4 "-e" syntax.
2005-01-14 16:20:36 +00:00
Kevin Ryde
488afc5219 *** empty log message *** 2005-01-13 23:49:34 +00:00
Kevin Ryde
2a7820f22c (Mapping Folding and Unfolding): In
string-for-each-index, make it clear iteration is over indices.
2005-01-13 23:49:10 +00:00
Kevin Ryde
d78cb2e24b *** empty log message *** 2005-01-13 23:45:21 +00:00
Kevin Ryde
eeadfda188 (SRFI-39): New section. 2005-01-13 23:42:43 +00:00
Kevin Ryde
73222e9fa3 *** empty log message *** 2005-01-13 23:22:15 +00:00
Kevin Ryde
2afd305b11 (User Information): Note cuserid gone from POSIX.
Prompted by Roland Besserer.
2005-01-13 23:18:09 +00:00
Marius Vollmer
3b698afe02 *** empty log message *** 2005-01-12 11:11:45 +00:00
Marius Vollmer
fe78c51aa2 Turn all deprecated features that once were macros but are now
functions back into macros.
2005-01-12 11:10:02 +00:00
Marius Vollmer
8f3054016a Talk about (debug-enable 'warn-deprecated) etc. 2005-01-12 11:08:58 +00:00
Marius Vollmer
f74bdbd3e5 Moved info about deprecation to "Changes to distribution" section.
Talk about (debug-enable 'warn-deprecated).
2005-01-12 11:08:51 +00:00
Kevin Ryde
89efd60ca1 *** empty log message *** 2005-01-11 23:55:37 +00:00
Kevin Ryde
2a1ee5cd05 *** empty log message *** 2005-01-11 23:49:04 +00:00
Kevin Ryde
b85bb56c1c (current-input-port, current-output-port, current-error-port): New tests. 2005-01-11 23:48:42 +00:00
Kevin Ryde
b9f69396c7 (current-input-port, current-output-port): Parameter
replacements for core functions, per SRFI spec.
(current-error-port): The same, for consistency.
2005-01-11 23:47:44 +00:00
Kevin Ryde
2c1c0b1ffe Some index entry capitalization. 2005-01-11 21:54:41 +00:00
Kevin Ryde
d1f9e10734 Lots of @deftypefn return type {} grouping for correct name in func index. 2005-01-11 21:53:48 +00:00
Kevin Ryde
1176df85f8 *** empty log message *** 2005-01-11 21:46:23 +00:00
Kevin Ryde
d10196fc42 Some index entry capitalization. 2005-01-11 21:46:01 +00:00
Marius Vollmer
49086691f6 *** empty log message *** 2005-01-11 17:45:14 +00:00
Marius Vollmer
65bc1f7a0b * eval.c, debug.h (SCM_WARN_DEPRECATED): New debug option.
* deprecation.c (scm_issue_deprecation_warning,
scm_c_issue_deprecation_warning_fmt): Use it.
(mode): Removed.
(print_summary): New.
(scm_init_deprecation): Initialize SCM_WARN_DEPRECATED instead of
mode.
2005-01-11 17:43:37 +00:00
Marius Vollmer
d6dc83a9bc *** empty log message *** 2005-01-11 16:59:08 +00:00
Marius Vollmer
0c7a5cab17 More deprecated array stuff. 2005-01-11 16:56:54 +00:00
Marius Vollmer
04b87de561 (SCM_ARRAYP, SCM_I_ARRAYP): Renamed former to latter internal
version.  Changed all uses.
(scm_tc16_array, scm_i_tc16_array,
scm_tc16_enclosed_array, scm_i_tc16_enclosed_array,
SCM_ARRAY_FLAG_CONTIGUOUS, SCM_I_ARRAY_FLAG_CONTIGUOUS,
SCM_ENCLOSE_ARRAYP, SCM_I_ENCLOSE_ARRAYP,
SCM_ARRAY_NDIM, SCM_I_ARRAY_NDIM,
SCM_ARRAY_CONTP, SCM_I_ARRAY_CONTP,
SCM_ARRAY_MEM, SCM_I_ARRAY_MEM,
SCM_ARRAY_V, SCM_I_ARRAY_V,
SCM_ARRAY_BASE, SCM_I_ARRAY_BASE,
SCM_ARRAY_DIMS, SCM_I_ARRAY_DIMS,
scm_t_array, scm_i_t_array): Likewise.
(SCM_SET_ARRAY_CONTIGUOUS_FLAG, SCM_CLR_ARRAY_CONTIGUOUS_FLAG):
Moved from unif.h to unif.c.
(scm_c_array_rank): New.
(scm_array_rank): Reimplement using it.
2005-01-11 16:55:38 +00:00
Marius Vollmer
1f366ef7f0 (SCM_ARRAYP, SCM_ARRAY_NDIM, SCM_ARRAY_CONTP, SCM_ARRAY_MEM,
SCM_ARRAY_V, SCM_ARRAY_BASE, SCM_ARRAY_DIMS, scm_t_array): New
deprecated versions.
2005-01-11 16:55:29 +00:00
Marius Vollmer
8789459042 Docs for scm_array_handle_pos. 2005-01-11 00:35:20 +00:00
Marius Vollmer
dc91d8de1a *** empty log message *** 2005-01-11 00:32:18 +00:00
Marius Vollmer
8551601218 Replace uses of scm_make_ra with scm_i_make_ra.
(GVREF, GVSET): New abbreviations.  Use them everywhere instead of
scm_c_generalized_vector_ref and scm_cvref, and
scm_c_generalized_vector_set_x, respectively.
(RVREF, IVDEP, BINARY_ELTS_CODE, BINARY_PAIR_ELTS_CODE,
UNARY_ELTS_CODE, UNARY_PAIR_ELTS_CODE): Removed since unused.
2005-01-11 00:31:06 +00:00
Marius Vollmer
0cd6cb2fb2 (indices_to_pos, scm_array_handle_pos): Renamed
former to latter and made public.  Changed all uses.
(scm_i_make_ra): Made public, changed tag param to enclosed flag.
(scm_make_ra): Deprecated, changed all uses to scm_i_make_ra.
(scm_i_shap2ra): New internal version of scm_shap2ra.
(scm_shap2ra): Deprecated, changed all uses to scm_i_shap2ra.
(scm_i_ra_set_contp): New internal version of scm_ra_set_contp.
(scm_ra_set_contp): Deprecated, changed all uses to
scm_i_ra_set_contp.
(scm_cvref, scm_aind, scm_raprin1): Deprecated.
2005-01-11 00:26:23 +00:00
Marius Vollmer
32ef775128 Added Issac Trotts. 2005-01-10 20:21:28 +00:00
Marius Vollmer
b06f099d1d *** empty log message *** 2005-01-10 20:21:19 +00:00
Marius Vollmer
1f69b36405 Fixed a typo... 2005-01-10 20:21:08 +00:00
Marius Vollmer
6be1fab900 (scm_eval): Added example to docstring. Thanks to Issac Trotts! 2005-01-10 20:20:58 +00:00
Marius Vollmer
e581845ab1 Fixed typo. 2005-01-10 20:06:35 +00:00
Marius Vollmer
1a523873c7 *** empty log message *** 2005-01-10 20:06:25 +00:00
Marius Vollmer
2042e178fc * arrays.scm, deprecated.scm (uniform-vector-fill!,
make-uniform-vector, make-uniform-array, list->uniform-vector):
Moved from arrays.scm to deprecated.scm.
* arrays.scm, boot-9.scm (array-dimensions): Moved from arrays.scm
to boo-9.scm.
* Makefile.am (ice9_sources): Removed arrays.scm.
2005-01-10 20:06:03 +00:00
Marius Vollmer
1d20a49534 Document new read/print syntax for empty arrays. 2005-01-10 19:07:24 +00:00
Marius Vollmer
5d35ad8187 *** empty log message *** 2005-01-10 19:07:02 +00:00
Marius Vollmer
2caaadd1c2 (scm_list_to_typed_array): Allow the specification of the
upper bound as well.  This is needed for empty arrays.
(l2ra): Give needed number of elements in error message.
(scm_i_print_array): Print length information for arrays that need
it.
(scm_i_read_array): Parse it.
2005-01-10 19:06:48 +00:00
Marius Vollmer
66d3378432 *** empty log message *** 2005-01-10 17:42:33 +00:00
Marius Vollmer
a725fa951c (SCM_CHARS, SCM_UCHARS, SCM_LENGTH, scm_i_object_chars,
scm_i_object_length): Brought back from the dead.
2005-01-10 17:42:23 +00:00