1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 10:50:21 +02:00
Commit graph

5392 commits

Author SHA1 Message Date
Rob Browning
69dab98bdb * srfi-11.scm: new file - exports let-values and let*-values. 2001-04-26 20:22:28 +00:00
Rob Browning
53e29a1e0c *** empty log message *** 2001-04-26 20:16:12 +00:00
Martin Grabmüller
c59ef9c154 * srfi-13-14.texi (Reverse/Append): Updated procedure names for
string-concatenate-reverse[/shared].
	(Reverse/Append): Document the parameter `end' to
	string-concatenate-reverse.
2001-04-26 19:59:33 +00:00
Martin Grabmüller
8dddb4bc9f Changed two procedure names to match final SRFI document. Thanks
to Rob Browning for spotting this.

	* srfi-13.scm (string-concatenate-reverse),
	(string-concatenate-reverse/shared): Rename from
	reverse-string-concatenate[/shared].

	* srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
	scm_reverse_string_concatenate_shared.
	(scm_string_concatenate_reverse): Renamed from
	scm_reverse_string_concatenate.
2001-04-26 19:54:48 +00:00
Neil Jerram
bd5e684091 * Update SMOB example and associated documentation. 2001-04-26 18:26:28 +00:00
Keisuke Nishida
ac667929bc *** empty log message *** 2001-04-26 05:25:04 +00:00
Keisuke Nishida
1c446a7f5d Made it Guile 1.4 compatible. 2001-04-26 05:19:29 +00:00
Keisuke Nishida
7405a09d39 *** empty log message *** 2001-04-26 04:56:14 +00:00
Keisuke Nishida
9ab0d78817 *** empty log message *** 2001-04-26 04:40:02 +00:00
Gary Houston
c685b42fa3 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
have run.

	* tests/ports.test (test-file), tests/load.test (temp-dir):
	redefined using data-file-name instead of tmpnam.  the test files
	will be created in the build directory instead of /var/tmp or
	whereever tmpnam puts them.
2001-04-25 23:13:52 +00:00
Marius Vollmer
8acc3515a0 * boot-9.scm (the-module, set-current-module, current-module):
Removed, they are now defined in libguile.
2001-04-25 22:04:25 +00:00
Martin Grabmüller
1f7a1dc98c * configure.in: Don't treat srfi directory specially, just create
the Makefile there (thanks to Neil Jerram for the patch).

	* configure.in, autogen.sh: Removed.
2001-04-25 14:35:34 +00:00
Martin Grabmüller
653c729127 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
when using memmove().

	* srfi-14.h: Added prototypes for all exported procedures..

	* srfi-13.c: Include srfi-13.h

	* srfi-13.h: New file containing the prototypes.

	* Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
	(libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
	distributed.
	(libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
2001-04-25 14:28:11 +00:00
Keisuke Nishida
0d3e064b0b *** empty log message *** 2001-04-25 14:19:58 +00:00
Keisuke Nishida
0b8d495236 (ice9_sources): Include channel.scm. 2001-04-25 14:19:28 +00:00
Keisuke Nishida
37052e6073 Bug fixes. 2001-04-25 13:24:45 +00:00
Keisuke Nishida
2d857fb1ac New files for Guile Emacs support. 2001-04-25 12:15:24 +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
Marius Vollmer
4cd2722652 * guile.1: New file, from Robert Merkel and Rob Browning.
* Makefile.am (man_MANS, EXTRADIST): Added, but still commented
out: install and distirbute the manpage.  It is not yet installed
or distributed since we don't have the Robert's papers yet.
2001-04-24 23:23:05 +00:00
Neil Jerram
30f3282076 * Makefile.am: Fixed "srf-14.x" typo. 2001-04-24 22:15:58 +00:00
Neil Jerram
b516a720b9 * Fix bug with multiple files including of version.texi. 2001-04-24 22:15:10 +00:00
Martin Grabmüller
612943c6c1 * Makefile.am (guile_TEXINFOS): Added srfi-13-14.texi.
* srfi-13-14.texi: New file documenting SRFI-13/14.

	* guile.texi (Top): Added the SRFI-13/14 menu entry and @include.
2001-04-24 19:41:48 +00:00
Martin Grabmüller
fafb71de8c * guile-srfi.texi: Removed, because merged with the GRM.
* guile-srfi.texi: The docs are now up to date with the
	implementation and have new introductory material.
2001-04-24 19:38:13 +00:00
Martin Grabmüller
6c44688a67 * Makefile.am (SUBDIRS): Added `srfi'.
* configure.in: Added subdirectory `srfi' to build process.

	* libguile.h: Added inclusion of `values.h'.
2001-04-23 20:24:02 +00:00
Martin Grabmüller
ca003b26ce Integrated the guile-srfi package into the Guile distribution. 2001-04-23 20:21:01 +00:00
Neil Jerram
1f7f9ed41d * Correct docstring for `throw'. 2001-04-22 22:16:07 +00:00
Neil Jerram
67835dabdb * More exception handling doc. 2001-04-22 22:11:05 +00:00
Gary Houston
eefae53898 * socket.c: attempted to improve the docstrings slightly. 2001-04-22 19:52:41 +00:00
Neil Jerram
72ad43dc95 * Automatic docstring updates (for IPv6). 2001-04-22 16:34:28 +00:00
Gary Houston
5bef627d61 *** empty log message *** 2001-04-22 16:06:31 +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
Gary Houston
2a0ef8b74a * configure.in: check for inet_pton and inet_ntop. 2001-04-22 15:53:44 +00:00
Neil Jerram
8c34cf5b14 * Change R4RS references to R5RS. 2001-04-22 14:56:52 +00:00
Neil Jerram
63f412c209 * Complete ChangeLog entries for removal of r4rs. 2001-04-22 13:32:15 +00:00
Neil Jerram
b9bf148fa2 * Remove r4rs from distribution. 2001-04-22 13:22:51 +00:00
Neil Jerram
006064cefe * Extended documentation on exceptions.
* Minor changes to Martin's doc on continuations.
2001-04-22 13:15:42 +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
Gary Houston
6764198159 * acconfig.h: include HAVE_SIN6_SCOPE_ID.
* configure.in: check for sin6_scope_id in sockaddr_in6.
2001-04-20 19:14:59 +00:00
Neil Jerram
0447f5c918 * Improve doc for exceptions. 2001-04-20 15:59:30 +00:00
Martin Grabmüller
ee75653426 * scheme-evaluation.texi (Comments): Document normal comments and
comment conventions.
	(Block Comments): Documented multiline comments.
	(Case Sensitivity): Documented R5RS and Guile behaviour and how to
	switch it off.

	* scheme-control.texi (Continuations): Added some documentation
	for call/cc.
	(Exceptions): Added xref to `Continuations'.

	* scheme-binding.texi (Binding Reflection): Typo fix.
2001-04-20 14:43:30 +00:00
Neil Jerram
ffda60939e Doc fixes 2001-04-20 13:26:55 +00:00
Neil Jerram
a26fb67d83 * Added recipe-guidelines.txt. 2001-04-20 11:20:06 +00:00
Dirk Herrmann
1a55163887 * Removed an application of SCM_C[AD]R to non pairs. 2001-04-20 07:55:19 +00:00
Martin Grabmüller
2da0d971eb * intro.texi (Using Guile Modules): Wrote intro to using modules.
(Writing New Modules): New intro for writing modules.
	(Reporting Bugs): Added info about what is a bug and what to
	include in a bug report (taken and adapted from the Emacs
	Reference Manual).
2001-04-20 07:31:25 +00:00