Kevin Ryde
39a963ee81
*** empty log message ***
2003-10-02 00:17:50 +00:00
Kevin Ryde
ee6eedcde8
(call-with-output-string): Test proc closing port.
2003-10-02 00:17:16 +00:00
Kevin Ryde
591924eb4c
*** empty log message ***
2003-10-02 00:11:12 +00:00
Kevin Ryde
184b85a394
(s_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. Reported by Nic Ferrier.
2003-10-02 00:04:26 +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
930d3b37a8
Fix a couple of typos in:
...
New file.
2003-10-02 00:00:42 +00:00
Kevin Ryde
88fd89ac40
Add call-with-output-string no segv on closed port.
2003-10-01 23:51:41 +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
Neil Jerram
5a825ad439
Two fixes to Guile tutorial.
2003-09-27 10:08:26 +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
Neil Jerram
79b1c5b67f
Work (in progress) on new debugging frontend.
2003-09-25 20:32:10 +00:00
Dirk Herrmann
8aa28a916c
* guile-test: Wrapped in module (test-suite guile-test).
...
(main data-file-name test-file-name): Exported.
((guile-user)::main): New function, wrapper for function
(test-suite guile-test)::main.
* tests/load.test: Wrapped in module (test-suite test-load).
* tests/ports.test: Wrapped in module (test-suite test-ports).
* tests/r4rs.test: Wrapped in module (test-suite test-r4rs).
Added comments about the required structure of the file itself,
since it is subject to some tests. Removed some now unnecessary
undefine operations.
* tests/syntax.test: Wrapped in module (test-suite test-syntax)
2003-09-22 19:00:41 +00:00
Dirk Herrmann
f03314f920
* numbers.h (SCM_INEXACTP): Removed uses of SCM_TYP16S.
...
* tags.h, deprecated.h (SCM_TYP16S): Deprecated and moved from
tags.h to deprecated.h.
2003-09-21 07:54:23 +00:00
Kevin Ryde
1cd9ea6915
A tweak to:
...
(File System): In access?, reword a bit, clarify real
versus effective ID handling, cross reference glibc on that, and
recommend against access tests in library functions.
2003-09-21 01:38:01 +00:00
Kevin Ryde
a21ceb528d
*** empty log message ***
2003-09-21 01:19:44 +00:00
Kevin Ryde
ad1c1f1808
(File System): In access?, reword a bit, clarify real
...
versus effective ID handling, cross reference glibc on that, and
recommend against access tests in library functions.
2003-09-21 01:18:26 +00:00
Kevin Ryde
69fc37da29
Add ice-9 popen duplicate pipe fd fix.
2003-09-19 01:30:54 +00:00
Kevin Ryde
518a07ad84
*** empty log message ***
2003-09-19 01:29:17 +00:00
Kevin Ryde
9b4bbf4752
*** empty log message ***
2003-09-19 01:19:48 +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
Kevin Ryde
3bdc8f4d17
* tests/popen.test: New file.
...
* Makefile.am (SCM_TESTS): Add it.
2003-09-19 01:06:14 +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
Marius Vollmer
5dc1ba739f
*** empty log message ***
2003-09-15 13:38:07 +00:00
Marius Vollmer
093d2ca9af
(format): Rewritten as a big letrec to make it reentrant. No mutex is
...
necessary. Thanks to Clinton Ebadi!
2003-09-15 13:37:50 +00:00
Marius Vollmer
eecac80630
*** empty log message ***
2003-09-15 12:37:16 +00:00