*** empty log message ***
[bpt/guile.git] / libguile / ChangeLog
CommitLineData
0e165281
JB
1Thu May 29 02:47:36 1997 Jim Blandy <jimb@floss.cyclic.com>
2
3 * regex-posix.c (scm_init_regex_posix): Register the "regex"
4 feature, to help boot-9.scm decide whether to import the regex
5 module.
6
4885ba0e 7Thu May 29 02:19:40 1997 Jim Blandy <jimb@floss.cyclic.com>
1e5afba0 8
4885ba0e
JB
9 * eval.c: Include scmconfig.h at the beginning of the file so that
10 HAVE_ALLOCA_H may properly be defined. Thanks to Bill Janssen for
11 pointing this out.
1e5afba0
JB
12
13 * regex-posix.c: #include "_scm.h" before conditionally #including
14 <regex.h>; the former defines HAVE_REGCOMP.
15
4885ba0e
JB
16 * regex-posix.c: #include <regex.h> conditionally, so the file is
17 CPP'able (for dependency scanning) even on systems that don't have
18 a <regex.h> header.
19
5aefdd40
JB
20Tue May 27 23:48:38 1997 Jim Blandy <jimb@floss.cyclic.com>
21
22 Add new R4RS-compliant syntax for keywords.
23 * read.c (scm_lreadr): Recognize `#:' as a prefix for keywords,
24 regardless of the setting of the `keywords' read option.
25 * kw.c (prin_kw): Print keywords using the `#:' syntax, so they
26 can be re-read no matter what the setting of the `keywords' read
27 option.
28
737c9113
JB
29Tue May 27 22:47:31 1997 Tim Pierce <twp@twp.tezcat.com>
30
31 Add support for POSIX regular expressions.
32
33 * regex-posix.c, regex-posix.h: New files. (Some code
34 is taken liberally from rx/rgx.c in the old Guile dist.)
35
36 * init.c: Include regex-posix.h.
37 (scm_boot_guile_1): Call scm_init_regex_posix.
38
39 * Makefile.am (EXTRA_libguile_la_SOURCES, modinclude_HEADERS):
40 Add regex-posix.[ch] sources.
41 * Makefile.in: Regenerated.
42
43 * scmconfig.h.in: Add HAVE_REGCOMP macro. (automake is supposed
44 to do this automatically? It didn't for me, bleh.)
45
06de7963
JB
46Mon May 26 18:51:29 1997 Jim Blandy <jimb@floss.cyclic.com>
47
33623b5e
JB
48 * fports.c (print_pipe_port): New function.
49 (scm_fptob): Use print_pipe_port instead of scm_prinport; the
50 latter doesn't even take the right arguments.
51
52 * Makefile.am: Increment shared lib revision number. I think
53 sometimes the uninstalled Guile finds the installed shared lib;
54 Gord says doing this might help. As things turned out, I can't
55 say whether it does.
56 * Makefile.in: Regenerated.
57
06de7963
JB
58 * gh_init.c (gh_enter): Cast c_main_prog to a void * before
59 passing it as the closure argument to scm_boot_guile. (Bill
60 Janssen)
61
62 * ports.c (print_void_port, putc_void_port, puts_void_port,
63 write_void_port, flush_void_port, getc_void_port, close_void_port,
64 noop0): Use ANSI prototypes instead of K&R declarations, so the
65 initialization of void_port_ptob gets aggressively type-checked.
66 Fix arguments of print_void_port and write_void_port. (Bill
67 Janssen)
82892bed
JB
68
69 * COPYING, __scm.h, _scm.h, alist.c, alist.h, append.c, append.h,
70 appinit.c, arbiters.c, arbiters.h, async.c, async.h, backtrace.c,
71 backtrace.h, boolean.c, boolean.h, chars.c, chars.h,
72 continuations.c, continuations.h, coop-defs.h, coop-threads.c,
73 coop-threads.c.cygnus, coop-threads.h, coop-threads.h.cygnus,
74 coop.c, debug.c, debug.h, dynl-dl.c, dynl-dld.c, dynl-shl.c,
75 dynl-vms.c, dynl.c, dynl.h, dynwind.c, dynwind.h, eq.c, eq.h,
76 error.c, error.h, eval.c, eval.h, extchrs.h, feature.c, feature.h,
77 filesys.c, filesys.h, fports.c, fports.h, fsu-pthreads.h, gc.c,
78 gc.h, gdbint.c, gdbint.h, genio.c, genio.h, gh.h, gh_data.c,
79 gh_eval.c, gh_funcs.c, gh_init.c, gh_io.c, gh_list.c,
80 gh_predicates.c, gh_test_c.c, gh_test_repl.c, gscm.c, gscm.h,
81 gsubr.c, gsubr.h, guile.c, hash.c, hash.h, hashtab.c, hashtab.h,
82 init.c, init.h, ioext.c, ioext.h, kw.c, kw.h, libguile.h, list.c,
83 list.h, load.c, load.h, mallocs.c, mallocs.h, markers.c,
84 markers.h, mbstrings.c, mbstrings.h, mit-pthreads.c,
85 mit-pthreads.h, net_db.c, net_db.h, numbers.c, numbers.h,
86 objprop.c, objprop.h, options.c, options.h, pairs.c, pairs.h,
87 ports.c, ports.h, posix.c, posix.h, print.c, print.h, procprop.c,
88 procprop.h, procs.c, procs.h, putenv.c, ramap.c, ramap.h, read.c,
89 read.h, root.c, root.h, scmhob.h, scmsigs.c, scmsigs.h, script.c,
90 script.h, sequences.c, sequences.h, simpos.c, simpos.h, smob.c,
91 smob.h, snarf.h, socket.c, socket.h, srcprop.c, srcprop.h,
92 stackchk.c, stackchk.h, stacks.c, stacks.h, stime.c, stime.h,
93 strings.c, strings.h, strop.c, strop.h, strorder.c, strorder.h,
94 strports.c, strports.h, struct.c, struct.h, symbols.c, symbols.h,
95 tag.c, tag.h, tags.h, threads.c, threads.h, throw.c, throw.h,
96 unif.c, unif.h, variable.c, variable.h, vectors.c, vectors.h,
97 version.c, version.h, vports.c, vports.h, weaks.c, weaks.h: New
98 address for FSF.
99
3f4c654d
JB
100Mon May 26 12:37:30 1997 Jim Blandy <jimb@floss.cyclic.com>
101
102 * script.c (scm_find_executable): Use prototype-style definition
103 here; apparently it's not quite right to have const in a prototype
104 and then use a K&R declaration. I wonder if stuff like this will
105 go away if we compile with -Wrequire-prototypes, or whatever that
a00c28cd 106 is... (Bernard URBAN)
3f4c654d
JB
107
108 * scmhob.h: New text from Bernard URBAN.
109
110Sat May 17 17:14:36 1997 Jim Blandy <jimb@floss.cyclic.com>
111
112 * script.c: Don't #define const on hpux. Configure takes care of
113 this. (Thanks to Larry Schwimmer.)
114
115 * script.c: Use the HAVE_UNISTD_H symbol provided by autoconf to
116 decide whether to #include <unistd.h>, instead of listing a bunch
117 of systems. Don't #include stdio twice. Removed dyked-out
118 definition of scm_find_impl_file.
119
eeb56f3c
JB
120Fri May 16 03:06:08 1997 Jim Blandy <jimb@floss.cyclic.com>
121
adb98aa9
JB
122 * Makefile.am (libguile_la_LDFLAGS): Update libguile's shared
123 library version info to 1:0.
124 * Makefile.in: Regenerated.
125
142ad3d9
JB
126 * backtrace.c, backtrace.h, debug.c, debug.h, eq.c,
127 gdb_interface.h, gdbint.c, gdbint.h, gh_data.c, gh_init.c,
128 gh_io.c, gh_list.c, gh_predicates.c, gh_test_c.c, gh_test_repl.c,
129 init.c, net_db.c, options.c, options.h, ports.c, print.c, read.c,
130 script.h, snarf.h, srcprop.c, srcprop.h, stacks.c, stacks.h,
131 throw.c: Update copyright years; these files have been worked on
132 significantly in 1997, but only had copyright years for 1996.
133 Also, change name of copyright holder on some from Mikael
134 Djurfeldt to Free Software Foundation; he has signed papers
135 assigning the changes to the FSF.
136
eeb56f3c
JB
137 * script.c (scm_shell_usage): Pass FATAL to exit. There's no
138 reason not to give the user the option.
190b072d
JB
139
140 * net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_getserv):
141 Return #f on end-of-file when scanning table (i.e. when called
142 with no arguments). Try to catch errors, when we can.
095936d2
JB
143 * posix.c (scm_getgrgid, scm_getpwuid): Same.
144
145 * script.h (scm_shell_usage, scm_compile_shell_switches): New
190b072d
JB
146 external declarations. These are useful.
147
a48a89bc
GH
148Thu May 15 05:21:36 1997 Gary Houston <ghouston@actrix.gen.nz>
149
150 * posix.c: don't include <sys/select.h> or define macros for
151 select, since they were not used in this file.
152
095936d2 153 * filesys.c (scm_select): make the fifth parameter microseconds,
a48a89bc
GH
154 not milliseconds. let the fourth parameter be either a real value
155 or an integer or #f. The first, second and third arguments can
156 now be vectors: the type of the corresponding return set will be
157 the same.
158 (set_element, get_element): new static procedures.
159
f3b1485f
JB
160Wed May 14 12:18:12 1997 Jim Blandy <jimb@floss.cyclic.com>
161
223be5f0
JB
162 * strports.c (scm_eval_string): New function.
163 (scm_eval_0str): Trivially re-implemented in terms of
164 scm_eval_string.
165 * strports.h (scm_eval_string): New extern decl.
166
e1cd56f9
JB
167 * net_db.c (h_errno): Add extern decl for this.
168
f3b1485f
JB
169 * fports.c (local_pclose): New function.
170 (scm_pipob): Use it in the initializer here.
171
172 From Tim Pierce:
173 * net_db.c (scm_gethost, scm_getproto, scm_getnet, scm_getserv):
174 Use a meaningful error message when signalling an error. For
175 this, scm_gethost must check h_errno rather than errno.
176
9b01064c
JB
177Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
178
179 * Makefile.in: Regenerated, using automake-1.1p.
180
08fea088
GH
181Tue May 13 04:34:52 1997 Gary Houston <ghouston@actrix.gen.nz>
182
0267051b
GH
183 * socket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify,
184 not SCM_UNSPECIFIED.
185
08fea088
GH
186 * script.c (scm_compile_shell_switches): don't append (quit) if
187 interactive.
188 (scm_shell): call scm_exit_status and exit on the result of the
189 evaluation.
190
821eb64e
JB
191Mon May 12 17:23:58 1997 Jim Blandy <jimb@floss.cyclic.com>
192
193 Ensure that shared substrings are handled properly when passed to
194 a system call or other foreign function. Many thanks to Tim
195 Pierce!
196 * symbols.h (SCM_COERCE_SUBSTR): new macro.
197 * filesys.c (scm_chmod, scm_rename, scm_delete_file, scm_mkdir,
198 scm_rmdir, scm_opendir, scm_chdir, scm_symlink, scm_readlink,
199 scm_lstat), ports.c (scm_sys_make_void_port), posix.c (scm_utime,
200 scm_putenv, scm_setlocale, scm_mknod), stime.c (setzone,
201 scm_strftime), vports.c (scm_make_soft_port), backtrace.c
202 (scm_display_error_message): use RO macros when strings may be RO.
203 * error.c (scm_error_scm), filesys.c (scm_chown, scm_chmod,
204 scm_rename, scm_delete_file, scm_mkdir, scm_rmdir, scm_opendir,
205 scm_chdir, scm_symlink, scm_readlink, scm_lstat), ioext.c
206 (scm_freopen, scm_duplicate_port, scm_fdopen), net_db.c
207 (scm_gethost, scm_getnet, scm_getproto, scm_getserv), ports.c
208 (scm_sys_make_void_port), posix.c (scm_getgrgid, scm_utime,
209 scm_setlocale, scm_mknod), stime.c (setzone, scm_strptime,
210 scm_strftime), vports.c (scm_make_soft_port): use
211 SCM_COERCE_SUBSTR to make sure shared substrings are
212 null-terminated.
213
214Mon May 12 15:33:10 1997 Jim Blandy <jimb@totoro.cyclic.com>
215
216 * error.c (scm_error): Add newline to error message.
217
218 * init.c (scm_init_standard_ports): Doc fix.
219
8e6f33db
MV
220Thu May 8 14:38:01 1997 Marius Vollmer <mvo@zagadka.ping.de>
221
222 * dynl-shl.c: Completely replaced with new code from Bernard
223 URBAN.
224
225 * script.c (scm_ice_9_already_loaded): New variable.
226 (scm_compile_shell_switches): Use it.
227
4edc089c
GH
228Mon May 5 20:35:08 1997 Gary Houston <ghouston@actrix.gen.nz>
229
230 * filesys.c (scm_input_waiting_p): add missing third argument to
231 scm_misc_error.
232
233 * stime.c (scm_localtime): copy the result of localtime before
234 calling gmtime in case they share a buffer.
235 (scm_localtime, scm_mktime): throw an error if neither HAVE_TM_ZONE
236 nor HAVE_TZNAME.
237
554878da
GH
238Fri May 2 19:07:11 1997 Gary Houston <ghouston@actrix.gen.nz>
239
240 * eq.c (scm_equal_p): use SCM_TYP7SD (y) not SCM_TYP7SD (x).
4edc089c 241
914155ca
JB
242Thu May 1 17:01:45 1997 Jim Blandy <jimb@floss.cyclic.com>
243
244 * Makefile.am (check-local): New target, which causes 'make check'
245 to run gh_test_c and gh_test_repl, with some trivial input.
246 * Makefile.in: Rgnrtd.
247
6fa9bcd0
MV
248Tue Apr 29 19:00:40 1997 Marius Vollmer <mvo@zagadka.ping.de>
249
250 * dynl.c (print_dynl_obj): Indicate whether the dynamic object has
251 been unlinked.
252
9ea54cc6
GH
253Mon Apr 28 06:10:14 1997 Gary Houston <ghouston@actrix.gen.nz>
254
255 * async.c (scm_sys_tick_async_thunk): commented out. I'm not
256 sure how this was supposed to work.
257 (scm_async_click): don't send SCM_TICK_SIGNAL.
258 (scm_init_async): don't initialize %tick-thunk.
259
260 * the following change doesn't affect the Scheme interface:
261 gc-thunk is called at the end of garbage collection. however it's
262 no longer implemented by pretending it's a signal.
263
264 * gc.c (scm_gc_end): don't call scm_take_signal. instead mark the
265 system async corresponding to scm_gc_thunk.
266 * async.h: declare scm_gc_async.
267 * async.c (scm_sys_gc_async_thunk): apply the thunk named by
268 gc-thunk directly, instead of going through a signal handler.
269 (scm_gc_async): new variable, points to the GC system-async.
270 (scm_init_async): save the GC async as scm_gc_async instead
271 of using system_signal_asyncs.
272 (scm_gc_vcell): new variable, stores the gc-thunk vcell.
273
10830232
JB
274Mon Apr 28 19:14:44 1997 Jim Blandy <jimb@floss.cyclic.com>
275
276 * Makefile.am (libpath.h, cpp_err_symbols.c, cpp_sig_symbols.c):
277 Don't screw up if we're interrupted.
278 * Makefile.in: Regeneradet.
279
28c682fa
JB
280Sun Apr 27 17:57:15 1997 Jim Blandy <jimb@floss.cyclic.com>
281
282 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
283
284 * Makefile.am (modincludedir): Use "ice-9" instead of "@module@";
285 we're not using AM_INIT_GUILE_MODULE any more.
286 * Makefile.in: Reneregated.
287
20108301
JB
288Thu Apr 24 00:41:08 1997 Jim Blandy <jimb@floss.cyclic.com>
289
4616e355 290