1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-07 18:30:25 +02:00
Commit graph

6023 commits

Author SHA1 Message Date
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
Keisuke Nishida
454a8a8fff * receive.scm (receive): Use `define-macro'. 2001-04-20 02:19:36 +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
Martin Grabmüller
65f7a6501c * scheme-control.texi (while do): Added documentation for named
let.

	* scheme-binding.texi (Internal Definitions): New explanation of
	`Internal Definitions'.
	(Top Level): Documented behaviour of top level definitions.
	(Binding Constructs): New introductory text.
	(Local Bindings): Explain concept of local bindings.  Document
	let, let* and letrec.

	* scheme-modules.texi (Modules): Added menu descriptions.
	(Scheme and modules, The Guile module system): Some whitespace
	cleanup
	(The Guile module system): Layout fixes, docstring fix for
	`define-module'.
2001-04-19 21:35:44 +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
31e74a57aa *** empty log message *** 2001-04-17 23:04:09 +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
Gary Houston
5b079b46d2 * configure.in: run the autoconf BIGENDIAN check. 2001-04-17 22:35:35 +00:00
Martin Grabmüller
da54ce854a * scheme-control.texi (Multiple Values): Documented concept of
multiple values, added docs for `receive'.
	(begin): Documented `begin'.
	(if cond case): Documented `if', `cond' and `case'.
	(and or): Documented `and' and `or'.
	(while do): Documented `do' and `while'.

	* scheme-procedures.texi (Optional Arguments): Split the node,
	added introductory text, added menu for subsections.
	(let-optional Reference, let-keywords Reference),
	(lambda* Reference, define* Reference): Added syntax documentation
	for all exported procedures from (ice-9 optargs).
2001-04-17 19:29:52 +00:00
Martin Grabmüller
239d2912a2 * scheme-utility.texi (General Conversion): New node, added
`object->string'.
	(Equality): Added definition and explanation of `sameness'.

	* posix.texi (System Identification): Added `gethostname' and
	`sethostname'.
	(Processes): Added `setpriority' and `getpriority'.
	(User Information): Added `cuserid' and `getlogin'.
	(Ports and File Descriptors): Added `flock'.
	(Processes): Added `chroot'.
	(File System): Added `mkstemp!'.
	(Encryption): New node, added `crypt' and `getpass'.

	* new-docstrings.texi: Moved several docstrings over to the
	reference manual (see above which).

	* scheme-data.texi (Data Types), (Numerical Tower): Add explicit
	@bullet to @itemize to satisfy older `makeinfo'.
2001-04-17 15:34:33 +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
Neil Jerram
813c57db52 * Updated doc for SCM_ASSERT. 2001-04-16 09:38:32 +00:00
Keisuke Nishida
ff5546f5c6 * boot-9.scm (load-compiled): New variable, initialized in the VM.
(try-module-autoload): Try loading compiled modules if applicable.
2001-04-16 03:42:36 +00:00
Keisuke Nishida
56426fdbaf Deprecate `id'. 2001-04-15 22:55:49 +00:00
Keisuke Nishida
6b08d75b56 * boot-9.scm (call-with-deprecation): New procedure.
(identity): New procedure.
	(id): Deprecated.
2001-04-15 22:47:25 +00:00