Commit | Line | Data |
---|---|---|
8a01e754 JB |
1 | Sat Sep 27 20:19:34 1997 Jim Blandy <jimb@totoro.red-bean.com> |
2 | ||
3 | * Makefile.am (libpath.h): Include the value of the THREAD_LIBS | |
4 | makefile variable as a build parameter called LIBS. The | |
5 | build-guile program will use this, for the time being. | |
6 | * Makefile.in: Regenerated. | |
7 | ||
8 | Thanks to Shiro Kawai: | |
9 | * gc.c (scm_gc_mark): Pass NULL to scm_wta as the subroutine name. | |
10 | * ports.h (scm_ptobfuns): The fgets method returns a char *, not | |
11 | an SCM. | |
12 | ||
13 | * Makefile.in: Regenerated with automake 1.2a. | |
14 | ||
15 | * script.c (scm_compile_shell_switches): If we hit the -c or -- | |
16 | arguments, don't set the car of (command-line) to scm_usage_name, | |
17 | the prettified name of the guile executable; give it the full | |
18 | path, the way shells usually handle $0. | |
19 | ||
bdf8afff MD |
20 | Wed Sep 24 22:09:52 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
21 | ||
7e790400 MD |
22 | * ramap.c (scm_array_map): Renamed to scm_array_map_x. Removed |
23 | Scheme-level name `array-map' and renamed `serial-array-map' to | |
24 | `serial-array-map!'. | |
25 | ||
bdf8afff MD |
26 | * backtrace.c: Introduced exception handlers which now enclose |
27 | `display-error' and `display-backtrace' so that error reporting | |
28 | won't get into infinite loops if an error occurs during displaying | |
29 | of the error. This can very easily happen with user supplied | |
30 | print call-back routines. | |
31 | ||
830613a0 MD |
32 | Tue Sep 23 12:43:17 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
33 | ||
34 | * ramap.c: Added alias `array-map!' for `array-map'. (Probably, | |
35 | the names `serial-array-map' and `array-map' should be removed.) | |
36 | ||
0c32d76c MD |
37 | Mon Sep 22 01:21:54 1997 Mikael Djurfeldt <mdj@kenneth> |
38 | ||
39 | * init.c (scm_boot_guile_1): Added scm_init_objects (). | |
40 | Added #include "objects.h" | |
41 | ||
42 | * eval.c (scm_makprom): Added SCM_DEFER_INTS and SCM_ALLOW_INTS. | |
43 | Add #include "feature.h". | |
44 | ||
45 | * Makefile.am (libguile_la_SOURCES): Added objects.c. | |
46 | (modinclude_HEADERS): Added objects.h. | |
47 | ||
48 | * ports.h (SCM_EOF_OBJECT_P): New macro predicate. | |
49 | This test is needed at many places in the code and should be | |
50 | abstracted. (Motivated by the need of this test in libguiletk.) | |
51 | ||
52 | * ports.c (scm_eof_object_p), vports.c (sfgetc), strports.c | |
53 | (scm_eval_string), load.c (scm_primitive_load, | |
54 | scm_read_and_eval_x), gh_eval.c (gh_eval_str): | |
55 | Use SCM_EOF_OBJECT_P. | |
25eaf21a MD |
56 | |
57 | * eval.c (scm_init_eval): Add feature `delay'. | |
58 | ||
51916da6 MD |
59 | Tue Sep 16 02:12:02 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
60 | ||
61 | * scmhob.h: Removed. | |
62 | ||
92396c0a MD |
63 | Mon Sep 15 20:42:03 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
64 | ||
65 | * list.h (SCM_LISTn): New macros. Make list creation in C code | |
66 | prettier. The idea comes from STk. | |
67 | ||
68 | * sequences.h, sequences.c, append.h, append.c: Removed. These | |
69 | files implemented non-R4RS operations which would encourage | |
70 | non-portable programming style and less easy-to-read code. | |
71 | ||
72 | * Makefile.am (sequences.h, sequences.c, append.h, append.c): | |
73 | Removed. | |
74 | ||
75 | * libguile.h, eval.c, init.c, stime.c, unif.c: Removed #include | |
76 | sequences.h, #include append.h. | |
77 | ||
78 | * init.c (scm_boot_guile_1): Removed calls to scm_init_append and | |
79 | scm_init_sequences. | |
80 | ||
81 | * gh.h, gh_list.c: Renamed gh_list_length --> gh_length. | |
82 | ||
83 | * list.h, list.c: Renamed scm_list_length --> scm_length, scm | |
84 | ||
85 | * stime.c (bdtime2c): Changed scm_obj_length --> scm_vector_length. | |
86 | ||
87 | Sat Sep 13 00:21:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> | |
88 | ||
89 | * eval.c: Added #include "objects.h" | |
90 | ||
91 | * tags.h (scm_tc16_object, scm_tc16_entity): Smobtags for objects | |
92 | and entities. | |
93 | ||
94 | * smob.c (scm_smob_prehistory): Create two objectsmobs with | |
95 | adjacent smob numbers. | |
96 | ||
80ea260c MD |
97 | Thu Sep 11 00:59:17 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
98 | ||
99 | * procprop.h: Added declaration of scm_i_inner_name. | |
100 | ||
101 | * gsubr.c: New global symbol scm_i_inner_name. | |
102 | ||
103 | * debug.c (scm_procedure_name): Try procedure property | |
104 | `inner-name' if `name' fails. | |
105 | ||
106 | * print.c (scm_iprin1): Use scm_macro_name. | |
107 | ||
108 | * eval.c (scm_m_define): Give names to macros as well; Only the | |
109 | first top-level definition gives a procedure/macro a name. | |
110 | Otherwise confusing names can turn up in backtraces. | |
111 | (SCM_CEVAL): SCM_IM_DEFINE: Set `inner-name' property instead of | |
112 | `name'; Give names to macros as well. | |
113 | ||
114 | * procs.c (scm_closure_p), print.c (scm_iprin1), eval.c | |
115 | (scm_macro_transformer): Use SCM_CLOSUREP instead of | |
116 | scm_closure_p. | |
117 | ||
7332df66 MD |
118 | Wed Sep 10 20:52:18 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
119 | ||
120 | * * eval.c (macro?, macro-type, macro-name, macro-transfomer): New | |
121 | procedures; | |
122 | (prinmacro): Removed. The code has been moved/merged into print.c | |
123 | in order to decrease code redundancy. We want macros to print in | |
124 | a way equivalent to procedures, and it would be silly to duplicate | |
125 | the required code. (We don't want to maintain two places.) | |
126 | (macrosmob): Print field is now a NULL pointer. | |
127 | ||
128 | * eval.h (scm_macro_p, scm_macro_type, scm_macro_name, | |
129 | scm_macro_transformer): New prototypes. | |
130 | (scm_tc16_macro): Declared. | |
131 | ||
132 | * * print.c (scm_iprin1): Added code for printing of macros. Macros | |
133 | are now printed in a way equivalent to procedures. | |
134 | ||
135 | Sat Sep 6 12:20:42 1997 Mikael Djurfeldt <mdj@kenneth> | |
136 | ||
137 | * procs.h (scm_closure_p): Added declaration. | |
138 | ||
139 | Fri Sep 5 13:36:14 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> | |
140 | ||
141 | * gc.c (scm_gc_mark): Fixed "rogue pointer in heap" message: | |
142 | Shouldn't pass "heap" as the subr name. | |
143 | ||
614590c5 JB |
144 | Tue Sep 2 18:14:30 1997 Jim Blandy <jimb@totoro.red-bean.com> |
145 | ||
146 | * gh_predicates.c (gh_boolean_p, gh_symbol_p, gh_char_p, | |
147 | gh_vector_p, gh_pair_p, gh_number_p, gh_string_p, gh_procedure_p, | |
148 | gh_list_p, gh_inexact_p, gh_exact_p, gh_eq_p, gh_eqv_p, | |
149 | gh_equal_p): Use SCM_NFALSEP, instead of testing against | |
150 | SCM_BOOL_T. Any non-false value is true. | |
151 | ||
1ff4df7a MD |
152 | Tue Sep 2 00:27:07 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
153 | ||
154 | * symbols.h (scm_builtin_bindings, scm_builtin_weak_bindings, | |
155 | scm_gensym): Added prototypes. | |
156 | ||
157 | * symbols.c (scm_gensym): New function. This will speed up | |
158 | certain types of applications (such as macro systems) which | |
159 | generate lots of symbols. | |
160 | ||
d28da049 MD |
161 | Mon Sep 1 22:30:33 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
162 | ||
163 | * numbers.c (logand, logior, logxor): Handle 0 or 1 arguments. | |
164 | ||
20a54673 GH |
165 | Sat Aug 30 18:56:19 1997 Gary Houston <ghouston@actrix.gen.nz> |
166 | ||
167 | * unif.c (scm_shap2ra): tighten the checking of the array dimension | |
168 | specifier, since (2) or (2 . 3) would cause SEGV. | |
169 | (scm_transpose_array): more argument checking fixes. | |
170 | ||
614590c5 JB |
171 | Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com> |
172 | ||
173 | * Makefile.in: Regenerated. | |
174 | ||
34695603 JB |
175 | Wed Aug 27 17:44:44 1997 Jim Blandy <jimb@totoro.red-bean.com> |
176 | ||
177 | * Makefile.in: Regenerated, so it uses "tar", not "gtar". | |
178 | ||
88482b31 MD |
179 | Mon Aug 25 13:47:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
180 | ||
181 | * error.c, error.h (scm_error_callback): Removed (see NEWS). | |
182 | ||
95f5b0f5 MD |
183 | Sun Aug 24 01:25:35 1997 Mikael Djurfeldt <mdj@kenneth> |
184 | ||
a46d5ff2 MD |
185 | * regex-posix.c: If <regex.h> can't be found, try <rxposix.h> or |
186 | <rx/rxposix.h>. (This is in order to accomodate for the GNU Rx | |
187 | library.) | |
188 | ||
95f5b0f5 MD |
189 | * ramap.c (scm_ra_matchp, scm_array_fill_int, racp, ramap_1, |
190 | ramap_2o, scm_array_index_map_x, raeql_1, scm_array_equal_p), | |
191 | unif.c (scm_vector_set_length_x, scm_uniform_vector_length, | |
192 | scm_array_p, scm_array_rank, scm_array_dimensions, | |
193 | scm_enclose_array, scm_array_in_bounds_p, scm_uniform_vector_ref, | |
194 | scm_cvref, scm_array_set_x, scm_array_contents, scm_array_to_list, | |
195 | scm_array_prototype): Added case scm_tc7_wvect. | |
196 | ||
efb997f5 GH |
197 | Sat Aug 23 18:45:44 1997 Gary Houston <ghouston@actrix.gen.nz> |
198 | ||
199 | * errno.h: prototype for scm_strerror. | |
200 | * error.c (scm_strerror): new procedure. | |
201 | ||
1a0e096c MD |
202 | Mon Aug 18 14:58:22 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
203 | ||
204 | * list.c (scm_list_append_x): Allow non-pair as last argument. | |
205 | This is consistent with the R4RS append and is probably the | |
206 | correct behaviour as specified by R2RS. (Thanks to Radey Shouman) | |
207 | ||
6afcd3b2 GH |
208 | Sat Aug 16 18:42:15 1997 Gary Houston <ghouston@actrix.gen.nz> |
209 | ||
210 | * stime.h: prototype for scm_times. | |
211 | * stime.c (scm_times): new procedure. | |
212 | * ioext.c (scm_fseek): if the first argument is a file descriptor | |
213 | call lseek. | |
214 | (scm_ftell): if the first argument is a file descriptor call lseek | |
215 | (sic). | |
216 | * filesys.h: prototypes for scm_open_fdes, scm_fsync. | |
217 | * filesys.c (scm_chmod): if the first argument is a file descriptor, | |
218 | call fchmod. | |
219 | (scm_chown): if the first argument is a port or file descriptor, | |
220 | call fchown. | |
221 | (scm_truncate_file): new procedure. | |
222 | Add DEFER/ALLOW INTS to a few other procedures. | |
223 | (scm_fsync): new procedure. | |
224 | (scm_open_fdes): new procedure. | |
225 | (scm_open): use scm_open_fdes. If mode isn't specified, 666 will | |
226 | now be used. | |
227 | (scm_fcntl): the first argument can now be a file descriptor. The | |
228 | third argument is now optional. | |
229 | ||
230 | * posix.c (scm_execl, scm_execlp): make the filename argument | |
231 | compulsory, since omitting it causes SEGV. | |
232 | (scm_sync): return unspecified instead of #f. | |
233 | (scm_execle): new procedure. | |
234 | (environ_list_to_c): new procedure. | |
235 | (scm_environ): use environ_list_to_c. disable interrupts. | |
236 | (scm_convert_exec_args): take pos and subr arguments and | |
237 | improve error checking. | |
238 | ||
0824b524 MD |
239 | 1997-08-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
240 | ||
241 | * stacks.c (scm_make_stack), coop-threads.c, mit-pthreads.c | |
242 | (scm_call_with_new_thread): Bugfix: SCM_WNA should go as third | |
243 | argument to SCM_ASSERT. Furthermore, the name of the function | |
244 | should be passed as first argument when signalling | |
245 | SCM_WNA. (Thanks to Thomas Morgan) | |
246 | ||
247 | * gsubr.c (scm_gsubr_apply): From Radey Shouman | |
248 | <shouman@zianet.com>: "The switch in scm_gsubr_apply that | |
249 | dispatches on the number of actual args has a default case | |
250 | reporting an internal error. This is a vestige from a version | |
251 | that mallocated a SCM vector to hold the arguments. In the | |
252 | current version this check is too late: if it ever happens we will | |
253 | have already overstepped the bounds of the array. | |
254 | ||
255 | Also, the patch [...] adds a check for too many actual arguments." | |
256 | ||
257 | mdj: Removed check for "internal programming error". | |
258 | ||
4ed948d4 MD |
259 | Wed Aug 13 15:38:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
260 | ||
f2ae0a19 | 261 | * gh_io.c (gh_write): New function. |
4ed948d4 | 262 | |
f2ae0a19 | 263 | * gh_eval.c (catch_with_saved_stack): Removed. Replaced by: |
4ed948d4 MD |
264 | throw.c (scm_internal_stack_catch): New sibling to the other catch |
265 | functions. Code moved from gh_eval.c. | |
266 | throw.h: Added header. | |
267 | gh_eval.c (gh_eval_str_with_stack_saving_handler): Renamed call to | |
268 | scm_internal_stack_catch. | |
269 | ||
7a6f1ffa GH |
270 | Tue Jul 29 01:03:08 1997 Gary Houston <ghouston@actrix.gen.nz> |
271 | ||
272 | * ioext.h: fix up prototypes. | |
273 | * ioext.c (scm_dup_to_fdes): renamed from scm_primitive_dup2. | |
274 | Scheme name is now dup->fdes. | |
275 | (scm_dup_to_fdes): make the second argument optional and | |
276 | fold in the functionality of scm_primitive_dup. | |
277 | (scm_primitive_dup): deleted. | |
278 | ||
279 | Mon Jul 28 05:24:42 1997 Gary Houston <ghouston@actrix.gen.nz> | |
280 | ||
281 | * fports.h (SCM_P): prototypes for scm_setvbuf, scm_setfileno. | |
282 | * fports.c (scm_setbuf0): don't disable the setbuf if MSDOS or | |
283 | ultrix are defined. Use setvbuf instead of setbuf. | |
284 | (scm_setvbuf): new procedure. | |
285 | (scm_init_fports): intern _IOFBF, _IOLBF, _IONBF. | |
286 | (scm_setfileno): moved from ioext.c. | |
287 | (scm_fgets): cast SCM_STREAM to (FILE *), remove unused lp variable. | |
288 | (top of file): Delete 25 lines of probably obsolete CPP hair for MSDOS. | |
289 | ||
a0cb6cb0 MV |
290 | Sun Jul 27 10:54:01 1997 Marius Vollmer <mvo@zagadka.ping.de> |
291 | ||
292 | * fluids.c (scm_fluid_p): New function. | |
293 | * fluids.h (scm_fluid_p): New prototype. | |
294 | ||
295 | Sat Jul 26 21:33:37 1997 Marius Vollmer <mvo@zagadka.ping.de> | |
296 | ||
297 | * print.c (scm_iprin1): Enter printed structures into the print | |
298 | state as nested data while they are printed. | |
299 | (print_state_fluid, print_state_fluid_num): New variables. | |
300 | (scm_init_print): Initialize them. | |
301 | (scm_iprin): If print_state_fluid carries a print_state, use that | |
302 | instead of creating a new one. | |
303 | (scm_printer_apply, apply_stub, struct apply_data): New | |
304 | definitions to help with calling printer functions written in | |
305 | Scheme. | |
306 | * print.h (scm_printer_apply): New prototype. | |
307 | ||
308 | * struct.c (scm_print_struct): Use scm_printer_apply to call the | |
309 | user defined struct printer. | |
310 | ||
311 | * dynwind.c (scm_dowinds): Handle fluids on the wind list. | |
312 | * fluids.h (scm_internal_with_fluids, scm_with_fluids, | |
313 | scm_swap_fluids, scm_swap_fluids_reverse): New prototypes. | |
314 | * fluids.c (scm_internal_with_fluids, scm_with_fluids, | |
315 | scm_swap_fluids, scm_swap_fluids_reverse): New functions. | |
316 | ||
317 | Fri Jul 25 12:05:46 1997 Marius Vollmer <mvo@zagadka.ping.de> | |
318 | ||
319 | * fluids.c (scm_fluid_ref, scm_fluid_set_x): Fixed use of | |
320 | SCM_ASSERT: arg comes before pos. | |
321 | ||
269861c7 MD |
322 | Fri Jul 25 17:00:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
323 | ||
324 | * eval.c (scm_apply): Handle the case when a tc7_sybr_2 is applied | |
325 | to a list of length zero correctly. | |
326 | ||
3cb988bd TP |
327 | Wed Jul 23 16:17:46 1997 Tim Pierce <twpierce@bio-5.bsd.uchicago.edu> |
328 | ||
329 | Supply an `fgets' method for port objects to do fast line i/o. | |
330 | * ioext.c (scm_read_line): New function. | |
331 | * genio.c (scm_gen_read_line): New function. | |
332 | * fports.c (scm_fgets): New function. | |
333 | (scm_fptob, scm_pipob): Add scm_fgets method. | |
334 | * ports.c (fgets_void_port, scm_generic_fgets): New functions. | |
335 | (void_port_ptob): Add void fgets method. | |
336 | (scm_newptob): Initialize fgets method from ptob struct. | |
337 | * ports.h (scm_ptobfuns): Add fgets method. | |
338 | * vports.c (scm_sfptob): Supply generic fgets method. | |
339 | * strports.c (scm_stptob): Supply generic fgets method. | |
340 | ||
e38303a2 GH |
341 | Mon Jul 21 04:03:42 1997 Gary Houston <ghouston@actrix.gen.nz> |
342 | ||
343 | * ioext.h: removed scm_duplicate_port prototype. | |
344 | ||
345 | * ioext.c (scm_primitive_dup2): return the new file descriptor | |
346 | instead of SCM_UNSPECIFIED, since similarity to scm_primitive_dup | |
347 | is convenient. | |
348 | (scm_fdopen): bug fix: don't try to make port unbuffered until its | |
349 | stream has been set. | |
350 | (scm_duplicate_port): deleted, there's now an implementation in | |
351 | boot-9.scm. | |
352 | (scm_primitive_dup2): do nothing if newfd == oldfd. | |
353 | ||
eadd48de GH |
354 | Sun Jul 20 03:55:49 1997 Gary Houston <ghouston@actrix.gen.nz> |
355 | ||
a9488d12 GH |
356 | * filesys.c (scm_close): oops, don't call SCM_INUM twice on the |
357 | argument. | |
358 | ||
359 | * ioext.h: new prototypes. | |
360 | * ioext.c (scm_primitive_dup, scm_primitive_dup2): new procedures. | |
361 | ||
eadd48de GH |
362 | * fluids.c (next_fluid_num): don't do |
363 | SCM_THREAD_CRITICAL_SECTION_START/END unless USE_THREADS is defined. | |
364 | ||
365 | * ports.h: prototypes too. | |
366 | * ports.c (scm_mode_bits, scm_port_mode): moved from fports.c. | |
367 | ||
368 | * fports.h: prototype too. | |
369 | * fports.c (scm_evict_ports): moved from ioext.c. | |
370 | ||
9c29ac66 GH |
371 | Sat Jul 19 04:56:52 1997 Gary Houston <ghouston@actrix.gen.nz> |
372 | ||
eadd48de GH |
373 | * ports.c (scm_close_port): return a boolean instead of unspecified. |
374 | throw an error if an error other than EBADF occurs. | |
375 | ||
376 | * filesys.h: scm_close prototype. | |
377 | * filesys.c (scm_close): new procedure, can close file descriptors | |
378 | and ports (scsh compatible). | |
379 | ||
9c29ac66 GH |
380 | * ports.c (scm_flush_all_ports): SCM_PROC incorrectly allowed an |
381 | optional argument. | |
382 | ||
7f47d2d8 MV |
383 | Fri Jul 18 11:19:53 1997 Marius Vollmer <mvo@zagadka.ping.de> |
384 | ||
385 | * fluids.c, fluid.h: New files. | |
386 | * Makefile.am (libguile_la_SOURCES): Added "fluids.c". | |
387 | (modinclude_HEADERS): Added "fluids.h" | |
388 | ||
389 | * init.c: Include "fluids.h". (scm_boot_guile_1): Added call to | |
390 | scm_init_fluids to initialize the fluid machine. | |
391 | (scm_start_stack): Initialize the fluids of the first root with | |
392 | scm_make_initial_fluids. | |
393 | ||
394 | * root.h: Added "fluids" member to scm_root_state. | |
395 | * root.c: Include "fluids.h". (scm_mark_root): Mark "fluids". | |
396 | (scm_make_root): Call scm_copy_fluids to make fluid bindings | |
397 | unique for the new root when it has a parent. | |
398 | ||
399 | * smob.h: Include "libguile/print.h" to make scm_print_state | |
400 | visible. | |
401 | ||
402 | * dynl.c (free_dynl_obj): New function to free the dynamic object | |
403 | data. (dynl_smob): Use it. | |
404 | * dynl.c (scm_dynamic_link): Moved allocating of the memory for | |
405 | the dynamic object data below the linking of the object to avoid | |
406 | memory leak when the linking code throws an error. Now the code | |
407 | leaks a whole dynamically linked library when must_malloc throws, | |
408 | but that should be much less likely. | |
409 | ||
32552d73 JB |
410 | Fri Jul 11 00:19:47 1997 Jim Blandy <jimb@floss.red-bean.com> |
411 | ||
412 | Changes to compile under gnu-win32, from Marcus Daniels: | |
413 | * stime.c (tzset): If tzset isn't provided, make it a NOP. | |
414 | (scm_localtime): Change SCM_EOF to SCM_EOL. | |
415 | (scm_mktime): Likewise. | |
416 | * socket.c: Don't include sys/un.h unless autoconf tells | |
417 | us Unix domain sockets are available. | |
418 | (scm_fill_sockaddr): Ignore Unix domain code. | |
419 | (scm_addr_vector): Likewise. | |
420 | (scm_init_addr_buffer): Likewise. | |
421 | (scm_socketpair): Don't include unless socketpair was | |
422 | found during autoconf. | |
423 | * simpos.c (SYSTNAME): Treat cygwin like Unix. | |
424 | * scmsigs.c (scm_pause): Don't include unless pause was found | |
425 | during autoconf. | |
426 | * posix.c (scm_getgroups): Don't include unless support function | |
427 | was found during autoconf (in this case, getgroups). | |
428 | (scm_setpwent): For setpwent. | |
429 | (scm_setegid): For setegid. | |
430 | * net_db.c (scm_inet_netof): Don't include unless support | |
431 | function was found during autoconf (in this case, inet_netof). | |
432 | (scm_lnaof): For inet_lnaof. | |
433 | (scm_inet_makeaddr): For inet_makeaddr. | |
434 | (scm_getnet): For getnetent, getnetbyname, getnetbyaddr. | |
435 | (scm_getproto): For getprotoent. | |
436 | (scm_getserv): For getservent. | |
437 | (scm_sethost): For sethostent, endhostent. | |
438 | (scm_setnet): For setnetent, endnetent. | |
439 | (scm_setproto): For setprotoent, endprotoent. | |
440 | (scm_setserv): For setservent, endservent. | |
441 | * scmconfig.h.in: Regenerated. | |
442 | ||
8cedfb2e JB |
443 | Thu Jul 10 00:22:24 1997 Jim Blandy <jimb@floss.red-bean.com> |
444 | ||
445 | * stime.c (scm_localtime, scm_mktime): Pass SCM_EOL to | |
446 | scm_misc_error, not SCM_EOF. | |
447 | ||
448 | * error.c (scm_wta): Pass SCM_EOL to scm_misc_error as the list of | |
449 | arguments for formatting the error message, not SCM_BOOL_F. I | |
450 | think this is left over from the (eq? '() #f) days. | |
451 | ||
452 | * read.c (recsexpr): Give this a dummy definition if | |
453 | DEBUG_EXTENSIONS isn't #defined. | |
454 | ||
517591cd MV |
455 | Fri Jul 4 23:42:17 1997 Marius Vollmer <mvo@zagadka.ping.de> |
456 | ||
457 | * coop-threads.c (scm_wait_condition_variable): Lock mutex again | |
458 | after waiting. | |
459 | ||
3f094ddf MV |
460 | Thu Jul 3 16:31:24 1997 Marius Vollmer <mvo@zagadka.ping.de> |
461 | ||
462 | * root.c (cwdr_outer_body): Bugfix: Pass `c' instead of `&c' to | |
463 | scm_internal_catch. | |
464 | ||
4a5fa91c TP |
465 | Sat Jun 28 16:14:09 1997 Tim Pierce <twp@twp.tezcat.com> |
466 | ||
467 | * Makefile.am (libguile_la_LIBADD): Remove @ALLOCA@, since | |
468 | alloca.lo will be included in @LIBLOBJS@. Something better than | |
469 | this should be possible. | |
470 | * Makefile.in: Regenerated. | |
471 | ||
7ad3c1e7 GH |
472 | Sat Jun 28 03:40:15 1997 Gary Houston <ghouston@actrix.gen.nz> |
473 | ||
474 | * simpos.h: prototype for scm_primitive_exit. | |
475 | * simpos.c (scm_primitive_exit): new procedure, terminates the | |
476 | process without unwinding the stack. | |
477 | ||
5d4774bc TP |
478 | Sat Jun 28 03:45:25 1997 Tim Pierce <twp@twp.tezcat.com> |
479 | ||
480 | * regex-posix.c (scm_make_regexp): Make `flags' a variable-length | |
481 | argument and logior its components together, so the user doesn't | |
482 | have to do this explicitly. Also, if regexp/basic is supplied, then | |
483 | turn off REG_EXTENDED. | |
484 | (scm_init_regex_posix): New regexp/basic symbol. | |
485 | (REG_BASIC): #define this if it is not already present. | |
486 | ||
ad6b30a0 TP |
487 | Fri Jun 27 20:36:35 1997 Tim Pierce <twpierce@bio-5.bsd.uchicago.edu> |
488 | ||
489 | * Makefile.am (libguile_la_LIBADD): Include @ALLOCA@. | |
490 | (MOSTLYCLEANFILES): New target, changed from CLEANFILES. | |
491 | (CLEANFILES): New target, clean versiondat.h, libpath.h. | |
492 | (DISTCLEANFILES): New target, clean *.x. | |
9159ebec | 493 | * Makefile.in: Regenerated. |
ad6b30a0 | 494 | |
db561408 JB |
495 | Tue Jun 24 00:29:07 1997 Jim Blandy <jimb@floss.red-bean.com> |
496 | ||
9230ac78 JB |
497 | * script.c (scm_compile_shell_switches): Add 1997 to copyright |
498 | years in usage message. | |
499 | ||
9572c0d0 JB |
500 | * Makefile.am (libguile_la_LDFLAGS): Bump library version. |
501 | * Makefile.in: Regenerated. | |
502 | ||
fcff2c5c JB |
503 | * regex-posix.c (scm_init_regex_posix): Delete the regexp/nosub |
504 | flag; I don't think we support it. | |
9572c0d0 JB |
505 | (scm_make_regexp): Make sure the user doesn't pass the |
506 | regexp/nosub flag. | |
fcff2c5c JB |
507 | |
508 | * regex-posix.c (scm_make_regexp, scm_regexp_exec): Add optional | |
db561408 JB |
509 | FLAGS arguments. |
510 | (scm_init_regex_posix): Define constants for the REG_mumble flags; | |
511 | name them according to the SCSH convention: regexp/mumble. | |
fcff2c5c | 512 | |
db561408 JB |
513 | * regex-posix.h (scm_make_regexp, scm_regexp_exec): Update prototypes. |
514 | ||
2409cdfa JB |
515 | Mon Jun 23 18:44:49 1997 Jim Blandy <jimb@floss.red-bean.com> |
516 | ||
517 | * Makefile.am (libpath.h): Include the values of all the standard | |
518 | Makefile directory variables. Print a message, but don't print | |
519 | all the commands. | |
520 | (versiondat.h): Print a message, but don't print all the commands. | |
521 | * load.c: #include "alist.h". | |
522 | (init_build_info): New function. | |
523 | (scm_init_load): Call it. | |
524 | * Makefile.in: Regenerated. | |
525 | ||
eb1e924e JB |
526 | Sun Jun 22 19:12:58 1997 Jim Blandy <jimb@floss.red-bean.com> |
527 | ||
d94c6eeb JB |
528 | * root.c: Establish a reliable catch-all handler for the new root. |
529 | After all the Scheme handler function might signal an error too, | |
530 | and we don't want to lose that. | |
531 | (cwdr_inner_body): Renamed from cwdr_body. | |
532 | (cwdr_outer_body): New function, to establish the user's handler, | |
533 | and pass control to cwdr_inner_body. | |
534 | (cwdr): Establish the reliable catch-all handler here, and pass | |
535 | control to cwdr_outer_body. | |
536 | (struct cwdr_body_data): New field, handler, to allow cwdr to pass | |
537 | the user's handler through to cwdr_outer_body. | |
538 | * throw.c (scm_handle_by_message): Move guts into.... | |
539 | (handler_message): New static function. | |
540 | (scm_handle_by_message_noexit): New function. | |
541 | * throw.h (scm_handle_by_message_noexit): New prototype. | |
542 | ||
eb1e924e JB |
543 | * __scm.h: (SCM_FENCE): New macro: optimizer will not move code |
544 | across this. Only works on GCC. Otherwise, we hope for the best. | |
545 | (SCM_DEFER_INTS, SCM_ALLOW_INTS): Use FENCE appropriately. I have | |
546 | the feeling that real thread systems will not need this... | |
547 | ||
0dc48630 JB |
548 | Sun Jun 22 15:46:35 1997 Jim Blandy <jimb@floss.red-bean.com> |
549 | ||
91b28bb5 JB |
550 | Try to detect when people are using one version of libguile and a |
551 | different version of ice-9. People have been skewing things and | |
552 | sending in bug reports. | |
553 | * Makefile.am (versiondat.h): New file to generate. | |
554 | * version.c: #include "versiondat.h", to get version info. | |
555 | (scm_libguile_config_stamp): New function. | |
556 | * script.c: #include "version.h". | |
557 | (scm_compile_switches): Call scm_version to get version number. | |
558 | * scmconfig.h.in, Makefile.in: Regenerated. | |
559 | * Makefile.in: Regenerated. | |
560 | ||
561 | * Makefile.am (ETAGS_ARGS): Catch SCM_PROC, etc. so we can find | |
562 | primitive definitions under their Scheme names. | |
563 | ||
564 | * Makefile.am (libguile_la_LDFLAGS): Update library version to | |
565 | 1:2. Helps avoid confusion between installed and uninstalled libs. | |
566 | ||
0dc48630 JB |
567 | * scmconfig.h.in: Regenerated. (Needed after June 3 change to |
568 | ../configure.in.) | |
569 | ||
570 | * gdb_interface.h (GDB_INTERFACE): Remove semicolon and trailing | |
571 | backslash from definition; this should be used like: GDB_INTERFACE; | |
572 | ||
c85e73d3 GH |
573 | Sun Jun 22 04:00:32 1997 Gary Houston <ghouston@actrix.gen.nz> |
574 | ||
575 | * ioext.c (scm_duplicate_port): bug fix: don't try to make the | |
576 | new port unbuffered until its stream has been set. | |
577 | ||
89ea5b7c GH |
578 | Sat Jun 21 18:44:03 1997 Gary Houston <ghouston@actrix.gen.nz> |
579 | ||
580 | * ports.h: new prototype. | |
581 | * ports.c (scm_flush_all_ports): new procedure, scsh compatible. | |
582 | ||
91529b1d JB |
583 | Sat Jun 21 00:25:03 1997 Jim Blandy <jimb@floss.red-bean.com> |
584 | ||
585 | Make things compile neatly under Sun's C compiler. | |
586 | * dynl.c (scm_dynamic_func): Cast return value from sysdep_dynl_func. | |
587 | * extchrs.c (xmbtowc): Make the second arg a normal char, not | |
588 | unsigned, because that's what the ANSI function takes. | |
589 | * extchrs.h (xmbtowc): Corresponding change to prototype. | |
590 | * genio.c (scm_gen_getc): Make buf plain chars. Nobody wants | |
591 | uchars here. | |
592 | * mbstrings.c (scm_mb_ilength): Use ANSI arg syntax. Make DATA | |
593 | argument plain char *. | |
594 | * strings.c (scm_string): Use SCM_ROCHARS, since c is a plain | |
595 | char. | |
596 | * tag.c (scm_tag): Remove unreachable statement. | |
597 | * unif.c (scm_array_to_list): If we want to shift a 1 bit to the | |
598 | top of the word, it should be unsigned. | |
599 | ||
600 | * eval.c (scm_lookupcar1): Don't declare var2 unless USE_THREADS | |
601 | is defined, to avoid warnings; it's only used in the | |
602 | conflict-checking code. Which might go away anyway. | |
603 | (SCM_CEVAL): All goto's targeting the `dispatch' label are in | |
604 | conditionals; put the label definition in an #if too, to stifle | |
605 | warnings. | |
606 | ||
607 | * Makefile.am (EXTRA_DIST): Include ChangeLog-gh and | |
608 | ChangeLog-threads in the distribution. | |
609 | * Makefile.in: Regenerated. | |
610 | ||
bee14491 TP |
611 | Fri Jun 20 10:03:41 1997 Tim Pierce <twpierce@bio-5.bsd.uchicago.edu> |
612 | ||
613 | * guile-snarf.in: Changed regexp to support CPPs that insert | |
614 | whitespace between lexical tokens (which munges the `%%%' snarf | |
615 | cookie). | |
616 | ||
55407879 TP |
617 | Tue Jun 17 13:49:56 1997 Tim Pierce <twpierce@bio-5.bsd.uchicago.edu> |
618 | ||
fcff2c5c | 619 | * load.c (scm_init_load_path): Append $(datadir)/guile to |
55407879 TP |
620 | %load-path, so modules do not have to be installed in Guile's |
621 | current version directory. | |
622 | ||
e5f8e12f MV |
623 | Mon Jun 16 17:20:55 1997 Marius Vollmer <mvo@zagadka.ping.de> |
624 | ||
625 | * dynl.c (scm_dynamic_call, scm_dynamic_args_call): Wrap dynamic | |
626 | function call in SCM_DEFER_INTS/SCM_ALLOW_INTS. | |
627 | (scm_dynamic_link, scm_dynamic_unlink, scm_dynamic_func): Always | |
628 | call the sysdep functions with deferred ints. | |
629 | * dynl.c, dynl-dl.c, dynl-dld.c, dynl-shl.c (sysdep_dynl_link, | |
630 | sysdep_dynl_unlink, sysdep_dynl_func): Expect to be called with | |
631 | deferred interrupts and insert SCM_ALLOW_INTS before throwing an | |
632 | error. | |
633 | ||
634 | * dynl.c (scm_dynamic_unlink, scm_dynamic_call): Return | |
635 | SCM_UNSPECIFIED. | |
636 | ||
cc0b3312 GH |
637 | Sat Jun 14 19:00:58 1997 Gary Houston <ghouston@actrix.gen.nz> |
638 | ||
639 | * scmsigs.c (sys_deliver_signals): add a comment about a probable bug. | |
640 | ||
3688473b JB |
641 | Wed Jun 11 00:33:00 1997 Jim Blandy <jimb@floss.red-bean.com> |
642 | ||
643 | * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in | |
644 | ../configure.in. | |
645 | ||
58932e4a MV |
646 | Sun Jun 8 14:37:26 1997 Marius Vollmer <mvo@zagadka.ping.de> |
647 | ||
648 | * eval.c (scm_lookupcar1): New procedure to cope with a race | |
649 | condition during lookup (when using threads). | |
650 | (scm_lookupcar): Implement in terms of scm_lookupcar1. | |
651 | (SCM_CEVAL): Use scm_lookupcar1 instead of scm_lookupcar in one | |
652 | place. | |
653 | ||
95d59d10 JB |
654 | Fri Jun 6 19:05:07 1997 Jim Blandy <jimb@totoro.cyclic.com> |
655 | ||
656 | * regex-posix.c (scm_regexp_exec): Use the `start' argument if | |
657 | supplied. (Change from Tim Pierce.) | |
658 | ||
0b46857f MV |
659 | Thu Jun 5 16:38:19 1997 Marius Vollmer <mvo@zagadka.ping.de> |
660 | ||
661 | * struct.c (init_struct): Forget to mention this in the "Wed Jun 4 | |
662 | 23:47:01 1997" changelog: Slots are now initialized with `#f' by | |
663 | default and not `()'. `#f' is the canonical non-value in Scheme, | |
664 | right? | |
665 | ||
5dade857 MV |
666 | Wed Jun 4 23:47:01 1997 Marius Vollmer <mvo@zagadka.ping.de> |
667 | ||
668 | * struct.c (struct_printer): New variable that holds a handle on | |
669 | the Scheme variable *struct-printer*. This variable can be set by | |
670 | Scheme code to override the printing of structures. | |
671 | (scm_print_struct): If struct_printer is set, call it. If it is | |
672 | not set, or returns #f, print the structure in the old fashion. | |
673 | Include "eval.h" for scm_apply. | |
674 | ||
7507aba1 MV |
675 | Tue Jun 3 23:01:39 1997 Marius Vollmer <mvo@zagadka.ping.de> |
676 | ||
677 | * struct.c (scm_struct_ref, scm_struct_set_x): Use | |
678 | scm_struct_i_n_words to get the number of fields, not | |
679 | -scm_struct_n_extra_words. | |
680 | ||
681 | On the route to fancier struct printing: | |
682 | * struct.c (scm_print_struct): New function to print a structure. | |
683 | Include "genio.h" to support it. This function doesn't do | |
684 | anything interesting right now, but I think it should be here | |
685 | anyway. | |
686 | * struct.h: Include "print.h" and add prototype for | |
687 | scm_print_struct. | |
688 | * print.c (scm_iprin1): Call scm_print_struct instead of trying to | |
689 | print structures ourself. | |
690 | ||
2ad6b1a5 GH |
691 | Sun Jun 1 07:58:41 1997 Gary Houston <ghouston@actrix.gen.nz> |
692 | ||
693 | * scmsigs.c (sys_deliver_signals): bug fix: reset got_signal[i] | |
694 | before applying the handler in case it doesn't return. | |
695 | ||
e1a191a8 GH |
696 | Sat May 31 18:57:51 1997 Gary Houston <ghouston@actrix.gen.nz> |
697 | ||
698 | * scmsigs.h, async.h: updated. | |
699 | ||
700 | * _scm.h: if HAVE_RESTARTS is defined then don't use a SYSCALL | |
701 | loop. | |
702 | ||
703 | * posix.c (scm_uname): interpret only negative values as an error. | |
704 | Solaris normally returns a positive value. | |
705 | ||
706 | * script.c (scm_compile_shell_switches): if we are not going into | |
707 | an interactive repl, set scm_mask_ints to zero so that asyncs can | |
708 | run. | |
709 | ||
710 | * simpos.c (scm_system): don't ignore/unignore signals around | |
711 | the "system" call. | |
712 | ||
713 | * posix.c (scm_open_pipe): don't ignore/unignore signals around | |
714 | the "popen" call. | |
715 | ||
716 | * init.c (scm_boot_guile_1): don't call scm_init_signals, it's | |
717 | done in boot-9.scm instead. | |
718 | ||
719 | * scmsigs.c, async.c: Major rewriting of signal handling code. | |
720 | (scm_sigaction): new procedure. | |
721 | (scm_sleep): don't wrap sleep in SCM_SYSCALL, it would mess up the | |
722 | timing. | |
723 | (scm_raise): return unspecified, throw error on failure. | |
724 | ||
0e165281 JB |
725 | Thu May 29 02:47:36 1997 Jim Blandy <jimb@floss.cyclic.com> |
726 | ||
727 | * regex-posix.c (scm_init_regex_posix): Register the "regex" | |
728 | feature, to help boot-9.scm decide whether to import the regex | |
729 | module. | |
730 | ||
4885ba0e | 731 | Thu May 29 02:19:40 1997 Jim Blandy <jimb@floss.cyclic.com> |
1e5afba0 | 732 | |
4885ba0e JB |
733 | * eval.c: Include scmconfig.h at the beginning of the file so that |
734 | HAVE_ALLOCA_H may properly be defined. Thanks to Bill Janssen for | |
735 | pointing this out. | |
1e5afba0 JB |
736 | |
737 | * regex-posix.c: #include "_scm.h" before conditionally #including | |
738 | <regex.h>; the former defines HAVE_REGCOMP. | |
739 | ||
4885ba0e JB |
740 | * regex-posix.c: #include <regex.h> conditionally, so the file is |
741 | CPP'able (for dependency scanning) even on systems that don't have | |
742 | a <regex.h> header. | |
743 | ||
5aefdd40 JB |
744 | Tue May 27 23:48:38 1997 Jim Blandy <jimb@floss.cyclic.com> |
745 | ||
746 | Add new R4RS-compliant syntax for keywords. | |
747 | * read.c (scm_lreadr): Recognize `#:' as a prefix for keywords, | |
748 | regardless of the setting of the `keywords' read option. | |
749 | * kw.c (prin_kw): Print keywords using the `#:' syntax, so they | |
750 | can be re-read no matter what the setting of the `keywords' read | |
751 | option. | |
752 | ||
737c9113 JB |
753 | Tue May 27 22:47:31 1997 Tim Pierce <twp@twp.tezcat.com> |
754 | ||
755 | Add support for POSIX regular expressions. | |
756 | ||
757 | * regex-posix.c, regex-posix.h: New files. (Some code | |
758 | is taken liberally from rx/rgx.c in the old Guile dist.) | |
759 | ||
760 | * init.c: Include regex-posix.h. | |
761 | (scm_boot_guile_1): Call scm_init_regex_posix. | |
762 | ||
763 | * Makefile.am (EXTRA_libguile_la_SOURCES, modinclude_HEADERS): | |
764 | Add regex-posix.[ch] sources. | |
765 | * Makefile.in: Regenerated. | |
766 | ||
767 | * scmconfig.h.in: Add HAVE_REGCOMP macro. (automake is supposed | |
768 | to do this automatically? It didn't for me, bleh.) | |
769 | ||
06de7963 JB |
770 | Mon May 26 18:51:29 1997 Jim Blandy <jimb@floss.cyclic.com> |
771 | ||
33623b5e JB |
772 | * fports.c (print_pipe_port): New function. |
773 | (scm_fptob): Use print_pipe_port instead of scm_prinport; the | |
774 | latter doesn't even take the right arguments. | |
775 | ||
776 | * Makefile.am: Increment shared lib revision number. I think | |
777 | sometimes the uninstalled Guile finds the installed shared lib; | |
778 | Gord says doing this might help. As things turned out, I can't | |
779 | say whether it does. | |
780 | * Makefile.in: Regenerated. | |
781 | ||
06de7963 JB |
782 | * gh_init.c (gh_enter): Cast c_main_prog to a void * before |
783 | passing it as the closure argument to scm_boot_guile. (Bill | |
784 | Janssen) | |
785 | ||
786 | * ports.c (print_void_port, putc_void_port, puts_void_port, | |
787 | write_void_port, flush_void_port, getc_void_port, close_void_port, | |
788 | noop0): Use ANSI prototypes instead of K&R declarations, so the | |
789 | initialization of void_port_ptob gets aggressively type-checked. | |
790 | Fix arguments of print_void_port and write_void_port. (Bill | |
791 | Janssen) | |
82892bed JB |
792 | |
793 | * COPYING, __scm.h, _scm.h, alist.c, alist.h, append.c, append.h, | |
794 | appinit.c, arbiters.c, arbiters.h, async.c, async.h, backtrace.c, | |
795 | backtrace.h, boolean.c, boolean.h, chars.c, chars.h, | |
796 | continuations.c, continuations.h, coop-defs.h, coop-threads.c, | |
797 | coop-threads.c.cygnus, coop-threads.h, coop-threads.h.cygnus, | |
798 | coop.c, debug.c, debug.h, dynl-dl.c, dynl-dld.c, dynl-shl.c, | |
799 | dynl-vms.c, dynl.c, dynl.h, dynwind.c, dynwind.h, eq.c, eq.h, | |
800 | error.c, error.h, eval.c, eval.h, extchrs.h, feature.c, feature.h, | |
801 | filesys.c, filesys.h, fports.c, fports.h, fsu-pthreads.h, gc.c, | |
802 | gc.h, gdbint.c, gdbint.h, genio.c, genio.h, gh.h, gh_data.c, | |
803 | gh_eval.c, gh_funcs.c, gh_init.c, gh_io.c, gh_list.c, | |
804 | gh_predicates.c, gh_test_c.c, gh_test_repl.c, gscm.c, gscm.h, | |
805 | gsubr.c, gsubr.h, guile.c, hash.c, hash.h, hashtab.c, hashtab.h, | |
806 | init.c, init.h, ioext.c, ioext.h, kw.c, kw.h, libguile.h, list.c, | |
807 | list.h, load.c, load.h, mallocs.c, mallocs.h, markers.c, | |
808 | markers.h, mbstrings.c, mbstrings.h, mit-pthreads.c, | |
809 | mit-pthreads.h, net_db.c, net_db.h, numbers.c, numbers.h, | |
810 | objprop.c, objprop.h, options.c, options.h, pairs.c, pairs.h, | |
811 | ports.c, ports.h, posix.c, posix.h, print.c, print.h, procprop.c, | |
812 | procprop.h, procs.c, procs.h, putenv.c, ramap.c, ramap.h, read.c, | |
813 | read.h, root.c, root.h, scmhob.h, scmsigs.c, scmsigs.h, script.c, | |
814 | script.h, sequences.c, sequences.h, simpos.c, simpos.h, smob.c, | |
815 | smob.h, snarf.h, socket.c, socket.h, srcprop.c, srcprop.h, | |
816 | stackchk.c, stackchk.h, stacks.c, stacks.h, stime.c, stime.h, | |
817 | strings.c, strings.h, strop.c, strop.h, strorder.c, strorder.h, | |
818 | strports.c, strports.h, struct.c, struct.h, symbols.c, symbols.h, | |
819 | tag.c, tag.h, tags.h, threads.c, threads.h, throw.c, throw.h, | |
820 | unif.c, unif.h, variable.c, variable.h, vectors.c, vectors.h, | |
821 | version.c, version.h, vports.c, vports.h, weaks.c, weaks.h: New | |
822 | address for FSF. | |
823 | ||
3f4c654d JB |
824 | Mon May 26 12:37:30 1997 Jim Blandy <jimb@floss.cyclic.com> |
825 | ||
826 | * script.c (scm_find_executable): Use prototype-style definition | |
827 | here; apparently it's not quite right to have const in a prototype | |
828 | and then use a K&R declaration. I wonder if stuff like this will | |
829 | go away if we compile with -Wrequire-prototypes, or whatever that | |
a00c28cd | 830 | is... (Bernard URBAN) |
3f4c654d JB |
831 | |
832 | * scmhob.h: New text from Bernard URBAN. | |
833 | ||
834 | Sat May 17 17:14:36 1997 Jim Blandy <jimb@floss.cyclic.com> | |
835 | ||
836 | * script.c: Don't #define const on hpux. Configure takes care of | |
837 | this. (Thanks to Larry Schwimmer.) | |
838 | ||
839 | * script.c: Use the HAVE_UNISTD_H symbol provided by autoconf to | |
840 | decide whether to #include <unistd.h>, instead of listing a bunch | |
841 | of systems. Don't #include stdio twice. Removed dyked-out | |
842 | definition of scm_find_impl_file. | |
843 | ||
eeb56f3c JB |
844 | Fri May 16 03:06:08 1997 Jim Blandy <jimb@floss.cyclic.com> |
845 | ||
adb98aa9 JB |
846 | * Makefile.am (libguile_la_LDFLAGS): Update libguile's shared |
847 | library version info to 1:0. | |
848 | * Makefile.in: Regenerated. | |
849 | ||
142ad3d9 JB |
850 | * backtrace.c, backtrace.h, debug.c, debug.h, eq.c, |
851 | gdb_interface.h, gdbint.c, gdbint.h, gh_data.c, gh_init.c, | |
852 | gh_io.c, gh_list.c, gh_predicates.c, gh_test_c.c, gh_test_repl.c, | |
853 | init.c, net_db.c, options.c, options.h, ports.c, print.c, read.c, | |
854 | script.h, snarf.h, srcprop.c, srcprop.h, stacks.c, stacks.h, | |
855 | throw.c: Update copyright years; these files have been worked on | |
856 | significantly in 1997, but only had copyright years for 1996. | |
857 | Also, change name of copyright holder on some from Mikael | |
858 | Djurfeldt to Free Software Foundation; he has signed papers | |
859 | assigning the changes to the FSF. | |
860 | ||
eeb56f3c JB |
861 | * script.c (scm_shell_usage): Pass FATAL to exit. There's no |
862 | reason not to give the user the option. | |
190b072d JB |
863 | |
864 | * net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_getserv): | |
865 | Return #f on end-of-file when scanning table (i.e. when called | |
866 | with no arguments). Try to catch errors, when we can. | |
095936d2 JB |
867 | * posix.c (scm_getgrgid, scm_getpwuid): Same. |
868 | ||
869 | * script.h (scm_shell_usage, scm_compile_shell_switches): New | |
190b072d JB |
870 | external declarations. These are useful. |
871 | ||
a48a89bc GH |
872 | Thu May 15 05:21:36 1997 Gary Houston <ghouston@actrix.gen.nz> |
873 | ||
874 | * posix.c: don't include <sys/select.h> or define macros for | |
875 | select, since they were not used in this file. | |
876 | ||
095936d2 | 877 | * filesys.c (scm_select): make the fifth parameter microseconds, |
a48a89bc GH |
878 | not milliseconds. let the fourth parameter be either a real value |
879 | or an integer or #f. The first, second and third arguments can | |
880 | now be vectors: the type of the corresponding return set will be | |
881 | the same. | |
882 | (set_element, get_element): new static procedures. | |
883 | ||
f3b1485f JB |
884 | Wed May 14 12:18:12 1997 Jim Blandy <jimb@floss.cyclic.com> |
885 | ||
223be5f0 JB |
886 | * strports.c (scm_eval_string): New function. |
887 | (scm_eval_0str): Trivially re-implemented in terms of | |
888 | scm_eval_string. | |
889 | * strports.h (scm_eval_string): New extern decl. | |
890 | ||
e1cd56f9 JB |
891 | * net_db.c (h_errno): Add extern decl for this. |
892 | ||
f3b1485f JB |
893 | * fports.c (local_pclose): New function. |
894 | (scm_pipob): Use it in the initializer here. | |
895 | ||
896 | From Tim Pierce: | |
897 | * net_db.c (scm_gethost, scm_getproto, scm_getnet, scm_getserv): | |
898 | Use a meaningful error message when signalling an error. For | |
899 | this, scm_gethost must check h_errno rather than errno. | |
900 | ||
9b01064c JB |
901 | Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com> |
902 | ||
903 | * Makefile.in: Regenerated, using automake-1.1p. | |
904 | ||
08fea088 GH |
905 | Tue May 13 04:34:52 1997 Gary Houston <ghouston@actrix.gen.nz> |
906 | ||
0267051b GH |
907 | * socket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify, |
908 | not SCM_UNSPECIFIED. | |
909 | ||
08fea088 GH |
910 | * script.c (scm_compile_shell_switches): don't append (quit) if |
911 | interactive. | |
912 | (scm_shell): call scm_exit_status and exit on the result of the | |
913 | evaluation. | |
914 | ||
821eb64e JB |
915 | Mon May 12 17:23:58 1997 Jim Blandy <jimb@floss.cyclic.com> |
916 | ||
917 | Ensure that shared substrings are handled properly when passed to | |
918 | a system call or other foreign function. Many thanks to Tim | |
919 | Pierce! | |
920 | * symbols.h (SCM_COERCE_SUBSTR): new macro. | |
921 | * filesys.c (scm_chmod, scm_rename, scm_delete_file, scm_mkdir, | |
922 | scm_rmdir, scm_opendir, scm_chdir, scm_symlink, scm_readlink, | |
923 | scm_lstat), ports.c (scm_sys_make_void_port), posix.c (scm_utime, | |
924 | scm_putenv, scm_setlocale, scm_mknod), stime.c (setzone, | |
925 | scm_strftime), vports.c (scm_make_soft_port), backtrace.c | |
926 | (scm_display_error_message): use RO macros when strings may be RO. | |
927 | * error.c (scm_error_scm), filesys.c (scm_chown, scm_chmod, | |
928 | scm_rename, scm_delete_file, scm_mkdir, scm_rmdir, scm_opendir, | |
929 | scm_chdir, scm_symlink, scm_readlink, scm_lstat), ioext.c | |
930 | (scm_freopen, scm_duplicate_port, scm_fdopen), net_db.c | |
931 | (scm_gethost, scm_getnet, scm_getproto, scm_getserv), ports.c | |
932 | (scm_sys_make_void_port), posix.c (scm_getgrgid, scm_utime, | |
933 | scm_setlocale, scm_mknod), stime.c (setzone, scm_strptime, | |
934 | scm_strftime), vports.c (scm_make_soft_port): use | |
935 | SCM_COERCE_SUBSTR to make sure shared substrings are | |
936 | null-terminated. | |
937 | ||
938 | Mon May 12 15:33:10 1997 Jim Blandy <jimb@totoro.cyclic.com> | |
939 | ||
940 | * error.c (scm_error): Add newline to error message. | |
941 | ||
942 | * init.c (scm_init_standard_ports): Doc fix. | |
943 | ||
8e6f33db MV |
944 | Thu May 8 14:38:01 1997 Marius Vollmer <mvo@zagadka.ping.de> |
945 | ||
946 | * dynl-shl.c: Completely replaced with new code from Bernard | |
947 | URBAN. | |
948 | ||
949 | * script.c (scm_ice_9_already_loaded): New variable. | |
950 | (scm_compile_shell_switches): Use it. | |
951 | ||
4edc089c GH |
952 | Mon May 5 20:35:08 1997 Gary Houston <ghouston@actrix.gen.nz> |
953 | ||
954 | * filesys.c (scm_input_waiting_p): add missing third argument to | |
955 | scm_misc_error. | |
956 | ||
957 | * stime.c (scm_localtime): copy the result of localtime before | |
958 | calling gmtime in case they share a buffer. | |
959 | (scm_localtime, scm_mktime): throw an error if neither HAVE_TM_ZONE | |
960 | nor HAVE_TZNAME. | |
961 | ||
554878da GH |
962 | Fri May 2 19:07:11 1997 Gary Houston <ghouston@actrix.gen.nz> |
963 | ||
964 | * eq.c (scm_equal_p): use SCM_TYP7SD (y) not SCM_TYP7SD (x). | |
4edc089c | 965 | |
914155ca JB |
966 | Thu May 1 17:01:45 1997 Jim Blandy <jimb@floss.cyclic.com> |
967 | ||
968 | * Makefile.am (check-local): New target, which causes 'make check' | |
969 | to run gh_test_c and gh_test_repl, with some trivial input. | |
970 | * Makefile.in: Rgnrtd. | |
971 | ||
6fa9bcd0 MV |
972 | Tue Apr 29 19:00:40 1997 Marius Vollmer <mvo@zagadka.ping.de> |
973 | ||
974 | * dynl.c (print_dynl_obj): Indicate whether the dynamic object has | |
975 | been unlinked. | |
976 | ||
9ea54cc6 GH |
977 | Mon Apr 28 06:10:14 1997 Gary Houston <ghouston@actrix.gen.nz> |
978 | ||
979 | * async.c (scm_sys_tick_async_thunk): commented out. I'm not | |
980 | sure how this was supposed to work. | |
981 | (scm_async_click): don't send SCM_TICK_SIGNAL. | |
982 | (scm_init_async): don't initialize %tick-thunk. | |
983 | ||
984 | * the following change doesn't affect the Scheme interface: | |
985 | gc-thunk is called at the end of garbage collection. however it's | |
986 | no longer implemented by pretending it's a signal. | |
987 | ||
988 | * gc.c (scm_gc_end): don't call scm_take_signal. instead mark the | |
989 | system async corresponding to scm_gc_thunk. | |
990 | * async.h: declare scm_gc_async. | |
991 | * async.c (scm_sys_gc_async_thunk): apply the thunk named by | |
992 | gc-thunk directly, instead of going through a signal handler. | |
993 | (scm_gc_async): new variable, points to the GC system-async. | |
994 | (scm_init_async): save the GC async as scm_gc_async instead | |
995 | of using system_signal_asyncs. | |
996 | (scm_gc_vcell): new variable, stores the gc-thunk vcell. | |
997 | ||
10830232 JB |
998 | Mon Apr 28 19:14:44 1997 Jim Blandy <jimb@floss.cyclic.com> |
999 | ||
1000 | * Makefile.am (libpath.h, cpp_err_symbols.c, cpp_sig_symbols.c): | |
1001 | Don't screw up if we're interrupted. | |
1002 | * Makefile.in: Regeneradet. | |
1003 | ||
28c682fa JB |
1004 | Sun Apr 27 17:57:15 1997 Jim Blandy <jimb@floss.cyclic.com> |
1005 | ||
1006 | * aclocal.m4: Removed; unnecessary, given changes of Apr 24. | |
1007 | ||
1008 | * Makefile.am (modincludedir): Use "ice-9" instead of "@module@"; | |
1009 | we're not using AM_INIT_GUILE_MODULE any more. | |
1010 | * Makefile.in: Reneregated. | |
1011 | ||
20108301 JB |
1012 | Thu Apr 24 00:41:08 1997 Jim Blandy <jimb@floss.cyclic.com> |
1013 | ||
4616e355 | 1014 |