Kevin Ryde [Fri, 27 Aug 2004 01:21:24 +0000 (01:21 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 27 Aug 2004 01:20:33 +0000 (01:20 +0000)]
Use define-module to keep bindings out of
further tests. Use-module (test-suite lib) for stand-alone operation.
(rec): Exercise bad args.
Kevin Ryde [Fri, 27 Aug 2004 01:19:23 +0000 (01:19 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 27 Aug 2004 01:18:56 +0000 (01:18 +0000)]
(rec): Add missing `error' to else clause.
Kevin Ryde [Fri, 27 Aug 2004 01:14:49 +0000 (01:14 +0000)]
(regexp-quote): New tests.
Kevin Ryde [Fri, 27 Aug 2004 01:10:20 +0000 (01:10 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 27 Aug 2004 01:09:48 +0000 (01:09 +0000)]
(AC_CHECK_MEMBERS): Add struct sockaddr.sin_len and
struct sockaddr_in6.sin6_len. Reported by Michael Tuexen.
Kevin Ryde [Fri, 27 Aug 2004 01:06:50 +0000 (01:06 +0000)]
(scm_fill_sockaddr): Use HAVE_STRUCT_SOCKADDR_SIN_LEN and
HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN for sockaddr fields, SIN_LEN and
SIN_LEN6 are not defined on all systems. Reported by Michael Tuexen.
Kevin Ryde [Fri, 27 Aug 2004 01:03:03 +0000 (01:03 +0000)]
Add a copyright year.
Kevin Ryde [Fri, 27 Aug 2004 01:01:27 +0000 (01:01 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 27 Aug 2004 01:00:38 +0000 (01:00 +0000)]
(regexp-quote): [ and | must be quoted. Quote ( ) { + ?
using char class [(] etc since \( in fact makes them become special in
regexp/basic.
Marius Vollmer [Thu, 26 Aug 2004 23:10:32 +0000 (23:10 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 26 Aug 2004 17:30:31 +0000 (17:30 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 26 Aug 2004 15:40:25 +0000 (15:40 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 26 Aug 2004 15:40:13 +0000 (15:40 +0000)]
* strings.h, strings.c (scm_i_make_symbol): Added FLAGS parameter.
* symbols.h, symbols.c (SCM_I_F_SYMBOL_UNINTERNED,
scm_i_symbol_is_interned, scm_i_mem2symbol,
scm_i_mem2uninternedsymbol): Use it to store uninternedness flag.
Marius Vollmer [Thu, 26 Aug 2004 15:17:07 +0000 (15:17 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 26 Aug 2004 15:16:56 +0000 (15:16 +0000)]
* LIBGUILEREADLINE-VERSION: Bumped versions for the 1.7.1 release.
Added LIBGUILEREADLINE_MAJOR variable for inclusion in the name of
the shared library.
* configure.in: AC_SUBST it.
* Makefile.am: Substitute it into name of library.
* ice-9/readline.scm: Use new name with load-extension.
Marius Vollmer [Thu, 26 Aug 2004 15:16:21 +0000 (15:16 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 26 Aug 2004 15:16:10 +0000 (15:16 +0000)]
* LIBGUILEREADLINE-VERSION: Bumped versions for the 1.7.1 release.
Added LIBGUILEREADLINE_MAJOR variable for inclusion in the name of
the shared library.
* configure.in: AC_SUBST it.
* Makefile.am: Substitute it into name of library.
Marius Vollmer [Thu, 26 Aug 2004 15:13:05 +0000 (15:13 +0000)]
* Makefile.am: Added appropriate @LIBGUILE_*_MAJOR@ substitutions
to the library names.
* srfi-1.scm, srfi-4.scm: Use the new library names with
load-extension.
Marius Vollmer [Thu, 26 Aug 2004 15:10:24 +0000 (15:10 +0000)]
Bumped version number of libguile-ltdl to 2.
Marius Vollmer [Thu, 26 Aug 2004 15:09:36 +0000 (15:09 +0000)]
* GUILE-VERSION: Bumped all versions for the 1.7.1 release. Added
LIBGUILE_*_MAJOR variables for inclusion in the names of shared
libraries such as "libguile-srfi-srfi-1-v-MAJOR.la". Removed
LIBQTHREADS_*.
* configure.in: Updated for the new set of variables defined in
GUILE-VERSION.
Marius Vollmer [Thu, 26 Aug 2004 15:08:44 +0000 (15:08 +0000)]
Bumped all versions for the 1.7.1 release. Added LIBGUILE_*_MAJOR
variables for inclusion in the names of shared libraries such as
"libguile-srfi-srfi-1-v-MAJOR.la". Removed LIBQTHREADS_*.
Marius Vollmer [Thu, 26 Aug 2004 14:59:44 +0000 (14:59 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 25 Aug 2004 19:03:14 +0000 (19:03 +0000)]
Additions.
Marius Vollmer [Wed, 25 Aug 2004 19:02:34 +0000 (19:02 +0000)]
Typos fixed. Use existing functions in explaining symbol and keyword
snarfer.
Marius Vollmer [Wed, 25 Aug 2004 17:22:52 +0000 (17:22 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 25 Aug 2004 17:22:38 +0000 (17:22 +0000)]
Removed things that are no longer true. Updated in general.
Marius Vollmer [Wed, 25 Aug 2004 17:22:14 +0000 (17:22 +0000)]
Tidied up somewhat.
Marius Vollmer [Wed, 25 Aug 2004 17:21:04 +0000 (17:21 +0000)]
Include srfi-13.h and srfi-14.h, do not include strop.h.
Marius Vollmer [Wed, 25 Aug 2004 16:04:30 +0000 (16:04 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 25 Aug 2004 16:04:09 +0000 (16:04 +0000)]
* srfi-13.c: First cut at thread-safeness and proper use of
scm_i_string_chars et al. Copious scm_remember_upto_heres have
been inserted. Made sure that no internal string pointer is used
across a SCM_TICK or a possible GC.
Marius Vollmer [Wed, 25 Aug 2004 13:49:48 +0000 (13:49 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 25 Aug 2004 13:47:52 +0000 (13:47 +0000)]
(scm_compile_shell_switches): Use scm_from_locale_string instead of
scm_makfrom0str.
Marius Vollmer [Wed, 25 Aug 2004 13:42:04 +0000 (13:42 +0000)]
(scm_string_rindex): Export to Scheme, as it has always been.
Marius Vollmer [Wed, 25 Aug 2004 13:41:14 +0000 (13:41 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 25 Aug 2004 13:40:53 +0000 (13:40 +0000)]
Correct xref to SRFI-13, now points to node Strings.
Marius Vollmer [Wed, 25 Aug 2004 13:40:21 +0000 (13:40 +0000)]
Moved docs for SRFI-14 into main API chapter. Updated docstrings from
libguile/.
Marius Vollmer [Wed, 25 Aug 2004 13:39:26 +0000 (13:39 +0000)]
Left inf? in its place, since wants to be here so much.
Marius Vollmer [Wed, 25 Aug 2004 13:38:37 +0000 (13:38 +0000)]
Synced from libguile/
Kevin Ryde [Wed, 25 Aug 2004 01:08:14 +0000 (01:08 +0000)]
*** empty log message ***
Kevin Ryde [Wed, 25 Aug 2004 01:07:35 +0000 (01:07 +0000)]
*** empty log message ***
Kevin Ryde [Wed, 25 Aug 2004 01:04:40 +0000 (01:04 +0000)]
More tests, in particular exercise #t result on empty body.
Kevin Ryde [Wed, 25 Aug 2004 00:46:59 +0000 (00:46 +0000)]
(and-let*): Give #t for an empty body, per srfi-2
spec, previously came out as an empty (begin).
Marius Vollmer [Tue, 24 Aug 2004 23:37:07 +0000 (23:37 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 24 Aug 2004 23:36:56 +0000 (23:36 +0000)]
(docstring-process-alist): Consider entries in reverse order. That
puts them in new-docstrings.texi in the same order as in the C source.
Marius Vollmer [Tue, 24 Aug 2004 23:34:24 +0000 (23:34 +0000)]
Corrected reference to srfi-14, which is now elsewhere.
Marius Vollmer [Tue, 24 Aug 2004 23:33:39 +0000 (23:33 +0000)]
Moved docs for SRFI-14 into main API chapter. Updated docstrings from
libguile/.
Marius Vollmer [Tue, 24 Aug 2004 23:32:28 +0000 (23:32 +0000)]
More deprecated entries.
Marius Vollmer [Tue, 24 Aug 2004 23:32:10 +0000 (23:32 +0000)]
Removed scm_inf_p.
Marius Vollmer [Tue, 24 Aug 2004 22:25:02 +0000 (22:25 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 24 Aug 2004 22:20:47 +0000 (22:20 +0000)]
(%cond-expand-features): Addef srfi-13 and srfi-14.
Marius Vollmer [Tue, 24 Aug 2004 22:19:21 +0000 (22:19 +0000)]
* srfi-13.scm, srfi-14.scm: Simply re-export the relevant
bindings.
* srfi-13.h, srfi-13.c, srfi-14.h, srfi-14.c: Removed all real
content except for the init functions.
Marius Vollmer [Tue, 24 Aug 2004 22:14:57 +0000 (22:14 +0000)]
Two more tests for double indirect substring modification.
Marius Vollmer [Tue, 24 Aug 2004 22:13:27 +0000 (22:13 +0000)]
* symbols.h, symbols.c (scm_string_ci_to_symbol): Moved here, next
to scm_string_to_symbol.
* deprecated.c, load.c, posix.c, unif.c, symbols.c: Include
"srfi-13.h" instead of "strop.h".
Marius Vollmer [Tue, 24 Aug 2004 22:13:14 +0000 (22:13 +0000)]
(scm_string_equal_p, scm_string_ci_equal_p, scm_string_less_p,
scm_string_leq_p, scm_string_gr_p, scm_string_geq_p,
scm_string_ci_less_p, scm_string_ci_leq_p, scm_string_ci_gr_p,
scm_string_ci_geq_p): Use scm_string_eq, etc instead of explicit code.
Marius Vollmer [Tue, 24 Aug 2004 22:13:07 +0000 (22:13 +0000)]
(scm_init_guile_1): Call scm_init_srfi_13 and scm_init_srfi_14. Do
not call scm_init_strop.
Marius Vollmer [Tue, 24 Aug 2004 22:12:59 +0000 (22:12 +0000)]
(scm_char_alphabetic_p, scm_char_numeric_p, scm_char_whitespace_p,
scm_upper_case_p, scm_lower_case_p, scm_char_is_both_p): Use
scm_char_set_contains_p with the proper charset instead of libc
functions.
Marius Vollmer [Tue, 24 Aug 2004 22:12:37 +0000 (22:12 +0000)]
Include "srfi-13.h" instead of "strop.h".
Marius Vollmer [Tue, 24 Aug 2004 22:12:08 +0000 (22:12 +0000)]
* srfi-13.c, srfi-13.h, srfi-14.c, srfi-14.h: New files.
* strop.h, strop.c: Removed, they are now empty.
* Makefile.am: Updated for new and removed files.
Marius Vollmer [Tue, 24 Aug 2004 16:44:00 +0000 (16:44 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 24 Aug 2004 16:43:50 +0000 (16:43 +0000)]
(scm_inf_p): Synced docstring back from manual.
Marius Vollmer [Tue, 24 Aug 2004 16:43:07 +0000 (16:43 +0000)]
Copied from libguile/guile.texi.
Marius Vollmer [Tue, 24 Aug 2004 16:40:54 +0000 (16:40 +0000)]
Ran a (docstring-process-module "(guile)") and moved entries from
new-docstrings.texi to their appropriate place.
Marius Vollmer [Tue, 24 Aug 2004 16:37:25 +0000 (16:37 +0000)]
New file.
Marius Vollmer [Mon, 23 Aug 2004 10:51:43 +0000 (10:51 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 23 Aug 2004 10:51:23 +0000 (10:51 +0000)]
Replaced all "@c module" markers with "@c module-for-docstring",
making it less likely to collide with a real commentary.
Marius Vollmer [Mon, 23 Aug 2004 10:48:51 +0000 (10:48 +0000)]
* lib.scm (exception:used-before-define): New.
* tests/syntax.test ("letrec"): Use it.
Marius Vollmer [Sun, 22 Aug 2004 19:31:32 +0000 (19:31 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 22 Aug 2004 19:30:04 +0000 (19:30 +0000)]
(Invoking Guile): documented new '-L' switch.
Marius Vollmer [Sun, 22 Aug 2004 19:29:19 +0000 (19:29 +0000)]
(get_str_buf_start): New helper function.
(scm_i_substring, scm_i_substring_copy, scm_i_substring_shared,
scm_i_string_char, scm_i_string_writable_chars): Use it.
(scm_i_substring_copy): Make START argument optional for C
callers, for upcoming SRFI-13 integration.
Marius Vollmer [Sun, 22 Aug 2004 19:25:51 +0000 (19:25 +0000)]
(scm_compile_shell_switches): added '-L' switch to add to the
%load-path.
Kevin Ryde [Sun, 22 Aug 2004 01:49:10 +0000 (01:49 +0000)]
Move variables to avoid c99-isms in recent:
(scm_try_arbiter, scm_release_arbiter): Use FETCH_STORE ...
Noticed by Andreas Vögele.
Dirk Herrmann [Sat, 21 Aug 2004 07:28:16 +0000 (07:28 +0000)]
* eval.c (unmemoize_exprs): When dropping internal body markers
from the output during unmemoization, also drop those that are not
immediately at the beginning of a body.
Marius Vollmer [Fri, 20 Aug 2004 15:14:08 +0000 (15:14 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 20 Aug 2004 15:13:56 +0000 (15:13 +0000)]
(display-source): Use unmemoize-expr instead
of unmemoize.
(write-frame-short/expression): Likewise.
Marius Vollmer [Fri, 20 Aug 2004 13:33:39 +0000 (13:33 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 20 Aug 2004 13:33:28 +0000 (13:33 +0000)]
(scm_lookupcar1): Report "Variable used before given a value" insetad
of an "Unbound" one for variables that are found but still contain
SCM_UNDEFINED.
Marius Vollmer [Fri, 20 Aug 2004 12:27:11 +0000 (12:27 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 20 Aug 2004 12:26:46 +0000 (12:26 +0000)]
(scm_lookupcar1): Report an "Undefined variable" insetad of an
"Unbound" one for variables that are found but still contain
SCM_UNDEFINED.
Marius Vollmer [Fri, 20 Aug 2004 12:25:20 +0000 (12:25 +0000)]
(scm_mkstemp): Correction to the correction, mkstemp expects a
null-terminated string in the locale encoding, but
scm_i_string_writable_chars doesn't give that. Fixed by letting
mkstemp modify a locale version of the tmpl argument and copying the
result back into tmpl.
Marius Vollmer [Fri, 20 Aug 2004 12:25:09 +0000 (12:25 +0000)]
(scm_substring_move_x): Store into str2, not str1.
Kevin Ryde [Fri, 20 Aug 2004 01:36:28 +0000 (01:36 +0000)]
(mkstemp!): New tests.
Kevin Ryde [Fri, 20 Aug 2004 01:35:44 +0000 (01:35 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 20 Aug 2004 01:32:36 +0000 (01:32 +0000)]
(scm_mkstemp): Correction to new locale_string stuff, need
to modify the input string.
Marius Vollmer [Thu, 19 Aug 2004 23:04:45 +0000 (23:04 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 19 Aug 2004 23:03:55 +0000 (23:03 +0000)]
Updated transition section with new recommended things.
Marius Vollmer [Thu, 19 Aug 2004 22:23:34 +0000 (22:23 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 19 Aug 2004 22:23:23 +0000 (22:23 +0000)]
Two tests for substring/shared. Also, use (test-suite lib).
Marius Vollmer [Thu, 19 Aug 2004 20:40:16 +0000 (20:40 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 19 Aug 2004 20:36:29 +0000 (20:36 +0000)]
(SCM_SYMBOL_CHARS): Cast away const in return.
(SCM_SYMBOL_LENGTH): It's scm_i_symbol_length, not
scm_c_symbol_length.
Marius Vollmer [Thu, 19 Aug 2004 20:34:58 +0000 (20:34 +0000)]
Added comment about future improvements...
Marius Vollmer [Thu, 19 Aug 2004 18:54:05 +0000 (18:54 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 19 Aug 2004 18:53:40 +0000 (18:53 +0000)]
(Strings): Document copy-on-write behavior and
mutation-sharing substrings.
(Symbols): Document scm_from_locale_symbol and
scm_from_locale_symboln.
Marius Vollmer [Thu, 19 Aug 2004 18:41:17 +0000 (18:41 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 19 Aug 2004 18:41:05 +0000 (18:41 +0000)]
(scm_string_copy): Use scm_c_substring to get a copy-on-write string.
Marius Vollmer [Thu, 19 Aug 2004 17:54:37 +0000 (17:54 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 19 Aug 2004 17:30:03 +0000 (17:30 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 19 Aug 2004 17:28:53 +0000 (17:28 +0000)]
Avoid the use of discouraged or deprecated things.
Marius Vollmer [Thu, 19 Aug 2004 17:22:35 +0000 (17:22 +0000)]
*** empty log message ***