* script.h (scm_shell-usage, scm_compile_shell_switches): New
[bpt/guile.git] / libguile / ChangeLog
CommitLineData
a48a89bc
GH
1Thu May 15 05:21:36 1997 Gary Houston <ghouston@actrix.gen.nz>
2
3 * posix.c: don't include <sys/select.h> or define macros for
4 select, since they were not used in this file.
5
6* * filesys.c (scm_select): make the fifth parameter microseconds,
7 not milliseconds. let the fourth parameter be either a real value
8 or an integer or #f. The first, second and third arguments can
9 now be vectors: the type of the corresponding return set will be
10 the same.
11 (set_element, get_element): new static procedures.
12
f3b1485f
JB
13Wed May 14 12:18:12 1997 Jim Blandy <jimb@floss.cyclic.com>
14
223be5f0
JB
15 * strports.c (scm_eval_string): New function.
16 (scm_eval_0str): Trivially re-implemented in terms of
17 scm_eval_string.
18 * strports.h (scm_eval_string): New extern decl.
19
e1cd56f9
JB
20 * net_db.c (h_errno): Add extern decl for this.
21
f3b1485f
JB
22 * fports.c (local_pclose): New function.
23 (scm_pipob): Use it in the initializer here.
24
25 From Tim Pierce:
26 * net_db.c (scm_gethost, scm_getproto, scm_getnet, scm_getserv):
27 Use a meaningful error message when signalling an error. For
28 this, scm_gethost must check h_errno rather than errno.
29
9b01064c
JB
30Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
31
32 * Makefile.in: Regenerated, using automake-1.1p.
33
08fea088
GH
34Tue May 13 04:34:52 1997 Gary Houston <ghouston@actrix.gen.nz>
35
0267051b
GH
36 * socket.c (scm_addr_vector): use SCM_UNDEFINED in scm_listify,
37 not SCM_UNSPECIFIED.
38
08fea088
GH
39 * script.c (scm_compile_shell_switches): don't append (quit) if
40 interactive.
41 (scm_shell): call scm_exit_status and exit on the result of the
42 evaluation.
43
821eb64e
JB
44Mon May 12 17:23:58 1997 Jim Blandy <jimb@floss.cyclic.com>
45
46 Ensure that shared substrings are handled properly when passed to
47 a system call or other foreign function. Many thanks to Tim
48 Pierce!
49 * symbols.h (SCM_COERCE_SUBSTR): new macro.
50 * filesys.c (scm_chmod, scm_rename, scm_delete_file, scm_mkdir,
51 scm_rmdir, scm_opendir, scm_chdir, scm_symlink, scm_readlink,
52 scm_lstat), ports.c (scm_sys_make_void_port), posix.c (scm_utime,
53 scm_putenv, scm_setlocale, scm_mknod), stime.c (setzone,
54 scm_strftime), vports.c (scm_make_soft_port), backtrace.c
55 (scm_display_error_message): use RO macros when strings may be RO.
56 * error.c (scm_error_scm), filesys.c (scm_chown, scm_chmod,
57 scm_rename, scm_delete_file, scm_mkdir, scm_rmdir, scm_opendir,
58 scm_chdir, scm_symlink, scm_readlink, scm_lstat), ioext.c
59 (scm_freopen, scm_duplicate_port, scm_fdopen), net_db.c
60 (scm_gethost, scm_getnet, scm_getproto, scm_getserv), ports.c
61 (scm_sys_make_void_port), posix.c (scm_getgrgid, scm_utime,
62 scm_setlocale, scm_mknod), stime.c (setzone, scm_strptime,
63 scm_strftime), vports.c (scm_make_soft_port): use
64 SCM_COERCE_SUBSTR to make sure shared substrings are
65 null-terminated.
66
67Mon May 12 15:33:10 1997 Jim Blandy <jimb@totoro.cyclic.com>
68
69 * error.c (scm_error): Add newline to error message.
70
71 * init.c (scm_init_standard_ports): Doc fix.
72
8e6f33db
MV
73Thu May 8 14:38:01 1997 Marius Vollmer <mvo@zagadka.ping.de>
74
75 * dynl-shl.c: Completely replaced with new code from Bernard
76 URBAN.
77
78 * script.c (scm_ice_9_already_loaded): New variable.
79 (scm_compile_shell_switches): Use it.
80
4edc089c
GH
81Mon May 5 20:35:08 1997 Gary Houston <ghouston@actrix.gen.nz>
82
83 * filesys.c (scm_input_waiting_p): add missing third argument to
84 scm_misc_error.
85
86 * stime.c (scm_localtime): copy the result of localtime before
87 calling gmtime in case they share a buffer.
88 (scm_localtime, scm_mktime): throw an error if neither HAVE_TM_ZONE
89 nor HAVE_TZNAME.
90
554878da
GH
91Fri May 2 19:07:11 1997 Gary Houston <ghouston@actrix.gen.nz>
92
93 * eq.c (scm_equal_p): use SCM_TYP7SD (y) not SCM_TYP7SD (x).
4edc089c 94
914155ca
JB
95Thu May 1 17:01:45 1997 Jim Blandy <jimb@floss.cyclic.com>
96
97 * Makefile.am (check-local): New target, which causes 'make check'
98 to run gh_test_c and gh_test_repl, with some trivial input.
99 * Makefile.in: Rgnrtd.
100
6fa9bcd0
MV
101Tue Apr 29 19:00:40 1997 Marius Vollmer <mvo@zagadka.ping.de>
102
103 * dynl.c (print_dynl_obj): Indicate whether the dynamic object has
104 been unlinked.
105
9ea54cc6
GH
106Mon Apr 28 06:10:14 1997 Gary Houston <ghouston@actrix.gen.nz>
107
108 * async.c (scm_sys_tick_async_thunk): commented out. I'm not
109 sure how this was supposed to work.
110 (scm_async_click): don't send SCM_TICK_SIGNAL.
111 (scm_init_async): don't initialize %tick-thunk.
112
113 * the following change doesn't affect the Scheme interface:
114 gc-thunk is called at the end of garbage collection. however it's
115 no longer implemented by pretending it's a signal.
116
117 * gc.c (scm_gc_end): don't call scm_take_signal. instead mark the
118 system async corresponding to scm_gc_thunk.
119 * async.h: declare scm_gc_async.
120 * async.c (scm_sys_gc_async_thunk): apply the thunk named by
121 gc-thunk directly, instead of going through a signal handler.
122 (scm_gc_async): new variable, points to the GC system-async.
123 (scm_init_async): save the GC async as scm_gc_async instead
124 of using system_signal_asyncs.
125 (scm_gc_vcell): new variable, stores the gc-thunk vcell.
126
10830232
JB
127Mon Apr 28 19:14:44 1997 Jim Blandy <jimb@floss.cyclic.com>
128
129 * Makefile.am (libpath.h, cpp_err_symbols.c, cpp_sig_symbols.c):
130 Don't screw up if we're interrupted.
131 * Makefile.in: Regeneradet.
132
28c682fa
JB
133Sun Apr 27 17:57:15 1997 Jim Blandy <jimb@floss.cyclic.com>
134
135 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
136
137 * Makefile.am (modincludedir): Use "ice-9" instead of "@module@";
138 we're not using AM_INIT_GUILE_MODULE any more.
139 * Makefile.in: Reneregated.
140
20108301
JB
141Thu Apr 24 00:41:08 1997 Jim Blandy <jimb@floss.cyclic.com>
142
4616e355
JB
143