1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-16 18:50:23 +02:00
Commit graph

10141 commits

Author SHA1 Message Date
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
Marius Vollmer
3d8bccbd81 *** empty log message *** 2005-01-10 01:50:49 +00:00
Marius Vollmer
3a0cf65611 (check_args): Bugfix to change from 2005-01-02: ARGV is the vector to
check, not ARGS.
2005-01-10 01:50:29 +00:00
Marius Vollmer
74c58fce0f *** empty log message *** 2005-01-10 01:45:07 +00:00
Marius Vollmer
34ea161776 (exception:wrong-num-indices): New, use it for array-set! tests with
wrong number of indices.
2005-01-10 01:44:34 +00:00
Marius Vollmer
afaf9d0b01 Replaced single-index uses of scm_array_set_x with
scm_c_generalized_vector_set_x.
2005-01-10 01:42:29 +00:00
Marius Vollmer
112ba0ac28 (scm_make_shared_array): Use it instead of scm_aind; use handle
for oldra.
2005-01-10 01:41:35 +00:00
Kevin Ryde
d3ddc95ef1 *** empty log message *** 2005-01-10 00:32:48 +00:00
Marius Vollmer
d7d7d40166 *** empty log message *** 2005-01-10 00:20:56 +00:00
Marius Vollmer
523727193a (scm_array_rank, scm_array_dimensions,
scm_shared_array_offset, scm_shared_array_increments,
scm_array_ref, scm_array_set_x): Use scm_t_array_handle operations
to simplify code and make it more general.
(scm_shared_array_root): Work with all kinds of arrays, including
naked vectors.
(indices_to_pos): New.
2005-01-10 00:15:48 +00:00
Kevin Ryde
fa0198bfad (scm_mktime): Missing default errno=EINVAL from prev change. 2005-01-10 00:11:25 +00:00
Kevin Ryde
a236df75ae Grammatical typo. 2005-01-09 23:15:04 +00:00
Marius Vollmer
8cb01d9fbf *** empty log message *** 2005-01-09 22:38:39 +00:00
Marius Vollmer
4e8ad32394 (coerce_to_uvec, scm_c_uniform_vector_ref,
scm_c_uniform_vector_set_x): Use generic scm_array_handle_ref/set
instead of uvec_fast_ref/set since scm_array_handle_ref should be
faster now.
2005-01-09 22:37:50 +00:00
Kevin Ryde
4475d3febd *** empty log message *** 2005-01-09 22:31:53 +00:00
Kevin Ryde
2c4cdcb06c (scm_mkstemp): Update docstring from manual. 2005-01-09 22:23:14 +00:00
Kevin Ryde
7e24129104 *** empty log message *** 2005-01-09 22:21:08 +00:00
Kevin Ryde
7c2e18cd7a Various index entries.
(SRFI-19 Introduction): Note MJD basis is 2400000.5.
(SRFI-19 Date): In date-second, clarify leap second usage.  In
date-year, note negatives for B.C. and no zero.  In current-date,
don't let it read like it's just UTC which is returned.
2005-01-09 22:14:39 +00:00
Marius Vollmer
b89ecc6fb3 *** empty log message *** 2005-01-09 22:12:26 +00:00