Commit | Line | Data |
---|---|---|
4ba5f279 MD |
1 | 2002-11-17 Mikael Djurfeldt <mdj@linnaeus> |
2 | ||
3 | * debug.c (scm_make_iloc): Added missing "return". | |
4 | ||
56ae231f MV |
5 | 2002-11-17 Marius Vollmer <mvo@zagadka.ping.de> |
6 | ||
7 | * strports.c (scm_eval_string_in_module): Validate second arg to | |
8 | be a module. Thanks to Arno Peters! | |
9 | ||
80b28865 DH |
10 | 2002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de> |
11 | ||
12 | * .cvsignore: remove goops.c | |
13 | ||
c88b1456 DH |
14 | 2002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de> |
15 | ||
16 | * modules.c (scm_env_top_level, scm_lookup_closure_module, | |
17 | module_variable, scm_module_lookup_closure, | |
18 | scm_module_transformer, scm_sym2var, scm_module_reverse_lookup, | |
19 | scm_system_module_env_p): Don't compare SCM values with C | |
20 | operators == or !=. Avoid SCM_IMP predicates. Prefer !SCM_FALSEP | |
21 | over SCM_NFALSEP. | |
22 | ||
a8a19efc DH |
23 | 2002-11-16 Dirk Herrmann <D.Herrmann@tu-bs.de> |
24 | ||
25 | * eval.h (SCM_MAKE_ILOC): New macro. | |
26 | ||
27 | * debug.c (scm_make_iloc): Use SCM_MAKE_ILOC instead of computing | |
28 | the iloc bitpattern here. | |
29 | ||
76734914 MD |
30 | 2002-11-14 Mikael Djurfeldt <mdj@linnaeus> |
31 | ||
32 | * coop-pthreads.c, coop-pthreads.h: scm_internal_select should be | |
33 | part of the API, otherwise it's difficult to write Guile | |
34 | extensions using non-blocking I/O => moved #include | |
35 | "libguile/iselect.h" from coop-pthreads.c --> coop-pthreads.h. | |
36 | ||
37 | * coop-pthreads.c (scm_unlock_mutex): Changed s_lock_mutex --> | |
38 | s_unlock_mutex. | |
39 | ||
8b5b4a75 MV |
40 | 2002-11-10 Marius Vollmer <mvo@zagadka.ping.de> |
41 | ||
42 | * __scm.h (USE_THREADS, GUILE_ISELECT): Do not define here. They | |
43 | are defined in configure.in. | |
44 | ||
45 | * threads.c: Removed SCM_API from function definitions. SCM_API | |
46 | is only for declarations. | |
47 | ||
e5a83084 MD |
48 | 2002-11-07 Mikael Djurfeldt <mdj@linnaeus> |
49 | ||
9be8bb45 MD |
50 | * coop-pthreads.h: Added support for thread specific data to the |
51 | generic C API for the coop-pthreads case. | |
52 | ||
e5a83084 MD |
53 | * threads.c, threads.h (scm_cond_init): Undo unintentional API |
54 | change. | |
6c214b62 | 55 | (scm_cond_broadcast): Added missing function. |
e5a83084 | 56 | |
7edf178e MV |
57 | 2002-11-04 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
58 | ||
59 | * coop.c (coop_next_runnable_thread): Removed, wich should have | |
60 | happened when GUILE_ISELECT was hard-wired. | |
61 | ||
7f5b1b77 MV |
62 | 2002-11-03 Marius Vollmer <mvo@zagadka.ping.de> |
63 | ||
7caa1b07 MV |
64 | * Makefile.am (libguile_la_SOURCES): Added threads.c |
65 | (DOT_DOC_FILES): Added threads.doc. | |
66 | (DOT_X_FILES): Added threads.x. | |
67 | (EXTRA_libguile_la_SOURCES): Removed threads.c. | |
68 | (noinst_HEADERS): Added coop-pthreads.c. | |
69 | (modinclude_HEADERS): Added coop-pthreads.h. | |
70 | ||
71 | * __scm.h (USE_THREADS, GUILE_ISELECT): Define when | |
72 | SCM_DEBUG_DEPRECATED. Removed their use thru-out Guile. | |
73 | ||
bb11cbf4 MV |
74 | * iselect.c: Include "_scm.h" before testing HAVE_UNISTD_H. |
75 | Thanks to Bill Schottstaedt! | |
76 | ||
1d4cbbed MV |
77 | * numbers.c (scm_integer_expt): Make 0^z == 0 for z != 0. |
78 | ||
7f5b1b77 MV |
79 | * _scm.h (HAVE_RESTARTABLE_SYSCALLS): Do define even when |
80 | SCM_COPT_THREADS is defined. | |
81 | (SCM_SYSCALL): Use EINTR-expection version when SCM_COPT_THREADS | |
82 | is defined. | |
83 | ||
84 | * coop-pthreads.c: Some harmless renamings of internal stuff. | |
85 | (create_thread): New, generalized version of | |
86 | scm_call_with_new_thread. | |
87 | (scm_call_with_new_thread): Use it. | |
88 | (scm_spawn_thread): New, use create_thread. | |
89 | ||
d52f53b1 MV |
90 | 2002-11-02 Marius Vollmer <mvo@zagadka.ping.de> |
91 | ||
92 | * coop-pthreads.c, coop-pthreads.h: Redone completely, you might | |
93 | start testing it now. | |
94 | ||
95 | * _scm.h: Include <errno.h< so that SCM_SYSCALL is correctly | |
96 | defined when HAVE_RESTARTABLE_SYSCALLS is not defined. | |
97 | (HAVE_RESTARTABLE_SYSCALLS): Do not define when USE_COPT_THREADS | |
98 | is defined. | |
99 | ||
30f920c3 MV |
100 | 2002-10-27 Marius Vollmer <mvo@zagadka.ping.de> |
101 | ||
102 | * scmsigs.c (signal_cell_handlers, install_handler_data, | |
103 | scm_delq_spine_x, really_install_handler, install_handler): New | |
104 | scheme for triggering signal handlers, to simplify take_signal. | |
105 | (take_signal): Simplified, to avoid race conditions. | |
106 | (scm_sigaction_for_thread): Use new Scheme. Validate that thread | |
107 | hasn't exited yet. | |
108 | ||
109 | * async.c (scm_async_click): Reset pending_asyncs, handle | |
110 | signal_asyncs. Don't set cdr of a non-signal async to #f. | |
111 | (scm_i_queue_async_cell): Do not check cdr of cell for #f, queue | |
112 | always. Set pending_asyncs. | |
113 | (scm_system_async_mark_for_thread): Check that thread has not | |
114 | exited. | |
115 | (scm_unmask_signals, decrease_block): Call scm_async_click after | |
116 | block_asyncs becomes zero. | |
117 | ||
118 | * __scm.h (SCM_ASYNC_CLICK): Check pending_asyncs instead of | |
119 | active_asyncs. | |
120 | ||
121 | * root.h (scm_root_state): Added pending_asyncs and signal_asyncs | |
122 | fields. | |
123 | * root.c (root_mark): Mark them. | |
124 | (make_root): Initialize them. | |
125 | ||
126 | * iselect.c, iselect.h: Replaced GUILE_ISELECT with | |
127 | USE_COOP_THREADS. | |
128 | (scm_internal_select): Define one version for USE_COOP_THREADS and | |
129 | one for USE_NULL_THREADS. | |
130 | (scm_init_iselect): Likewise. | |
131 | ||
132 | * inline.h (scm_cell, scm_double_cell): Also allow | |
133 | USE_COPT_THREADS to not protect the slot initializers. | |
134 | ||
135 | * init.c (scm_init_guile_1): Call scm_init_thread_procs. This is | |
136 | because threads need to be initialized before the stack, but | |
137 | gsubrs such as scm_timed_condition_variable_wait can only be | |
138 | created later. | |
139 | ||
140 | * threads.h: Include "coop-pthreads.h" when requested. | |
141 | (scm_threads_make_mutex, scm_threads_lock_mutex, | |
142 | scm_threads_unlock_mutex, scm_threads_monitor): Removed, they were | |
143 | not implemented anyway. | |
144 | (scm_init_thread_procs, scm_try_mutex, | |
145 | scm_timed_condition_variable_wait, | |
146 | scm_broadcast_condition_variable, scm_c_thread_exited_p, | |
147 | scm_thread_exited_p): New prototypes. | |
148 | (struct timespec): Define if not already defined. | |
149 | (scm_t_mutex, scm_mutex_init, scm_mutex_lock, scm_mutex_trylock, | |
150 | scm_mutex_unlock, scm_mutex_destroy, scm_t_cond, scm_cond_init, | |
151 | scm_cond_wait, scm_cond_timedwait, scm_cond_signal, | |
152 | scm_cond_broadcast, scm_cond_destroy): Declarations moved here and | |
153 | deprecated. | |
154 | ||
155 | * threads.c: Include <errno.h>. Include "coop-pthreads.c" when | |
156 | requested. | |
157 | (scm_thread_exited_p): New. | |
158 | (scm_try_mutex, scm_broadcast_condition_variable): Newly | |
159 | registered procedures. | |
160 | (scm_wait_condition_variable, scm_timed_wait_condition_variable): | |
161 | Use the latter as the procedure for "wait-condition-variable", | |
162 | thus offering a optional timeout parameter to Scheme. | |
163 | (scm_wait_condition_variable): Implement in terms of | |
164 | scm_timed_wait_condition_variable. | |
165 | (scm_mutex_init, scm_mutex_lock, scm_mutex_trylock, | |
166 | scm_mutex_unlock, scm_mutex_destroy, scm_cond_init, | |
167 | scm_cond_wait, scm_cond_timedwait, scm_cond_signal, | |
168 | scm_cond_broadcast, scm_cond_destroy): Implement in terms of | |
169 | scm_make_mutex, etc, and deprecate. | |
170 | (scm_init_threads): Do not create smobs, leave this to | |
171 | scm_threads_init. Do not include "threads.x" file. | |
172 | (scm_init_thread_procs): New, include "threads.x" here. | |
173 | ||
174 | * null-threads.h (scm_null_mutex, scm_null_mutex_init, | |
175 | scm_null_mutex_lock, scm_null_mutex_unlock, | |
176 | scm_null_mutex_destroy, scm_null_condvar, scm_null_condvar_init, | |
177 | scm_null_condvar_wait, scm_null_condvar_signal, | |
178 | scm_null_condvar_destroy): Removed. | |
179 | (scm_mutex_init, scm_mutex_lock, scm_mutex_unlock, scm_cond_init, | |
180 | scm_cond_wait, scm_cond_signal, scm_cond_broadcast, | |
181 | scm_cond_destory): Do not define, they are now deprecated and | |
182 | handled by threads.{h,c}. | |
183 | ||
184 | * null-threads.c (scm_null_mutex, scm_null_cond): Define here. | |
185 | (scm_threads_init): Create smobs here, using the appropriate | |
186 | sizes. | |
187 | (block): Removed, now unused. | |
188 | (scm_c_thread_exited_p): New. | |
189 | (scm_null_mutex_init, scm_null_mutex_lock, scm_null_mutex_unlock, | |
190 | scm_null_mutex_destroy, scm_null_condvar_init, | |
191 | scm_null_condvar_wait, scm_null_condvar_signal, | |
192 | scm_null_condvar_destroy): Removed and updated users to do their | |
193 | task directly. | |
194 | (scm_try_mutex, timeval_subtract, | |
195 | scm_timed_wait_condition_variable, | |
196 | scm_broadcast_condition_variable): New. | |
197 | (scm_wait_condition_variable): Removed. | |
198 | ||
199 | * coop-defs.h (coop_m): Added 'level' field. | |
200 | (scm_t_mutex, scm_mutex_init, scm_mutex_lock, scm_mutex_trylock, | |
201 | scm_mutex_unlock, scm_mutex_destroy, scm_t_cond, scm_cond_init, | |
202 | scm_cond_wait, scm_cond_timedwait, scm_cond_signal, | |
203 | scm_cond_broadcast, scm_cond_destroy, struct timespec): Do not | |
204 | define. | |
205 | (coop_condition_variable_broadcast): New. | |
206 | ||
207 | * coop-threads.c (scm_threads_init): Create smobs here, using the | |
208 | appropriate sizes. | |
209 | (scm_c_thread_exited_p, scm_try_mutex, | |
210 | scm_timed_wait_condition_variable, | |
211 | scm_broadcast_condition_variable): New. | |
212 | (scm_wait_condition_variable): Removed. | |
213 | ||
214 | * coop.c (coop_new_mutex_init): Initialize level. | |
215 | (coop_mutex_trylock, coop_mutex_lock, coop_mutex_unlock): maintain | |
216 | level. | |
217 | (coop_condition_variable_signal): Renamed to | |
218 | coop_condition_variable_broadcast and reimplemented in terms of | |
219 | that. Thus... | |
220 | (coop_condition_variable_broadcast): New. | |
221 | ||
222 | * goops.c (hell_mutex): Reimplemented using scm_make_mutex, etc. | |
223 | ||
224 | * coop-pthreads.h, coop-pthreads.c: New, but unfinished. | |
225 | ||
087ed40d MV |
226 | 2002-10-21 Marius Vollmer <mvo@zagadka.ping.de> |
227 | ||
65a23095 MV |
228 | * null-threads.c: Include <time.h>. Also, use <...> for inclusion |
229 | of system headers. | |
230 | ||
087ed40d MV |
231 | * async.c, goops.h, modules.h, validate.h (SCM_MAKE_VALIDATE_MSG): |
232 | New. Use it instead of SCM_MAKE_VALIDATE in lots of places to | |
30f920c3 | 233 | give better error messages. Thanks to Bill Schottstaedt! |
087ed40d | 234 | |
5ec1d2c8 DH |
235 | 2002-10-19 Dirk Herrmann <D.Herrmann@tu-bs.de> |
236 | ||
237 | * evalext.h, evalext.c (scm_definedp, scm_defined_p): Renamed | |
238 | scm_definedp to scm_defined_p and deprecated scm_definedp. | |
239 | ||
100ae50d DH |
240 | 2002-10-19 Dirk Herrmann <D.Herrmann@tu-bs.de> |
241 | ||
242 | * async.h, async.c (scm_system_async): Fixed deprecation to work | |
243 | correctly when deprecated features are excluded. | |
244 | ||
2794cb50 MV |
245 | 2002-10-16 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
246 | ||
247 | * async.c (scm_system_async_mark_for_thread): Validate thread | |
248 | argument. | |
249 | ||
250 | * coop-threads.c (scm_i_thread_root): Do not validate argument. | |
251 | ||
252 | * feature.c (scm_init_feature): Don't add 'threads' for | |
253 | USE_NULL_THREADS. | |
254 | ||
255 | * inline.h (scm_cell, scm_double_cell): Also allow | |
256 | USE_NULL_THREADS to not protect the slot initializers. | |
257 | ||
258 | * scmsigs.c (scm_sigaction_for_thread): It's "USE_THREADS" not | |
259 | "USE_THREAD". | |
260 | ||
261 | * Makefile.am (noinst_HEADERS): Added null-threads.c. | |
262 | (modinclude_HEADERS): Added null-threads.h. | |
263 | ||
264 | * threads.h: Include null-threads.h when !USE_COOP_THREADS. | |
265 | * threads.c: Include null-threads.c when !USE_COOP_THREADS. | |
266 | (scm_init_threads): Use generic type names scm_t_mutex and | |
267 | scm_t_cond instead of coop_m and coop_c. | |
268 | ||
269 | * null-threads.c, null-threads.h: New files. | |
270 | ||
ff810d7a MV |
271 | 2002-10-15 Marius Vollmer <mvo@zagadka.ping.de> |
272 | ||
273 | * Makefile.am: Replaced "$<" in non-pattern rules with its value. | |
274 | This is to support makes that know about "$<" only in pattern | |
275 | rules, like Sun's make. | |
276 | ||
a90bdb73 MV |
277 | 2002-10-13 Marius Vollmer <mvo@zagadka.ping.de> |
278 | ||
279 | * Makefile.am (libpath.h): Fixed typo in top_srcdir_absolute | |
280 | substitution. Thanks to David Allouche! | |
281 | ||
e71a8bf2 DH |
282 | 2002-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de> |
283 | ||
284 | * evalext.h: Replaced SCM_DEBUG_DEPRECATED with | |
285 | !SCM_ENABLE_DEPRECATED. | |
286 | ||
41f77ff5 MV |
287 | 2002-10-11 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
288 | ||
289 | * async.c (s_scm_system_async_mark_for_thread): Only call | |
290 | scm_i_thread_root when USE_THREADS is defined. Use scm_root | |
291 | otherwise. | |
292 | ||
293 | * scmsigs.c (take_signal): Only call scm_i_thread_root when | |
294 | USE_THREADS is defined. Use scm_root otherwise. | |
295 | (scm_sigaction_for_thread): Ignore THREAD argument when | |
296 | USE_THREADS is not defined. Also, move THREAD argument defaulting | |
297 | out of HAVE_SIGACTION section, which was a bug. | |
298 | ||
6d16b125 MV |
299 | 2002-10-10 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
300 | ||
301 | * scmsigs.c (scm_sigaction_for_thread): Store original handler in | |
302 | signal_handlers, not the closure that is used as the async. | |
303 | The closure is stored in signal_handler_cells, as previously. | |
304 | ||
acfa1f52 MV |
305 | 2002-10-10 Marius Vollmer <mvo@zagadka.ping.de> |
306 | ||
307 | * root.h (scm_root_state): Added 'block_async' slot. | |
308 | (scm_active_asyncs): Removed abbrev. | |
309 | * root.c (scm_make_root): Initialize 'block_asyncs' slot. | |
310 | ||
311 | * __scm.h (SCM_ASYNC_TICK): Do without the scm_active_asyncs | |
312 | abbrev. | |
313 | ||
314 | * async.h (scm_call_with_blocked_asyncs, | |
315 | scm_call_with_unblocked_asyncs, scm_c_call_with_blocked_asyncs, | |
316 | scm_c_call_with_unblocked_asyncs): New prototypes. | |
317 | (scm_mask_signals, scm_unmask_signals): Deprecated. | |
318 | (scm_mask_ints): Turned into a macro. | |
319 | * async.c (scm_mask_ints): Removed. | |
320 | (scm_run_asyncs): Do not set scm_mask_ints while running an async. | |
321 | this should not be necessary. | |
322 | (scm_async_click): Test block_asyncs instead of scm_mask_ints. | |
323 | (scm_mask_signals, scm_unmask_signals): Deprecated. Emit | |
324 | deprecation warning and check for errornous use. Set block_asyncs | |
325 | instead of scm_mask_ints. | |
326 | (increase_block, decrease_block, scm_call_with_blocked_asyncs, | |
327 | scm_call_with_unblocked_asyncs, scm_c_call_with_blocked_asyncs, | |
328 | scm_c_call_with_unblocked_asyncs): New. | |
329 | ||
330 | * script.c (scm_compile_shell_switches): Do not set scm_mask_ints. | |
331 | Asyncs are enabled by default. | |
332 | ||
34010f56 NJ |
333 | 2002-10-09 Neil Jerram <neil@ossau.uklinux.net> |
334 | ||
335 | * vports.c (scm_make_soft_port): Allow vector argument to carry a | |
336 | 6th element: an input waiting thunk. | |
337 | (sf_input_waiting): New. | |
338 | ||
9310d6f2 MV |
339 | 2002-10-05 Marius Vollmer <mvo@zagadka.ping.de> |
340 | ||
341 | * root.c (root_mark): Mark active_asyncs slot. | |
342 | ||
343 | * async.c (scm_async_click): Set the cdr of a executed handler | |
344 | cell to SCM_BOOL_F, not SCM_EOL. | |
345 | (scm_i_queue_async_cell): Queue the cell at the end of the list, | |
346 | and only if the handler procedure is not already present. | |
347 | (scm_system_async_mark_for_thread): Initialize cdr of handler cell | |
348 | with SCM_BOOL_F. | |
349 | * scmsigs.c (scm_sigaction_for_thread): Likewise. | |
350 | ||
ac48c719 RB |
351 | 2002-10-04 Rob Browning <rlb@defaultvalue.org> |
352 | ||
1360a142 RB |
353 | * guile.c (main): switch to scm_lt_dlset_preloaded_symbols; |
354 | ||
355 | * dynl.c (sysdep_dynl_link): switch to scm_lt_dlhandle, | |
356 | scm_lt_dlopenext, and scm_lt_dlerror. | |
357 | (sysdep_dynl_unlink): switch to scm_lt_dlhandle, scm_lt_dlclose, | |
358 | and scm_lt_dlerror. | |
359 | (sysdep_dynl_func): switch to scm_lt_dlhandle, scm_lt_dlsym, | |
360 | and scm_lt_dlerror. | |
361 | (sysdep_dynl_init): switch to scm_lt_dlinit(); | |
362 | ||
363 | * Makefile.am (libguile_la_LIBADD): switch to use | |
364 | libguile-ltdl.la. | |
365 | ||
ac48c719 RB |
366 | * numbers.c (s_scm_integer_expt): (expt 0 1) should be 1. |
367 | ||
497092c9 MV |
368 | 2002-10-04 Marius Vollmer <mvo@zagadka.ping.de> |
369 | ||
370 | * scmsigs.h (scm_sigaction_for_thread): New prototype. | |
371 | * scmsigs.c (got_signal): Removed. | |
372 | (signal_handler_cells, signal_handler_threads): New. | |
373 | (take_signal): Queue the cell of the signal for the specified | |
374 | thread. Reset the signal handler on systems that don't have | |
375 | sigaction. | |
376 | (sys_deliver_signals): Removed. | |
377 | (close_1): New. | |
378 | (scm_sigaction_for_thread): Renamed from scm_sigaction and | |
379 | extended to also set the thread of a signal and allocate a cell | |
380 | for it. Keep the Scheme name "sigaction". Check that signum is | |
381 | within range. Also, use SCM_VECTOR_REF instead of SCM_VELTS. | |
382 | (scm_sigaction): Implement in terms of scm_sigaction_for_thread. | |
383 | (scm_init_scmsigs): Allocate signal_handler_cells and | |
384 | signal_handler_threads vectors. | |
385 | ||
386 | * async.c: Removed GUILE_OLD_ASYNC_CLICK code. Reorganized so | |
387 | that system asnycs and user asyncs are separated. Reimplemented | |
388 | system asyncs to work per-thread. | |
389 | ||
390 | * gc.c (scm_init_gc): Do not use scm_system_async. | |
391 | ||
392 | * async.h (scm_asyncs_pending, scm_set_tick_rate, | |
393 | scm_set_switch_rate, scm_system_async_mark_from_signal_handler): | |
394 | Removed prototypes. | |
395 | (scm_i_queue_async_cell): New. | |
396 | ||
397 | * __scm.h (scm_asyncs_pending_p): Removed. | |
398 | (SCM_ASYNC_CLICK): Check scm_active_asyncs instead of | |
399 | scm_asyncs_pending_p. | |
400 | ||
401 | * async.h (scm_system_async_mark_for_thread): New prototype. | |
402 | ||
403 | * __scm.h: Removed GUILE_OLD_ASYNC_CLICK code. | |
404 | ||
405 | * root.h (scm_root_state): Added new "active_asyncs" slot. | |
406 | * root.c (scm_make_root): Initialize it to SCM_EOL. | |
407 | ||
408 | * coop-defs.h (coop_t): Added new "handle" slot. | |
409 | * coop-threads.c (all_threads, scm_current_thread, | |
410 | scm_all_threads, scm_i_thread_root): New. | |
411 | (scm_threads_init): Add main thread to all_threads. | |
412 | (scheme_launch_thread): Remove thread from all_threads when it | |
413 | terminates. | |
414 | (scm_call_with_new_thread): Initialize handle slot of coop_t | |
415 | structure and add new thread to all_threads. | |
416 | (scm_spawn_thread): Likewise. | |
417 | ||
418 | * threads.h (scm_current_thread, scm_all_threads): New prototypes. | |
419 | * threads.c (scm_current_thread, scm_all_threads): Register as | |
420 | primitives. | |
421 | ||
422 | * dynl.c: Use scm_lt_ prefix for libltdl functions. | |
423 | ||
480fa28d NJ |
424 | 2002-09-29 Neil Jerram <neil@ossau.uklinux.net> |
425 | ||
426 | * script.c (scm_compile_shell_switches): Fix bad spelling of | |
427 | `explicitly' in comment. | |
428 | ||
429 | 2002-09-28 Neil Jerram <neil@ossau.uklinux.net> | |
430 | ||
431 | * posix.c (scm_geteuid, scm_getegid, scm_seteuid, scm_setegid): | |
432 | Refer to provided? in doc string rather than deprecated feature?. | |
433 | ||
3553e1d1 GH |
434 | 2002-09-24 Gary Houston <ghouston@arglist.com> |
435 | ||
436 | * inline.h (scm_double_cell): prevent reordering of statements | |
437 | with any following code (for GCC 3 strict-aliasing). | |
438 | * numbers.c (scm_make_real), num2float.i.c (FLOAT2NUM): removed | |
439 | the earlier version of the reordering prevention. | |
440 | ||
4ad0814a HWN |
441 | 2002-09-19 Han-Wen Nienhuys <hanwen@cs.uu.nl> |
442 | ||
443 | * inline.h (scm_double_cell): move SET_GCMARK set out of if body. | |
444 | ||
e88e4f2e HWN |
445 | 2002-09-09 Han-Wen Nienhuys <hanwen@cs.uu.nl> |
446 | ||
447 | * gc-malloc.c (scm_gc_register_collectable_memory): more overflow | |
448 | protection. | |
449 | ||
1e71eafb HWN |
450 | 2002-09-08 Han-Wen Nienhuys <hanwen@cs.uu.nl> |
451 | ||
452 | * inline.h: include stdio.h | |
453 | ||
454 | * smob.c (free_print): abort if scm_debug_cell_accesses_p is set | |
455 | ||
61ef9c1f HWN |
456 | 2002-09-05 Han-Wen Nienhuys <hanwen@cs.uu.nl> |
457 | ||
dac04e9f HWN |
458 | * gc-segment.c (scm_i_make_initial_segment): check user settings |
459 | for sanity. | |
460 | ||
461 | * gc-malloc.c (scm_gc_init_malloc): check user settings for | |
462 | sanity. | |
dac04e9f HWN |
463 | |
464 | * gc-freelist.c (scm_init_freelist): check user settings for sanity. | |
465 | ||
ffd72400 HWN |
466 | * struct.h: change scm_structs_to_free to scm_i_structs_to_free |
467 | ||
468 | * gc-malloc.c (scm_gc_register_collectable_memory): use floats; | |
1e71eafb HWN |
469 | these won't ever wrap around with high memory usage. Thanks to |
470 | Sven Hartrumpf for finding this. | |
ffd72400 | 471 | |
5bd4a949 HWN |
472 | * gc-freelist.c: include <stdio.h> |
473 | ||
61ef9c1f HWN |
474 | * gc-malloc.c: add DEBUGINFO for mtrigger GCs. |
475 | ||
ffd0ef3b MV |
476 | 2002-09-01 Marius Vollmer <mvo@zagadka.ping.de> |
477 | ||
a27e3d14 MV |
478 | * vectors.h (SCM_VECTOR_REF): New. |
479 | ||
ffd0ef3b MV |
480 | * snarf.h (SCM_DEFINE_PUBLIC): New. |
481 | ||
f8a1712b MV |
482 | 2002-08-30 Marius Vollmer <mvo@zagadka.ping.de> |
483 | ||
484 | * socket.c (scm_addr_vector): Added size of address to arguments. | |
485 | Use it to avoid accessing a non-existent path in a sockaddr_un. | |
486 | Changed all callers. | |
487 | ||
7200a36b HWN |
488 | 2002-08-29 Han-Wen Nienhuys <hanwen@cs.uu.nl> |
489 | ||
1383773b HWN |
490 | * gc.h: remove DOUBLECELL card flags. |
491 | ||
492 | * gc-malloc.c (scm_calloc): try to use calloc() before calling | |
493 | scm_realloc(). | |
494 | ||
495 | * gc-segment.c (scm_i_initialize_heap_segment_data): remove card | |
496 | init loop; handle this from scm_init_card_freelist() | |
497 | ||
498 | * gc-card.c (scm_init_card_freelist): init bit vector here. | |
499 | ||
7200a36b | 500 | * numbers.c (scm_make_real): prevent reordering of statements |
8fa5786d | 501 | num2float.i.c (FLOAT2NUM): idem |
7200a36b | 502 | |
9981de3a HWN |
503 | 2002-08-27 Han-Wen Nienhuys <hanwen@cs.uu.nl> |
504 | ||
505 | * eval.h: prepend libguile/ to include path | |
506 | ||
19647556 MV |
507 | 2002-08-26 Marius Vollmer <mvo@zagadka.ping.de> |
508 | ||
509 | * script.c (scm_compile_shell_switches): Added "2002" to Copyright | |
510 |