Gary Houston [Sun, 30 Jun 2002 19:27:18 +0000 (19:27 +0000)]
* posix.c (scm_convert_exec_args), dynl.c
(scm_make_argv_from_stringlist): static procs: 1) renamed both to
allocate_string_pointers. 2) simplified: don't reallocate the
strings, just make an array of pointers 3) avoid memory leaks on
error 4) let the procedure report errors in its own name.
Consequences: 1) the procedures now assume that SCM strings are
nul-terminated, which should always be the case. 2) Since strings
are not reallocated, it's now possible for strings passed to
dynamic-args-call to be mutated.
Gary Houston [Sun, 30 Jun 2002 17:06:35 +0000 (17:06 +0000)]
* autogen.sh: Changed the path to the scripts directory.
In libltdl, run aclocal before autoconf and automake: this
eliminated various warnings after upgrading to newer automake.
Dirk Herrmann [Fri, 28 Jun 2002 22:40:08 +0000 (22:40 +0000)]
* __scm.h, eval.c, eval.h: Removed compile time option
MEMOIZE_LOCALS to clean up the code. Now, caching of local
variable positions during memoization is mandatory. However, the
option to disable the caching has most probably not been used
anyway.
Marius Vollmer [Wed, 19 Jun 2002 11:41:13 +0000 (11:41 +0000)]
Bettered wording for inf? and nan? procedures.
Marius Vollmer [Mon, 17 Jun 2002 23:30:36 +0000 (23:30 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 17 Jun 2002 23:30:20 +0000 (23:30 +0000)]
(scm_simple_format): Print missing part of format before ~% control.
Thanks to Daniel Skarda!
Gary Houston [Sat, 1 Jun 2002 17:14:17 +0000 (17:14 +0000)]
* boot-9.scm (file-set-position): use seek, not fseek. Make
third argument optional, for better SCM compatibility.
(file-position): simplify definition.
Marius Vollmer [Sat, 1 Jun 2002 16:16:59 +0000 (16:16 +0000)]
*** empty log message ***
Marius Vollmer [Sat, 1 Jun 2002 16:16:49 +0000 (16:16 +0000)]
(file-set-position): Use seek instead of fseek.
Marius Vollmer [Sat, 1 Jun 2002 16:06:50 +0000 (16:06 +0000)]
*** empty log message ***
Marius Vollmer [Sat, 1 Jun 2002 16:06:27 +0000 (16:06 +0000)]
Added exception notice to license statement.
Marius Vollmer [Wed, 22 May 2002 19:55:56 +0000 (19:55 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 22 May 2002 19:55:40 +0000 (19:55 +0000)]
* numbers.c (mem2ureal): When returning an inexact zero, make sure it
is represented as a floating point value so that we can change its
sign.
Marius Vollmer [Wed, 22 May 2002 13:50:43 +0000 (13:50 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 22 May 2002 13:50:20 +0000 (13:50 +0000)]
(idbl2str): Don't omit sign when printing negative zero.
Marius Vollmer [Wed, 22 May 2002 13:49:42 +0000 (13:49 +0000)]
(AC_CHECK_FUNCS): Check for copysign.
Thien-Thi Nguyen [Sun, 19 May 2002 05:12:42 +0000 (05:12 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sun, 19 May 2002 05:12:04 +0000 (05:12 +0000)]
(group-diff): Also output +N and -N adds and subs details, respectively.
Thien-Thi Nguyen [Tue, 14 May 2002 09:26:49 +0000 (09:26 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Tue, 14 May 2002 09:25:26 +0000 (09:25 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Tue, 14 May 2002 09:24:18 +0000 (09:24 +0000)]
For I386/OPENBSD, allow for `__i386__' in addition to `i386'.
Marius Vollmer [Tue, 14 May 2002 08:51:29 +0000 (08:51 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Mon, 13 May 2002 21:45:57 +0000 (21:45 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Mon, 13 May 2002 21:45:12 +0000 (21:45 +0000)]
(scan-api): No longer include timestamp.
Gary Houston [Mon, 13 May 2002 21:37:35 +0000 (21:37 +0000)]
Notes on scm_def_inp etc., for application porting.
Thien-Thi Nguyen [Mon, 13 May 2002 20:36:00 +0000 (20:36 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Mon, 13 May 2002 20:35:17 +0000 (20:35 +0000)]
(EXTRA_DIST): New var.
Thien-Thi Nguyen [Mon, 13 May 2002 10:14:42 +0000 (10:14 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Mon, 13 May 2002 10:14:06 +0000 (10:14 +0000)]
(scripts_sources): Add api-diff and read-rfc822.
Thien-Thi Nguyen [Mon, 13 May 2002 10:12:48 +0000 (10:12 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Mon, 13 May 2002 10:12:14 +0000 (10:12 +0000)]
Initial revision.
Thien-Thi Nguyen [Sun, 12 May 2002 05:29:39 +0000 (05:29 +0000)]
Update.
Thien-Thi Nguyen [Sun, 12 May 2002 05:15:11 +0000 (05:15 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sun, 12 May 2002 05:14:11 +0000 (05:14 +0000)]
Include ../am/maintainer-dirs (in MAINTAINER_MODE).
(guile-api.alist, guile-api.alist-FORCE):
New rules (in MAINTAINER_MODE).
Thien-Thi Nguyen [Sun, 12 May 2002 03:47:32 +0000 (03:47 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sun, 12 May 2002 03:46:26 +0000 (03:46 +0000)]
Use modules (ice-9 format), (ice-9 getopt-long).
Autoload module (srfi srfi-13).
No longer export `diff-alists'.
(diff, diff-alists, display-list): Remove.
(put, get, read-api-alist-file, hang-by-the-roots, diff?,
diff+note!, group-diff): New.
(api-diff): Rewrite.
Thien-Thi Nguyen [Sat, 11 May 2002 19:47:07 +0000 (19:47 +0000)]
Update.
Thien-Thi Nguyen [Sat, 11 May 2002 19:46:12 +0000 (19:46 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sat, 11 May 2002 19:45:27 +0000 (19:45 +0000)]
(scan-api): Fix bug: No longer omit `C' and `Scheme' in
groups in the presence of the grouper.
Thien-Thi Nguyen [Fri, 10 May 2002 22:18:33 +0000 (22:18 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Fri, 10 May 2002 22:17:39 +0000 (22:17 +0000)]
(add-props): New proc.
(make-grok-proc): Renamed from `make-grok-hook'.
(make-members-proc): Renamed from `make-members-hook'.
(make-grouper): Renamed from `make-grouping-hook'. Update callers.
Add handling for multiple grouping-defs files.
(scan-api): Add handling for multiple grouping-defs files.
Cache `symbol->string' result; adjust `sort' usage.
Marius Vollmer [Fri, 10 May 2002 16:39:45 +0000 (16:39 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 10 May 2002 16:39:32 +0000 (16:39 +0000)]
Added inclusion of "extensions.h".
Thien-Thi Nguyen [Thu, 9 May 2002 23:06:40 +0000 (23:06 +0000)]
Update.
Thien-Thi Nguyen [Thu, 9 May 2002 23:06:09 +0000 (23:06 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Thu, 9 May 2002 23:02:52 +0000 (23:02 +0000)]
Add copyright and commentary.
(favorite): Delete this example composite.
(embedded-libltdl, gdb, coop, gh, g-fdes, r-fdes, scm, k, POSIX,
guile-C-API): New groups.
Marius Vollmer [Thu, 9 May 2002 19:37:55 +0000 (19:37 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 9 May 2002 19:37:37 +0000 (19:37 +0000)]
(format:out-inf-nan): New.
(format:out-fixed, format:out-expon, format:out-general): Use it
to print infs and nans.
Marius Vollmer [Thu, 9 May 2002 19:36:30 +0000 (19:36 +0000)]
(unsetenv): New, for completeness.
Marius Vollmer [Thu, 9 May 2002 19:35:58 +0000 (19:35 +0000)]
(Runtime Environment): Added entries for 'setenv' and 'unsetenv'.
Marius Vollmer [Thu, 9 May 2002 19:35:42 +0000 (19:35 +0000)]
(Numbers): Added description of the new values +inf.0, -inf.0 and
+nan.0.
Marius Vollmer [Thu, 9 May 2002 19:35:32 +0000 (19:35 +0000)]
Added inf? and nan?.
Thien-Thi Nguyen [Thu, 9 May 2002 16:28:22 +0000 (16:28 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Thu, 9 May 2002 16:27:40 +0000 (16:27 +0000)]
(scan-C!): Use more robust regexp.
Thien-Thi Nguyen [Wed, 8 May 2002 22:08:23 +0000 (22:08 +0000)]
Update.
Thien-Thi Nguyen [Wed, 8 May 2002 20:20:45 +0000 (20:20 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 8 May 2002 20:19:22 +0000 (20:19 +0000)]
Remove top-level `debug-enable' form.
Thien-Thi Nguyen [Wed, 8 May 2002 20:18:12 +0000 (20:18 +0000)]
Add TODO comment; nfc.
Marius Vollmer [Wed, 8 May 2002 20:11:37 +0000 (20:11 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 8 May 2002 20:11:27 +0000 (20:11 +0000)]
(real_eqv): New.
(scm_eqv_p): Use it when comparing reals and complexes.
Marius Vollmer [Wed, 8 May 2002 20:08:16 +0000 (20:08 +0000)]
Include <string.h>, for strncmp.
(mem2complex): Do not create negative NaNs.
(scm_leq_p, scm_geq_p): Explicitely return #f when comparing a
NaN.
(scm_inexact_to_exact): Signal error when converting a NaN.
Marius Vollmer [Wed, 8 May 2002 20:01:08 +0000 (20:01 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 8 May 2002 20:00:59 +0000 (20:00 +0000)]
(format:fn-max): Increase to 400 so ~f and ~g can print long real
numbers with large positive and negative exponents.
Thien-Thi Nguyen [Wed, 8 May 2002 13:16:45 +0000 (13:16 +0000)]
Initial revision.
Thien-Thi Nguyen [Wed, 8 May 2002 13:01:29 +0000 (13:01 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 8 May 2002 13:00:57 +0000 (13:00 +0000)]
(scan-api): Handle case where `grouping-hook' is #f.
Thien-Thi Nguyen [Wed, 8 May 2002 12:50:22 +0000 (12:50 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 8 May 2002 12:50:01 +0000 (12:50 +0000)]
(scripts_sources): Add "scan-api".
Thien-Thi Nguyen [Wed, 8 May 2002 12:49:37 +0000 (12:49 +0000)]
Initial revision.
Thien-Thi Nguyen [Wed, 8 May 2002 12:45:29 +0000 (12:45 +0000)]
bye bye
Marius Vollmer [Tue, 7 May 2002 18:11:05 +0000 (18:11 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 7 May 2002 18:10:59 +0000 (18:10 +0000)]
(/): Expect divison by an inexact zero to yield +inf.0.
Marius Vollmer [Mon, 6 May 2002 22:33:52 +0000 (22:33 +0000)]
(scm_putenv): Handle removing variables explicitely by calling
unsetenv.
Marius Vollmer [Mon, 6 May 2002 22:33:35 +0000 (22:33 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 22:33:10 +0000 (22:33 +0000)]
From John W. Eaton.
* numbers.h: Conditionally include floatingpoint.h, ieeefp.h, and
nan.h. Provide declarations for scm_inf_p, scm_nan_p, scn_inf,
and scm_nan.
* numbers.c: [SCO && ! HAVE_ISNAN] (isnan): New function.
[SCO && ! HAVE_ISINF] (isinf): New function.
(xisinf, xisnan): New functions.
(IS_INF): Delete.
(isfinite): Define in terms of xisinf.
(scm_inf_p, scm_nan_p): New functions.
(guile_Inf, guile_NaN): New file-scope vars.
(guile_ieee_init): New function.
(scm_inf, scm_nan): New functions.
(idbl2str): Handle Inf and NaN. Remove funny label and
corresponding gotos.
(ALLOW_DIVIDE_BY_ZERO): New macro.
(scm_divide): Allow division by zero to occur if
ALLOW_DIVIDE_BY_ZERO is defined.
Handle bignums and ints as special cases.
Additional stuff by me:
numbers.c (mem2ureal): Recognize "inf.0" and "nan.xxx".
(scm_even_p, scm_odd_p): Treat infinity as even and odd.
(iflo2str): Don't output a '+' for negative numbers or for Inf and
NaN. They will provide their own sign.
(scm_divide): Only allow divides by inexact zeros. Dividing by
exact zeros still signals an errors.
Marius Vollmer [Mon, 6 May 2002 22:27:42 +0000 (22:27 +0000)]
Conditionally include floatingpoint.h, ieeefp.h, and nan.h. Provide
declarations for scm_inf_p, scm_nan_p, scn_inf, and scm_nan.
Marius Vollmer [Mon, 6 May 2002 22:27:06 +0000 (22:27 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 22:26:57 +0000 (22:26 +0000)]
(AC_CHECK_HEADERS): Check for floatingpoint.h ieeefp.h, and nan.h.
(AC_CHECK_FUNCS): Check for finite, isinf, and isnan.
Thien-Thi Nguyen [Mon, 6 May 2002 20:59:31 +0000 (20:59 +0000)]
(process-groupings): Fix bug: Pass non-#f third arg to `add-hook!'.
Thien-Thi Nguyen [Mon, 6 May 2002 20:37:54 +0000 (20:37 +0000)]
Initial revision.
Marius Vollmer [Mon, 6 May 2002 19:32:30 +0000 (19:32 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 19:32:20 +0000 (19:32 +0000)]
(regexp-substitute/global): Do not test with empty regexp. Empty
regexps do not work on NetBSD.
Marius Vollmer [Mon, 6 May 2002 19:04:40 +0000 (19:04 +0000)]
Include <sys/types.h> before <netinet/in.h> when checking vor IPv6.
This is for NetBSD 1.5. Thanks to Greg Troxel!
Marius Vollmer [Mon, 6 May 2002 19:04:31 +0000 (19:04 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 18:52:50 +0000 (18:52 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 18:52:01 +0000 (18:52 +0000)]
(basic syncase macro): Added.
Marius Vollmer [Mon, 6 May 2002 18:45:24 +0000 (18:45 +0000)]
Use (ice-9 threads) so that with-mutex is defined.
Marius Vollmer [Mon, 6 May 2002 18:44:09 +0000 (18:44 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 18:44:02 +0000 (18:44 +0000)]
(scm_string_tokenize): Instead of using "isgraphic" as the subtitute
for char-set:graphic when then token-set hsa been defaulted, grab the
real char-set:graphic from (srfi srfi-14).
Marius Vollmer [Mon, 6 May 2002 18:43:54 +0000 (18:43 +0000)]
(SCM_CHARSET_GET): Cast IDX to unsigned char so that it works for
8-bit characters. Thanks to Matthias Koeppe! No, make that "Köppe".
Thien-Thi Nguyen [Wed, 1 May 2002 21:04:21 +0000 (21:04 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 1 May 2002 21:03:41 +0000 (21:03 +0000)]
bye bye
Thien-Thi Nguyen [Wed, 1 May 2002 21:02:14 +0000 (21:02 +0000)]
Add call to $mscripts/render-bugs to create BUGS file.
Thien-Thi Nguyen [Wed, 1 May 2002 02:36:54 +0000 (02:36 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 1 May 2002 02:35:56 +0000 (02:35 +0000)]
(make-display-item): Hoist some lambdas; nfc.
Thien-Thi Nguyen [Tue, 30 Apr 2002 22:02:24 +0000 (22:02 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Tue, 30 Apr 2002 22:01:34 +0000 (22:01 +0000)]
(ice9_sources): Add gap-buffer.scm.
Thien-Thi Nguyen [Tue, 30 Apr 2002 21:59:38 +0000 (21:59 +0000)]
Initial revision.
Differences between this and (ttn gap-buffer):
Use string-join; autoload (srfi srfi-13).
Values for `default-initial-allocation', `default-chunk-size'
and `default-realloc-threshold' are 4x as large.
Marius Vollmer [Tue, 30 Apr 2002 07:41:43 +0000 (07:41 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 30 Apr 2002 07:41:36 +0000 (07:41 +0000)]
Invoke plain aclocal instead of guile-aclocal.sh. We don't need the
Guile m4 macros and the previous invocation of guile-aclocal.sh
created the aclocal.m4 file in the wrong directory (see change from
2002-04-26).