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