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

9200 commits

Author SHA1 Message Date
Kevin Ryde
9ff1f64794 *** empty log message *** 2004-04-24 22:52:47 +00:00
Kevin Ryde
50af014bb7 (scm_getcwd, scm_readlink): Avoid memory leak on errors. 2004-04-24 22:48:44 +00:00
Kevin Ryde
7fd8fe2cd5 * tests/srfi-1.test: New file, exercising extended list-copy.
* Makefile.am (SCM_TESTS): Add it.
2004-04-23 21:27:04 +00:00
Kevin Ryde
3f34399562 *** empty log message *** 2004-04-23 21:26:21 +00:00
Kevin Ryde
af7ffded27 New file, exercising extended list-copy. 2004-04-23 21:25:41 +00:00
Kevin Ryde
6e98021b0a (list-copy): New function, allowing improper lists as per
SRFI-1 spec, which the core list-copy doesn't do.
2004-04-23 21:22:33 +00:00
Kevin Ryde
2064297d2e (scm_round): Test for x already an integer, to avoid bad
rounding in x+0.5 when x is a big value already an integer.  In
certain hardware rounding cases x+0.5 can give an adjacent integer,
leading to that as the result, when we really just wanted x itself.
2004-04-22 00:51:07 +00:00
Kevin Ryde
5f9610ad99 *** empty log message *** 2004-04-22 00:39:48 +00:00
Rob Browning
6a46049486 (eval.lo): don't filter -Werror now that we're using
-fno-strict-aliasing.
2004-04-20 05:48:42 +00:00
Rob Browning
71174d95db *** empty log message *** 2004-04-20 05:47:47 +00:00
Rob Browning
23563c4144 add --fno-strict-aliasing when compiling with gcc. 2004-04-20 05:45:41 +00:00
Kevin Ryde
5f663d6cdc *** empty log message *** 2004-04-17 23:23:52 +00:00
Kevin Ryde
6a9d6cc194 (let-values): Use gensym instead of gentemp, to avoid
deprecation warning from the latter.  Reported by Andreas Rottmann.
(Same change made by Marius in the cvs head.)
2004-04-17 23:22:33 +00:00
Kevin Ryde
c3796b3e2d *** empty log message *** 2004-04-15 00:48:33 +00:00
Kevin Ryde
58e46b8dba Add SIGSYS. 2004-04-15 00:47:42 +00:00
Kevin Ryde
bfffb76aaf *** empty log message *** 2004-03-20 00:04:46 +00:00
Kevin Ryde
3c0a41b108 (scm_gethostname): Preserve errno across free() call. 2004-03-19 23:58:22 +00:00
Kevin Ryde
41f8545d08 *** empty log message *** 2004-02-28 23:21:39 +00:00
Kevin Ryde
c874b4500f * tests/posix.test: New file, exercise execl, execlp, execle errors.
* Makefile.am (SCM_TESTS): Add it.
2004-02-28 23:20:13 +00:00
Kevin Ryde
b233636a08 New file, exercise execl, execlp, execle errors. 2004-02-28 23:16:54 +00:00
cvs2svn
f07e4811d3 This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2004-02-28 23:07:57 +00:00
Kevin Ryde
c2d31141dc (execl, execlp, execle): Exercise errors where
program not found.  [But disabled, due to problems with threading.]
2004-02-28 23:07:56 +00:00
Kevin Ryde
2a61284af5 *** empty log message *** 2004-02-28 21:38:37 +00:00
Kevin Ryde
32bb5bd88c (execl, execlp, execle): Exercise errors where program not found. 2004-02-28 21:37:41 +00:00
Kevin Ryde
5209e7379c Add a copyright year from the cvs logs. 2004-02-28 20:21:40 +00:00
Kevin Ryde
004ad93130 *** empty log message *** 2004-02-28 20:11:14 +00:00
Kevin Ryde
1df728345b (AC_CHECK_FUNCS): Add DINFINITY and DQNAN. 2004-02-28 20:08:08 +00:00
Kevin Ryde
a73256d018 Use AC_COPYRIGHT and AH_TOP to get copyright notice
into generated configure and config.h.in.
2004-02-28 20:03:18 +00:00
Kevin Ryde
240a27d2c5 (guile_ieee_init): Use C99 INFINITY and NAN when
available.  Test HAVE_DINFINITY and HAVE_DQNAN for those globals, in
particular don't assume "defined (__alpha__) && ! defined (linux)"
means OSF.  Remove "SCO" code, which was not really SCO specific and
which John W. Eaton advises should be long past being needed.
2004-02-28 20:01:13 +00:00
Kevin Ryde
1c73f27eec *** empty log message *** 2004-02-28 19:56:12 +00:00
Kevin Ryde
d542852e69 (scm_execl, scm_execlp, scm_execle): Avoid memory leak under error throw. 2004-02-28 19:50:09 +00:00
Kevin Ryde
807f353fed (scm_execl, scm_execlp, scm_execle): Avoid memory leak under error throw. 2004-02-28 19:16:26 +00:00
Kevin Ryde
ccad5f61c0 (scm_localtime, scm_gmtime, scm_mktime): Provide a default
errno EINVAL in case localtime and gmtime don't set it.
(scm_mktime, scm_strptime): Forcibly use errno EINVAL for our
SCM_SYSERROR, since mktime and strptime generally don't set errno.
2004-02-28 19:09:19 +00:00
Neil Jerram
6841205b19 *** empty log message *** 2004-02-25 19:11:33 +00:00
Neil Jerram
7f05d32538 * gds-client.scm (handle-instruction-1): In `eval' protocol, catch
and report read errors nicely.

	* gds.el (gds-display-buffers): Don't select the GDS window.
2004-02-25 19:10:07 +00:00
Kevin Ryde
72ea45ac4c *** empty log message *** 2004-02-23 22:59:20 +00:00
Kevin Ryde
1b317eb196 (scm_cuserid): Use a private result buffer, for thread safe. 2004-02-23 22:05:37 +00:00
Neil Jerram
9de7b7abb4 * gds-tutorial.txt, gds-problems.txt: New files. 2004-02-22 11:11:17 +00:00
Kevin Ryde
9593c679b9 *** empty log message *** 2004-02-21 22:04:42 +00:00
Kevin Ryde
593a4c2f90 (max, min): Exercise some complex num cases. 2004-02-21 22:03:57 +00:00
Kevin Ryde
2af0602e45 *** empty log message *** 2004-02-21 21:59:34 +00:00
Kevin Ryde
dab4e67a0a (scm_max, scm_min): For one arg, dispatch to generic for
complex, same as for two args.  (Handle only inum, big, real, frac).
2004-02-21 21:58:30 +00:00
Kevin Ryde
46da76382d *** empty log message *** 2004-02-21 21:24:02 +00:00
Kevin Ryde
0dcddc2da9 (scm_crypt): Use new HAVE_CRYPT.
(<crypt.h>): Remove HAVE_LIBCRYPT condition.
Reported by Andreas Voegele.
2004-02-21 21:23:11 +00:00
Kevin Ryde
db752bb5cf *** empty log message *** 2004-02-21 21:21:29 +00:00
Kevin Ryde
dce50cd6c9 (crypt): Test with AC_SEARCH_LIBS, for the benefit of
HP-UX.  Define HAVE_CRYPT rather than HAVE_LIBCRYPT.  Reported by
Andreas Voegele.
2004-02-21 21:17:40 +00:00
Kevin Ryde
ddc2debe53 *** empty log message *** 2004-02-21 21:14:45 +00:00
Neil Jerram
580987cf4b * gds.el: Add requirements: cl, comint, info.
(gds-guile-program): New.
	(gds-start): When starting or restarting, kill captive if it
	exists.  Use gds-guile-program instead of just "guile".
	(gds-mode): Use widget minor mode.
	(gds-client-ref): New optional client arg.
	(gds-update-buffers): Don't call widget-setup.
	(gds-heading-face): New.
	(gds-insert-interaction): Various prettifications.
	(gds-heading-insert): New.
	(gds-choose-client): Check that numbers in client and gds-client
	are still valid.
	(gds-eval-expression, gds-apropos): Remove text properties from
	expression to evaluate.
	(gds-mode-map): Don't set widget-mode-map as parent.
	(gds-start-captive): Use gds-guile-program instead of just
	"guile".

	* gds-client.scm (install-breakpoints): Bugfix: avoid null lists
	in traversal.
	(eval-thread, gds-eval): Where expression has multiple parts,
	modify output to say which part is being evaluated.
2004-02-21 14:53:07 +00:00
Kevin Ryde
2c0334eccd (NUM2FLOAT): Expand isfinite to !xisinf, as per previous change to numbers.c. 2004-02-21 00:10:47 +00:00
Kevin Ryde
b114eafe80 *** empty log message *** 2004-02-20 23:24:27 +00:00