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