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

20082 commits

Author SHA1 Message Date
Jim Blandy
99a9952d78 * strop.c (scm_string_capitalize_x, scm_string_capitalize): new
functions; capitalize the first letter of each word in the
	argument string, and downcase the rest.
	(scm_string_ci_to_symbol): string->symbol, such that the same
	symbol is returned for any argument where the only difference
	between strings is in capitalization.
	(scm_string_upcase, scm_string_downcase): non-destructive
	versions.
	* strop.c (scm_substring_move_left_x, scm_substring_move_right_x):
	changed to use memmove.
	* strop.c (scm_i_index): removed the pos arguments (it's only
	called twice, and each time it's SCM_ARG1, SCM_ARG2, SCM_ARG3,
	SCM_ARG4).
	* strop.h: fixed prototypes.
*	* strop.c (scm_substring_move_left_x, scm_substring_move_right_x):
	changed to have 5 required args, rather than 2 required, and 3 required
	rest args. Also modified to allow str1 & str2 to overlap.
	(scm_substring_fill_x): changed to 4 args, rather than 2 args and
	2 required rest args.
1999-05-09 08:22:11 +00:00
Jim Blandy
9c792b5df0 * string-case.scm: Removed; functions moved to libguile/strop.c
(which could be dynamically linked in the future anyway).
* format.scm: Don't bother importing (ice-9 string-case).
1999-05-09 08:21:28 +00:00
Jim Blandy
8da8776b9c This is the documentation for (ice-9 format). 1999-05-09 08:20:56 +00:00
Jim Blandy
b7e13f6541 *** empty log message *** 1999-05-02 17:28:43 +00:00
Jim Blandy
7611fcf2d7 * string-case.scm: New file, brought in from SLIB, and adapted to
Guile's module system.
1999-05-02 17:27:28 +00:00
Jim Blandy
7da43e4123 * format.scm: New file, brought in from SLIB, with the following
changes:
(format:format): If the first argument is the format string, stick
a #f on the front of it, so it is now a valid CL format argument
list.  This is easier than changing everyplace else (like the
error formatter) that expects it to be in CL form.  The other
clause which explicitly tests for this case is now dead code.
(format:format-work): Allow `@' and `:' in either order, as per
modern CL behavior.
(format:num->cardinal): Don't assume that an elseless if returns
'() when the condition is false.
1999-05-02 17:27:20 +00:00
Jim Blandy
50706e9475 * boot-9.scm (provided?): New function. 1999-05-02 17:27:05 +00:00
Jim Blandy
699139fd17 * Makefile.am: Add string-case.scm and format.scm to ice9_sources.
* Makefile.in: Regenerated.
1999-05-02 17:26:49 +00:00
Jim Blandy
69c60b07f7 * scmconfig.h.in: Regenerated; see today's change to
../configure.in.
1999-05-02 17:22:57 +00:00
Jim Blandy
03f2707493 * procs.h: Doc fix. 1999-05-02 17:22:47 +00:00
Jim Blandy
7e5d120953 * numbers.c: If we're supporting floating-point, provide the
feature "inexact".
1999-05-02 17:22:39 +00:00
Jim Blandy
3056083816 * Makefile.am (modinclude_HEADERS): Add kw.h, so the new version
gets installed.
* Makefile.in: Regenerated.
1999-05-02 17:22:27 +00:00
Jim Blandy
8f65bd96ad *** empty log message *** 1999-05-02 17:16:56 +00:00
Jim Blandy
219a5a5bb0 * configure.in (AC_CHECK_FUNCS): Fill in list of functions that
libguile/net_db.h wants to use.  (Add setprotoent, setservent.)
1999-05-02 17:16:26 +00:00
Jim Blandy
cceae55da9 *** empty log message *** 1999-04-17 16:53:21 +00:00
Jim Blandy
f6e164d420 Remove readline support, to avoid copyright confusion.
* Makefile.am: Remove readline files from lists.
* init.c: Don't initialize readline.
* scmconfig.h.in: Regenerated.
1999-04-17 16:52:51 +00:00
Jim Blandy
331de0309e * Makefile.in: Regenerated. 1999-04-17 16:51:31 +00:00
Jim Blandy
fcf627eeb1 * Makefile.in, configure: Regenerated with autoconf 2.13, automake
1.4, libtool 1.2f (1.385 1999/03/15 17:24:54).  I've upgraded to
all the right tools, according to README, but I'm still getting
different results than Mikael is.  Hmm.
1999-04-17 16:46:34 +00:00
Jim Blandy
9af7987b9e *** empty log message *** 1999-04-17 16:41:19 +00:00
Jim Blandy
ef0615e4d8 *** empty log message *** 1999-04-17 16:03:58 +00:00
Jim Blandy
e4755e5c7b * numbers.c (s_bignum): Renamed to s_bignum, and made static.
Libguile should not be exporting random little strings.
* numbers.h (s_bignum): Extern declaration removed.
More const changes from Ken Raeburn.
* numbers.c (scm_s_bignum, fx): Now const.
(scm_logtab, scm_ilentab, s_adjbig): Now static and const.
* numbers.h (scm_s_bignum): Update declaration.
* eval.c (bodycheck): Argument WHAT now points to const.
* snarf.h (SCM_SYNTAX): Name is const.
* eval.c (scm_i_let): Make this globally visible, to avoid dynamic
linking crashes on NetBSD.  (Thanks to Ken Raeburn.)
1999-04-17 16:03:32 +00:00
Jim Blandy
cf1b6cc8ca Remove readline support, to avoid copyright confusion.
* Makefile.in: Remove readline files from lists.
* init.c: Don't initialize readline.
* scmconfig.h.in: Regenerated.
1999-04-17 16:02:50 +00:00
Jim Blandy
1d3358634f Remove all automatic readline support, to avoid copyright
confusion.
* INSTALL: Update text.
* NEWS: Explain the situation.
* configure.in: Remove configury for readline and its supporting
libraries.
* configure: Regenerated.
1999-04-17 16:01:45 +00:00
Jim Blandy
4640803949 Formatting tweak. 1999-04-17 15:55:54 +00:00
Jim Blandy
5e263dae19 Content tweak. 1999-04-17 15:16:18 +00:00
Mikael Djurfeldt
d2b8d4ffc1 *** empty log message *** 1999-04-08 06:07:30 +00:00
Mikael Djurfeldt
87cfc5dace * boot-9.scm: Provide 'values. 1999-04-08 06:06:56 +00:00
Mikael Djurfeldt
f812cd8e6d * libguile.h: Added #include evalext.h, fluids.h, guardians.h,
macros.h, modules.h, random.h, sort.h.
1999-03-27 17:25:16 +00:00
Mikael Djurfeldt
488325ae43 *** empty log message *** 1999-03-26 14:06:13 +00:00
Mikael Djurfeldt
e6f3ef586c * numbers.c (isfinite): Define this macro if not defined: Return a
non-zero value if X is finite.  (From ISO C 9x standard.)
(scm_inexact_to_exact): Bugfix: Don't pass NaNs to scm_dbl2big.
(Thanks to Jon Trowbridge and Greg Harvey.)
1999-03-26 13:45:05 +00:00
Mikael Djurfeldt
3668b8c783 Regenerated 1999-03-22 14:00:01 +00:00
Mikael Djurfeldt
644f058c44 *** empty log message *** 1999-03-22 13:58:42 +00:00
Mikael Djurfeldt
71d64228a7 * New libtool: 1.2f
* ltmain.sh, ltconfig, config.guess, config.sub: New versions.
1999-03-22 13:55:54 +00:00
Mikael Djurfeldt
e142b2a4da * README: Mention new version number of libtool. 1999-03-22 13:53:33 +00:00
Mikael Djurfeldt
ce967ab1e2 * kw.h: New file. 1999-03-22 12:06:52 +00:00
Mikael Djurfeldt
e7367a17f6 *** empty log message *** 1999-03-22 12:05:28 +00:00
Mikael Djurfeldt
876cabcae7 Regenerated 1999-03-22 12:05:00 +00:00
Mikael Djurfeldt
74da5385a8 * Makefile.am (modinclude_HEADERS): Added kw.h; 1999-03-22 12:02:02 +00:00
Mikael Djurfeldt
b27aca0a9e * keywords.c (scm_tc16_kw): Added for backward compatibility.
Will be removed in next release.
1999-03-22 11:58:59 +00:00
Mikael Djurfeldt
f2327aef58 * libguile.h: #include "libguile/kw.h" 1999-03-22 11:55:38 +00:00
Mikael Djurfeldt
46d830254d *** empty log message *** 1999-03-22 01:22:46 +00:00
Mikael Djurfeldt
9b8721aa7c * pairs.c (scm_set_car_x, scm_set_cdr_x): Return SCM_UNSPECIFIED. 1999-03-22 01:22:04 +00:00
Mikael Djurfeldt
b6e17c631e *** empty log message *** 1999-03-21 13:05:55 +00:00
Mikael Djurfeldt
7cbaee0c89 * boot-9.scm (process-define-module, use-syntax): Bugfix:
:use-syntax should add syntax to using module, not current module.
(internal-use-syntax): Removed.
1999-03-21 13:04:39 +00:00
Mikael Djurfeldt
437bc84d51 *** empty log message *** 1999-03-21 10:09:18 +00:00
Mikael Djurfeldt
4df91bd689 * print.c (scm_isymnames): Added #@dispatch and #@hash-dispatch. 1999-03-21 10:08:59 +00:00
Mikael Djurfeldt
e059c0b79b *** empty log message *** 1999-03-21 05:04:45 +00:00
Mikael Djurfeldt
70558403f9 * session.scm (apropos-internal): Modified to comply with new
argument order for hash-fold.
1999-03-21 05:04:11 +00:00
Mikael Djurfeldt
8cd5191b27 * hashtab.c, hashtab.h (scm_hash_fold, scm_internal_hash_fold):
Place the table argument last.
1999-03-21 05:02:42 +00:00
Mikael Djurfeldt
4177648ed1 *** empty log message *** 1999-03-19 07:13:56 +00:00