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