Mikael Djurfeldt
6798371657
*** empty log message ***
2001-03-08 19:36:35 +00:00
Mikael Djurfeldt
5e4a4d09fe
* ramap.c (racp): Removed optimization which caused array copying
...
to fail if the two arrays shared storage. Re-inserted the IVDEP
macros removed in the change of 2000-03-09. (Don't really have a
complete grasp of what they are for, but they seem to be necessary
on Crays. This needs testing!) Thanks to Miroslav Silovic.
2001-03-08 19:34:41 +00:00
Mikael Djurfeldt
9636b49cd2
* hash.c (scm_string_hash): Don't downcase characters.
2001-03-08 18:14:33 +00:00
Mikael Djurfeldt
3ffd876ae8
*** empty log message ***
2001-03-08 18:06:46 +00:00
Mikael Djurfeldt
86b96c166b
* psyntax.ss: Added FSF copyright notice. Added a notice of
...
changes in order to comply with paragraph 2a of the GPL.
2001-03-08 18:05:39 +00:00
Mikael Djurfeldt
04a4d6664a
*** empty log message ***
2001-03-08 02:49:34 +00:00
Mikael Djurfeldt
a4c91488d3
* symbols.c, symbols.h (scm_sys_symbols): New function GUILE_DEBUG
...
function.
2001-03-08 02:46:38 +00:00
Mikael Djurfeldt
70ce100d8a
* coop-threads.c: Fixed change of 2001-03-06.
2001-03-08 02:45:39 +00:00
Mikael Djurfeldt
e96452c4e4
* guile-config.in (build-link): Really reverted the change of
...
2001-03-05.
2001-03-08 02:43:20 +00:00
Mikael Djurfeldt
7566791171
Removed some junk
2001-03-08 02:06:02 +00:00
Neil Jerram
403a334593
* Don't set continuation flag for leading whitespace.
2001-03-07 23:03:37 +00:00
Keisuke Nishida
66418d3465
fix problems with gcc-2.96.
2001-03-07 06:06:16 +00:00
Dirk Herrmann
387c1a3bc0
* The last patch has introduced a bad-bindings bug. Since it was
...
unnecessary anyway, I simply reverted it.
2001-03-06 13:27:33 +00:00
Dirk Herrmann
2ade72d773
* Remove uses of SCM_ASSERT that may result in error messages different
...
from wrong-type-arg errors.
2001-03-06 01:22:37 +00:00
Dirk Herrmann
d42df0557f
* Don't include libguile/dump.h any more.
2001-03-06 01:00:18 +00:00
Neil Jerram
618196705b
* Use "'()" instead of "()" in optargs.scm.
2001-03-05 23:52:09 +00:00
Neil Jerram
9155e458e0
* New module (ice-9 buffered-input); use it in (ice-9 readline).
2001-03-05 23:12:57 +00:00
Mikael Djurfeldt
586d7da237
* eval.c (scm_m_letstar): Removed check for duplicate bindings.
...
Duplicate bindings are OK in a let* since a let* is semantically
equivalent to a nested set of let:s.
2001-03-05 18:54:55 +00:00
Martin Grabmüller
417b11b41f
* guile-config.in (build-link): Fixed duplicate binding bug
...
reported by Ralf Mattes.
2001-03-05 14:27:40 +00:00
Martin Grabmüller
c2ab898653
* guile-config.in (build-link): Fixed duplicate binding bug
...
reported by Ralf Mattes.
2001-03-05 14:26:55 +00:00
Dirk Herrmann
8bc4547c4e
* Preserve the original error's stack for re-throwing.
2001-03-05 11:05:02 +00:00
Martin Grabmüller
1dd05fd8aa
* print.c (scm_print_options): Fixed texinfo in docstring.
...
* net_db.c (scm_getserv, scm_getproto, scm_getnet): Return #f if
the underlying functions getservent, getprotoent or getnetent
return NULL instead of signalling an error.
2001-03-05 07:25:56 +00:00
Gary Houston
2772dc1af3
*** empty log message ***
2001-03-04 23:35:21 +00:00
Gary Houston
439006bf6e
* socket.c (scm_fill_sockaddr): don't allow buffer overflows when
...
taking an unexpectedly large filename for an AF_UNIX socket from
bind/connect/sendto (thanks to Martin Grabmueller).
* socket.c (scm_sock_fd_to_port, SCM_SOCK_FD_TO_PORT): removed the
former and adjusted the latter.
(scm_socket, scm_socketpair): cosmetic changes.
(scm_getsockopt, scm_setsockopt): declare optlen as int, not
size_t as socklen_t substitute. don't restrict args/return values
to INUM: allow full range of int or size_t.
(scm_fill_sockaddr): check arguments before allocating memory, to
avoid leakage. use malloc, not scm_must_malloc.
(scm_connect, scm_bind, scm_sendto): use int, not size_t as socklen_t
substitute. free the sockaddr structure before throwing an error.
(scm_init_add_buffer): procedure removed, together with its static
buffer scm_addr_buffer, which wouldn't be thread safe. instead,
define a macro MAX_ADDR_SIZE and declare the buffer where needed.
(scm_accept, scm_getpeername, scm_getsockname, scm_recvfrom,
scm_sendto): use a local buffer instead of scm_addr_buffer.
adjust for new SCM_SOCK_FD_TO_PORT. use int for address size,
not size_t.
(scm_recvfrom): set addr->sa_family to AF_UNSPEC before the recvfrom
call to detect whether recvfrom could be bothered to set the address.
(scm_init_socket): don't call scm_init_addr_buffer.
2001-03-04 23:34:16 +00:00
Dirk Herrmann
276dd6775c
* Eliminate another couple of calls to scm_wta.
2001-03-04 22:48:13 +00:00
Mikael Djurfeldt
b432fb4b99
* goops/compile.scm (compile-method): Tag method closure for body
...
expansion.
* goops.scm (change-object-class): Quote empty list constants.
(method): Reverted previous change (enclosing body);
Quote empty list.
(initialize <method>): Supply `dummy-procedure' as default instead
of creating a new closure.
* goops/internal.scm: Re-export (oop goops) without copying
bindings.
2001-03-04 20:46:34 +00:00
Mikael Djurfeldt
5e03762c12
* goops.c, goops.h (scm_sys_pre_expand_closure_x): Removed.
...
(scm_sys_tag_body): Added.
2001-03-04 20:46:04 +00:00
Dirk Herrmann
db4b4ca64f
* Eliminate some calls to scm_wta.
2001-03-04 17:09:34 +00:00
Mikael Djurfeldt
cc6c7feea4
* goops.scm (change-object-class): Quote empty list constants.
...
(method): Reverted previous change (enclosing body);
Quote empty list.
(initialize <method>): Pre-expand the method closure.
2001-03-04 05:28:21 +00:00
Mikael Djurfeldt
87e7741df7
* goops.c (scm_sys_pre_expand_closure_x): New procedure.
2001-03-04 05:27:41 +00:00
Marius Vollmer
d19b0aac73
*** empty log message ***
2001-03-03 23:56:28 +00:00
Marius Vollmer
c0ed1605f1
* tests/syntax.test ("let,duplicate bindings", "let*,duplicate
...
bindings", "letrec,duplicate bindings"): Expect to pass, bug has
been fixed.
2001-03-03 23:54:42 +00:00
Marius Vollmer
185ab0ef10
* eval.c (scm_s_duplicate_bindings): New error message.
...
(scm_m_letrec1, scm_m_letstar): Check for duplicate bindings.
2001-03-03 23:52:57 +00:00
Mikael Djurfeldt
0109c4bf49
* stack-catch.scm: New file.
...
* Makefile.am (ice9_sources): Added stack-catch.scm.
2001-03-03 19:43:35 +00:00
Marius Vollmer
97d41e3e07
*** empty log message ***
2001-03-03 17:30:52 +00:00
Marius Vollmer
1c54a87cb2
* tests/syntax.test ("duplicate formals"): New category, move
...
appropriate tests here. Expect them to pass.
("empty parentheses"): Expect to pass, bug has been fixed.
2001-03-03 17:29:09 +00:00
Marius Vollmer
14fe4fe9ce
*** empty log message ***
2001-03-03 17:25:22 +00:00
Marius Vollmer
d9d39d76e7
Cosmetic cleanups.
2001-03-03 17:24:51 +00:00
Marius Vollmer
2fd945df34
*** empty log message ***
2001-03-03 15:17:05 +00:00
Marius Vollmer
c8e39a6752
* tests/alist.test: Use "'()" instead of "()" in all places
...
where the empty list is meant.
2001-03-03 15:14:18 +00:00
Marius Vollmer
5280aacabc
* eval.h (SCM_EVALIM2): New macro. Use it when a
...
immediate, literal constant should be evaluated.
* eval.c (scm_s_duplicate_formals): New error message string.
(scm_c_improper_memq): New function.
(scm_m_lambda): Check for duplicate arguments.
(scm_ceval, scm_deval): When executing a body: only cons a new
toplevel environment frame when it is different from the
existing one; use EVALCAR instead of SIDEVAL so that we can properly
check for empty combinations; use SCM_EVALIM2 for the same reason
in the non-toplevel loop.
(nontoplevel_cdrxnoap, nontoplevel_cdrxbegin, nontoplevel_begin):
New labels with the meaning of their non-"nontoplevel" partners,
but they are used when it is known that the body is not evaluated at
top-level.
(scm_apply, scm_dapply): use SCM_EVALIM2 to get proper error
reporting for empty combinations.
2001-03-03 15:10:37 +00:00
Marius Vollmer
bf4aaed27c
* boot-9.scm, rdelim.scm: Use "'()" instead of "()" in all places
...
where the empty list is meant.
2001-03-03 14:58:22 +00:00
Keisuke Nishida
9e6fc585b2
Remove dump facilities.
2001-03-02 23:41:18 +00:00
Martin Grabmüller
eae54bf072
*** empty log message ***
2001-03-02 09:09:06 +00:00
Martin Grabmüller
942e5b9162
* vectors.c (s_scm_vector_p, list->vector, scm_vector)
...
(scm_vector_ref, scm_vector_set_x, scm_vector_to_list)
(scm_vector_fill_x), strorder.c (scm_string_equal_p)
(scm_string_ci_equal_p, scm_string_less_p, scm_string_leq_p)
(scm_string_gr_p, scm_string_geq_p, scm_string_ci_less_p)
(scm_string_ci_geq_p), symbols.c (scm_symbol_p)
(scm_symbol_to_string, scm_string_to_symbol): Changed use of @t{}
to @code{} as the texinfo manual recommends, converted the
examples to use a @lisp{}-environment.
* strports.c (scm_eval_string): Cleaned up the docstring.
* struct.c (scm_struct_p, scm_struct_vtable_p): Added texinfo
markup.
* numbers.c (scm_exact_p, scm_odd_p, scm_even_p)
(scm_number_to_string, scm_string_to_number, scm_number_p)
(scm_real_p, scm_integer_p, scm_inexact_p, scm_make_rectangular)
(scm_make_polar, scm_inexact_to_exact): Added texinfo markup.
(scm_ash): Added texinfo markup and removed obsolete @refill.
(scm_gr_p): Corrected comment.
(scm_gr_p, scm_leq_p, scm_geq_p): Added texinfo markup to (future
docstring) comments.
(scm_positive_p, scm_less_p, scm_num_eq_p, scm_real_p)
(scm_number_p, scm_negative_p, scm_max, scm_min, scm_sum)
(scm_difference, scm_product, scm_divide, scm_asinh, scm_acosh)
(scm_atanh, scm_truncate, scm_round, scm_exact_to_inexact)
(floor, ceiling, $sqrt, $abs, $exp, $log, $sin, $cos, $tan, $asin)
($acos, $atan, $sinh, $cosh, $tanh, scm_real_part, scm_imag_part)
(scm_magnitude, scm_angle, scm_abs, scm_quotient, scm_remainder)
(scm_modulo, scm_gcd, scm_lcm): Added (future docstring) comments.
2001-03-02 09:07:22 +00:00
Dirk Herrmann
08c608e10a
* extracted the tests from exceptions.test into eval.test and syntax.test.
...
* added a few test cases.
2001-03-02 01:38:01 +00:00
Dirk Herrmann
f29b345439
* Moved the number related tests from exceptions.test to numbers.test.
2001-03-01 22:00:02 +00:00
Dirk Herrmann
049fa4495b
* Extracted tests from exceptions.test into strings.test and symbols.test.
...
* Added some tests to strings.test.
2001-03-01 17:57:50 +00:00
Dirk Herrmann
23deee8161
* Minor fixes to error checking macros.
2001-02-28 16:58:12 +00:00
Dirk Herrmann
1b5b19c9a9
* Turn some test's result into XFAIL instead of FAIL.
2001-02-28 13:40:36 +00:00