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

8264 commits

Author SHA1 Message Date
Marius Vollmer
8da867bfc6 (format:error): Use 'format:format' instead of
'format' since the latter will lock the mutex again that we have
already locked.
(format:format-work): Flag multiple '#' as an error.
2003-09-12 15:14:25 +00:00
Marius Vollmer
cdc5f67652 (scm_tc16_hashtable): Added "extern" declaration. 2003-09-12 15:11:59 +00:00
Marius Vollmer
6dc1cd1eec (scm_module_reverse_lookup): Check that the obarray really is a
hashtable and do nothing if not.
2003-09-12 15:11:09 +00:00
Marius Vollmer
62f548e16c *** empty log message *** 2003-09-12 14:14:05 +00:00
Marius Vollmer
2b2c6fca20 Use "extern inline" only with GCC. Use "static
inline" else.
2003-09-12 14:13:48 +00:00
Dirk Herrmann
0d5e348022 * numbers.h (SCM_INEXACTP, SCM_REALP, SCM_COMPLEXP): Removed uses
of SCM_SLOPPY_INEXACTP, SCM_SLOPPY_REALP and SCM_SLOPPY_COMPLEXP.

	* numbers.h, deprecated.h (SCM_SLOPPY_INEXACTP, SCM_SLOPPY_REALP,
	SCM_SLOPPY_COMPLEXP): Deprecated and moved from numbers.h to
	deprecated.h.
2003-09-06 09:17:29 +00:00
Dirk Herrmann
6b412e9171 * eq.c (scm_eqv_p, scm_equal_p): Removed uses of
SCM_SLOPPY_INEXACTP, SCM_SLOPPY_REALP and SCM_SLOPPY_COMPLEXP.

	* eq.c (scm_eqv_p, scm_equal_p): Reordered comparisons from
	0.0==some_expression to some_expression==0.0.  The latter is
	better readable.  The former is preferred by some people, since it
	leads to a compiler error when confusing == with =.  However, when
	using gcc, a warning will be issued if in an if-statement an
	assigment appears.  Since many Guile developers are using gcc,
	such errors will not remain unnoticed anyway.  We can therefore
	focus on better readability.
2003-09-06 08:50:26 +00:00
Dirk Herrmann
7e3b25bf51 * tags.h: Added description of Guile's type system. Removed some
old and misleading comments.
2003-09-04 20:47:41 +00:00
Dirk Herrmann
3ea39242b8 * unit.c (scm_cvref): Eliminate unnecessary uses of SCM_NIMP,
SCM_SLOPPY_REALP and SCM_SLOPPY_COMPLEXP.
2003-09-04 20:14:02 +00:00
Dirk Herrmann
5d7d39ff5d * numbers.h (SCM_MAKINUM): Define in terms of scm_tc2_int.
(SCM_INEXACTP, SCM_REALP, SCM_COMPLEXP): Define in terms of the
	respective SLOPPY macro.
2003-09-04 20:04:30 +00:00
Dirk Herrmann
baa84a205c * eq.c (scm_equal_p): Use SCM_TYP7 to check if an object is of
type string, not SCM_TYP7S.
2003-09-04 19:21:21 +00:00
Kevin Ryde
53bb87824d *** empty log message *** 2003-09-03 00:03:20 +00:00
Kevin Ryde
03b79aa32a (scm_strptime): Add comment about glibc strptime %s and
current timezone requiring SCM_DEFER_INTS.
2003-09-03 00:01:17 +00:00
Kevin Ryde
90a5894d05 (Symbol Primitives): In gensym, cross reference
uninterned symbols, use @w{} on " g" prefix to avoid any chance of a
line break obscuring it.
2003-09-02 23:57:49 +00:00
Kevin Ryde
2886a77502 (Keyword Primitives): Add examples to
make-keyword-from-dash-symbol and keyword-dash-symbol.  Add
scm_c_make_keyword.
2003-09-02 23:55:16 +00:00
Kevin Ryde
ba15f500e3 *** empty log message *** 2003-09-02 23:03:34 +00:00
Kevin Ryde
4d814788fc (scm_lognot): Correction to docstring, ones-complement not 2s-complement. 2003-09-02 23:00:28 +00:00
Neil Jerram
4559123bee Rewrite enhanced editing logic - sexp-track.el. 2003-08-31 22:59:39 +00:00
Neil Jerram
defdc4b4ee Make -s switch optional. 2003-08-30 21:22:45 +00:00
Kevin Ryde
0f008a157a *** empty log message *** 2003-08-30 00:07:49 +00:00
Kevin Ryde
f9811f9f2e (scm_lognot): Rewrite using ~ and mpz_com, for directness
and to have non-integer types rejected as per other logical funcs.
2003-08-30 00:04:42 +00:00
Kevin Ryde
813729f6fa Correction to a comment in:
(list-copy): New tests.
2003-08-30 00:02:44 +00:00
Kevin Ryde
1ec2dd6fd2 (lognot): Add tests. 2003-08-30 00:00:58 +00:00
Kevin Ryde
53872505f0 (Catch): Add scm_internal_catch.
(Lazy Catch): Add scm_internal_lazy_catch.
2003-08-29 23:49:49 +00:00
Kevin Ryde
39d27c83ba (Arithmetic): Use a table for scheme to C libm equivalences, add C99 trunc. 2003-08-29 23:43:12 +00:00
Kevin Ryde
ed3bd25b1d (Lambda): Note ". rest" list argument is always newly created. 2003-08-29 23:40:47 +00:00
Kevin Ryde
d3d0c186e0 (Remembering During Operations): Note
scm_remember_upto_here_1 applies only to C automatic variables.
2003-08-29 23:32:21 +00:00
Kevin Ryde
bd35f1f07c (SRFI-1 Association Lists): In alist-delete and
alist-delete!, note argument order for the equality calls per SRFI-1
spec.
2003-08-29 23:30:00 +00:00
Kevin Ryde
d61d8580a5 (Multiple Values): In values, show args as "arg1
... argN".  In scm_values, note args is a list and returned object
shares structure with it.
2003-08-29 23:22:30 +00:00
Kevin Ryde
c6ba64cd3e (Ports and File Descriptors): In pipe PIPE_BUF, use
@defvar, reword a bit for clarity, cross reference glibc.
2003-08-29 23:16:19 +00:00
Kevin Ryde
3dba2dd97b (Network Sockets and Communication): In socket, use
@defvar for protocol variables, cross reference for getprotobyname,
note it's usually connect and accept that establishes communication.
2003-08-29 23:13:48 +00:00
Kevin Ryde
497cbe2084 (Network Sockets and Communication): In socketpair,
clarify the return is a pair with ports in car and cdr, note
connection is full duplex, refer to socket for parameters, refer to
PF_UNIX rather than AF_UNIX.
2003-08-29 23:09:39 +00:00
Kevin Ryde
697039a9d6 (Append/Reverse): Merge append and append!,
shown parameters as lst1 ... lstN, describe list argument for
scm_append and scm_append_x and note that it's unmodified.
2003-08-29 23:06:25 +00:00
Kevin Ryde
05c4ffe1a7 Move @contents to usual place after title page, and
after first menu since that looks nice in html.
2003-08-29 23:02:36 +00:00
Kevin Ryde
3adbc48c24 (Hash Table Reference): Add hashx- case
insensitive string example, add cross references to symbol-hash,
string-hash, string-hash-ci, and char-set-hash.
2003-08-29 23:01:17 +00:00
Kevin Ryde
438a3ba10d *** empty log message *** 2003-08-28 00:13:06 +00:00
Kevin Ryde
c1ffdc6a42 (scm_remember_upto_here_1): Revise comments on the asm form. 2003-08-27 23:34:53 +00:00
Kevin Ryde
412d82c4f3 *** empty log message *** 2003-08-25 23:18:12 +00:00
Kevin Ryde
41e7d0f5de (How guile-snarf works): Need @@ for texinfo in example. 2003-08-25 23:02:16 +00:00
Kevin Ryde
b71d6c47ec *** empty log message *** 2003-08-25 23:00:05 +00:00
Kevin Ryde
bc38bb441a (Scientific): Add two-argument atan. 2003-08-25 22:26:37 +00:00
Kevin Ryde
36a9b2364c Add srfi-19 date-week-number fix. 2003-08-22 23:32:55 +00:00
Kevin Ryde
98dceb376e *** empty log message *** 2003-08-22 23:26:07 +00:00
Kevin Ryde
f94e3e6e4b (scm_system): Remove SCM_DEFER_INTS, system() should be
thread safe, and could take a long time too.
2003-08-22 23:25:02 +00:00
Kevin Ryde
c072c40c8b Add a copyright year. 2003-08-22 23:23:17 +00:00
Kevin Ryde
1363e3e71f Add new "while" proper break and continue.
Add srfi-1 list-copy of improper lists.
2003-08-22 23:17:50 +00:00
Kevin Ryde
430110eeb2 *** empty log message *** 2003-08-22 23:14:11 +00:00
Kevin Ryde
b052db6954 (list-copy): New tests. 2003-08-22 22:57:46 +00:00
Kevin Ryde
a54e06e5cd *** empty log message *** 2003-08-22 22:37:52 +00:00
Kevin Ryde
d61261f07d (list-copy): New function, derived
from core list-copy but allowing improper lists, per SRFI-1 spec.
2003-08-22 22:36:18 +00:00