1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 02:40:17 +02:00
Commit graph

10141 commits

Author SHA1 Message Date
Ludovic Courtès
42be21d82a Changes from arch/CVS synchronization 2006-06-16 07:39:59 +00:00
Ludovic Courtès
ad97642e70 Changes from arch/CVS synchronization 2006-06-13 08:14:01 +00:00
Ludovic Courtès
487f6be131 Added `structs.test'. 2006-06-13 07:56:41 +00:00
Ludovic Courtès
d15ad007c9 Changes from arch/CVS synchronization 2006-06-13 07:48:42 +00:00
Neil Jerram
d79a62db53 (ACX_PTHREAD): Update to latest definition from
autoconf macro archive, to fix pthread linking problem on Solaris
10, reported by Charles Gagnon.
2006-06-06 21:39:43 +00:00
Marius Vollmer
af4f861210 * eq.c (scm_equal_p): Use scm_array_equal_p explicitely when one
of the arguments is a array.  This allows vectors to be equal to
one-dimensional arrays.

* tests/unif.test ("vector equal? one-dimensional array"): New.
2006-05-29 21:54:13 +00:00
Marius Vollmer
18bffcd0f7 (scm_ithrow): When looking for the jmpbuf, first test that we have a
pair before accessing its cdr.  Thanks to Bill Schottstaedt!
2006-05-29 20:35:48 +00:00
Marius Vollmer
c56c0f7966 Delete test file after all tests have run in order to make "make
distcheck" work.
2006-05-27 22:24:24 +00:00
Marius Vollmer
b0c0a310db Replace SCM_C_INLINE with SCM_C_INLINE_KEYWORD. Thanks to Mark Gran! 2006-05-27 21:32:22 +00:00
Marius Vollmer
4a342b19e2 *** empty log message *** 2006-05-27 21:31:32 +00:00
Marius Vollmer
d7ddf33db7 *** empty log message *** 2006-05-27 21:05:07 +00:00
Marius Vollmer
d3774e2c7f (CELL_P): Also check that the potential pointer is
correctly aligned for a cell.  Thanks to Miroslav Lichvar!
2006-05-07 22:51:06 +00:00
Marius Vollmer
7f9da94135 (SCM_BENCHMARKS_DIRS, dist-hook): Removed, they are
no longer needed and lead to unclean tarballs.
2006-05-01 21:32:21 +00:00
Marius Vollmer
03a254501a Changed "1.7" to "1.10" in description of the effective version.
Thanks to Jon Wilson!
2006-05-01 21:07:20 +00:00
Kevin Ryde
73350cf559 *** empty log message *** 2006-04-17 01:48:50 +00:00
Kevin Ryde
9560d8bba4 (lstat): Allow for test-symlink not existing yet. 2006-04-17 01:48:14 +00:00
Kevin Ryde
34646b1062 *** empty log message *** 2006-04-17 01:36:55 +00:00
Kevin Ryde
6cecdff760 Bump lib file version to libguilereadline-v-18,
matching LIBGUILEREADLINE-VERSION.
2006-04-17 01:35:37 +00:00
Kevin Ryde
281ab5e22e *** empty log message *** 2006-04-17 01:26:12 +00:00
Kevin Ryde
b4716c8d4f (scm_to_off_t, scm_from_off_t): No error if unknown off_t
size, to help the guile-readline build where off_t is unused.
2006-04-17 01:23:37 +00:00
Kevin Ryde
4800a61a6c Correction to "not a Guile release" warning, show 1.8 not 1.6. 2006-04-17 00:38:33 +00:00
Kevin Ryde
ab0883a20b drop extra 2006-02-06 heading 2006-04-17 00:29:38 +00:00
Kevin Ryde
3eccf6150b unduplicate --enable-arrays removal entry 2006-04-17 00:20:43 +00:00
Kevin Ryde
4f41661657 merge from 1.8 branch 2006-04-17 00:18:11 +00:00
Kevin Ryde
2b829bbb3d merge from 1.8 branch 2006-04-17 00:05:42 +00:00
Kevin Ryde
cd5fea8dbe merge from 1.8 branch 2006-04-16 23:43:48 +00:00
Kevin Ryde
6e7d5622ee merge from 1.8 branch 2006-04-16 23:37:40 +00:00
Kevin Ryde
1b09b607dd merge from 1.8 branch 2006-04-16 23:18:55 +00:00
Kevin Ryde
35369f4576 merge from 1.8 branch 2006-04-16 23:05:07 +00:00
Mikael Djurfeldt
4a9f83ff06 Test for SCM_HAVE_T_UINT64 instead of
SCM_HAVE_T_INT64.
(scm_i_uniform32, scm_i_uniform32, scm_i_init_rstate): Use
scm_t_uint64 and scm_t_uint32 instead of scm_t_int64 and
scm_t_int32.
2006-02-19 16:34:51 +00:00
Han-Wen Nienhuys
4c7016dc06 Ludovic's patch for scm_t_sweep_statistics. 2006-02-14 11:38:30 +00:00
Marius Vollmer
b712c10755 (Object Properties): Removed confusing
paragraph about 'name' property.
2006-02-13 21:42:41 +00:00
Marius Vollmer
1aaa1c171e * deprecated.scm (make-uniform-array): Don't pass the prototype as
the fill value, dimensions->uniform-array will do the right thing
now.  See scm_dimensions_to_uniform_array why we need to be tricky
about the fill value.

* unif.c (scm_dimensions_to_uniform_array): Use the prototype for
filling when the fill parameter is omitted, as documented, but
turn #\nul into 0 since s8 arrays (signified by a #\nul prototype)
can not store characters.
2006-02-12 01:01:46 +00:00
Neil Jerram
d7c6575f3f (scm_c_make_socket_address): Pass address_size pointer
on to scm_fill_sockaddr call.
2006-02-09 14:27:05 +00:00
Marius Vollmer
349b48f9a9 Bumped versions for 1.9 series. 2006-02-05 22:57:57 +00:00
Marius Vollmer
31a4ff3e3d (Basic Generic Function Creation): Added blurb about
merge-generics duplicates handler from NEWS-
2006-02-05 22:57:34 +00:00
Marius Vollmer
2a0d4b5559 * configure.in: Removed --enable-arrays option. 2006-02-05 22:56:51 +00:00
Marius Vollmer
0f24e75b73 * GUILE-VERSION: Bumped versions for 1.9 series.
* srfi-1.scm, srfi-60.scm: Updated versions in library name to
match GUILE-VERSION.
2006-02-05 22:56:34 +00:00
Neil Jerram
2328328f85 * boot-9.scm (try-module-autoload): Make sure that module code is
loaded with the default reader (current-reader #f).  Thanks to
Ludovic Courtès for pointing this problem out.
2006-02-04 15:57:16 +00:00
Neil Jerram
26beee1e74 19 new test cases.
(throw-test): New macro for testing catches and throw handlers.
2006-02-04 14:36:43 +00:00
Neil Jerram
43e01b1ee3 * throw.h (scm_c_catch, scm_c_with_throw_handler,
scm_catch_with_pre_unwind_handler, scm_with_throw_handler): New.

* throw.c (SCM_JBPREUNWIND, SCM_SETJBPREUNWIND): New.
(struct pre_unwind_data): New, replaces struct lazy_catch.
(scm_c_catch): New, replaces scm_internal_catch as the primary
catch API for C code; adds pre-unwind handler support.
(scm_internal_catch): Now just a wrapper for scm_c_catch, for back
compatibility.
(tc16_pre_unwind_data, pre_unwind_data_print,
make_pre_unwind_data, SCM_PRE_UNWIND_DATA_P): Renamed from
"lazy_catch" equivalents.
(scm_c_with_throw_handler): New, replaces scm_internal_lazy_catch
as the primary C API for a "lazy" catch.
(scm_internal_lazy_catch): Now just a wrapper for
scm_c_with_throw_handler, for back compatibility.
(scm_catch_with_pre_unwind_handler): Renamed from scm_catch; adds
pre-unwind handler support.
(scm_catch): Now just a wrapper for
scm_catch_with_pre_unwind_handler, for back compatibility.
(scm_with_throw_handler): New.
(scm_lazy_catch): Update comment to say that the handler can
return, and what happens if it does.
(toggle_pre_unwind_running): New.
(scm_ithrow): When identifying the throw target, take running
flags into account.  In general, change naming of things from
"lazy_catch" to "pre_unwind".  When throwing to a throw handler,
don't unwind the dynamic context first.  Add dynwind framing to
manage the running flag of a throw handler.  If a lazy catch or
throw handler returns, rethrow the same exception again.  Add
pre-unwind support to the normal catch case (SCM_JMPBUFP).

* root.c (scm_internal_cwdr): Add NULL args to
scm_i_with_continuation_barrier call.

* dynwind.c: Change comment mentioning lazy-catch to mention
pre-unwind data and throw handler also.

* continuations.h (scm_i_with_continuation_barrier): Add
pre-unwind handler args.

* continuations.c (scm_i_with_continuation_barrier): Add
pre-unwind handler args, and pass on to scm_c_catch (changed from
scm_internal_catch).
(c_handler): Remove scm_handle_by_message_noexit call.
(scm_c_with_continuation_barrier): Call
scm_i_with_continuation_barrier with scm_handle_by_message_noexit
as the pre-unwind handler.
(scm_handler): Remove scm_handle_by_message_noexit call.
(s_scm_with_continuation_barrier): Call
scm_i_with_continuation_barrier with scm_handle_by_message_noexit
as the pre-unwind handler.
2006-02-04 14:36:24 +00:00
Neil Jerram
56658166b2 * stack-catch.scm (stack-catch): Use catch pre-unwind handler
instead of lazy-catch.

* boot-9.scm (error-catching-loop): Use catch pre-unwind handler
instead of lazy-catch.
2006-02-04 14:36:06 +00:00
Neil Jerram
7b4c914e49 (Throw Handlers): New node.
(Throw): Moved to after the Lazy Catch node.
(Catch): Enhance to cover the optional pre-unwind handler, and new
APIs scm_c_catch, scm_catch_with_pre_unwind_handler.
(Lazy Catch): Describe relationship to with-throw-handler.
Document that the handler may return, and what happens if it does.
(Throw): Mention that a throw can be handled by a throw handler as
well as by a catch.
2006-02-04 14:35:53 +00:00
Kevin Ryde
ba28d59428 *** empty log message *** 2006-02-04 01:01:23 +00:00
Kevin Ryde
99d1677605 (Network Address Conversion, Network Databases)
(Network Sockets and Communication, Internet Socket Examples): Misc
tweaks.
2006-02-04 01:00:57 +00:00
Kevin Ryde
f36978c9ce *** empty log message *** 2006-02-04 00:56:35 +00:00
Kevin Ryde
2d6e3bd4c0 Use the equal proc argument, so we exercise the
srfi-1 version of the code.  Without such an argument srfi-1.c passes
the job to the core scm_delete.
2006-02-04 00:54:24 +00:00
Kevin Ryde
cf9d3c47fd (scm_srfi1_delete, scm_srfi1_delete_duplicates): Use a
count to protect against nasty code in the equality procedure changing
the lists we're working on.  The results don't have to be sensible in
that case, just not hang or access non-cells.
2006-02-04 00:50:39 +00:00
Kevin Ryde
6459d139d5 wrong @subsection in my last 2006-02-04 00:27:20 +00:00
Kevin Ryde
ef5f91637b (Compiled Code Installation): New section. 2006-02-04 00:24:37 +00:00