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