Gary Houston
b0e5fd8c3d
* rw.c: new file, implementing C part of module (ice-9 rw).
...
(scm_read_string_x_partial): moved from ioext.c
(scm_init_rw): new proc.
* rw.h: new file.
init.c: include rw.h and call scm_init_rw.
Makefile.am: include rw.c and rw.h.
2001-04-29 13:03:14 +00:00
Rob Browning
0b2da99cb3
*** empty log message ***
2001-04-28 17:31:07 +00:00
Rob Browning
457dc52c41
* tags.h (SCM_DOUBLE_CELLP): deprecation expired - removed.
...
(scm_tc_dblr): deprecation expired - removed.
(scm_tc_dblc): deprecation expired - removed.
(scm_tc16_flo): deprecation expired - removed.
(scm_tc_flo): deprecation expired - removed.
2001-04-28 17:30:20 +00:00
Rob Browning
33cc9ac849
* tag.h (scm_tag): deprecation expired - removed.
2001-04-28 17:29:50 +00:00
Rob Browning
a0ea0f6515
* tag.c: (scm_tag): deprecation expired - removed.
2001-04-28 17:29:31 +00:00
Rob Browning
61fa6c373f
* numbers.h (scm_dblproc): deprecation expired - removed.
...
(SCM_UNEGFIXABLE): deprecation expired - removed.
(SCM_FLOBUFLEN): deprecation expired - removed.
(SCM_INEXP): deprecation expired - removed.
(SCM_CPLXP): deprecation expired - removed.
(SCM_REAL): deprecation expired - removed.
(SCM_IMAG): deprecation expired - removed.
(SCM_REALPART): deprecation expired - removed.
(scm_makdbl): deprecation expired - removed.
(SCM_SINGP): deprecation expired - removed.
(SCM_NUM2DBL): deprecation expired - removed.
(SCM_NO_BIGDIG): deprecation expired - removed.
2001-04-28 17:28:04 +00:00
Rob Browning
14efea3dde
* numbers.c: enabled local definition of SCM_FLOBUFLEN until we
...
know what's supposed to happen to it.
2001-04-28 17:27:04 +00:00
Rob Browning
5425fc2f3a
* list.h (scm_list_star): deprecation expired - removed.
2001-04-28 17:25:51 +00:00
Rob Browning
36aecedd6b
* ioext.h (scm_fseek): deprecation expired - removed.
2001-04-28 17:24:43 +00:00
Rob Browning
22baef2225
* ioext.c: (scm_fseek): deprecation expired - removed.
2001-04-28 17:24:16 +00:00
Rob Browning
91faf22772
* gh_data.c (gh_int2scmb): deprecation expired - removed.
2001-04-28 17:23:48 +00:00
Rob Browning
af92e2b53d
* gh.h (gh_int2scmb): deprecation expired - removed.
2001-04-28 17:23:23 +00:00
Neil Jerram
e3334972a5
* Fix typo in docstring.
2001-04-28 08:59:48 +00:00
Rob Browning
a0f979acdb
*** empty log message ***
2001-04-27 21:10:57 +00:00
Rob Browning
96230533fa
* vectors.h (SCM_NVECTORP): deprecation expired - removed.
2001-04-27 21:10:11 +00:00
Rob Browning
da3208a3f5
* strings.h
...
(SCM_NSTRINGP): deprecation expired - removed.
(SCM_NRWSTRINGP): deprecation expired - removed.
2001-04-27 21:09:49 +00:00
Rob Browning
4c2fb0c583
* ports.h
...
(SCM_INPORTP): deprecation expired - removed.
(SCM_OUTPORTP): deprecation expired - removed.
2001-04-27 21:09:19 +00:00
Rob Browning
2baa64142b
* gc.c
...
(scm_init_gc): gc-thunk deprecation expired - removed.
(scm_gc_vcell): deprecation expired - removed.
(gc_async_thunk): scm_gc_vcell related code removed.
2001-04-27 21:09:02 +00:00
Rob Browning
8a7fb63c90
* error.h (scm_sysmissing): deprecation expired - removed.
2001-04-27 21:08:44 +00:00
Rob Browning
3a2ad295bc
* error.c (scm_sysmissing): deprecation expired - removed.
2001-04-27 21:08:25 +00:00
Rob Browning
2e5b312b80
* continuations.h (SCM_SETJMPBUF): deprecation expired - removed.
2001-04-27 21:07:56 +00:00
Marius Vollmer
253081cf6a
*** empty log message ***
2001-04-24 23:51:05 +00:00
Marius Vollmer
55000e5f40
* modules.c (scm_module_type): New.
...
(scm_post_boot_init_modules): Initialize from Scheme value.
(the_module, scm_current_module, scm_init_modules): the_module is
now a C only fluid.
(scm_current_module): Export to Scheme.
(scm_set_current_module): Do not call out to Scheme, do all the
work in C. Export procedure to Scheme. Only accept modules, `#f'
is no longer valid as the current module. Only set
scm_top_level_lookup_closure_var and scm_system_transformer when
they are not deprecated.
(scm_module_transformer, scm_current_module_transformer): New.
* modules.h (scm_module_index_transformer, SCM_MODULE_TRANSFORMER,
scm_current_module_transformer, scm_module_transformer): New.
2001-04-24 23:40:18 +00:00
Marius Vollmer
f2c4aa2a16
* eval.h, eval.c (scm_system_transformer): Deprecated by moving it
...
into the conditionally compiled sections.
* eval.c (scm_primitive_eval_x, scm_primitive_eval): Use
scm_current_module_transformer instead of scm_system_transformer.
* init.c (start_stack): Move initialization of
scm_system_transformer to the deprecated section.
2001-04-24 23:31:38 +00:00
Marius Vollmer
07de6c4737
* gh_data.c: Removed FIXME comment about gh_lookup returning
...
SCM_UNDEFINED. That's the right thing to do.
2001-04-24 23:28:36 +00:00
Marius Vollmer
bcdab802c9
* eval.h, eval.c (scm_system_transformer): Deprecated by moving it
...
into the conditionally compiled sections.
* eval.c (scm_primitive_eval_x, scm_primitive_eval): Use
scm_current_module_transformer instead of scm_system_transformer.
2001-04-24 23:27:13 +00:00
Neil Jerram
1f7f9ed41d
* Correct docstring for `throw'.
2001-04-22 22:16:07 +00:00
Gary Houston
eefae53898
* socket.c: attempted to improve the docstrings slightly.
2001-04-22 19:52:41 +00:00
Gary Houston
66c73b7654
* net_db.c: remove bogus "close" declaration.
...
(inet_aton declaration, scm_inet_aton, scm_inet_ntoa,
scm_inet_netof, scm_lnaof, scm_inet_makeaddr, INADDR_ANY etc.):
moved to socket.c.
* net_db.h: declarations moved too.
* socket.c (scm_htonl, scm_ntohl): use uint32_t instead of unsigned
long.
(ipv6_net_to_num, ipv6_num_to_net): new static procedures.
(VALIDATE_INET6): new macro.
(scm_inet_pton, scm_inet_ntop): new procedures, implementing
inet-pton and inet-ntop.
(scm_fill_sockaddr): use VALIDATE_INET6 and ipv6_num_to_net.
(scm_addr_vector): use ipv6_net_to_num.
2001-04-22 16:05:21 +00:00
Dirk Herrmann
7a7f7c5314
* Made creation of new smob types thread safe.
...
* Minor cleanups to smob usage.
2001-04-21 21:50:08 +00:00
Gary Houston
e1368a8d44
* socket.c (FLIP_NET_HOST_128): new macro.
...
(scm_fill_sockaddr): use new macro.
(scm_addr_vector): completed IPv6 address support. added const
to the address parameter.
2001-04-21 19:10:15 +00:00
Gary Houston
5a525b8441
* socket.c (scm_fill_sockaddr): call htons for sin6_port.
...
Don't assign sin6_scope_id in structure unless HAVE_SIN6_SCOPE_ID
is defined.
(scm_addr_vector): use a switch instead of multiple if statements.
Add support for IPv6 (incomplete) .
MAX_ADDR_SIZE: increase to size of struct sockaddr_in if needed.
2001-04-20 19:22:47 +00:00
Dirk Herrmann
1a55163887
* Removed an application of SCM_C[AD]R to non pairs.
2001-04-20 07:55:19 +00:00
Mikael Djurfeldt
a9d861e3b2
* unif.h (SCM_ARRAY_CONTIGUOUS): Reintroduced as deprecated.
...
* RELEASE: Added deprecated macro SCM_ARRAY_CONTIGUOUS
2001-04-19 22:10:29 +00:00
Mikael Djurfeldt
c07b3fefa5
* __scm.h (SCM_WTA_DISPATCH_0, SCM_WTA_DISPATCH_1,
...
SCM_WTA_DISPATCH_2, SCM_WTA_DISPATCH_n): Inserted required
parentheses in order to get the correct associativity.
2001-04-19 21:10:52 +00:00
Dirk Herrmann
af7546ebe2
* Allow to convert an array of bytes to a list. Thanks to Masao Uebayashi.
2001-04-19 16:27:01 +00:00
Dirk Herrmann
4daecfeecc
* Some simplification, basically a postscriptum to the previous patch.
2001-04-19 15:20:27 +00:00
Dirk Herrmann
726d810a75
* Fixed scm_thunk_p's results when applied to closures.
...
* Extracted macro printing code from print.c to macros.c.
* Minor cleanups.
2001-04-19 14:46:01 +00:00
Dirk Herrmann
e038c04203
* Eliminate some further applications of SCM_C[AD]R to non pair cells.
2001-04-19 09:38:37 +00:00
Gary Houston
3453619bd3
* some initial support for IPv6:
...
* socket.c (scm_fill_sockaddr): improve the argument validation.
don't allocate memory until all args are checked. instead of
unconditional memset of soka, try setting sin_len to 0 if
SIN_LEN is defined. add support for AF_INET6. define FUNC_NAME.
(scm_socket, scm_connect): extend docstrings for IPv6.
(scm_init_socket): intern AF_INET6 and PF_INET6.
2001-04-17 23:03:07 +00:00
Dirk Herrmann
216eedfcae
* Incorporated fixes to interrupt deferring/allowing from Niibe.
...
* Added SCM_DEBUG_INTERRUPTS as a debugging option.
2001-04-17 09:15:39 +00:00
Marius Vollmer
ac16426b15
Removed out-of-date comment.
2001-04-17 00:43:18 +00:00
Keisuke Nishida
f22ed5a028
Use memset instead of bzero.
2001-04-12 01:40:21 +00:00
Mikael Djurfeldt
a087ba812e
* init.c, goops.c, goops.h: Reverted change of 2001-03-29. (The
...
goops module should be registered in order to work for an
application which uses libguile statically linked.)
2001-04-11 02:12:35 +00:00
Mikael Djurfeldt
508ded1cdb
* init.c, goops.c: Reverted change of 2001-03-29. (The goops
...
module should be registered in order to work for an application
which uses libguile statically linked.)
2001-04-11 02:09:35 +00:00
Dirk Herrmann
e4b265d817
* Avoid redundant casting of argument numbers to char* and vice versa.
2001-04-10 07:57:05 +00:00
Neil Jerram
40f83c3e1b
* Clarify docstring for scm_make_shared_substring.
2001-04-09 21:46:44 +00:00
Neil Jerram
89d04205b4
* Clean up doc and docstring for shared substrings and read only strings.
2001-04-09 21:44:06 +00:00
Martin Grabmüller
4d66be5456
* hooks.c (scm_make_hook, scm_make_hook_with_name),
...
(scm_hook_p, scm_hook_empty_p, scm_run_hook): Docstring
improvements.
2001-04-09 16:07:15 +00:00
Martin Grabmüller
1e6808ea20
Correct, update, improve and clean up a lot of docstrings in order to make
...
the documentation much more consistent.
2001-04-03 13:19:05 +00:00