Kevin Ryde
8acfc848a5
2005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
...
* networking.scm (sockaddr:flowinfo, sockaddr:scopeid): New functions.
2005-10-31 23:33:07 +00:00
Kevin Ryde
1cc1bcaca1
*** empty log message ***
2005-10-28 23:00:55 +00:00
Kevin Ryde
32ff73707c
(Network Socket Address): Add scm_make_socket_address,
...
scm_c_make_socket_address, scm_from_sockaddr, scm_to_sockaddr. This
change by Ludovic Courtès and revised a bit by me.
2005-10-28 23:00:19 +00:00
Kevin Ryde
13ed23db8e
(Network Address Conversion): Move INADDR_ANY to here.
...
(Network Socket Address): New section, move sockaddr bits to here, add
new make-socket-address.
(Network Sockets and Communication): In connect, bind, and sendto, now
take socket address object. In bind, leave INADDR constants for
"Network Address Conversion" node. In those plus accept, getsockname,
getpeername, reword a bit for clarity.
2005-10-27 01:05:43 +00:00
Kevin Ryde
64cdbfc7af
*** empty log message ***
2005-10-27 00:37:09 +00:00
Kevin Ryde
e7e4808056
2005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
...
* tests/socket.test (make-socket-address): New tests.
(connect, bind, sendto): Exercise sockaddr object.
2005-10-27 00:35:06 +00:00
Kevin Ryde
6fc0a1b599
2005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
...
* socket.c (scm_fill_sockaddr): No need to check NULL from scm_malloc.
(scm_connect, scm_bind, scm_sendto): Accept sockaddr object.
(scm_addr_vector): Renamed to _scm_from_sockaddr, update usages.
(scm_from_sockaddr, scm_to_sockaddr, scm_make_socket_address,
scm_c_make_socket_address): New functions.
* socket.h: Add prototypes.
2005-10-27 00:28:40 +00:00
Kevin Ryde
9c0129aca2
2005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
...
* socket.c (scm_fill_sockaddr): No need to check NULL from scm_malloc.
(scm_connect, scm_bind, scm_sendto): Accept sockaddr object.
(scm_addr_vector): Renamed to _scm_from_sockaddr, update usages.
(scm_from_sockaddr, scm_to_sockaddr, scm_make_socket_address,
scm_c_make_socket_address): New functions.
2005-10-27 00:22:54 +00:00
Kevin Ryde
fc9f596c96
*** empty log message ***
2005-10-23 22:45:52 +00:00
Kevin Ryde
9f4e29f66b
(strftime %Z): Disable this test, its assumptions
...
about %Z are not valid on NetBSD.
2005-10-23 22:40:12 +00:00
Kevin Ryde
5cd87f557d
(scm_strftime): Update docstring from posix.texi.
2005-10-23 22:29:25 +00:00
Kevin Ryde
4b08cab6dd
(Time): Revise strftime for clarity, cross reference man
...
3 strftime (suggested by Greg Troxel), note locale character set when
setlocale has been called.
2005-10-23 22:21:33 +00:00
Kevin Ryde
7381c1de51
Untabify
2005-10-23 21:57:08 +00:00
Kevin Ryde
72e3dae1e3
(scm_getsockopt, scm_setsockopt): Update docstrings from posix.texi.
2005-10-23 21:56:09 +00:00
Kevin Ryde
8b6b6ce5ad
(Network Sockets and Communication): Combine and revise
...
getsockopt and setsockopt. Add OPTNAME constants, including new
IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.
2005-10-23 21:50:41 +00:00
Kevin Ryde
8fae2bf483
(scm_init_socket): Add IPPROTO_IP, IPPROTO_TCP,
...
IPPROTO_UDP. Remove SOL_IP, SOL_TCP, SOL_UDP. The former are in
POSIX spec examples, the latter are not available on for instance
NetBSD.
2005-10-23 21:35:01 +00:00
Marius Vollmer
0460c6e10f
*** empty log message ***
2005-10-23 20:48:11 +00:00
Marius Vollmer
d1138028c9
* null-threads.h, pthread-threads.h
...
(SCM_I_PTHREAD_RECURSIVE_MUTEX_INITIALIZER): Removed.
(scm_i_pthread_mutexattr_recursive): New.
* threads.c (scm_i_pthread_mutexattr_recursive): Declare.
(scm_i_critical_section_mutex): Do not initialize statically.
(scm_threads_prehistory): Initialize
scm_i_pthread_mutexattr_recursive and scm_i_critical_section_mutex
here.
* eval.c (source_mutex): Do not initialiaze statically.
(scm_init_eval): Do it here, using
scm_i_pthread_mutexattr_recursive.
2005-10-23 20:47:49 +00:00
Neil Jerram
777f2ed60a
* api-debug.texi (Source Properties): Add text describing/advising
...
limited use of source properties.
* api-debug.texi (Source Properties): Documentation of source
property procedures moved here from ...
* api-procedures.texi (Procedure Properties): ... where it didn't
belong.
2005-10-15 18:33:34 +00:00
Kevin Ryde
a373f81dda
*** empty log message ***
2005-10-05 01:26:06 +00:00
Kevin Ryde
01549abbff
untabify
2005-10-05 01:25:02 +00:00
Kevin Ryde
083f9d74d1
(Regexp Functions): Notes on zero bytes and locale character set.
2005-10-05 01:24:12 +00:00
Kevin Ryde
80a894c9a8
(Formatted Output): Show modifiers like ~:d instead of in words.
2005-10-05 01:22:22 +00:00
Kevin Ryde
5c347f8c9b
*** empty log message ***
2005-10-05 00:36:04 +00:00
Marius Vollmer
227eafdb3c
Updated print-options.
2005-09-04 21:31:05 +00:00
Marius Vollmer
7b4a9e526e
*** empty log message ***
2005-09-04 21:30:24 +00:00
Marius Vollmer
475fa9a5d7
(SCM_PRINT_KEYWORD_STYLE_I, SCM_PRINT_KEYWORD_STYLE):
...
New.
(sym_reader): New.
(scm_print_opts): Added "quote-keywordish-symbols" option.
(quote_keywordish_symbol): New, for evaluating the option.
(scm_print_symbol_name): Use it.
(scm_init_print): Initialize new option to sym_reader.
2005-09-04 21:30:01 +00:00
Neil Jerram
25bdfbb6cf
Export write-frame-long.
2005-08-31 23:05:29 +00:00
Kevin Ryde
abd063549b
*** empty log message ***
2005-08-19 00:05:16 +00:00
Kevin Ryde
c992cc9617
(date->time-tai): New tests, exercising new leap-second.
2005-08-18 23:51:02 +00:00
Kevin Ryde
ae2ffa263d
*** empty log message ***
2005-08-18 23:44:35 +00:00
Kevin Ryde
73e2a8d1e0
(priv:leap-second-table): Add new 2005 leap second.
2005-08-18 23:43:37 +00:00
Neil Jerram
d279764421
("letrec init evaluation"): New paranoid test.
2005-08-15 20:57:38 +00:00
Neil Jerram
5defc05d45
* eval.c (eval_letrec_inits): New.
...
(CEVAL): Eval letrec initializer forms using eval_letrec_inits.
* tests/r5rs_pitfall.test (1.1): Now passes.
2005-08-15 20:43:16 +00:00
Kevin Ryde
e4bf1d1181
(lset-difference, lset-difference,
...
lset-diff+intersection, lset-diff+intersection, lset-intersection):
Exercise equality procedure arg order (already correct in these procs,
but had been wrong in other lset ones).
2005-08-12 01:26:52 +00:00
Kevin Ryde
1729055bcf
(scm_string_for_each_index): Correction to docstring.
2005-08-12 01:14:02 +00:00
Marius Vollmer
036482e9cd
*** empty log message ***
2005-08-11 21:04:31 +00:00
Marius Vollmer
3a1b45fdf7
Use scm_from_bool instead of SCM_BOOL. Thanks to Peter Gavin!
2005-08-11 21:03:58 +00:00
Marius Vollmer
3c55f6f1e2
Use scm_is_null instead of SCM_NULLP. Thanks to Peter Gavin!
2005-08-11 21:03:42 +00:00
Kevin Ryde
3081aee16a
Index entries for ptob etc.
2005-08-06 01:53:25 +00:00
Kevin Ryde
bc721aa21d
*** empty log message ***
2005-08-06 01:49:43 +00:00
Kevin Ryde
685788d023
(string-every, string-tabulate, string-trim,
...
string-trim-right, string-trim-both, string-index, string-index-right,
string-skip, string-skip-right, string-count, string-filter,
string-delete, string-map, string-map!, string-for-each,
string-for-each-index): Further tests, mainly to exercise new
trampolines for proc calls.
2005-08-06 01:48:37 +00:00
Kevin Ryde
3540b91548
(scm_string_any, scm_string_every, scm_string_tabulate,
...
scm_string_trim, scm_string_trim_right, scm_string_trim_both,
scm_string_index, scm_string_index_right, scm_string_skip,
scm_string_skip_right, scm_string_count, scm_string_map,
scm_string_map_x, scm_string_for_each, scm_string_for_each_index,
scm_string_filter, scm_string_delete): Use scm_t_trampoline_1 for
procedures called in loops.
2005-08-06 01:44:30 +00:00
Kevin Ryde
514e4b24a9
*** empty log message ***
2005-08-06 00:48:46 +00:00
Kevin Ryde
d8e49e6bd2
(List Modification): In filter, return may share a
...
tail with the input, as per docstring. In filter!, fix chopped off
note of modifying input.
2005-08-06 00:45:40 +00:00
Kevin Ryde
44ba562e29
(Error Reporting): In strerror, note message is in
...
locale language and charset.
2005-08-06 00:40:16 +00:00
Kevin Ryde
126c81dbb4
*** empty log message ***
2005-08-02 00:12:09 +00:00
Kevin Ryde
bf5ad0dac5
(st_flush): Increase buffer by 1.5x when growing, to
...
avoid lots of copying where previoulsy growing by only 80 bytes at a
time.
2005-08-02 00:03:01 +00:00
Marius Vollmer
7f278dc67a
*** empty log message ***
2005-07-31 23:37:03 +00:00
Marius Vollmer
6169fe26f3
(set-module-eval-closure!): Undone change from 2005-06-10; with the
...
new weak hashtable semantics, cyclic references are no longer a
problem.
2005-07-31 23:36:50 +00:00