1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00
Commit graph

8264 commits

Author SHA1 Message Date
Kevin Ryde
9afa7a12f2 *** empty log message *** 2004-01-11 00:03:33 +00:00
Kevin Ryde
2de97f05f0 Revert this, it breaks test-suite/tests/r5rs_pitfalls.test where
false-if-exception is used within syntax-rules.  (Suspect syntax-rules
	ought to support this sort of thing, but it doesn't right now.)

	* boot-9.scm (false-if-exception): Unquote catch and lambda, so as not
	to depend on expansion environment.
2004-01-11 00:01:48 +00:00
Marius Vollmer
d9623da1f2 Instead of the non-portable mktemp, use mkdir to create a unique
temporary directory that we can safely use.  Thanks to Stefan
Nordhausen!
2004-01-10 23:30:23 +00:00
Kevin Ryde
08568c953b *** empty log message *** 2004-01-10 23:20:10 +00:00
Kevin Ryde
88ecf5cbd4 (scm_bit_count, scm_bit_position, s_scm_bit_set_star_x,
s_scm_bit_count_star, s_scm_bit_invert_x): Clarify docstrings, as per
changes made to scheme-compound.texi.
2004-01-10 23:18:48 +00:00
Kevin Ryde
ff96677fc3 *** empty log message *** 2004-01-10 21:43:10 +00:00
Kevin Ryde
5ad1686a78 * misc-modules.texi (Queues): New chapter.
* guile.texi (Top): Add it.
2004-01-10 21:40:26 +00:00
Kevin Ryde
2370f80907 (Queues): New chapter. 2004-01-10 21:37:59 +00:00
Marius Vollmer
5565749c2e *** empty log message *** 2004-01-10 21:22:28 +00:00
Marius Vollmer
27fca65629 Use mktemp to create a truely unique temporary file name. Thanks to
Stefan Nordhausen!
2004-01-10 21:20:55 +00:00
Kevin Ryde
c95243c71c *** empty log message *** 2004-01-09 00:52:23 +00:00
Kevin Ryde
84bde77f8e (Bit Vectors): Revise for clarity, following
report by Rouben Rostamian.  Remove #b() example, that syntax is not
accepted.
2004-01-09 00:37:44 +00:00
Marius Vollmer
42155d759e More stuff about flow control. Bug fixes in example. 2004-01-08 17:04:02 +00:00
Marius Vollmer
7ebccde82e *** empty log message *** 2004-01-07 20:21:38 +00:00
Marius Vollmer
14578fa4ea * dynwind.h, dynwind.c (scm_i_dowinds): Removed 'explicit'
argument since it is always zero now.  Changed all callers.
Removed code for handling fluids.
2004-01-07 20:21:30 +00:00
Marius Vollmer
96e3b2f808 *** empty log message *** 2004-01-07 19:51:18 +00:00
Marius Vollmer
062fccce79 (with-fluids): Use with-fluid* when only one fluid is being set. 2004-01-07 19:51:07 +00:00
Marius Vollmer
540cc7abdc * dynwind.c (scm_i_dowinds): Removed code for handling fluids. 2004-01-07 19:50:28 +00:00
Marius Vollmer
bebd3fbadd * fluids.c (scm_c_with_fluids): Use frames instead of adding to
the wind chain explicitely.  Use scm_c_with_fluid for the common
case of only one fluid.
(scm_with_fluid): New.
(scm_c_with_fluid): Use frames instead of scm_c_with_fluids.

* fluids.h, fluids.c (scm_frame_fluid): New.
(scm_with_fluid): New.
(scm_i_swap_fluids, scm_i_swap_fluids_reverse): Removed.
2004-01-07 19:47:18 +00:00
Marius Vollmer
fc6bb2831d *** empty log message *** 2004-01-07 18:18:09 +00:00
Marius Vollmer
8843e1fa41 Adapted to 'frame' renamings. (check_fluid): New. 2004-01-07 18:18:00 +00:00
Marius Vollmer
a316356834 (SCM_TESTS): Added continuations.test. 2004-01-07 18:17:04 +00:00
Marius Vollmer
6394add195 Adapt to new 'frame' names. Document scm_c_with_fluid,
scm_c_with_fluids, and scm_frame_fluid.
2004-01-07 18:13:07 +00:00
Marius Vollmer
ef20bf705f (scm_frame_fluid): New. 2004-01-07 18:08:52 +00:00
Marius Vollmer
07add3457b Did the follwing renamings:
scm_with_current_input_port -> scm_frame_current_input_port,
scm_with_current_output_port -> scm_frame_current_output_port,
scm_with_current_error_port -> scm_frame_current_error_port.
Changed all uses.
2004-01-07 18:03:46 +00:00
Marius Vollmer
0888de4fd1 * dynwind.c (scm_frame_end): Do not use scm_i_dowinds. Instead, do
the unwinding directly.  It is simple enough.

* dynwind.h, dynwind.c: Did the following renamings:
scm_begin_frame -> scm_frame_begin,
scm_end_frame -> scm_frame_end,
scm_on_unwind -> scm_frame_unwind,
scm_on_rewind -> scm_frame_rewind,
scm_on_unwind_with_scm -> scm_frame_unwind_with_scm,
scm_on_rewind_with_scm -> scm_frame_rewind_with_scm.
Changed all uses.
2004-01-07 18:03:33 +00:00
Marius Vollmer
dfe610a085 Did the follwing renamings: scm_with_blocked_asyncs ->
scm_frame_block_asyncs, scm_with_unblocked_asyncs ->
scm_frame_unblock_asyncs.  Changed all uses.
2004-01-07 18:03:18 +00:00
Kevin Ryde
ba40113e70 *** empty log message *** 2004-01-06 23:45:42 +00:00
Kevin Ryde
be24d06003 (SCM_MUTEX_MAXSIZE): Increase to 12*sizeof(long),
for the benefit of powerpc-apple-darwin5.5.  Reported by Richard Todd.
2004-01-06 23:40:08 +00:00
Kevin Ryde
2359c543be *** empty log message *** 2004-01-06 22:21:01 +00:00
Kevin Ryde
aa52913700 * Makefile.am (SCM_TESTS): Add unif.test. 2004-01-06 22:20:19 +00:00
Kevin Ryde
f410f8e7ba New file.
(uniform-array-set1!): Exercise this, in particular previous segv on
improper arg list.
2004-01-06 22:19:23 +00:00
Kevin Ryde
298ab99633 *** empty log message *** 2004-01-06 22:15:55 +00:00
Kevin Ryde
18e2aba379 Add copyright years. 2004-01-06 22:14:44 +00:00
Kevin Ryde
1382414987 (scm_aind): Test SCM_CONSP rather than !SCM_NULLP while
traversing the args list, fixes segv if an improper list is given.
Reported by Rouben Rostamian.
2004-01-06 22:13:08 +00:00
Kevin Ryde
524cbf6449 *** empty log message *** 2004-01-06 22:05:12 +00:00
Kevin Ryde
238ebcef24 (s_bignum): Remove, not used since gmp bignums.
Reported by Richard Todd.
2004-01-06 21:55:29 +00:00
Kevin Ryde
fe89421e30 (<): Add tests inum/bignum/flonum/frac with frac. 2004-01-06 21:48:33 +00:00
Kevin Ryde
f14d16ed3a Add copyright and license notice. 2004-01-06 21:47:09 +00:00
Kevin Ryde
e130b09ffa (SCM_TESTS): Add q.test. 2004-01-06 21:45:48 +00:00
Kevin Ryde
8f85f93d88 New file.
(q-pop!): Exercise this, in particular the "not/null?" bug reported by
Richard Todd.
2004-01-06 21:43:55 +00:00
Kevin Ryde
b41478a13d (q-pop!): Should be "null?" not "not" for end-of-list.
Reported by Richard Todd.
2004-01-06 21:38:34 +00:00
Marius Vollmer
aacff585bc *** empty log message *** 2004-01-06 18:17:30 +00:00
Marius Vollmer
becc4b2716 Document scm_on_unwind_with_scm and scm_on_rewind_with_scm. 2004-01-06 18:17:17 +00:00
Marius Vollmer
c05d0e8f1e (close_port, delete_file, check_ports): New. 2004-01-06 18:13:51 +00:00
Marius Vollmer
9320d21970 dynwind.h (SCM_F_WIND_EXPLICITELY, SCM_F_WIND_EXPLICITLY): It's
"explicitly" not "explicitely", damn.  Changed all uses.
2004-01-06 18:11:55 +00:00
Marius Vollmer
b42170a484 (swap_ports, scm_with_current_foo_port): Do not allocate swap_data on
stack, use a 'malloc obj'.
2004-01-06 18:09:42 +00:00
Marius Vollmer
a52dbe0177 (scm_make_initial_fluids, scm_copy_fluids, scm_swap_fluids,
scm_swap_fluids_reverse): Renamed to scm_i_... since they are
internal.  Changed all uses.
2004-01-06 18:08:31 +00:00
Marius Vollmer
a520e4f0d0 (frame_print): Removed, use the default printer. (WINDER_F_MARK,
WINDER_MARK_P, winder_mark): New.  (scm_on_unwind_with_scm,
scm_on_rewind_with_scm): New. Use above to protect SCM values.
2004-01-06 18:04:47 +00:00
Marius Vollmer
62f3c0957e (SCM_F_WIND_EXPLICITELY, SCM_F_WIND_EXPLICITLY): It's "explicitly" not
"explicitely", damn.  Changed all uses.
2004-01-06 17:57:41 +00:00