bpt/guile.git
22 years agoUpdate.
Thien-Thi Nguyen [Thu, 9 May 2002 23:06:40 +0000 (23:06 +0000)]
Update.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Thu, 9 May 2002 23:06:09 +0000 (23:06 +0000)]
*** empty log message ***

22 years agoAdd copyright and commentary.
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.

22 years ago*** empty log message ***
Marius Vollmer [Thu, 9 May 2002 19:37:55 +0000 (19:37 +0000)]
*** empty log message ***

22 years ago(format:out-inf-nan): New.
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.

22 years ago(unsetenv): New, for completeness.
Marius Vollmer [Thu, 9 May 2002 19:36:30 +0000 (19:36 +0000)]
(unsetenv): New, for completeness.

22 years ago(Runtime Environment): Added entries for 'setenv' and 'unsetenv'.
Marius Vollmer [Thu, 9 May 2002 19:35:58 +0000 (19:35 +0000)]
(Runtime Environment): Added entries for 'setenv' and 'unsetenv'.

22 years ago(Numbers): Added description of the new values +inf.0, -inf.0 and
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.

22 years agoAdded inf? and nan?.
Marius Vollmer [Thu, 9 May 2002 19:35:32 +0000 (19:35 +0000)]
Added inf? and nan?.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Thu, 9 May 2002 16:28:22 +0000 (16:28 +0000)]
*** empty log message ***

22 years ago(scan-C!): Use more robust regexp.
Thien-Thi Nguyen [Thu, 9 May 2002 16:27:40 +0000 (16:27 +0000)]
(scan-C!): Use more robust regexp.

22 years agoUpdate.
Thien-Thi Nguyen [Wed, 8 May 2002 22:08:23 +0000 (22:08 +0000)]
Update.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Wed, 8 May 2002 20:20:45 +0000 (20:20 +0000)]
*** empty log message ***

22 years agoRemove top-level `debug-enable' form.
Thien-Thi Nguyen [Wed, 8 May 2002 20:19:22 +0000 (20:19 +0000)]
Remove top-level `debug-enable' form.

22 years agoAdd TODO comment; nfc.
Thien-Thi Nguyen [Wed, 8 May 2002 20:18:12 +0000 (20:18 +0000)]
Add TODO comment; nfc.

22 years ago*** empty log message ***
Marius Vollmer [Wed, 8 May 2002 20:11:37 +0000 (20:11 +0000)]
*** empty log message ***

22 years ago(real_eqv): New.
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.

22 years agoInclude <string.h>, for strncmp.
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.

22 years ago*** empty log message ***
Marius Vollmer [Wed, 8 May 2002 20:01:08 +0000 (20:01 +0000)]
*** empty log message ***

22 years ago(format:fn-max): Increase to 400 so ~f and ~g can print long real
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.

22 years agoInitial revision.
Thien-Thi Nguyen [Wed, 8 May 2002 13:16:45 +0000 (13:16 +0000)]
Initial revision.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Wed, 8 May 2002 13:01:29 +0000 (13:01 +0000)]
*** empty log message ***

22 years ago(scan-api): Handle case where `grouping-hook' is #f.
Thien-Thi Nguyen [Wed, 8 May 2002 13:00:57 +0000 (13:00 +0000)]
(scan-api): Handle case where `grouping-hook' is #f.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Wed, 8 May 2002 12:50:22 +0000 (12:50 +0000)]
*** empty log message ***

22 years ago(scripts_sources): Add "scan-api".
Thien-Thi Nguyen [Wed, 8 May 2002 12:50:01 +0000 (12:50 +0000)]
(scripts_sources): Add "scan-api".

22 years agoInitial revision.
Thien-Thi Nguyen [Wed, 8 May 2002 12:49:37 +0000 (12:49 +0000)]
Initial revision.

22 years agobye bye
Thien-Thi Nguyen [Wed, 8 May 2002 12:45:29 +0000 (12:45 +0000)]
bye bye

22 years ago*** empty log message ***
Marius Vollmer [Tue, 7 May 2002 18:11:05 +0000 (18:11 +0000)]
*** empty log message ***

22 years ago(/): Expect divison by an inexact zero to yield +inf.0.
Marius Vollmer [Tue, 7 May 2002 18:10:59 +0000 (18:10 +0000)]
(/): Expect divison by an inexact zero to yield +inf.0.

22 years ago(scm_putenv): Handle removing variables explicitely by calling
Marius Vollmer [Mon, 6 May 2002 22:33:52 +0000 (22:33 +0000)]
(scm_putenv): Handle removing variables explicitely by calling
unsetenv.

22 years ago*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 22:33:35 +0000 (22:33 +0000)]
*** empty log message ***

22 years agoFrom John W. Eaton.
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.

22 years agoConditionally include floatingpoint.h, ieeefp.h, and nan.h. Provide
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.

22 years ago*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 22:27:06 +0000 (22:27 +0000)]
*** empty log message ***

22 years ago(AC_CHECK_HEADERS): Check for floatingpoint.h ieeefp.h, and nan.h.
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.

22 years ago(process-groupings): Fix bug: Pass non-#f third arg to `add-hook!'.
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!'.

22 years agoInitial revision.
Thien-Thi Nguyen [Mon, 6 May 2002 20:37:54 +0000 (20:37 +0000)]
Initial revision.

22 years ago*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 19:32:30 +0000 (19:32 +0000)]
*** empty log message ***

22 years ago(regexp-substitute/global): Do not test with empty regexp. Empty
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.

22 years agoInclude <sys/types.h> before <netinet/in.h> when checking vor IPv6.
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!

22 years ago*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 19:04:31 +0000 (19:04 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 18:52:50 +0000 (18:52 +0000)]
*** empty log message ***

22 years ago(basic syncase macro): Added.
Marius Vollmer [Mon, 6 May 2002 18:52:01 +0000 (18:52 +0000)]
(basic syncase macro): Added.

22 years agoUse (ice-9 threads) so that with-mutex is defined.
Marius Vollmer [Mon, 6 May 2002 18:45:24 +0000 (18:45 +0000)]
Use (ice-9 threads) so that with-mutex is defined.

22 years ago*** empty log message ***
Marius Vollmer [Mon, 6 May 2002 18:44:09 +0000 (18:44 +0000)]
*** empty log message ***

22 years ago(scm_string_tokenize): Instead of using "isgraphic" as the subtitute
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).

22 years ago(SCM_CHARSET_GET): Cast IDX to unsigned char so that it works for
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".

22 years ago*** empty log message ***
Thien-Thi Nguyen [Wed, 1 May 2002 21:04:21 +0000 (21:04 +0000)]
*** empty log message ***

22 years agobye bye
Thien-Thi Nguyen [Wed, 1 May 2002 21:03:41 +0000 (21:03 +0000)]
bye bye

22 years agoAdd call to $mscripts/render-bugs to create BUGS file.
Thien-Thi Nguyen [Wed, 1 May 2002 21:02:14 +0000 (21:02 +0000)]
Add call to $mscripts/render-bugs to create BUGS file.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Wed, 1 May 2002 02:36:54 +0000 (02:36 +0000)]
*** empty log message ***

22 years ago(make-display-item): Hoist some lambdas; nfc.
Thien-Thi Nguyen [Wed, 1 May 2002 02:35:56 +0000 (02:35 +0000)]
(make-display-item): Hoist some lambdas; nfc.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Tue, 30 Apr 2002 22:02:24 +0000 (22:02 +0000)]
*** empty log message ***

22 years ago(ice9_sources): Add gap-buffer.scm.
Thien-Thi Nguyen [Tue, 30 Apr 2002 22:01:34 +0000 (22:01 +0000)]
(ice9_sources): Add gap-buffer.scm.

22 years agoInitial revision.
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.

22 years ago*** empty log message ***
Marius Vollmer [Tue, 30 Apr 2002 07:41:43 +0000 (07:41 +0000)]
*** empty log message ***

22 years agoInvoke plain aclocal instead of guile-aclocal.sh. We don't need the
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).

22 years ago*** empty log message ***
Thien-Thi Nguyen [Mon, 29 Apr 2002 22:02:45 +0000 (22:02 +0000)]
*** empty log message ***

22 years agoFix commentary typo; nfc.
Thien-Thi Nguyen [Mon, 29 Apr 2002 22:01:53 +0000 (22:01 +0000)]
Fix commentary typo; nfc.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Sun, 28 Apr 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago(EXTRA_DIST): Remove qthreads.m4.
Thien-Thi Nguyen [Sat, 27 Apr 2002 23:58:45 +0000 (23:58 +0000)]
(EXTRA_DIST): Remove qthreads.m4.

22 years agoAdded Matthias Köppe.
Marius Vollmer [Fri, 26 Apr 2002 19:15:01 +0000 (19:15 +0000)]
Added Matthias Köppe.

22 years ago*** empty log message ***
Marius Vollmer [Fri, 26 Apr 2002 18:42:55 +0000 (18:42 +0000)]
*** empty log message ***

22 years ago(SRFI-13 Miscellaneous): Updated docs of string-tokenize.
Marius Vollmer [Fri, 26 Apr 2002 18:42:39 +0000 (18:42 +0000)]
(SRFI-13 Miscellaneous): Updated docs of string-tokenize.

22 years ago*** empty log message ***
Marius Vollmer [Fri, 26 Apr 2002 18:35:42 +0000 (18:35 +0000)]
*** empty log message ***

22 years ago(string-tokenize): Updated for fixed semantics.
Marius Vollmer [Fri, 26 Apr 2002 18:35:34 +0000 (18:35 +0000)]
(string-tokenize): Updated for fixed semantics.

22 years ago(s_scm_string_tokenize): Only take character sets as the second arg.
Marius Vollmer [Fri, 26 Apr 2002 18:34:21 +0000 (18:34 +0000)]
(s_scm_string_tokenize): Only take character sets as the second arg.
Collect characters belonging to this set into tokens (as specified by
the SRFI), instead of splitting at these characters.  Default to an
equivalent of char-set:graphic instead of everything-but-whitespace.
Thanks to Matthias Koeppe!

22 years ago*** empty log message ***
Marius Vollmer [Fri, 26 Apr 2002 18:06:01 +0000 (18:06 +0000)]
*** empty log message ***

22 years agoAdded comment about keeping the invocation of guile-aclocal in sync
Marius Vollmer [Fri, 26 Apr 2002 18:05:48 +0000 (18:05 +0000)]
Added comment about keeping the invocation of guile-aclocal in sync
with Makefile.am

22 years agoReplaced with a simple invocation of "aclocal -I guile-config". This
Marius Vollmer [Fri, 26 Apr 2002 18:05:08 +0000 (18:05 +0000)]
Replaced with a simple invocation of "aclocal -I guile-config".  This
works as of automake 1.5.

22 years agoChange to parent dir before invoking guile-aclocal.sh.
Marius Vollmer [Fri, 26 Apr 2002 18:04:05 +0000 (18:04 +0000)]
Change to parent dir before invoking guile-aclocal.sh.

22 years ago* Makefile.am (EXTRA_DIST): Added qthreads.m4.
Marius Vollmer [Fri, 26 Apr 2002 18:03:21 +0000 (18:03 +0000)]
* Makefile.am (EXTRA_DIST): Added qthreads.m4.
* qthreads.m4: Moved here from top directory.

22 years agoMoved to guile-config/.
Marius Vollmer [Fri, 26 Apr 2002 18:02:24 +0000 (18:02 +0000)]
Moved to guile-config/.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Tue, 23 Apr 2002 22:30:07 +0000 (22:30 +0000)]
*** empty log message ***

22 years agoUpdate.
Thien-Thi Nguyen [Tue, 23 Apr 2002 22:29:23 +0000 (22:29 +0000)]
Update.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Mon, 22 Apr 2002 18:01:17 +0000 (18:01 +0000)]
*** empty log message ***

22 years ago(scm_slot_exists_p): Rename from scm_slots_exists_p.
Thien-Thi Nguyen [Mon, 22 Apr 2002 18:00:24 +0000 (18:00 +0000)]
(scm_slot_exists_p): Rename from scm_slots_exists_p.

22 years ago*** empty log message ***
Thien-Thi Nguyen [Mon, 22 Apr 2002 17:47:38 +0000 (17:47 +0000)]
*** empty log message ***

22 years ago(scm_slot_exists_p): Rename from scm_slots_exists_p.
Thien-Thi Nguyen [Mon, 22 Apr 2002 17:46:06 +0000 (17:46 +0000)]
(scm_slot_exists_p): Rename from scm_slots_exists_p.
(s_scm_slot_exists_p): Rename from s_scm_slots_exists_p.

22 years ago*** empty log message ***
Gary Houston [Sat, 20 Apr 2002 21:26:05 +0000 (21:26 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Gary Houston [Sat, 20 Apr 2002 21:23:48 +0000 (21:23 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Gary Houston [Sat, 20 Apr 2002 20:57:40 +0000 (20:57 +0000)]
*** empty log message ***

22 years ago * removal of unused fields in root state (thanks to Christopher
Gary Houston [Sat, 20 Apr 2002 20:57:09 +0000 (20:57 +0000)]
* removal of unused fields in root state (thanks to Christopher
Cramer for pointing out the disuse.)
* root.h (scm_root_state): removed def_inp, def_outp, def_errp.
* root.c (root_mark): don't mark them.
(scm_make_root): don't set them to #f.
* init.c (scm_init_standard_ports): don't initialise with the
default ports.

22 years agoManual debugging and refactoring work.
Neil Jerram [Sat, 20 Apr 2002 19:26:40 +0000 (19:26 +0000)]
Manual debugging and refactoring work.

22 years ago* Manual work on debugging infrastructure
Neil Jerram [Sat, 20 Apr 2002 15:52:13 +0000 (15:52 +0000)]
* Manual work on debugging infrastructure

22 years ago* New manual material: example of extending Dia using Guile.
Neil Jerram [Sat, 20 Apr 2002 11:13:18 +0000 (11:13 +0000)]
* New manual material: example of extending Dia using Guile.

22 years ago*** empty log message ***
Marius Vollmer [Thu, 18 Apr 2002 07:51:45 +0000 (07:51 +0000)]
*** empty log message ***

22 years agoCall automake twice for guile-core so that two copies of mdate-sh get
Marius Vollmer [Thu, 18 Apr 2002 07:51:36 +0000 (07:51 +0000)]
Call automake twice for guile-core so that two copies of mdate-sh get
a chance of being installed (one in doc/ref/ and one in
doc/tutorial/).

22 years ago*** empty log message ***
Marius Vollmer [Wed, 17 Apr 2002 17:47:19 +0000 (17:47 +0000)]
*** empty log message ***

22 years ago(SCM_TESTS_DIRS, dist-hook): New, distribute directories manually.
Marius Vollmer [Wed, 17 Apr 2002 17:45:05 +0000 (17:45 +0000)]
(SCM_TESTS_DIRS, dist-hook): New, distribute directories manually.

22 years agoDo not clean input file. This would write to the $(srcdir) during a
Marius Vollmer [Wed, 17 Apr 2002 17:44:28 +0000 (17:44 +0000)]
Do not clean input file.  This would write to the $(srcdir) during a
VPATH build, which is not allowed.  It also isn't needed since it only
works when an output filename has been specified and in that case we
don't need to clean the input file because the output file will
already exist.

22 years ago(EXTRA_DIST): Added cpp_err_symbols.c and cpp_sig_symbols.c.
Marius Vollmer [Wed, 17 Apr 2002 17:42:50 +0000 (17:42 +0000)]
(EXTRA_DIST): Added cpp_err_symbols.c and cpp_sig_symbols.c.

22 years ago*** empty log message ***
Marius Vollmer [Wed, 17 Apr 2002 17:41:51 +0000 (17:41 +0000)]
*** empty log message ***

22 years ago(dist-hook): Make sure $(distdir)/Makefile.in is writable before
Marius Vollmer [Wed, 17 Apr 2002 17:41:43 +0000 (17:41 +0000)]
(dist-hook): Make sure $(distdir)/Makefile.in is writable before
modifying it.

22 years ago(CLEANFILES): Added guile.cps, guile.fns, guile.rns,
Marius Vollmer [Wed, 17 Apr 2002 17:40:57 +0000 (17:40 +0000)]
(CLEANFILES): Added guile.cps, guile.fns, guile.rns,
guile.tps, guile.vrs, guile.tmp.

22 years ago(CLEANFILES): Added goops.tmp, goops.cps.
Marius Vollmer [Wed, 17 Apr 2002 17:39:44 +0000 (17:39 +0000)]
(CLEANFILES): Added goops.tmp, goops.cps.

22 years ago(dist-hook): Simplified to not use "cd"; now it works for relative
Marius Vollmer [Wed, 17 Apr 2002 17:38:41 +0000 (17:38 +0000)]
(dist-hook): Simplified to not use "cd"; now it works for relative
pathnames in $(distdir).

22 years agoBump required autoconf version to 2.53. Move uses of AC_LIBOBJ after
Marius Vollmer [Wed, 17 Apr 2002 17:37:29 +0000 (17:37 +0000)]
Bump required autoconf version to 2.53.  Move uses of AC_LIBOBJ after
AC_PROG_CC.  AC_LIBOBJ needs OBJEXT which is set by AC_PROG_CC.

22 years ago(AUTOMAKE_OPTIONS): New, to request version 1.5.
Marius Vollmer [Wed, 17 Apr 2002 17:35:56 +0000 (17:35 +0000)]
(AUTOMAKE_OPTIONS): New, to request version 1.5.
(EXTRA_DIST): Don't distribute acconfig.h, which is gone.
(dist-hook): Removed.
(DISTCLEANFILES): Added check-guile.log.
(EXTRA_DIST): Don't distribute TODO.

22 years ago*** empty log message ***
Marius Vollmer [Tue, 16 Apr 2002 20:12:21 +0000 (20:12 +0000)]
*** empty log message ***