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

10203 commits

Author SHA1 Message Date
Marius Vollmer
5354f4abfd Corrected reference to srfi-14, which is now elsewhere. 2004-08-24 23:34:24 +00:00
Marius Vollmer
050ab45f56 Moved docs for SRFI-14 into main API chapter. Updated docstrings from
libguile/.
2004-08-24 23:33:39 +00:00
Marius Vollmer
8fc71812fc More deprecated entries. 2004-08-24 23:32:28 +00:00
Marius Vollmer
5499bd7f55 Removed scm_inf_p. 2004-08-24 23:32:10 +00:00
Marius Vollmer
c5080b5189 *** empty log message *** 2004-08-24 22:25:02 +00:00
Marius Vollmer
4a276c08e3 (%cond-expand-features): Addef srfi-13 and srfi-14. 2004-08-24 22:20:47 +00:00
Marius Vollmer
0081b349c8 * 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.
2004-08-24 22:19:21 +00:00
Marius Vollmer
7aa29a87f9 Two more tests for double indirect substring modification. 2004-08-24 22:14:57 +00:00
Marius Vollmer
1206efbe07 * 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".
2004-08-24 22:13:27 +00:00
Marius Vollmer
2c0b7c1fa0 (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.
2004-08-24 22:13:14 +00:00
Marius Vollmer
ad45f6b325 (scm_init_guile_1): Call scm_init_srfi_13 and scm_init_srfi_14. Do
not call scm_init_strop.
2004-08-24 22:13:07 +00:00
Marius Vollmer
1fdbbd4cd6 (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.
2004-08-24 22:12:59 +00:00
Marius Vollmer
c44ca4fe75 Include "srfi-13.h" instead of "strop.h". 2004-08-24 22:12:37 +00:00
Marius Vollmer
63181a97f5 * 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.
2004-08-24 22:12:08 +00:00
Marius Vollmer
4b0d27f266 *** empty log message *** 2004-08-24 16:44:00 +00:00
Marius Vollmer
b1092b3aaf (scm_inf_p): Synced docstring back from manual. 2004-08-24 16:43:50 +00:00
Marius Vollmer
0d2bfbad6e Copied from libguile/guile.texi. 2004-08-24 16:43:07 +00:00
Marius Vollmer
cdf1ad3bc9 Ran a (docstring-process-module "(guile)") and moved entries from
new-docstrings.texi to their appropriate place.
2004-08-24 16:40:54 +00:00
Marius Vollmer
12eec8a828 New file. 2004-08-24 16:37:25 +00:00
Marius Vollmer
5e46627311 *** empty log message *** 2004-08-23 10:51:43 +00:00
Marius Vollmer
87cc0e0cac Replaced all "@c module" markers with "@c module-for-docstring",
making it less likely to collide with a real commentary.
2004-08-23 10:51:23 +00:00
Marius Vollmer
0ac467456b * lib.scm (exception:used-before-define): New.
* tests/syntax.test ("letrec"): Use it.
2004-08-23 10:48:51 +00:00
Marius Vollmer
3ece39d651 *** empty log message *** 2004-08-22 19:31:32 +00:00
Marius Vollmer
fcb8ba8ce7 (Invoking Guile): documented new '-L' switch. 2004-08-22 19:30:04 +00:00
Marius Vollmer
e1b29f6a58 (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.
2004-08-22 19:29:19 +00:00
Marius Vollmer
caa29067e7 (scm_compile_shell_switches): added '-L' switch to add to the
%load-path.
2004-08-22 19:25:51 +00:00
Kevin Ryde
ae0b6bf5df Move variables to avoid c99-isms in recent:
(scm_try_arbiter, scm_release_arbiter): Use FETCH_STORE ...
Noticed by Andreas Vögele.
2004-08-22 01:49:10 +00:00
Dirk Herrmann
5fa0939ce5 * 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.
2004-08-21 07:28:16 +00:00
Marius Vollmer
fac3b6bca1 *** empty log message *** 2004-08-20 15:14:08 +00:00
Marius Vollmer
2f843c4b7a (display-source): Use unmemoize-expr instead
of unmemoize.
(write-frame-short/expression): Likewise.
2004-08-20 15:13:56 +00:00
Marius Vollmer
c1f54b3dda *** empty log message *** 2004-08-20 13:33:39 +00:00
Marius Vollmer
a03bad878b (scm_lookupcar1): Report "Variable used before given a value" insetad
of an "Unbound" one for variables that are found but still contain
SCM_UNDEFINED.
2004-08-20 13:33:28 +00:00
Marius Vollmer
2146fdebd8 *** empty log message *** 2004-08-20 12:27:11 +00:00
Marius Vollmer
2d0c133f92 (scm_lookupcar1): Report an "Undefined variable" insetad of an
"Unbound" one for variables that are found but still contain
SCM_UNDEFINED.
2004-08-20 12:26:46 +00:00
Marius Vollmer
892065da6c (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.
2004-08-20 12:25:20 +00:00
Marius Vollmer
a54264f04e (scm_substring_move_x): Store into str2, not str1. 2004-08-20 12:25:09 +00:00
Kevin Ryde
95c098ddd9 (mkstemp!): New tests. 2004-08-20 01:36:28 +00:00
Kevin Ryde
d4f76919e6 *** empty log message *** 2004-08-20 01:35:44 +00:00
Kevin Ryde
71978ac9f6 (scm_mkstemp): Correction to new locale_string stuff, need
to modify the input string.
2004-08-20 01:32:36 +00:00
Marius Vollmer
61d6ed68a1 *** empty log message *** 2004-08-19 23:04:45 +00:00
Marius Vollmer
ea4a72fe20 Updated transition section with new recommended things. 2004-08-19 23:03:55 +00:00
Marius Vollmer
cf3dd9498c *** empty log message *** 2004-08-19 22:23:34 +00:00
Marius Vollmer
1c17f6b0c8 Two tests for substring/shared. Also, use (test-suite lib). 2004-08-19 22:23:23 +00:00
Marius Vollmer
b5247a6ba8 *** empty log message *** 2004-08-19 20:40:16 +00:00
Marius Vollmer
ba16a103a4 (SCM_SYMBOL_CHARS): Cast away const in return.
(SCM_SYMBOL_LENGTH): It's scm_i_symbol_length, not
scm_c_symbol_length.
2004-08-19 20:36:29 +00:00
Marius Vollmer
ece721f031 Added comment about future improvements... 2004-08-19 20:34:58 +00:00
Marius Vollmer
323a7e80d5 *** empty log message *** 2004-08-19 18:54:05 +00:00
Marius Vollmer
c48c62d085 (Strings): Document copy-on-write behavior and
mutation-sharing substrings.
(Symbols): Document scm_from_locale_symbol and
scm_from_locale_symboln.
2004-08-19 18:53:40 +00:00
Marius Vollmer
cd505b38ad *** empty log message *** 2004-08-19 18:41:17 +00:00
Marius Vollmer
d6a1cb3cc6 (scm_string_copy): Use scm_c_substring to get a copy-on-write string. 2004-08-19 18:41:05 +00:00