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

8727 commits

Author SHA1 Message Date
Marius Vollmer
331bacec19 (scm_drain_input): Bug fix: only access the port after checking that
it indeed is one.
2003-11-21 17:13:25 +00:00
Marius Vollmer
dd6f4cff17 *** empty log message *** 2003-11-13 18:45:12 +00:00
Marius Vollmer
b8d889443e (scm_get_stack_base): Provide a definition that return NULL when the
machine type is unknown.  Previously, gc_os_dep.c would refuse to
compile.
2003-11-13 18:44:29 +00:00
Kevin Ryde
8cd1f2452e *** empty log message *** 2003-11-08 22:21:34 +00:00
Kevin Ryde
c3b5e1988c (scm_dynamic_unlink): Need scm_list_1 on error message
argument.  Reported by Mike Gran.
2003-11-08 22:20:54 +00:00
Kevin Ryde
a95da9fa74 *** empty log message *** 2003-11-08 20:33:54 +00:00
Kevin Ryde
b31e7af567 (Random): In random, use @code for *random-state*.
Reported by Stephen Compall.
2003-11-08 20:33:18 +00:00
Rob Browning
42a7c12c07 added. 2003-10-12 18:23:40 +00:00
Rob Browning
7999d5f433 * upstream/ltdl.c: update to libtool 1.5 version. 2003-10-12 18:23:06 +00:00
Rob Browning
52ee95b43b (ltdl.h.diff): cleanup temp files.
(ltdl.c.diff): cleanup temp files.
2003-10-12 18:22:52 +00:00
Rob Browning
d848fa3449 remove ltdl.c.diff and ltdl.h.diff -- these
should probably be in the source tree so we're more likely to
notice any unintentional changes, and so it's easier for people to
find the diffs.
2003-10-12 18:22:42 +00:00
Rob Browning
9e16213517 merged changes from libtool 1.5. Looks like most of
our bugfixes have been incorporated upstream.
2003-10-12 18:20:53 +00:00
Rob Browning
8d3694b0a7 *** empty log message *** 2003-10-12 18:20:46 +00:00
Marius Vollmer
e9a917f7c2 *** empty log message *** 2003-10-12 16:55:55 +00:00
Marius Vollmer
c9ae4a5710 Added Paul Jarc. 2003-10-12 16:55:30 +00:00
Marius Vollmer
a44738d339 (directory-files): Close dir-stream when done. Thanks to Paul Jarc! 2003-10-12 16:55:17 +00:00
Rob Browning
e9af43516a *** empty log message *** 2003-10-11 21:39:16 +00:00
Rob Browning
b2e64b4cdd (s_scm_append): add patch from Kevin Ryde to track argnum
in error messages.
2003-10-11 21:37:03 +00:00
Kevin Ryde
33b482982a *** empty log message *** 2003-10-02 00:26:12 +00:00
Kevin Ryde
a1e7d87423 (String Ports): In call-with-output-string, note proc
should not close the port.  In get-output-string, note string must be
gotten before closing the port.
2003-10-02 00:25:05 +00:00
Kevin Ryde
d5c4160240 Almost forgot entry for new tests/popen.test. 2003-10-02 00:02:58 +00:00
Kevin Ryde
36be36509d Fix a couple of typos in:
New file.
2003-10-02 00:02:08 +00:00
Kevin Ryde
85ec8d4df7 Add call-with-output-string no segv on closed port. 2003-10-01 23:45:54 +00:00
Kevin Ryde
a629681215 *** empty log message *** 2003-10-01 23:43:10 +00:00
Kevin Ryde
aa7242492a (call-with-output-string): Test proc closing port. 2003-10-01 23:38:56 +00:00
Kevin Ryde
029328497d *** empty log message *** 2003-10-01 23:32:45 +00:00
Kevin Ryde
5486021ac3 (scm_call_with_output_string): scm_get_output_string
rather than scm_strport_to_string, so as to guard against the port
having been closed by the called procedure.
2003-10-01 23:32:09 +00:00
Rob Browning
c91207a1b2 *** empty log message *** 2003-10-01 19:52:06 +00:00
Rob Browning
0d153cd460 (scm_done_malloc): fix sign error in scm_malloc_done, was
comparing (scm_mallocated < size) when scm_mallocated is unsigned
and size is signed, and size is known to be negative.
2003-10-01 19:51:43 +00:00
Neil Jerram
260cff4195 Two fixes to Guile tutorial. 2003-09-27 10:10:24 +00:00
Rob Browning
9d58732f52 *** empty log message *** 2003-09-27 04:22:09 +00:00
Rob Browning
b2981fd6fd remove vestigal (pre-compile-psyntax.scm) load of
psyntax.ss (used to be needed during syntax-case development, but
now only caused problems with the top-of-the-file eval export.
Enabling the code as the comments instructed caused the other
error when trying to recompile psyntax.pp.
2003-09-27 04:21:59 +00:00
Rob Browning
172d1d9cba * compile-psyntax.scm: migrate missing with-fluids wrapper from
HEAD -- may have been overlooked during the 2003-01-27 merge.
Fixes one of two errors when trying to recompile psyntax.pp.
2003-09-27 04:21:25 +00:00
Rob Browning
4be93bf7d6 (EXTRA_DIST): add compile-psyntax.scm. 2003-09-27 04:20:59 +00:00
Kevin Ryde
7c45fc4df5 Add ice-9 popen duplicate pipe fd fix. 2003-09-19 01:18:20 +00:00
Kevin Ryde
3a4f981f2b *** empty log message *** 2003-09-19 01:12:08 +00:00
Kevin Ryde
557b225f49 (open-process): Close input-fdes, output-fdes and
error-fdes after duping them to 0, 1 and 2.
2003-09-19 01:11:34 +00:00
Kevin Ryde
0ed417f42b New file. 2003-09-19 01:07:57 +00:00
Kevin Ryde
89eff59fd0 * tests/popen.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2003-09-19 01:07:16 +00:00
cvs2svn
0ad5796162 This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2003-09-19 01:05:14 +00:00
Kevin Ryde
3e690887f5 New file. 2003-09-19 01:05:13 +00:00
Kevin Ryde
a118e0eb5a (open-process): Correction to previous fdes closing
change, need to watch out for stdin==stderr or stdout==stderr.
2003-09-19 01:01:10 +00:00
Dirk Herrmann
534c55a97d This set of patches introduces a new tc7 code scm_tc7_number for
numbers.  Bignums, reals and complex numbers are turned from smobs
	into subtypes of scm_tc7_number.

	* tags.h (scm_tc7_number): New.

	* eq.c (scm_equal_p), eval.c (SCM_CEVAL), evalext.c
	(scm_self_evaluating_p), gc-card.c (scm_i_sweep_card), gc-mark.c
	(scm_gc_mark_dependencies), goops.c (create_smob_classes), hash.c
	(scm_hasher), numbers.c, numbers.h (SCM_NUMP), objects.c
	(scm_class_of), print.c (scm_iprin1), smob.c
	(scm_smob_prehistory): Don't handle bignums, reals and complex
	numbers as subtypes of scm_tc7_smob any more.

	* numbers.h, tags.h (scm_tc16_big, scm_tc16_real,
	scm_tc16_complex): Moved definitions from tags.h to numbers.h.
2003-09-18 20:55:40 +00:00
Dirk Herrmann
29c4382afd * numbers.c (scm_make_complex), gc-card.c (scm_i_sweep_card): Use
sizeof (scm_t_complex) to determine the memory size of the
	malloc'd area for complex numbers.
2003-09-18 20:18:17 +00:00
Dirk Herrmann
47ae1f0eca * libguile/numbers.c (scm_bigequal): Fixed.
* test-suite/tests/numbers.test (equal?): Added tests.

	* test-suite/tests/numbers.test (=): Fixed and added some bignum
        related tests.
2003-09-17 21:03:26 +00:00
Marius Vollmer
859b6b2fff *** empty log message *** 2003-09-16 21:21:28 +00:00
Marius Vollmer
2d99b584ac (scm_current_time): 'time' does not set errno so don't use
SCM_SYSERROR for reporting errors.
2003-09-16 21:18:26 +00:00
Dirk Herrmann
e17d318faa This set of patches eliminates the dependency between the
implementation of evaluator specific memoization codes and special
	constants like #f, '() etc. ('flags'), which are not evaluator
	specific.  The goal is to remove definitions of evaluator
	memoization codes completely from the public interface.  This will
	make it possible to experiment more freely with optimizations of
	guile's internal representation of memoized code.

	* objects.c (scm_class_of): Eliminate dependency on SCM_ISYMNUM.

	* print.c (iflagnames): New array, holding the printed names of
	guile's special constants ('flags').

	(scm_isymnames): Now holds only the printed names of the
	memoization codes.

	(scm_iprin1): Separate the handling of memoization codes and
	guile's special constants.

	* tags.h (scm_tc9_flag, SCM_ITAG9, SCM_MAKE_ITAG9, SCM_ITAG9_DATA,
	SCM_IFLAGNUM): new

	(scm_tc8_char, scm_tc8_iloc, SCM_BOOL_F, SCM_BOOL_T,
	SCM_UNDEFINED, SCM_EOF_VAL, SCM_EOL, SCM_UNSPECIFIED, SCM_UNBOUND,
	SCM_ELISP_NIL, SCM_IM_DISPATCH, SCM_IM_SLOT_REF,
	SCM_IM_SLOT_SET_X, SCM_IM_DELAY, SCM_IM_FUTURE,
	SCM_IM_CALL_WITH_VALUES, SCM_IM_NIL_COND, SCM_IM_BIND): Changed
	values.

	(SCM_IFLAGP): SCM_IFLAGP now only tests for flags.

	(SCM_IFLAGP, SCM_MAKIFLAG, SCM_IFLAGNUM): Generalized to use the
	tc9 macros and scm_tc9_flag.
2003-09-16 17:37:56 +00:00
Kevin Ryde
cd56b18192 Fix a grammatical typo in my last entry. 2003-09-15 22:47:27 +00:00
Kevin Ryde
f319727482 Add another comment to:
(file-exists?): Use stat rather than access?, ...
2003-09-15 22:29:32 +00:00