Kevin Ryde
efeac8aed0
*** empty log message ***
2005-11-30 00:30:36 +00:00
Kevin Ryde
a003f3eb60
(scm_string_append_shared): No copying if just one
...
non-empty string in args.
2005-11-30 00:26:08 +00:00
Kevin Ryde
606183ba1b
*** empty log message ***
2005-11-26 00:55:45 +00:00
Kevin Ryde
94b33dfe46
* random.c (scm_i_copy_rstate, scm_c_make_rstate): Don't test for
...
scm_malloc returning NULL, it never does that.
* putenv.c (putenv): Likewise.
2005-11-26 00:54:06 +00:00
Kevin Ryde
c224262bd1
(scm_i_copy_rstate, scm_c_make_rstate): Don't test for
...
scm_malloc returning NULL, it never does that.
2005-11-26 00:53:27 +00:00
Kevin Ryde
bc73234284
(scm_fill_sockaddr): Remove SCM_C_INLINE_KEYWORD, this is
...
much too big to want to inline.
2005-11-26 00:52:52 +00:00
Kevin Ryde
123a1b629e
(list): Should be "primitive" in SCM_SNARF_DOCS, not "register".
2005-11-26 00:50:12 +00:00
Kevin Ryde
1f65cc174d
(scm_mark_all): Change C++ comment to C comment. Reported by Ludovic Courtès.
2005-11-26 00:49:24 +00:00
Kevin Ryde
203a6c87fd
*** empty log message ***
2005-11-24 00:13:16 +00:00
Kevin Ryde
f1ca69a6bf
*** empty log message ***
2005-11-24 00:03:27 +00:00
Kevin Ryde
04f53076d9
(lset-difference!): More tests.
2005-11-24 00:00:59 +00:00
Kevin Ryde
9dcee2b7a1
(lset-difference!): Rewrite in C.
2005-11-23 23:56:08 +00:00
Kevin Ryde
4ec555c593
typo in lset-difference! name in with-test-prefix
2005-11-23 23:41:29 +00:00
Kevin Ryde
f07d2b20f3
*** empty log message ***
2005-11-18 23:27:28 +00:00
Kevin Ryde
8b2081b580
*** empty log message ***
2005-11-18 23:04:06 +00:00
Kevin Ryde
b167633ca0
(Retrieving Alist Entries): Revise for clarity and brevity.
2005-11-18 22:01:46 +00:00
Neil Jerram
dbb5de2949
* print.c (EXIT_NESTED_DATA): Before popping from the stack, reset
...
the value at its top. This fixes a reference leak.
(PUSH_REF): Perform `pstate->top++' after calling
`PSTATE_STACK_SET ()' in order to avoid undesired potential side
effects.
2005-11-17 18:50:01 +00:00
Neil Jerram
3f98874a96
* gc.c (scm_weak_vectors): Removed.
2005-11-12 08:58:51 +00:00
Kevin Ryde
f1b7209b2d
(scm_setsockopt): Missing @defvar in docstring. Reported
...
by Ludovic Courtès.
2005-11-12 00:59:28 +00:00
Marius Vollmer
bedd3f5fff
*** empty log message ***
2005-11-06 22:12:25 +00:00
Marius Vollmer
9291479faa
(scm_mktime): Use scm_frame_critical_section instead of
...
SCM_CRITICAL_SECTION_START/END since the code inside the critical
section might exit non-locally.
2005-11-06 22:12:04 +00:00
Kevin Ryde
914da0e2fc
*** empty log message ***
2005-11-05 21:42:14 +00:00
Kevin Ryde
46bb559d6c
From Ludovic Courtès, partial rework by me:
...
* doc/ref/api-modules.texi (Creating Guile Modules): In define-module,
describe #:re-export, #:export-syntax, #:re-export-syntax, #:replace
and #:duplicates. Add re-export.
2005-11-05 21:38:49 +00:00
Neil Jerram
7c9c0169b4
* eval.c (sym_instead): New symbol.
...
(ENTER_APPLY): Remove optional use of a continuation when making
trap call.
(scm_debug_opts): Change doc for 'cheap option to make clear that
it is now obsolete.
(CEVAL, SCM_APPLY): Remove optional use of a continuation when
making trap calls, and implement substitution of eval expressions
and return values using the values that the trap call handlers
return.
* debug.h (SCM_CHEAPTRAPS_P): Removed.
2005-11-04 21:20:24 +00:00
Kevin Ryde
69b45df38b
*** empty log message ***
2005-10-31 23:42:14 +00:00
Kevin Ryde
20b988f88d
(Time): In strftime, note systems vary for %Z.
2005-10-31 23:41:46 +00:00
Kevin Ryde
551387fd6d
*** empty log message ***
2005-10-31 23:33:58 +00:00
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