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