(scm_inet_pton, scm_inet_ntop): Pointer cast to scm_t_uint8
[bpt/guile.git] / libguile / ChangeLog
CommitLineData
8fecbb19
HWN
12005-07-01 Han-Wen Nienhuys <hanwen@xs4all.nl>
2
3 * gc-card.c (scm_i_card_statistics): init tag.
4
5 * gc.c (tag_table_to_type_alist): check type of tag. Should be integer.
6
fc9c5d06
HWN
72005-06-18 Han-Wen Nienhuys <hanwen@xs4all.nl>
8
8fecbb19
HWN
9 * fports.c (s_scm_open_file): add the b flag for binary to the doc
10 string.
fc9c5d06 11
08fce816
KR
122005-06-25 Kevin Ryde <user42@zip.com.au>
13
14 * srfi-13.c (scm_string_filter, scm_string_delete): Partial revert
15 last change, use plain copy-on-write substrings, the individual
16 descriptions in the srfi don't mention shared storage (only the
17 introduction does).
18
19 * strings.c (scm_take_locale_stringn): Use realloc to make room for
20 null-terminator, rather than mallocing a whole new block.
21 (scm_take_locale_string): Use scm_take_locale_stringn len==-1.
22
fc4abd0e
MV
232005-06-12 Marius Vollmer <mvo@zagadka.de>
24
e3da8a30
MV
25 * ramap.c (scm_array_index_map_x): First test for real arrays,
26 then check for generalized vectors. This ensures that the
27 generalized vector case need only work with zero-origin ranges.
12097c77
MV
28 (scm_ra_eqp, scm_ra_compare): Use the new array handle functions
29 to access the target array, making these functions work with all
30 kinds of arrays, not just bit arrays.
e3da8a30 31
fc4abd0e
MV
32 * gh.h, gh_data.c, gh_eval.c, gh_funcs.c, gh_init.c, gh_io.c,
33 gh_list.c, gh_predicates.c: Deprecated everything.
34
35 * environments.c (environment_default_folder,
36 environment_default_observer): Do not use gh_call3, gh_call1.
37
e4da0740
HWN
382005-06-10 Han-Wen Nienhuys <hanwen@xs4all.nl>
39
40 * modules.c (s_scm_eval_closure_module): new function. Return the
41 module inside an eval-closure.
42
43 * gc.c (scm_init_storage): make scm_stand_in_procs a weak_key hash
44 table. This means that procedure properties are GC'd if the
45 procedure dies.
46
27667158
KR
472005-06-11 Kevin Ryde <user42@zip.com.au>
48
49 * srfi-13.c (scm_string_filter, scm_string_delete): For char and
50 charset cases, count chars kept and build a string in a second pass,
51 rather than using a cons cell for every char kept. Use a shared
52 substring when nothing removed (such sharing is allowed by the srfi).
53
8a00ba71
HWN
542005-06-09 Han-Wen Nienhuys <hanwen@xs4all.nl>
55
56 * gc.c (tag_table_to_type_alist): convert tag number to "tag %d"
57 string, so live object stats can be sorted with string<?.
58
a677679f
MV
592005-06-06 Marius Vollmer <mvo@zagadka.de>
60
2ff668b0
MV
61 * print.c (iprin1): When writing a string, collect all characters
62 that can be printed directly into one call to scm_lfwrite.
63 Previously, every character was output with its own call to
64 write(2) on unbuffered ports.
65
589f22f6
MV
66 * eval.c (scm_eval_options_interface): Use
67 scm_frame_critical_section instead of SCM_CRITICAL_SECTION_START
68 and SCM_CRITICAL_SECTION_END.
69
a677679f
MV
70 * unif.c (scm_array_in_bounds_p): First test for real arrays, then
71 check for generalized vectors. This ensures that the generalized
72 vector case need only work with zero-origin ranges.
73
f8cda9ee
KR
742005-06-06 Kevin Ryde <user42@zip.com.au>
75
76 * srfi-13.c (scm_string_split): Compare char/char in scan. Mixing an
77 unsigned int SCM_CHAR and a char string meant an 8-bit char was never
78 matched.
79
cdac1be4
MV
802005-06-05 Marius Vollmer <mvo@zagadka.de>
81
6642f7ac
MV
82 * eval.c: Added comment on how to make case 1.1 of
83 r5rs_pitfall.test succeed.
84
cdac1be4
MV
85 From Jan Nieuwenhuizen <janneke@gnu.org>. Thanks!
86
87 * hashtab.h: Bugfix: use SCM_API (WAS: extern).
88
89 * socket.c: Remove obsolete comment about socklen_t.
90 (s_scm_setsockopt)[!HAVE_IP_MREQ]: Do not use ip_mreq code.
91
92 * numbers.h (isnan)[__MINGW32__]: Remove.
93
94 * Makefile.am (gen_scmconfig_SOURCES): Bugfix: Add
95 DEFAULT_INCLUDES when cross compiling.
96
97 * threads.c (ETIMEDOUT, pipe)[__MINGW32__]: Add defines.
98
a677679f 99 * stime.c (scm_strftime)[!HAVE_TM_ZONE]: Use
cdac1be4
MV
100 SCM_SIMPLE_VECTOR_REF instead of SCM_VELTS. (Changed slightly
101 from Jan's patch.)
102
9e664475
MV
1032005-05-22 Marius Vollmer <mvo@zagadka.de>
104
188d0c5e
MV
105 * unif.c (scm_make_shared_array): Add old base to new base since
106 scm_array_handle_pos does not include the base.
107 (scm_aind): Likewise.
108
9e664475
MV
109 * ports.c (scm_putc, scm_puts): Assert that the port argument is a
110 output port.
111
5a6d139b
NJ
1122005-05-12 Neil Jerram <neil@ossau.uklinux.net>
113
114 Mac OS X compile warning fixes, reported by Richard Todd.
115
116 * unif.c (scm_i_read_array): Declare rank as ssize_t, to guarantee
117 that it is signed.
118
119 * strports.c (st_resize_port): Add unsigned char cast.
120 (scm_mkstrport): Make read/write_buf cast unsigned.
121
122 * srfi-13.c (string_titlecase_x): Add unsigned char cast.
123
124 * rdelim.c (scm_read_line): Initialize slen.
125
126 * load.c (scm_search_path): Remove weird >=1, and add
127 parentheses to clarify conditions.
128
129 * hash.c (scm_hasher): Add const unsigned char cast.
130
131 * gh_data.c (gh_chars2byvect): Add scm_t_int8 cast.
132
b01532af
NJ
1332005-05-11 Neil Jerram <neil@ossau.uklinux.net>
134
135