(scm_array_index_map_x): First test for real arrays,
[bpt/guile.git] / libguile / ChangeLog
CommitLineData
fc4abd0e
MV
12005-06-12 Marius Vollmer <mvo@zagadka.de>
2
e3da8a30
MV
3 * ramap.c (scm_array_index_map_x): First test for real arrays,
4 then check for generalized vectors. This ensures that the
5 generalized vector case need only work with zero-origin ranges.
6
fc4abd0e
MV
7 * gh.h, gh_data.c, gh_eval.c, gh_funcs.c, gh_init.c, gh_io.c,
8 gh_list.c, gh_predicates.c: Deprecated everything.
9
10 * environments.c (environment_default_folder,
11 environment_default_observer): Do not use gh_call3, gh_call1.
12
e4da0740
HWN
132005-06-10 Han-Wen Nienhuys <hanwen@xs4all.nl>
14
15 * modules.c (s_scm_eval_closure_module): new function. Return the
16 module inside an eval-closure.
17
18 * gc.c (scm_init_storage): make scm_stand_in_procs a weak_key hash
19 table. This means that procedure properties are GC'd if the
20 procedure dies.
21
27667158
KR
222005-06-11 Kevin Ryde <user42@zip.com.au>
23
24 * srfi-13.c (scm_string_filter, scm_string_delete): For char and
25 charset cases, count chars kept and build a string in a second pass,
26 rather than using a cons cell for every char kept. Use a shared
27 substring when nothing removed (such sharing is allowed by the srfi).
28
8a00ba71
HWN
292005-06-09 Han-Wen Nienhuys <hanwen@xs4all.nl>
30
31 * gc.c (tag_table_to_type_alist): convert tag number to "tag %d"
32 string, so live object stats can be sorted with string<?.
33
a677679f
MV
342005-06-06 Marius Vollmer <mvo@zagadka.de>
35
2ff668b0
MV
36 * print.c (iprin1): When writing a string, collect all characters
37 that can be printed directly into one call to scm_lfwrite.
38 Previously, every character was output with its own call to
39 write(2) on unbuffered ports.
40
589f22f6
MV
41 * eval.c (scm_eval_options_interface): Use
42 scm_frame_critical_section instead of SCM_CRITICAL_SECTION_START
43 and SCM_CRITICAL_SECTION_END.
44
a677679f
MV
45 * unif.c (scm_array_in_bounds_p): First test for real arrays, then
46 check for generalized vectors. This ensures that the generalized
47 vector case need only work with zero-origin ranges.
48
f8cda9ee
KR
492005-06-06 Kevin Ryde <user42@zip.com.au>
50
51 * srfi-13.c (scm_string_split): Compare char/char in scan. Mixing an
52 unsigned int SCM_CHAR and a char string meant an 8-bit char was never
53 matched.
54
cdac1be4
MV
552005-06-05 Marius Vollmer <mvo@zagadka.de>
56
6642f7ac
MV
57 * eval.c: Added comment on how to make case 1.1 of
58 r5rs_pitfall.test succeed.
59
cdac1be4
MV
60 From Jan Nieuwenhuizen <janneke@gnu.org>. Thanks!
61
62 * hashtab.h: Bugfix: use SCM_API (WAS: extern).
63
64 * socket.c: Remove obsolete comment about socklen_t.
65 (s_scm_setsockopt)[!HAVE_IP_MREQ]: Do not use ip_mreq code.
66
67 * numbers.h (isnan)[__MINGW32__]: Remove.
68
69 * Makefile.am (gen_scmconfig_SOURCES): Bugfix: Add
70 DEFAULT_INCLUDES when cross compiling.
71
72 * threads.c (ETIMEDOUT, pipe)[__MINGW32__]: Add defines.
73
a677679f 74 * stime.c (scm_strftime)[!HAVE_TM_ZONE]: Use
cdac1be4
MV
75 SCM_SIMPLE_VECTOR_REF instead of SCM_VELTS. (Changed slightly
76 from Jan's patch.)
77
9e664475
MV
782005-05-22 Marius Vollmer <mvo@zagadka.de>
79
188d0c5e
MV
80 * unif.c (scm_make_shared_array): Add old base to new base since
81 scm_array_handle_pos does not include the base.
82 (scm_aind): Likewise.
83
9e664475
MV
84 * ports.c (scm_putc, scm_puts): Assert that the port argument is a
85 output port.
86
5a6d139b
NJ
872005-05-12 Neil Jerram <neil@ossau.uklinux.net>
88
89 Mac OS X compile warning fixes, reported by Richard Todd.
90
91 * unif.c (scm_i_read_array): Declare rank as ssize_t, to guarantee
92 that it is signed.
93
94 * strports.c (st_resize_port): Add unsigned char cast.
95 (scm_mkstrport): Make read/write_buf cast unsigned.
96
97 * srfi-13.c (string_titlecase_x): Add unsigned char cast.
98
99 * rdelim.c (scm_read_line): Initialize slen.
100
101 * load.c (scm_search_path): Remove weird >=1, and add
102 parentheses to clarify conditions.
103
104 * hash.c (scm_hasher): Add const unsigned char cast.
105
106 * gh_data.c (gh_chars2byvect): Add scm_t_int8 cast.
107
b01532af
NJ
1082005-05-11 Neil Jerram <neil@ossau.uklinux.net>
109
110