Commit | Line | Data |
---|---|---|
1aaa1c17 MV |
1 | 2006-02-12 Marius Vollmer <mvo@zagadka.de> |
2 | ||
3 | * unif.c (scm_dimensions_to_uniform_array): Use the prototype for | |
4 | filling when the fill parameter is omitted, as documented, but | |
5 | turn #\nul into 0 since s8 arrays (signified by a #\nul prototype) | |
6 | can not store characters. | |
7 | ||
d7c6575f NJ |
8 | 2006-02-09 Neil Jerram <neil@ossau.uklinux.net> |
9 | ||
10 | * socket.c (scm_c_make_socket_address): Pass address_size pointer | |
11 | on to scm_fill_sockaddr call. | |
12 | ||
43e01b1e NJ |
13 | 2006-02-04 Neil Jerram <neil@ossau.uklinux.net> |
14 | ||
15 | * throw.h (scm_c_catch, scm_c_with_throw_handler, | |
16 | scm_catch_with_pre_unwind_handler, scm_with_throw_handler): New. | |
17 | ||
18 | * throw.c (SCM_JBPREUNWIND, SCM_SETJBPREUNWIND): New. | |
19 | (struct pre_unwind_data): New, replaces struct lazy_catch. | |
20 | (scm_c_catch): New, replaces scm_internal_catch as the primary | |
21 | catch API for C code; adds pre-unwind handler support. | |
22 | (scm_internal_catch): Now just a wrapper for scm_c_catch, for back | |
23 | compatibility. | |
24 | (tc16_pre_unwind_data, pre_unwind_data_print, | |
25 | make_pre_unwind_data, SCM_PRE_UNWIND_DATA_P): Renamed from | |
26 | "lazy_catch" equivalents. | |
27 | (scm_c_with_throw_handler): New, replaces scm_internal_lazy_catch | |
28 | as the primary C API for a "lazy" catch. | |
29 | (scm_internal_lazy_catch): Now just a wrapper for | |
30 | scm_c_with_throw_handler, for back compatibility. | |
31 | (scm_catch_with_pre_unwind_handler): Renamed from scm_catch; adds | |
32 | pre-unwind handler support. | |
33 | (scm_catch): Now just a wrapper for | |
34 | scm_catch_with_pre_unwind_handler, for back compatibility. | |
35 | (scm_with_throw_handler): New. | |
36 | (scm_lazy_catch): Update comment to say that the handler can | |
37 | return, and what happens if it does. | |
38 | (toggle_pre_unwind_running): New. | |
39 | (scm_ithrow): When identifying the throw target, take running | |
40 | flags into account. In general, change naming of things from | |
41 | "lazy_catch" to "pre_unwind". When throwing to a throw handler, | |
42 | don't unwind the dynamic context first. Add dynwind framing to | |
43 | manage the running flag of a throw handler. If a lazy catch or | |
44 | throw handler returns, rethrow the same exception again. Add | |
45 | pre-unwind support to the normal catch case (SCM_JMPBUFP). | |
46 | ||
47 | * root.c (scm_internal_cwdr): Add NULL args to | |
48 | scm_i_with_continuation_barrier call. | |
49 | ||
50 | * dynwind.c: Change comment mentioning lazy-catch to mention | |
51 | pre-unwind data and throw handler also. | |
52 | ||
53 | * continuations.h (scm_i_with_continuation_barrier): Add | |
54 | pre-unwind handler args. | |
55 | ||
56 | * continuations.c (scm_i_with_continuation_barrier): Add | |
57 | pre-unwind handler args, and pass on to scm_c_catch (changed from | |
58 | scm_internal_catch). | |
59 | (c_handler): Remove scm_handle_by_message_noexit call. | |
60 | (scm_c_with_continuation_barrier): Call | |
61 | scm_i_with_continuation_barrier with scm_handle_by_message_noexit | |
62 | as the pre-unwind handler. | |
63 | (scm_handler): Remove scm_handle_by_message_noexit call. | |
64 | (s_scm_with_continuation_barrier): Call | |
65 | scm_i_with_continuation_barrier with scm_handle_by_message_noexit | |
66 | as the pre-unwind handler. | |
67 | ||
72098928 KR |
68 | 2006-02-03 Kevin Ryde <user42@zip.com.au> |
69 | ||
70 | * list.c, list.h (scm_list): Restore this function for use from C. | |
71 | It's a complete no-op but in theory might used by someone. | |
72 | ||
aa092c5d MV |
73 | 2006-01-30 Marius Vollmer <mvo@zagadka.de> |
74 | ||
75 | * eval.c (scm_eval_body): Lock source_mutex with a dynwind context | |
76 | so that it gets unlocked in all cases. | |
77 | (SCM_APPLY, CEVAL): Likewise. | |
78 | ||
661ae7ab MV |
79 | 2006-01-29 Marius Vollmer <mvo@zagadka.de> |
80 | ||
ee51ba31 MV |
81 | * ramap.c: (scm_array_map_x): Don't use scm_array_p, use |
82 | scm_is_typed_array instead. | |
83 | ||
661ae7ab MV |
84 | Renamed the "frames" that are related to dynamic-wind to "dynamic |
85 | contexts. Renamed all functions from scm_frame_ to scm_dynwind_. | |
86 | Updated documentation. | |
87 | ||
99e370f6 MV |
88 | Disabled "futures": |
89 | ||
90 | * futures.h, futures.c: Wrap whole contents in "#if 0"/"#endif". | |
91 | * eval.c, init.c: Comment out all 'future' related things. | |
92 | ||
15ccf10b MV |
93 | 2006-01-28 Marius Vollmer <mvo@zagadka.de> |
94 | ||
95 | * inline.h, pairs.c (scm_is_pair): Moved scm_is_pair from pairs.c | |
96 | to inline.h to make it inline. | |
97 | ||
fd0a5bbc HWN |
98 |