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

10478 commits

Author SHA1 Message Date
Marius Vollmer
4deda5735b 1.7.91... 2006-02-13 21:43:49 +00:00
Marius Vollmer
db02fb2bcb (Object Properties): Removed confusing
paragraph about 'name' property.
2006-02-13 21:43:17 +00:00
Marius Vollmer
b712c10755 (Object Properties): Removed confusing
paragraph about 'name' property.
2006-02-13 21:42:41 +00:00
Marius Vollmer
677ad9d214 (scm_eval_body): Use scm_i_dynwind_pthread_mutex_lock
oinstead of scm_dynwind_pthread_mutex_lock so that it works when
configured --without-threads.
(SCM_APPLY, CEVAL): Likewise.  Thanks to Han-Wen Nienhuys!
2006-02-12 22:54:29 +00:00
Marius Vollmer
ba500ec099 Bumped version to 1.7.91. 2006-02-12 15:07:23 +00:00
Marius Vollmer
0ab652a386 Added 2006 to copyright years in every file, as per the new rules. 2006-02-12 13:42:52 +00:00
Marius Vollmer
c3eed9ee87 Fixed typo. 2006-02-12 12:40:58 +00:00
Marius Vollmer
f80187cd4e Fixed typo, use --without-threads instead of --with-threads to
emphasize the default.
2006-02-12 12:38:57 +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
Marius Vollmer
32cace4252 Fixed typo. 2006-02-12 00:57:56 +00:00
Marius Vollmer
bbcade428b * 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 paramater is omitted, as documented, but
turn #\nul into 0 since s8 arrays (signified by a #\nul prototype)
can not store characters.
2006-02-12 00:57:14 +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
Neil Jerram
58b1ceaf5c (scm_c_make_socket_address): Pass address_size pointer
on to scm_fill_sockaddr call.
2006-02-09 14:08:12 +00:00
Kevin Ryde
1a5e18b5ef *** empty log message *** 2006-02-07 00:09:41 +00:00
Kevin Ryde
9595f0019b (pure-funcq): New tests. 2006-02-07 00:08:22 +00:00
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