summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-11-09(gh_uniform_vector_length): Properly use scm_c_uniform_vector_lengthMarius Vollmer1-1/+1
instead of scm_uniform_vector_length.
2004-11-09*** empty log message ***Marius Vollmer1-0/+60
2004-11-09(scm_bitvector_p, scm_bitvector,Marius Vollmer2-750/+747
scm_make_bitvector, scm_bitvector_length, scm_bitvector_ref, scm_bitvector_set_x, scm_list_to_bitvector, scm_bitvector_to_list, scm_bitvector_fill_x, scm_is_bitvector, scm_c_make_bitvector, scm_c_bitvector_length, scm_c_bitvector_ref, scm_c_bitvector_set_x, scm_bitvector_elements, scm_bitvector_release, scm_frame_bitvector_release, scm_tc16_bitvector, bitvector_free, bitvector_print, bitvector_equalp, count_ones, find_first_one): New. (scm_bit_count, scm_bit_position, scm_bit_set_star_x, scm_bit_count_star, scm_bit_invert_x, scm_istr2bve): Rewritten using the new C API for bitvectors and maybe count_ones or find_first_one, as appropriate. (SCM_I_MAX_LENGTH, SCM_BITVECTOR_P, SCM_BITVECTOR_BASE, SCM_SET_BITVECTOR_BASE, SCM_BITVECTOR_MAX_LENGTH, SCM_BITVECTOR_LENGTH, SCM_MAKE_BITVECTOR_TAG, SCM_SET_BITVECTOR_LENGTH): Removed. Replaced all uses with the new functions from above. (scm_i_proc_make_vector, scm_i_proc_make_string, scm_i_proc_make_bitvector): Made non-static for use in scm_i_generalized_vector_creator. (scm_make_u1vector): Removed, replaced by scm_make_bitvector. (scm_make_uve): Validate that the created object is a generalized vector. (scm_i_legacy_tag): Removed. (scm_i_print_array): Do it here. (scm_raprin1): Only print enclosed arrays.
2004-11-09(scm_is_vector, scm_c_vector_length, scm_c_vector_ref,Marius Vollmer2-3/+190
scm_c_vector_set_x, scm_generalized_vector_p, scm_generalized_vector_length, scm_generalized_vector_ref, scm_generalized_vector_set_x, scm_generalized_vector_to_list, scm_is_generalized_vector, scm_c_generalized_vector_length, scm_c_generalized_vector_ref, scm_c_generalized_vector_set_x): New.
2004-11-09Use the new generalized vector functions to handle allMarius Vollmer1-331/+133
vector like things.
2004-11-09Do no longer handle scm_tc7_bvect bitvectors.Marius Vollmer6-33/+0
2004-11-09(scm_tc7_bvect): Renamed to scm_tc7_unused7, renaming theMarius Vollmer1-3/+3
remaining scm_tc7_unused tags to get a neatly ordered list.
2004-11-09(scm_c_uniform_vector_ref, scm_c_uniform_vector_set_x): New.Marius Vollmer2-39/+58
(scm_i_uniform_vector_creator): Removed. (scm_i_generalized_vector_creator): New. (scm_uniform_vector_length, scm_uniform_element_size): Do not handle generalized vectors, only uniform numeric vectors. (alloc_uvec): Do length check here... (make_uvec): ...but not here. (coerce_to_uvec): Use new generalized vector functions to handle all kinds of vectors in one go.
2004-11-09(DOT_DOC_FILES): Added srfi-4.doc.Marius Vollmer1-1/+2
2004-11-09*** empty log message ***Marius Vollmer1-0/+7
2004-11-09(process-multiline-directive): Allow the fname attribute to a sequenceMarius Vollmer1-2/+2
of strings and append them all to form the fname. This is needed for string literals like "u8""vector?".
2004-11-09More stuff about arrays and vectors.Marius Vollmer1-2/+10
2004-11-09Synchronized from libguile/guile.texiMarius Vollmer1-151/+1186
2004-11-09*** empty log message ***Marius Vollmer1-0/+6
2004-11-09Minor updates.Marius Vollmer3-2/+47
2004-11-09(Generalized Vectors): New.Marius Vollmer1-31/+181
(Bit Vectors): More docs. (Uniform Vectors): Call them Uniform numeric vectors.
2004-11-05*** empty log message ***Marius Vollmer1-0/+7
2004-11-05Use @ifnottex instead of @ifinfo around the "Top" node declaration soMarius Vollmer1-9/+8
that html can be generated. Use only lower case inside @sc. Move editors outside of author table, which looks better in html.
2004-11-05*** empty log message ***Marius Vollmer2-1/+14
2004-11-05Do not add "." to %load-path. 'load' will still be able to load filesMarius Vollmer1-3/+0
in the current directory, but 'use-modules' etc will not.
2004-11-04*** empty log message ***Marius Vollmer1-0/+6
2004-11-04(scm_charnames, scm_charnums): Added "sp" as an alias for "space".Marius Vollmer1-2/+2
Thanks to Bruce Korb!
2004-11-04(make_uvec): Use SCM_I_SIZE_MAX instead of SIZE_MAX for addedMarius Vollmer1-1/+2
portability.
2004-11-04*** empty log message ***Marius Vollmer2-0/+9
2004-11-04(scm_read_string_x_partial): Bugfix, apply offset to destMarius Vollmer1-4/+3
only after dest has been set. Thanks to Hyper Division!
2004-11-04(gh_uniform_vector_length): Use scm_uniform_vector_length instead ofMarius Vollmer1-1/+1
SCM_UVECTOR_LENGTH.
2004-11-03*** empty log message ***Marius Vollmer2-1/+18
2004-11-03(SCM_UVECTOR_BASE, SCM_SET_UVECTOR_BASE,Marius Vollmer1-15/+12
SCM_UVECTOR_MAXLENGTH, SCM_UVECTOR_LENGTH, SCM_MAKE_UVECTOR_TAG, SCM_SET_UVECTOR_LENGTH): Removed.
2004-11-02*** empty log message ***Marius Vollmer1-0/+29
2004-11-02(scm_display_backtrace_with_highlights): Join theMarius Vollmer1-2/+1
first and the second line of the SCM_DEFINE macro call, since old preprocessors cannot handle definitions that are split into two lines.
2004-11-02(scm_cell, scm_double_cell): Don't use C99 variableMarius Vollmer1-8/+8
declarations.
2004-11-02(scm_i_chase_pairs): Replace scm_t_bits with scm_t_uint32 to fix theMarius Vollmer1-1/+1
mismatch between the function declaration and definition.
2004-11-02(quicksort): Don't use C99 variable declarations.Marius Vollmer1-5/+4
2004-11-02(uvec_fast_ref): Avoid a compiler warning by returningMarius Vollmer1-0/+2
SCM_BOOL_F if no type matches.
2004-11-02(thread_print): Cast a pointer to size_t when printingMarius Vollmer1-1/+1
with scm_uintprint.
2004-11-02(scm_i_tag_to_prototype): Make sure that "instead" gets defined.Marius Vollmer1-0/+6
(scm_array_prototype): Deprecated.
2004-11-02More docs.Marius Vollmer1-10/+49
2004-11-02*** empty log message ***Marius Vollmer1-0/+4
2004-11-02* srfi-4.h, srfi-4.c (scm_frame_uniform_vector_release): New.Marius Vollmer3-19/+35
* unif.c (scm_bit_set_star_x, scm_bit_count_star_x): Use it to get more efficient access to the u32vector.
2004-11-02*** empty log message ***Marius Vollmer1-0/+29
2004-11-02(scm_tc7_llvect, scm_tc7_uvect, scm_tc7_fvect, scm_tc7_dvect,Marius Vollmer1-10/+8
scm_tc7_cvect, scm_tc7_svect, scm_tc7_byvect, scm_tc7_ivect): Renamed to scm_tc7_unused_1 to scm_tc7_unused_8.
2004-11-02* eq.c, evalext.c, gc-card.c, gc-mark.c, objects.c, print.c,Marius Vollmer1-493/+98
ramap.c, unif.c: Do no longer handle old-style uniform vectors. * unif.c (scm_bit_set_star_x, scm_bit_count_star_x): Use u32vectors instead of old-sytle uvectors.
2004-11-02Do no longer handle old-style uniform vectors.Marius Vollmer7-595/+3
2004-11-02(SCM_VALIDATE_VECTOR_OR_DVECTOR): Accept f64vectors instead of theMarius Vollmer1-1/+1
old-style dvectors.
2004-11-02Use new-style uniform arrays in place of old-style ones.Marius Vollmer1-83/+53
2004-11-02Rewritten completely, using scm_any_to_u8vector, etc and otherMarius Vollmer2-400/+214
new-style uniform vector functions.
2004-11-02(scm_random_solid_sphere_x, scm_random_hollow_sphere_x): Do notMarius Vollmer1-2/+0
validate vector argument, this is already done elsewhere.
2004-11-02(coerce_to_uvec, scm_any_to_u8vector, etc): New.Marius Vollmer3-61/+67
(scm_uniform_element_size, scm_uniform_vector_length): Do no longer handle old-style uniform vectors.
2004-11-02*** empty log message ***Marius Vollmer1-0/+5
2004-11-02(scm_lreadr): Bugfix: include the last bit in the bit vector.Marius Vollmer1-1/+1