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

10513 commits

Author SHA1 Message Date
Kevin Ryde
4f09cd6df6 *** empty log message *** 2006-02-07 00:04:36 +00:00
Kevin Ryde
6cf755c27c (Compiled Code Installation): Revise, in particular
@libdir@ needs to go via the makefile.
2006-02-07 00:02:48 +00:00
Kevin Ryde
689596d425 *** empty log message *** 2006-02-06 20:43:27 +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
Marius Vollmer
31741c4464 Bumped versions for 1.8. 2006-02-05 22:50:05 +00:00
Marius Vollmer
c98f12f1a5 Branched for 1.8 series.
* GUILE-VERSION: Bumped version numbers.

	* configure.in: Removed --enable-arrays option.

	* srfi-1.scm, srfi-60.scm: Updated versions in library name to
	match GUILE-VERSION.

	* goops.texi (Basic Generic Function Creation): Added blurb about
	merge-generics duplicates handler from NEWS-
2006-02-05 22:49:28 +00:00
cvs2svn
dda1922695 This commit was manufactured by cvs2svn to create branch
'branch_release-1-8'.
2006-02-04 15:57:18 +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
Kevin Ryde
7746d6da07 *** empty log message *** 2006-02-04 00:00:45 +00:00
Kevin Ryde
5f30c653d9 pxref libtool manual. 2006-02-03 23:59:59 +00:00
Kevin Ryde
73e4653400 (Build Config): pxref libtool on libguileinterface version info. 2006-02-03 23:58:40 +00:00
Kevin Ryde
71c7cfa502 (scm_mark_all): Fix c99-isms "loops" and "again" variables. 2006-02-03 23:49:37 +00:00
Kevin Ryde
f14a93dfe4 *** empty log message *** 2006-02-03 23:40:21 +00:00
Kevin Ryde
d7a88afe37 Add test-list.c 2006-02-03 23:38:51 +00:00
Kevin Ryde
2948fc75bd standalone/test-list.c: New file. 2006-02-03 23:34:48 +00:00
Kevin Ryde
0aa90220ed *** empty log message *** 2006-02-03 23:31:58 +00:00
Kevin Ryde
ad250b8d1f (booleans->integer): Avoid newline in macro, it breaks the snarfer. 2006-02-03 23:31:25 +00:00
Kevin Ryde
e46e8468a5 add a copyright year for 2005 changes 2006-02-02 21:27:44 +00:00
Kevin Ryde
7209892804 *** empty log message *** 2006-02-02 21:20:46 +00:00
Kevin Ryde
303bddc879 (scm_list): Restore this function for use from C.
It's a complete no-op but in theory might used by someone.
2006-02-02 21:15:48 +00:00
Kevin Ryde
1443643fd8 copyright year for marius' last change 2006-02-02 21:13:15 +00:00
Kevin Ryde
7a5e7cba5e *** empty log message *** 2006-02-02 20:59:54 +00:00
Kevin Ryde
1d314ec23b 2006-02-01 Ludovic Courtès <ludovic.courtes@laas.fr>
* deprecated.scm (make-uniform-array): Fill the returned vector with
	PROT, per guile 1.6 behaviour.
2006-02-02 20:48:44 +00:00
Marius Vollmer
aa092c5d7f *** empty log message *** 2006-01-29 23:13:11 +00:00
Marius Vollmer
cce0e9c875 (scm_eval_body): Lock source_mutex with a dynwind context
so that it gets unlocked in all cases.
(SCM_APPLY, CEVAL): Likewise.
2006-01-29 23:12:01 +00:00
Marius Vollmer
e28cd808dc *** empty log message *** 2006-01-29 22:44:52 +00:00
Marius Vollmer
680d514090 Export %thread-handler.
It's join-thread, not thread-join.
2006-01-29 22:44:15 +00:00
Marius Vollmer
ee51ba3115 *** empty log message *** 2006-01-29 20:00:14 +00:00
Marius Vollmer
718866aa75 (scm_array_map_x): Don't use scm_array_p, use scm_is_typed_array
instead.
2006-01-29 19:59:51 +00:00
Marius Vollmer
3c55760aa3 Don't mention futures. 2006-01-29 19:46:30 +00:00
Marius Vollmer
cc19cda7a8 Removed "Futures" node. 2006-01-29 19:45:54 +00:00
Marius Vollmer
a64d058951 Replaced 'futures' with threads. 2006-01-29 19:44:45 +00:00
Marius Vollmer
99e370f645 *** empty log message *** 2006-01-29 19:38:29 +00:00
Marius Vollmer
2f263a6a0b * futures.h, futures.c: Wrap whole contents in "#if 0"/"#endif".
* eval.c, init.c: Comment out all 'future' related things.
2006-01-29 19:09:52 +00:00
Marius Vollmer
661ae7ab6b Renamed the "frames" that are related to dynamic-wind to "dynamic
contexts.  Renamed all functions from scm_frame_ to scm_dynwind_.
Updated documentation.
2006-01-29 00:23:28 +00:00
Marius Vollmer
15ccf10bf2 *** empty log message *** 2006-01-28 22:01:58 +00:00