Rob Browning [Fri, 27 Apr 2001 21:09:02 +0000 (21:09 +0000)]
* 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.
Rob Browning [Fri, 27 Apr 2001 21:08:44 +0000 (21:08 +0000)]
* error.h (scm_sysmissing): deprecation expired - removed.
Rob Browning [Fri, 27 Apr 2001 21:08:25 +0000 (21:08 +0000)]
* error.c (scm_sysmissing): deprecation expired - removed.
Rob Browning [Fri, 27 Apr 2001 21:07:56 +0000 (21:07 +0000)]
* continuations.h (SCM_SETJMPBUF): deprecation expired - removed.
Rob Browning [Fri, 27 Apr 2001 21:05:11 +0000 (21:05 +0000)]
*** empty log message ***
Rob Browning [Fri, 27 Apr 2001 21:03:50 +0000 (21:03 +0000)]
* GUILE-VERSION (GUILE_MINOR_VERSION): change to 5.0, switching to
the new odd/even ustable/stable version numbering scheme.
(LIBGUILEQTHREADS_MAJOR_VERSION): change to 10 to match Debian and
libguile. In the future, libguile and libguileqthreads may not
stay in sync. This still doesn't appear to affect
libguileqthreads, but we'll fix that next.
Gary Houston [Fri, 27 Apr 2001 18:16:09 +0000 (18:16 +0000)]
* srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
add "srfi/" to lines including .x files so they can be found
when build_dir != src_dir.
Rob Browning [Fri, 27 Apr 2001 17:00:20 +0000 (17:00 +0000)]
*** empty log message ***
Rob Browning [Fri, 27 Apr 2001 16:59:12 +0000 (16:59 +0000)]
*** empty log message ***
Rob Browning [Fri, 27 Apr 2001 16:56:01 +0000 (16:56 +0000)]
*** empty log message ***
Neil Jerram [Fri, 27 Apr 2001 07:52:23 +0000 (07:52 +0000)]
* Update NEWS for removal of R4RS from distro.
Martin Grabmüller [Fri, 27 Apr 2001 05:52:31 +0000 (05:52 +0000)]
Some updates reflecting the latest SRFI-13/14/9 changes.
Martin Grabmüller [Fri, 27 Apr 2001 05:47:58 +0000 (05:47 +0000)]
* Makefile.am (srfi_DATA): Added srfi-9.scm.
* srfi-9.scm: New file. Exports `define-record-type'.
Martin Grabmüller [Fri, 27 Apr 2001 05:46:24 +0000 (05:46 +0000)]
* Makefile.am (ice9_sources): Remove srfi-8.scm.
Rob Browning [Fri, 27 Apr 2001 03:45:40 +0000 (03:45 +0000)]
*** empty log message ***
Rob Browning [Fri, 27 Apr 2001 03:45:18 +0000 (03:45 +0000)]
* srfi-8.scm: removed in favor of srfi/srfi-8.scm - (wasn't ever
in a production release).
Rob Browning [Thu, 26 Apr 2001 20:24:38 +0000 (20:24 +0000)]
* Makefile.am (srfi_DATA): added srfi-6.scm.
(srfi_DATA): added srfi-11.scm.
(srfi_DATA): added srfi-8.scm.
(srfi_DATA): added srfi-2.scm.
Rob Browning [Thu, 26 Apr 2001 20:24:15 +0000 (20:24 +0000)]
*** empty log message ***
Rob Browning [Thu, 26 Apr 2001 20:23:39 +0000 (20:23 +0000)]
* srfi-8.scm: new file - exports receive.
Rob Browning [Thu, 26 Apr 2001 20:23:19 +0000 (20:23 +0000)]
* srfi-6.scm: new file - guile already has srfi-6 procedures
loaded by default, so this is a dummy file right now.
Rob Browning [Thu, 26 Apr 2001 20:22:58 +0000 (20:22 +0000)]
* srfi-2.scm: new file - just use/export (ice-9 and-let-star)
Rob Browning [Thu, 26 Apr 2001 20:22:28 +0000 (20:22 +0000)]
* srfi-11.scm: new file - exports let-values and let*-values.
Rob Browning [Thu, 26 Apr 2001 20:16:12 +0000 (20:16 +0000)]
*** empty log message ***
Martin Grabmüller [Thu, 26 Apr 2001 19:59:33 +0000 (19:59 +0000)]
* srfi-13-14.texi (Reverse/Append): Updated procedure names for
string-concatenate-reverse[/shared].
(Reverse/Append): Document the parameter `end' to
string-concatenate-reverse.
Martin Grabmüller [Thu, 26 Apr 2001 19:54:48 +0000 (19:54 +0000)]
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.
Neil Jerram [Thu, 26 Apr 2001 18:26:28 +0000 (18:26 +0000)]
* Update SMOB example and associated documentation.
Keisuke Nishida [Thu, 26 Apr 2001 05:25:04 +0000 (05:25 +0000)]
*** empty log message ***
Keisuke Nishida [Thu, 26 Apr 2001 05:19:29 +0000 (05:19 +0000)]
Made it Guile 1.4 compatible.
Keisuke Nishida [Thu, 26 Apr 2001 04:56:14 +0000 (04:56 +0000)]
*** empty log message ***
Keisuke Nishida [Thu, 26 Apr 2001 04:40:02 +0000 (04:40 +0000)]
*** empty log message ***
Gary Houston [Wed, 25 Apr 2001 23:13:52 +0000 (23:13 +0000)]
* 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.
Marius Vollmer [Wed, 25 Apr 2001 22:04:25 +0000 (22:04 +0000)]
* boot-9.scm (the-module, set-current-module, current-module):
Removed, they are now defined in libguile.
Martin Grabmüller [Wed, 25 Apr 2001 14:35:34 +0000 (14:35 +0000)]
* 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.
Martin Grabmüller [Wed, 25 Apr 2001 14:28:11 +0000 (14:28 +0000)]
* 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.
Keisuke Nishida [Wed, 25 Apr 2001 14:19:58 +0000 (14:19 +0000)]
*** empty log message ***
Keisuke Nishida [Wed, 25 Apr 2001 14:19:28 +0000 (14:19 +0000)]
(ice9_sources): Include channel.scm.
Keisuke Nishida [Wed, 25 Apr 2001 13:24:45 +0000 (13:24 +0000)]
Bug fixes.
Keisuke Nishida [Wed, 25 Apr 2001 12:15:24 +0000 (12:15 +0000)]
New files for Guile Emacs support.
Marius Vollmer [Tue, 24 Apr 2001 23:51:05 +0000 (23:51 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 24 Apr 2001 23:40:18 +0000 (23:40 +0000)]
* 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.
Marius Vollmer [Tue, 24 Apr 2001 23:31:38 +0000 (23:31 +0000)]
* 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.
Marius Vollmer [Tue, 24 Apr 2001 23:28:36 +0000 (23:28 +0000)]
* gh_data.c: Removed FIXME comment about gh_lookup returning
SCM_UNDEFINED. That's the right thing to do.
Marius Vollmer [Tue, 24 Apr 2001 23:27:13 +0000 (23:27 +0000)]
* 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.
Marius Vollmer [Tue, 24 Apr 2001 23:23:05 +0000 (23:23 +0000)]
* 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.
Neil Jerram [Tue, 24 Apr 2001 22:15:58 +0000 (22:15 +0000)]
* Makefile.am: Fixed "srf-14.x" typo.
Neil Jerram [Tue, 24 Apr 2001 22:15:10 +0000 (22:15 +0000)]
* Fix bug with multiple files including of version.texi.
Martin Grabmüller [Tue, 24 Apr 2001 19:41:48 +0000 (19:41 +0000)]
* 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.
Martin Grabmüller [Tue, 24 Apr 2001 19:38:13 +0000 (19:38 +0000)]
* 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.
Martin Grabmüller [Mon, 23 Apr 2001 20:24:02 +0000 (20:24 +0000)]
* Makefile.am (SUBDIRS): Added `srfi'.
* configure.in: Added subdirectory `srfi' to build process.
* libguile.h: Added inclusion of `values.h'.
Martin Grabmüller [Mon, 23 Apr 2001 20:21:01 +0000 (20:21 +0000)]
Integrated the guile-srfi package into the Guile distribution.
Neil Jerram [Sun, 22 Apr 2001 22:16:07 +0000 (22:16 +0000)]
* Correct docstring for `throw'.
Neil Jerram [Sun, 22 Apr 2001 22:11:05 +0000 (22:11 +0000)]
* More exception handling doc.
Gary Houston [Sun, 22 Apr 2001 19:52:41 +0000 (19:52 +0000)]
* socket.c: attempted to improve the docstrings slightly.
Neil Jerram [Sun, 22 Apr 2001 16:34:28 +0000 (16:34 +0000)]
* Automatic docstring updates (for IPv6).
Gary Houston [Sun, 22 Apr 2001 16:06:31 +0000 (16:06 +0000)]
*** empty log message ***
Gary Houston [Sun, 22 Apr 2001 16:05:21 +0000 (16:05 +0000)]
* 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.
Gary Houston [Sun, 22 Apr 2001 15:53:44 +0000 (15:53 +0000)]
* configure.in: check for inet_pton and inet_ntop.
Neil Jerram [Sun, 22 Apr 2001 14:56:52 +0000 (14:56 +0000)]
* Change R4RS references to R5RS.
Neil Jerram [Sun, 22 Apr 2001 13:32:15 +0000 (13:32 +0000)]
* Complete ChangeLog entries for removal of r4rs.
Neil Jerram [Sun, 22 Apr 2001 13:22:51 +0000 (13:22 +0000)]
* Remove r4rs from distribution.
Neil Jerram [Sun, 22 Apr 2001 13:15:42 +0000 (13:15 +0000)]
* Extended documentation on exceptions.
* Minor changes to Martin's doc on continuations.
Dirk Herrmann [Sat, 21 Apr 2001 21:50:08 +0000 (21:50 +0000)]
* Made creation of new smob types thread safe.
* Minor cleanups to smob usage.
Gary Houston [Sat, 21 Apr 2001 19:10:15 +0000 (19:10 +0000)]
* 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.
Gary Houston [Fri, 20 Apr 2001 19:22:47 +0000 (19:22 +0000)]
* 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.
Gary Houston [Fri, 20 Apr 2001 19:14:59 +0000 (19:14 +0000)]
* acconfig.h: include HAVE_SIN6_SCOPE_ID.
* configure.in: check for sin6_scope_id in sockaddr_in6.
Neil Jerram [Fri, 20 Apr 2001 15:59:30 +0000 (15:59 +0000)]
* Improve doc for exceptions.
Martin Grabmüller [Fri, 20 Apr 2001 14:43:30 +0000 (14:43 +0000)]
* 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.
Neil Jerram [Fri, 20 Apr 2001 13:26:55 +0000 (13:26 +0000)]
Doc fixes
Neil Jerram [Fri, 20 Apr 2001 11:20:06 +0000 (11:20 +0000)]
* Added recipe-guidelines.txt.
Dirk Herrmann [Fri, 20 Apr 2001 07:55:19 +0000 (07:55 +0000)]
* Removed an application of SCM_C[AD]R to non pairs.
Martin Grabmüller [Fri, 20 Apr 2001 07:31:25 +0000 (07:31 +0000)]
* 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).
Keisuke Nishida [Fri, 20 Apr 2001 02:19:36 +0000 (02:19 +0000)]
* receive.scm (receive): Use `define-macro'.
Mikael Djurfeldt [Thu, 19 Apr 2001 22:10:29 +0000 (22:10 +0000)]
* unif.h (SCM_ARRAY_CONTIGUOUS): Reintroduced as deprecated.
* RELEASE: Added deprecated macro SCM_ARRAY_CONTIGUOUS
Martin Grabmüller [Thu, 19 Apr 2001 21:35:44 +0000 (21:35 +0000)]
* 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'.
Mikael Djurfeldt [Thu, 19 Apr 2001 21:10:52 +0000 (21:10 +0000)]
* __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.
Dirk Herrmann [Thu, 19 Apr 2001 16:27:01 +0000 (16:27 +0000)]
* Allow to convert an array of bytes to a list. Thanks to Masao Uebayashi.
Dirk Herrmann [Thu, 19 Apr 2001 15:20:27 +0000 (15:20 +0000)]
* Some simplification, basically a postscriptum to the previous patch.
Dirk Herrmann [Thu, 19 Apr 2001 14:46:01 +0000 (14:46 +0000)]
* Fixed scm_thunk_p's results when applied to closures.
* Extracted macro printing code from print.c to macros.c.
* Minor cleanups.
Dirk Herrmann [Thu, 19 Apr 2001 09:38:37 +0000 (09:38 +0000)]
* Eliminate some further applications of SCM_C[AD]R to non pair cells.
Gary Houston [Tue, 17 Apr 2001 23:04:09 +0000 (23:04 +0000)]
*** empty log message ***
Gary Houston [Tue, 17 Apr 2001 23:03:07 +0000 (23:03 +0000)]
* 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.
Gary Houston [Tue, 17 Apr 2001 22:35:35 +0000 (22:35 +0000)]
* configure.in: run the autoconf BIGENDIAN check.
Martin Grabmüller [Tue, 17 Apr 2001 19:29:52 +0000 (19:29 +0000)]
* 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).
Martin Grabmüller [Tue, 17 Apr 2001 15:34:33 +0000 (15:34 +0000)]
* 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'.
Dirk Herrmann [Tue, 17 Apr 2001 09:15:39 +0000 (09:15 +0000)]
* Incorporated fixes to interrupt deferring/allowing from Niibe.
* Added SCM_DEBUG_INTERRUPTS as a debugging option.
Marius Vollmer [Tue, 17 Apr 2001 00:43:18 +0000 (00:43 +0000)]
Removed out-of-date comment.
Neil Jerram [Mon, 16 Apr 2001 09:38:32 +0000 (09:38 +0000)]
* Updated doc for SCM_ASSERT.
Keisuke Nishida [Mon, 16 Apr 2001 03:42:36 +0000 (03:42 +0000)]
* boot-9.scm (load-compiled): New variable, initialized in the VM.
(try-module-autoload): Try loading compiled modules if applicable.
Keisuke Nishida [Sun, 15 Apr 2001 22:55:49 +0000 (22:55 +0000)]
Deprecate `id'.
Keisuke Nishida [Sun, 15 Apr 2001 22:47:25 +0000 (22:47 +0000)]
* boot-9.scm (call-with-deprecation): New procedure.
(identity): New procedure.
(id): Deprecated.
Keisuke Nishida [Sun, 15 Apr 2001 15:20:28 +0000 (15:20 +0000)]
* boot-9.scm (defmacro, define-macro, define-syntax-macro):
Define only at the top level.
Keisuke Nishida [Sat, 14 Apr 2001 12:29:54 +0000 (12:29 +0000)]
Moved up the eval-case section.
Neil Jerram [Fri, 13 Apr 2001 11:12:01 +0000 (11:12 +0000)]
* Texinfo markup fixes.
Neil Jerram [Fri, 13 Apr 2001 09:56:37 +0000 (09:56 +0000)]
* Incorporate Dirk's description of SCM and scm_bits_t.
* Remove obsolete notes about needing to use SCM_NIMP.
Dirk Herrmann [Thu, 12 Apr 2001 10:00:08 +0000 (10:00 +0000)]
* Applied Niibe Yutaka's patch to add libguileqthreads version info.
Keisuke Nishida [Thu, 12 Apr 2001 01:40:21 +0000 (01:40 +0000)]
Use memset instead of bzero.
Neil Jerram [Wed, 11 Apr 2001 22:04:30 +0000 (22:04 +0000)]
* Fix dvi build problem.
Martin Grabmüller [Wed, 11 Apr 2001 16:41:46 +0000 (16:41 +0000)]
* scheme-scheduling.texi (Arbiters): New explanatory text.
(Asyncs): New explanations and documentation.
(Scheduling): Added menu entry descriptions.
(Fluids): New documentation.
Martin Grabmüller [Wed, 11 Apr 2001 14:56:30 +0000 (14:56 +0000)]
* 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.
Mikael Djurfeldt [Wed, 11 Apr 2001 02:13:14 +0000 (02:13 +0000)]
* goops/Makefile.am, goops/goopscore.scm: Reverted changes of
2001-04-03, 2001-03-09.