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

5453 commits

Author SHA1 Message Date
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
Keisuke Nishida
8add1522ae * boot-9.scm (defmacro, define-macro, define-syntax-macro):
Define only at the top level.
2001-04-15 15:20:28 +00:00
Keisuke Nishida
a54e6fa326 Moved up the eval-case section. 2001-04-14 12:29:54 +00:00
Neil Jerram
c4d0cddd4c * Texinfo markup fixes. 2001-04-13 11:12:01 +00:00
Neil Jerram
505392ae32 * Incorporate Dirk's description of SCM and scm_bits_t.
* Remove obsolete notes about needing to use SCM_NIMP.
2001-04-13 09:56:37 +00:00
Dirk Herrmann
0da6608d93 * Applied Niibe Yutaka's patch to add libguileqthreads version info. 2001-04-12 10:00:08 +00:00
Keisuke Nishida
f22ed5a028 Use memset instead of bzero. 2001-04-12 01:40:21 +00:00
Neil Jerram
a58c0d5f51 * Fix dvi build problem. 2001-04-11 22:04:30 +00:00
Martin Grabmüller
ac0b7ebd29 * scheme-scheduling.texi (Arbiters): New explanatory text.
(Asyncs): New explanations and documentation.
	(Scheduling): Added menu entry descriptions.
	(Fluids): New documentation.
2001-04-11 16:41:46 +00:00
Martin Grabmüller
f4f2b29a5f * scheme-procedures.texi (Lambda): Documented the lambda form.
(Procedure Properties): Concept and usage explanation added.
	(Procedures with Setters): Explain by example, introduce
	definitions.

	* scheme-data.texi (Symbols and Variables): Split and reorganized
	this section.
	(Symbols): New introductory text.
	(Characters): Added char-ci* procedures to rn index.
2001-04-11 14:56:30 +00:00
Mikael Djurfeldt
b592004c72 * goops/Makefile.am, goops/goopscore.scm: Reverted changes of
2001-04-03, 2001-03-09.
2001-04-11 02:13:14 +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
Mikael Djurfeldt
f2e61fc1c5 *** empty log message *** 2001-04-11 02:08:59 +00:00
Marius Vollmer
1e177a8f62 *** empty log message *** 2001-04-10 23:51:13 +00:00
Marius Vollmer
8ed35a15e8 * readline.c (scm_clear_history): New function.
* readline.scm (readline-port): Call clear-history on exit.
Thanks to Utz-Uwe Haus.
2001-04-10 23:48:27 +00:00
Neil Jerram
19aad96c76 * Apply improved Texinfo markup patch from Dale P. Smith. 2001-04-10 19:49:29 +00:00
Neil Jerram
2b6aab94e1 * Fix typo. 2001-04-10 18:41:09 +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