Marius Vollmer [Sun, 7 Jul 2002 20:17:29 +0000 (20:17 +0000)]
* autogen.sh: Do not copy INSTALL from workbook since it is not
uniform across branches.
* INSTALL: Re-added to repository.
Marius Vollmer [Sun, 7 Jul 2002 20:06:31 +0000 (20:06 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 7 Jul 2002 19:58:15 +0000 (19:58 +0000)]
Do not include <winsock2.h> on Cygwin even when we have it.
Marius Vollmer [Sun, 7 Jul 2002 19:50:49 +0000 (19:50 +0000)]
Override default rule for c-tokenize.$(OBJECT);
this should be compiled for BUILD host.
Override default rule for
guile_filter_doc_snarfage$(EEXECT); this should run on BUILD host.
Add missing $(EXEEXT) to guile_filter_doc_snarfage invocation.
(snarf2checkedtexi): Use GUILE_FOR_BUILD instead of preinstguile.
Marius Vollmer [Sun, 7 Jul 2002 19:40:09 +0000 (19:40 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 7 Jul 2002 19:39:21 +0000 (19:39 +0000)]
Only fix libltdl/configure.in if it exists. Current libtool CVS does
not need this fix.
Marius Vollmer [Sun, 7 Jul 2002 19:38:23 +0000 (19:38 +0000)]
* configure.in (AC_LIBTOOL_WIN32_DLL): Add for shared Cygwin
build.
Add --with-cc-for-build option to re-enable cross building.
Add --with-guile-for-build option to re-enable cross building.
Marius Vollmer [Sun, 7 Jul 2002 19:36:42 +0000 (19:36 +0000)]
Crosscompiling and Cygwin fixes from Jan Nieuwenhuizen. Thanks!
Dirk Herrmann [Sun, 7 Jul 2002 05:18:17 +0000 (05:18 +0000)]
* now using mmacros instead of macros at some places.
Dirk Herrmann [Sun, 30 Jun 2002 22:40:01 +0000 (22:40 +0000)]
* __scm.h (SCM_CAUTIOUS), eval.c (scm_eval_args, deval_args,
SCM_CEVAL): Removed compile time option SCM_CAUTIOUS to clean up
the code. Full number of arguments checking of closures is
mandatory now. However, the option to disable the checking has
most probably not been used anyway.
Dirk Herrmann [Sun, 30 Jun 2002 22:03:43 +0000 (22:03 +0000)]
* backtrace.c (SCM_ASSERT), debug.c (scm_debug_options), eval.c
(scm_lookupcar, scm_lookupcar1, scm_badargsp, SCM_CEVAL,
SCM_APPLY, scm_map, scm_for_each), feature.c (scm_init_feature),
gsubr.c (scm_gsubr_apply), numbers.c (scm_logand, scm_logior,
scm_logxor, scm_i_dbl2big), srcprop.c (scm_source_properties,
scm_set_source_properties_x, scm_source_property): Removed
compile time option SCM_RECKLESS to clean up the code. Full
number of arguments checking of closures is mandatory now.
However, the option to disable the checking has most probably not
been used anyway.
* srcprop.c (scm_source_properties, scm_set_source_properties_x,
scm_source_property): Use !SCM_CONSP instead of SCM_NCONSP.
Gary Houston [Sun, 30 Jun 2002 20:34:38 +0000 (20:34 +0000)]
* dynl.c: Removed all SCM_DEFER_INTS/SCM_ALLOW_INTS, which won't
do anything useful. Added a comment about need for a mutex if
pre-emptive threading is supported.
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 ***