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