Commit | Line | Data |
---|---|---|
7965d98f GB |
1 | Tue Jan 11 10:41:46 2000 Greg J. Badros <gjb@cs.washington.edu> |
2 | ||
3 | * dynl.c, error.c, eval.c, feature.c, filesys.c, fports.c, list.c, load.c, | |
4 | net_db.c, read.c, socket.c: Update error messages to use ~A for | |
5 | %s, ~S for %S to work with new `simple-format' format and be | |
6 | standardized better. | |
7 | ||
8 | * print.h, print.c (scm_simple_format): Added `simple-format' | |
9 | primitive. It's the old scm_display_error, with ARGS now a rest | |
10 | parameter, and the destination first instead of last (and a couple | |
11 | new capabilities inspired by `format' -- #t as destination means | |
12 | current-output-port, #f means return the formatted text as a | |
13 | string. | |
14 | ||
15 | * gh.h, gh_data.c, ports.h, ports.c: Added some missing const specifications. | |
16 | ||
17 | * backtrace.c (scm_display_error_message): Rewrote to use | |
18 | scm_simple_format() procedure. | |
19 | ||
20 | * __scm.h: Added commented-out #define of GUILE_DEBUG_FREELIST | |
21 | ||
f73d2411 MV |
22 | 2000-01-09 Marius Vollmer <mvo@zagadka.ping.de> |
23 | ||
24 | Finally applied the libltdl patch from Thomas Tanner, with slight | |
25 | modifications. | |
26 | ||
27 | * DYNAMIC-LINKING: Removed because it is obsolete. | |
28 | * dynl.c: Use ANSI prototypes. | |
29 | (sysdep_dynl_link): Use lt_dlopenext instead of lt_dlopen. | |
30 | * scmconfig.h.in: Do not change, as it is automatically generated. | |
31 | ||
32 | 1999-07-25 Thomas Tanner <tanner@ffii.org> | |
33 | ||
34 | * dynl-dl.c, dynl-dld.c, dynl-shl.c, dynl-vms.c: deleted | |
35 | (obsolete) | |
36 | * Makefile.am: likewise, add INCLTDL (libltdl headers) to | |
37 | INCLUDES, set dlpreopened files in LDFLAGS, link libguile | |
38 | against libltdl | |
39 | * dynl.c: use libltdl if DYNAMIC_LINKING is enabled, | |
40 | * guile.c: register preloaded modules | |
41 | * scmconfig.h.in: remove obsolete symbols | |
42 | ||
38c1d3c4 GH |
43 | 2000-01-09 Gary Houston <ghouston@arglist.com> |
44 | ||
45 | * These changes should make it unnecessary to call tzset from | |
46 | Scheme after modifying the TZ environment variable, even if the | |
47 | system date facilities cache the value. | |
48 | * stime.c (setzone, scm_localtime): added comments. | |
49 | (tzset): don't define a noop tzset macro if HAVE_TZSET not defined. | |
50 | (setzone): don't call tzset. | |
51 | (restorezone): call tzset only if HAVE_TZSET is defined. | |
52 | (scm_tzset): don't define if HAVE_TZSET not defined. Change the | |
53 | doc string to indicate that this procedure isn't likely to do | |
54 | anything useful. | |
55 | (scm_localtime, scm_strftime, scm_mktime): call tzset if | |
56 | LOCALTIME_CACHE is defined. | |
57 | ||
9359d657 MD |
58 | 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
59 | ||
60 | * posix.c (scm_sync): Return SCM_UNSPECIFIED. | |
61 | ||
f25f761d GH |
62 | 2000-01-09 Gary Houston <ghouston@arglist.com> |
63 | ||
64 | * eval.c: define scm_unbound_variable_key ('unbound-variable). | |
65 | scm_lookupcar1: throw an error with key 'unbound-variable instead | |
66 | of 'misc-error when an unbound variable is encountered. | |
67 | ||
68 | * filesys.c (scm_mkdir, scm_rmdir, scm_getcwd, scm_select, | |
69 | scm_symlink, scm_readlink, scm_lstat), | |
70 | posix.c (scm_setpgid, scm_setsid, scm_ctermid, scm_tcgetpgrp, | |
71 | scm_tcsetpgrp, scm_uname, scm_setlocale, scm_mknod, scm_nice, | |
72 | scm_sync), | |
73 | simpos.c (scm_system), | |
74 | stime.c (scm_times, scm_strptime): | |
75 | move the HAVE_XXX feature tests out of the procedure bodies. | |
76 | don't use SCM_SYSMISSING. | |
77 | scm_validate.h (SCM_SYSMISSING): removed. | |
78 | error.h, error.c (scm_sysmissing): comment that this is deprecated. | |
79 | see ChangeLog entry for 1999-12-28. | |
80 | ||
a4dd2611 GB |
81 | Sat Jan 8 19:52:04 2000 Greg J. Badros <gjb@cs.washington.edu> |
82 | ||
83 | * scm_validate.h (SCM_VALIDATE_BOOL_COPY): Fix typo. | |
84 | ||
85 | Sat Jan 8 17:06:46 2000 Greg J. Badros <gjb@cs.washington.edu> | |
86 | ||
87 | * backtrace.c: Fix spelling typo in a comment. | |
88 | ||
89 | * snarf.h: Use new SCM_DOCS macro to encapsulate the non SCM_INIT | |
90 | text. Reformatted some of the expansions. | |
91 | ||
5ac36451 GB |
92 | Fri Jan 7 15:50:46 2000 Greg J. Badros <gjb@cs.washington.edu> |
93 | ||
94 | * scm_validate.h (SCM_OUT_OF_RANGE): Use scm_out_of_range_pos to | |
95 | report the position of the argument. | |
96 | ||
97 | * error.h, error.c (scm_out_of_range_pos): Added this function to | |
98 | take extra "pos" argument, the position number of the errant | |
99 | argument. | |
100 | ||
101 | * debug.c: Use SCM_OUT_OF_RANGE instead of scm_out_of_range. | |
102 | ||
103 | * snarf.h: Use SCM_HERE and SCM_INIT as names, not SCM_NOTSNARF | |
104 | and SCM_SNARFING. Also put the %%% in the SCM_INIT since Mikael | |
105 | prefers that and I'm reasonably indifferent. | |
106 | ||
107 | Fri Jan 7 15:03:32 2000 Greg J. Badros <gjb@cs.washington.edu> | |
108 | ||
109 | * snarf.h: Factor out differences between C++ and non-C++ into | |
110 | SCM_FUNC_CAST_ARBITRARY_ARGS macro. Modify all the snarf macro | |
111 | definitions to use SCM_NOTSNARF and SCM_SNARFING macros (like | |
112 | Mikael's macros, below, but changed names and SCM_SNARFING no | |
113 | longer expands to include %%% -- that must appear in the argument | |
114 | so that the token appears at the call-site as a reminder). | |
115 | ||
088bb1d4 MD |
116 | 2000-01-07 Mikael Djurfeldt <mdj@thalamus.nada.kth.se> |
117 | ||
118 | * snarf.h (SCM_INSITU, SCM_INIT): New snarf macros for use in user | |
119 | snarf macro definitions. | |
120 | ||
636480e6 MD |
121 | 2000-01-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
122 | ||
123 | * chars.c (scm_integer_to_char): Use Greg's nice | |
124 | SCM_VALIDATE_INUM_RANGE macro for argument checking for closer | |
125 | adherence to R5RS. | |
126 | ||
7c5628e2 GB |
127 | Thu Jan 6 11:48:49 2000 Greg J. Badros <gjb@cs.washington.edu> |
128 | ||
129 | * *.c, snarf.h: Replace GUILE_PROC1 with SCM_DEFINE1 throughout. | |
130 | ||
2cc0f8cb GB |
131 | Thu Jan 6 11:22:53 2000 Greg J. Badros <gjb@cs.washington.edu> |
132 | ||
133 | * Makefile.am (ETAGS_ARGS): Switch to SCM_DEFINE, SCM_DEFINE1 | |
134 | instead of GUILE_PROC. | |
135 | ||
136 | Thu Jan 6 11:21:49 2000 Greg J. Badros <gjb@cs.washington.edu> | |
137 | ||
138 | * alist.c: Do not report mismatch errors on some uses of `tmp' (do | |
139 | this by using SCM_ARG2 instead of `2' in the SCM_VALIDATE_CONS | |
140 | macro call. | |
141 | ||
9179dcdd GB |
142 | Thu Jan 6 09:54:33 2000 Dirk Herrmann <dirk@ida.ing.tu-bs.de> --gjb applied |
143 | ||
144 | * scm_validate.h: Remove some redundant NIMP tests. | |
145 | ||
146 | * alist.c: minimize scope of the tmp variables, and initialize | |
147 | them when declared. The strange SCM_NIMP tests are replaced by | |
148 | SCM_CONSP tests that more closely reflect the intended semantics. | |
149 | However, we don't get a performance penalty here, because the | |
150 | SCM_CONSP test was performed by the ALISTCELL test anyway. * The | |
151 | extremely ugly use of ASRTGO macros was removed: The calls to | |
152 | ASRTGO were not encapsulated by "#ifndef SCM_RECKLESS", but got a | |
153 | label parameter that only exists when SCM_RECKLESS is not defined. | |
154 | This works, because ASRTGO itself is defined in a way that it only | |
155 | makes use of the label parameter if SCM_RECKLESS is not defined | |
156 | (shudder!). Does guile make at all use of the possibility to | |
157 | define SCM_RECKLESS? * Codesize is likely to be reduced, since | |
158 | instead of two calls to SCM_ASSERT performed by the ALISTCELL test | |
159 | we now only get one test. | |
160 | ||
161 | * list.c: Use SCM_NNULLP, not SCM_NIMP as appropriate. Also use | |
162 | SCM_NULLP instead of SCM_IMP. Drop use of "register" keyword on | |
163 | some variables in `list?'. Fix `reverse' and `reverse!' | |
164 | primitives to handle improper lists better. | |
165 | ||
15b33280 GB |
166 | Wed Jan 5 11:24:53 2000 Greg J. Badros <gjb@cs.washington.edu> |
167 | ||
168 | * *.[ch]: Whitespace changes -- added space after SCM_VALIDATE_* | |
169 | macros and SCM_DEFINE macros to match GNU coding standards. | |
170 | ||
ca8cd130 GB |
171 | Wed Jan 5 11:04:24 2000 Greg J. Badros <gjb@cs.washington.edu> |
172 | ||
173 | * *.[ch]: Replace GUILE_PROC w/ SCM_DEFINE. | |
174 | ||
fb764465 GB |
175 | Wed Jan 5 10:59:06 2000 Greg J. Badros <gjb@cs.washington.edu> |
176 | ||
177 | * *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for | |
178 | better consistency with the names of other SCM_VALIDATE_ macros | |
179 | and better conformance to guile naming policy. | |
180 | ||
181 | Wed Jan 5 10:50:39 2000 Greg J. Badros <gjb@cs.washington.edu> | |
182 | ||
183 | * ports.c (s_scm_close_all_ports_except): Use SCM_ARG1 in a | |
184 | SCM_VALIDATE instead of 1 to avoid a check on the argument (since | |
185 | it's not the actual name of the formal). | |
1e484823 GB |
186 | |
187 | * guile-snarf.awk.in: Do argument/number mismatch checking and | |
188 | print warnings in an Emacs compile-mode parseable format. | |
189 | ||
190 | * struct.c: Use SCM_ASSERT_RANGE instead of SCM_ASSERT w/ | |
191 | SCM_OUTOFRANGE as 3rd argument. | |
192 | ||
193 | * random.c: Fix argument/number mismatch (that I introduced :-( ). | |
194 | ||
195 | * __scm.h: Do not #define SCM_ARG* when snarfing; | |
196 | lets us distinguish between 1 and SCM_ARG1 when snarfing as only | |
197 | the former (using the number) requires the argument to match the | |
198 | formal in the current argument snarfing check. | |
199 | ||
200 | * snarf.h: Give new definition of SCM_ASSERT when in | |
201 | snarfing mode to output a lexically-identifiable sequence that the | |
202 | guile-snarf.awk script uses to verify argument/position matching. | |
203 | ||
204 | * ramap.c: Remove extraneous #undef FUNC_NAME. | |
205 | ||
53fc4636 GB |
206 | Wed Jan 5 08:36:38 2000 Greg J. Badros <gjb@cs.washington.edu> |
207 | ||
208 | * guile-doc-snarf.awk.in: Removed -- guile-snarf.awk.in is the | |
209 | current version of the same functionality; it writes the .x output | |
210 | to stdout instead of directly into the file. | |
211 | ||
212 | Wed Jan 5 08:15:04 2000 Greg J. Badros <gjb@cs.washington.edu> | |
213 | ||
214 | * unif.c, symbols.c, strings.c, stacks.c, random.c, print.c, | |
215 | posix.c: Eliminated a bunch of SCM_NIMP(..)s that are now | |
216 | redundant with the safer macros. Patch from Dirk Hermann applied | |
217 | by hand. Thanks Dirk! | |
218 | ||
219 | * scm_validate.h: Added SCM_VALIDATE_VECTOR_OR_DVECTOR for some | |
220 | uses in random.c. | |
221 | ||
222 | * ramap.c: whitespace change. | |
223 | ||
3b5345d9 GB |
224 | Tue Jan 4 14:21:35 2000 Greg J. Badros <gjb@cs.washington.edu> |
225 | ||
226 | * options.c, objects.c, keywords.c, gc.c: Some redundant SCM_NIMP | |
227 | removals from Dirk Hermann. | |
228 | ||
229 | * alist.c: Rename formals to match the parameter names in the | |
230 | documentation, updates to documentation. Thanks Dirk Hermann! | |
231 | ||
169aec65 MD |
232 | 2000-01-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se> |
233 | ||
db62436e MD |
234 | * eval.c (SCM_CEVAL): Reverse order of |
235 | scm_stack_checking_enabled_p and SCM_STACK_OVERFLOW_P | |
236 | (Thanks to Brad Knotwell.) | |
169aec65 | 237 | |
da43d822 GB |
238 | Mon Jan 3 08:30:02 2000 Greg Harvey <Greg.Harvey@thezone.net> (applied --01/03/00 gjb) |
239 | ||
240 | * gc.c (scm_debug_newcell): Added SCM_SETCAR of the newly | |
241 | allocated cell. | |
242 | ||
243 | * pairs.h: Added a comment about the need for the SCM_SETCAR in | |
244 | SCM_NEWCELL macro. | |
245 | ||
246 | Mon Jan 3 08:25:19 2000 Greg J. Badros <gjb@cs.washington.edu> | |
247 | ||
248 | * dynl-vms.c, debug.c, coop-threads.c, backtrace.c, eval.c: More | |
249 | SCM_NIMP tests that were redundant are now eliminated. Patches | |
250 | from Dirk Hermann applied by hand. | |
251 | ||
339999c7 | 252 | The ChangeLog continues in the file: "ChangeLog-1996-1999" |