Marius Vollmer
6d92f14f14
(iprin1): When writing a string, collect all characters that can be
...
printed directly into one call to scm_lfwrite. Previously, every
character was output with its own call to write(2) on unbuffered
ports.
2005-06-06 19:54:20 +00:00
Marius Vollmer
589f22f665
*** empty log message ***
2005-06-06 18:50:17 +00:00
Marius Vollmer
876099d4ef
(scm_eval_options_interface): Use scm_frame_critical_section instead
...
of SCM_CRITICAL_SECTION_START and SCM_CRITICAL_SECTION_END.
2005-06-06 18:49:55 +00:00
Marius Vollmer
a677679f49
*** empty log message ***
2005-06-06 17:21:50 +00:00
Marius Vollmer
cb5773fe72
(scm_array_in_bounds_p): First test for real arrays, then
...
check for generalized vectors. This ensures that the generalized
vector case need only work with zero-origin ranges.
2005-06-06 17:21:26 +00:00
Kevin Ryde
4d54ee3597
*** empty log message ***
2005-06-05 21:36:31 +00:00
Kevin Ryde
f8cda9ee2d
*** empty log message ***
2005-06-05 21:19:09 +00:00
Kevin Ryde
994f151dc3
(scm_string_split): Compare char/char in scan. Mixing an
...
unsigned int SCM_CHAR and a char string meant an 8-bit char was never
matched.
2005-06-05 21:10:13 +00:00
Marius Vollmer
6642f7ace4
*** empty log message ***
2005-06-05 20:52:56 +00:00
Marius Vollmer
e9ed042cbc
Added comment on how to make case 1.1 of r5rs_pitfall.test succeed.
2005-06-05 20:52:23 +00:00
Marius Vollmer
cdac1be446
*** empty log message ***
2005-06-05 18:28:20 +00:00
Marius Vollmer
ecc9f40fe5
* hashtab.h: Bugfix: use SCM_API (WAS: extern).
...
* socket.c: Remove obsolete comment about socklen_t.
(s_scm_setsockopt)[!HAVE_IP_MREQ]: Do not use ip_mreq code.
* numbers.h (isnan)[__MINGW32__]: Remove.
* Makefile.am (gen_scmconfig_SOURCES): Bugfix: Add
DEFAULT_INCLUDES when cross compiling.
* threads.c (ETIMEDOUT, pipe)[__MINGW32__]: Add defines.
* stime.c (s_scm_strftime)[!HAVE_TM_ZONE]: Use
SCM_SIMPLE_VECTOR_REF instead of SCM_VELTS. (Changed slightly
from Jan's patch.)
2005-06-05 18:27:53 +00:00
Marius Vollmer
92205699d0
The FSF has a new address.
2005-05-23 19:57:22 +00:00
Marius Vollmer
5ae1bd9109
New versions of the GPLand LGPL with the new address of the FSF.
2005-05-23 19:00:08 +00:00
Marius Vollmer
188d0c5ef7
*** empty log message ***
2005-05-22 17:19:38 +00:00
Marius Vollmer
14bed4cc26
(scm_make_shared_array): Add old base to new base since
...
scm_array_handle_pos does not include the base.
(scm_aind): Likewise.
2005-05-22 17:19:17 +00:00
Marius Vollmer
9e664475b9
*** empty log message ***
2005-05-22 16:19:19 +00:00
Marius Vollmer
417b0dc1fb
(scm_putc, scm_puts): Assert that the port argument is a output port.
2005-05-22 16:18:55 +00:00
Neil Jerram
5a6d139b35
* unif.c (scm_i_read_array): Declare rank as ssize_t, to guarantee
...
that it is signed.
* strports.c (st_resize_port): Add unsigned char cast.
(scm_mkstrport): Make read/write_buf cast unsigned.
* srfi-13.c (string_titlecase_x): Add unsigned char cast.
* rdelim.c (scm_read_line): Initialize slen.
* load.c (scm_search_path): Remove weird >=1, and add
parentheses to clarify conditions.
* hash.c (scm_hasher): Add const unsigned char cast.
* gh_data.c (gh_chars2byvect): Add scm_t_int8 cast.
2005-05-12 06:39:50 +00:00
Neil Jerram
b01532af77
* threads.c (s_scm_lock_mutex): Don't declare msg in middle of
...
code.
* gc.c (s_scm_gc_live_object_stats): Don't declare alist in middle
of code.
* gc-card.c (scm_i_card_statistics): Don't declare tag in middle
of code.
(scm_i_card_statistics): Add block for declarations of tag_as_scm
and current.
2005-05-11 07:41:36 +00:00
Neil Jerram
229a07109c
(signal_delivery_thread): Return a value, to avoid
...
compile warning reported by Werner Scheinast.
2005-05-10 20:04:14 +00:00
Han-Wen Nienhuys
8003802199
remove scm_list()
2005-04-30 20:54:35 +00:00
Han-Wen Nienhuys
645dd3fc36
(DYNAMIC_STATE_NEXT_LOC): new macro for use with
...
SCM_DEBUG_CELL_ACCESSES
(FLUID_NEXT_LOC): idem.
2005-04-30 20:07:50 +00:00
Kevin Ryde
9a68a4a8af
*** empty log message ***
2005-04-29 23:03:41 +00:00
Kevin Ryde
4c6e36a6e3
(scm_divide): Correction to 1/complex and <any>/complex,
...
need to test abs(re)<abs(im) for choice of cases, otherwise divide by
zero when re==0 and im<0. Reported by Jean Crepeau.
2005-04-29 22:59:22 +00:00
Kevin Ryde
0640cdaa8b
*** empty log message ***
2005-04-25 00:04:02 +00:00
Kevin Ryde
f530e94f5d
(scm_array_map_x): Allow no source args, add num args checks
...
to subr_1, subr_2, subr_2o and dsubr cases.
2005-04-25 00:02:47 +00:00
Neil Jerram
7346de618a
Fix comment typos
2005-04-24 12:23:57 +00:00
Neil Jerram
a61b2054b4
Critical section review
2005-04-24 12:23:24 +00:00
Kevin Ryde
c51682b416
*** empty log message ***
2005-04-23 00:17:33 +00:00
Kevin Ryde
15f7341ed4
(scm_make_list): New code, moving make-list from boot-9.scm.
2005-04-23 00:15:16 +00:00
Kevin Ryde
8cb2eff840
*** empty log message ***
2005-04-23 00:07:17 +00:00
Kevin Ryde
2ac6b60e86
(scm_make_list): New code, moving make-list from boot-9.scm.
2005-04-23 00:06:14 +00:00
Kevin Ryde
c0b85e9c82
*** empty log message ***
2005-04-22 23:44:24 +00:00
Kevin Ryde
fad3aaf11a
(list): Use scm_list_copy, so as to produce a fresh list when
...
list is called using apply, under the debugging evaluator.
(scm_list): Remove.
2005-04-22 23:43:06 +00:00
Kevin Ryde
4cff503fc8
(scm_hashx_remove_x): Need to pass "closure" to scm_hash_fn_remove_x.
2005-04-22 23:33:15 +00:00
Kevin Ryde
b906b056e4
(scm_cons_star): Don't modify the rest list, it belongs to
...
the caller when cons* is reached through apply.
2005-04-22 23:18:59 +00:00
Kevin Ryde
c0575bde34
*** empty log message ***
2005-04-14 00:38:41 +00:00
Kevin Ryde
40882e3d0b
(scm_oneplus, scm_oneminus): New functions, converted from
...
scheme code in boot-9.scm.
2005-04-14 00:35:50 +00:00
Kevin Ryde
47a298d959
*** empty log message ***
2005-04-10 22:15:44 +00:00
Kevin Ryde
57d9803440
(scm_string_concatenate, scm_string_concatenate_shared):
...
Validate list argument, scm_string_append and scm_string_append_shared
don't do that to their rest argument (in a normal build).
2005-04-10 22:14:15 +00:00
Marius Vollmer
8ea3dc2e0c
*** empty log message ***
2005-04-04 14:54:45 +00:00
Marius Vollmer
d3a80924bc
(scm_t_hashtable): Removed 'closure' field. The
...
closure can not be stored since it is no longer valid at GC time.
(make_hash_table): Initialize 'hash_fn' field.
(scm_i_rehash): Only store hash_fn in hash table when closre is
NULL.
(rehash_after_gc): Only call scm_i_rehash when 'hash_fn' is
non-NULL. Always use a NULL closure.
(scm_hash_fn_create_handle_x): Also rehash when table contains too
few entries.
2005-04-04 14:53:27 +00:00
Neil Jerram
33b320ae2a
Critical section review.
2005-03-30 22:11:07 +00:00
Neil Jerram
2b0fb0a50e
Critical section review.
2005-03-30 18:43:49 +00:00
Neil Jerram
e45947bf06
Critical section review
2005-03-30 18:32:19 +00:00
Marius Vollmer
08d2020d3a
*** empty log message ***
2005-03-29 17:51:22 +00:00
Marius Vollmer
a9cf5c7168
(scm_hash_fx_remove_x): Removed delete_fn
...
argument; always use scm_delq_x. The delete_fn function works on
the handle, not the key, and it therefore makes no sense to make
it configurable. Changed all callers.
(scm_hashx_remove_x): Likewise. Also, exported to Scheme.
(scm_hash_clear): Accept plain vectors as hashtables.
(scm_delx_x): Removed.
2005-03-29 17:47:39 +00:00
Han-Wen Nienhuys
cb975c2105
(scm_double_cell): use __asm__ iso. asm, to maintain
...
compatibility with gcc -std=c99.
2005-03-28 11:40:58 +00:00
Mikael Djurfeldt
4c908f2c13
* async.h (scm_mask_ints): Removed left over reference to
...
scm_root.
* threads.c: Removed fprintf debug statements.
2005-03-24 10:21:22 +00:00