Marius Vollmer [Fri, 4 Mar 2005 17:54:50 +0000 (17:54 +0000)]
(scm_try_mutex): Renamed argument for consistency.
Marius Vollmer [Fri, 4 Mar 2005 17:06:34 +0000 (17:06 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 4 Mar 2005 17:06:19 +0000 (17:06 +0000)]
(scm_call_with_dynamic_root): New docstring.
Marius Vollmer [Fri, 4 Mar 2005 16:57:17 +0000 (16:57 +0000)]
Updates.
Marius Vollmer [Fri, 4 Mar 2005 16:05:01 +0000 (16:05 +0000)]
Talk about new init functions.
Marius Vollmer [Fri, 4 Mar 2005 16:04:22 +0000 (16:04 +0000)]
Use smobs as an example for 'remembering'. Mention continuation barriers.
Marius Vollmer [Fri, 4 Mar 2005 15:48:18 +0000 (15:48 +0000)]
Reference "Blocking" for scm_leave_guile/scm_enter_guile.
Marius Vollmer [Fri, 4 Mar 2005 15:47:48 +0000 (15:47 +0000)]
Better docs for leaving guile mode.
Marius Vollmer [Fri, 4 Mar 2005 14:22:41 +0000 (14:22 +0000)]
Use ``...'' instead of "...". The latter doesn't seem to work for
some reason.
Marius Vollmer [Fri, 4 Mar 2005 14:21:01 +0000 (14:21 +0000)]
Specify return type for scm_c_array_rank.
Marius Vollmer [Fri, 4 Mar 2005 12:11:10 +0000 (12:11 +0000)]
Define _GNU_SOURCE.
Marius Vollmer [Wed, 2 Mar 2005 20:56:45 +0000 (20:56 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 2 Mar 2005 20:56:34 +0000 (20:56 +0000)]
Use scm_current_input_port instead of scm_cur_inp. Use scm_std_select
instead of scm_internal_select.
Marius Vollmer [Wed, 2 Mar 2005 20:55:17 +0000 (20:55 +0000)]
Only test when 'threads are provided.
Marius Vollmer [Wed, 2 Mar 2005 20:54:40 +0000 (20:54 +0000)]
Additions.
Marius Vollmer [Wed, 2 Mar 2005 20:53:19 +0000 (20:53 +0000)]
Do not check for fast or recursive mutexes. Check
for pthread_attr_getstack.
(SCM_I_GSC_USE_COOP_THREADS): Dot not subst.
(pthread_mutexattr_settype): Do not check for it.
Marius Vollmer [Wed, 2 Mar 2005 20:50:48 +0000 (20:50 +0000)]
Use scm_is_pair instead of SCM_CONSP; use scm_is_null instead of
SCM_NULLP.
Marius Vollmer [Wed, 2 Mar 2005 20:46:41 +0000 (20:46 +0000)]
Updates for the new thread stuff.
Marius Vollmer [Wed, 2 Mar 2005 20:42:01 +0000 (20:42 +0000)]
See ChangeLog from 2005-03-02.
Marius Vollmer [Wed, 2 Mar 2005 20:14:59 +0000 (20:14 +0000)]
(scm_frame_current_module): New.
Marius Vollmer [Wed, 2 Mar 2005 20:13:53 +0000 (20:13 +0000)]
(scm_primitive_load): Use scm_i_frame_current_load_port instead of
scm_internal_dynamic_wind.
Marius Vollmer [Wed, 2 Mar 2005 20:11:55 +0000 (20:11 +0000)]
Removed obsolete comment.
Marius Vollmer [Wed, 2 Mar 2005 20:05:38 +0000 (20:05 +0000)]
(scm_hash_fn_create_handle_x, scm_hash_fn_remove_x): Use "!scm_is_eq"
instead of "!=".
Marius Vollmer [Wed, 2 Mar 2005 19:58:26 +0000 (19:58 +0000)]
(SCM_I_GSC_USE_COOP_THREADS, SCM_USE_COOP_THREADS): Removed.
Marius Vollmer [Wed, 2 Mar 2005 19:40:20 +0000 (19:40 +0000)]
(progargs_fluid): New.
(scm_program_arguments, scm_set_program_arguments): Use it instead
of scm_progargs.
(scm_init_feature): Allocate it. Also, only add "threads" feature
when SCM_USE_PTHREAD_THREADS is true.
Marius Vollmer [Wed, 2 Mar 2005 18:50:45 +0000 (18:50 +0000)]
Comment on #endif
Marius Vollmer [Wed, 2 Mar 2005 16:41:01 +0000 (16:41 +0000)]
* Makefile.am (modinclude_HEADER): Removed threads-plugin.h.
(libguile_la_SOURCES): Added null-threads.c
(EXTRA_libguile_la_SOURCES): Removed pthread-threads.c and
threads-plugin.c.
* pthread-threads.c, threads-plugin.c, threads-plugin.h: Removed.
Kevin Ryde [Mon, 28 Feb 2005 23:01:48 +0000 (23:01 +0000)]
*** empty log message ***
Kevin Ryde [Mon, 28 Feb 2005 22:58:03 +0000 (22:58 +0000)]
More of:
(Shared Arrays): New section.
Kevin Ryde [Mon, 28 Feb 2005 22:57:10 +0000 (22:57 +0000)]
(Shared Arrays): Rewrite make-shared-array for clarity, adding examples.
Kevin Ryde [Mon, 28 Feb 2005 22:46:08 +0000 (22:46 +0000)]
(Shared Arrays): New section.
Kevin Ryde [Mon, 28 Feb 2005 22:36:26 +0000 (22:36 +0000)]
*** empty log message ***
Kevin Ryde [Mon, 28 Feb 2005 22:35:51 +0000 (22:35 +0000)]
(Control Flow): Cross reference Tail Calls.
Marius Vollmer [Mon, 28 Feb 2005 02:46:46 +0000 (02:46 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 28 Feb 2005 02:46:30 +0000 (02:46 +0000)]
Add '--verbose' option to autoreconf invocation. Thanks to Bruno
Haible.
Marius Vollmer [Mon, 28 Feb 2005 02:45:10 +0000 (02:45 +0000)]
docs for scm_c_array_rank.
Marius Vollmer [Mon, 28 Feb 2005 01:21:54 +0000 (01:21 +0000)]
Removed references to text "below" that does not exist in this file.
Kevin Ryde [Mon, 28 Feb 2005 00:33:40 +0000 (00:33 +0000)]
More of:
(SRFI-1 Fold and Map): Rewrite fold, pair-fold and reduce for clarity.
Marius Vollmer [Sun, 27 Feb 2005 23:52:04 +0000 (23:52 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 27 Feb 2005 23:50:30 +0000 (23:50 +0000)]
(scm_setsockopt): Handle IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP
options. Also, reorganized the code a bit for cleanliness. Thanks to
Greg Troxel!
Mikael Djurfeldt [Sun, 27 Feb 2005 00:04:56 +0000 (00:04 +0000)]
Bugfix: Include <libguile.h> outside of the extern "C"
block.
Kevin Ryde [Fri, 25 Feb 2005 23:09:33 +0000 (23:09 +0000)]
In format, note no parameters to ~( case conversion.
Marius Vollmer [Fri, 25 Feb 2005 22:36:07 +0000 (22:36 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 25 Feb 2005 22:35:26 +0000 (22:35 +0000)]
(scm_i_rehash): Remove elements from old bucket vector
so that no two weak alist vectors share a spine.
(scm_hash_fn_create_handle_x): Deal with a possible rehashing
during GC before inserting the new alist cell.
Marius Vollmer [Fri, 25 Feb 2005 21:22:44 +0000 (21:22 +0000)]
(scm_i_rehash): Remove elements from old bucket vector so that no two
weak alist vectors share a spine.
Marius Vollmer [Wed, 23 Feb 2005 17:24:38 +0000 (17:24 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 23 Feb 2005 17:24:19 +0000 (17:24 +0000)]
* hashtab.c (scm_i_rehash): Cope with the case that a GC modifies
the hashtable.
(scm_hash_fn_create_handle_x): Likewise.
* vectors.h (SCM_I_SET_WVECT_TYPE): New, for use in scm_i_rehash.
Kevin Ryde [Sun, 20 Feb 2005 22:56:16 +0000 (22:56 +0000)]
*** empty log message ***
Kevin Ryde [Sun, 20 Feb 2005 22:55:53 +0000 (22:55 +0000)]
(string->number): Exercise polar form with invalid angle.
Kevin Ryde [Thu, 17 Feb 2005 21:25:25 +0000 (21:25 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 17 Feb 2005 21:18:31 +0000 (21:18 +0000)]
(Reals and Rationals): Use tex for sqrt2 and pi.
(Complex Numbers): Add polar form read syntax.
Kevin Ryde [Thu, 17 Feb 2005 21:15:46 +0000 (21:15 +0000)]
(lset-adjoin): Amend tests to expect duplicates among args cast out.
Kevin Ryde [Thu, 17 Feb 2005 21:07:22 +0000 (21:07 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 17 Feb 2005 20:51:00 +0000 (20:51 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 17 Feb 2005 20:35:11 +0000 (20:35 +0000)]
(lset-adjoin): Revert change using `list' not `acc', the
spec is not quite clear, but reference code uses acc, so do that.
Kevin Ryde [Mon, 14 Feb 2005 23:45:40 +0000 (23:45 +0000)]
*** empty log message ***
Kevin Ryde [Mon, 14 Feb 2005 23:44:43 +0000 (23:44 +0000)]
(Tail Calls): New section.
Kevin Ryde [Mon, 14 Feb 2005 23:37:28 +0000 (23:37 +0000)]
(File System): In tmpnam, clarify security and use of
O_EXCL. In mkstemp!, in fact posix doesn't specify permissions.
Kevin Ryde [Mon, 14 Feb 2005 23:15:08 +0000 (23:15 +0000)]
Add a copyright year.
Kevin Ryde [Mon, 14 Feb 2005 23:14:35 +0000 (23:14 +0000)]
In scm_difference, amend comment about normbig.
Rob Browning [Sat, 12 Feb 2005 06:15:51 +0000 (06:15 +0000)]
*** empty log message ***
Rob Browning [Sat, 12 Feb 2005 06:15:25 +0000 (06:15 +0000)]
(check_SCRIPTS): add test-require-extension.
(TESTS): add test-require-extension.
Rob Browning [Sat, 12 Feb 2005 06:15:07 +0000 (06:15 +0000)]
* standalone/test-require-extension: new test script.
Rob Browning [Sat, 12 Feb 2005 06:12:21 +0000 (06:12 +0000)]
(%cond-expand-features): add srfi-55.
(require-extension): add require-extension macro for srfi-55.
Kevin Ryde [Fri, 11 Feb 2005 22:04:13 +0000 (22:04 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 11 Feb 2005 22:03:48 +0000 (22:03 +0000)]
(SRFI-1 Fold and Map): Rewrite fold, pair-fold and
reduce for clarity.
Kevin Ryde [Fri, 11 Feb 2005 21:47:59 +0000 (21:47 +0000)]
(Integer Operations): In gcd and lcm, show args.
(Arithmetic): In truncate, add missing arg.
Kevin Ryde [Fri, 11 Feb 2005 21:44:44 +0000 (21:44 +0000)]
(String Selection): In string-pad and
string-pad-right, clarify which end the padding goes on, and merge
descriptions.
Kevin Ryde [Fri, 11 Feb 2005 21:42:29 +0000 (21:42 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 11 Feb 2005 21:40:32 +0000 (21:40 +0000)]
(reduce, reduce-right): New tests.
Kevin Ryde [Fri, 11 Feb 2005 21:37:08 +0000 (21:37 +0000)]
(reduce, reduce-right): Don't call f with ridentity, use
it only if lst is empty, per srfi and intended optimization reduce
represents over fold.
Kevin Ryde [Thu, 10 Feb 2005 20:37:57 +0000 (20:37 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 10 Feb 2005 20:37:19 +0000 (20:37 +0000)]
(ash): Remove tests of ash on fractions, not
supported after scm_ash rewrite.
Mikael Djurfeldt [Thu, 10 Feb 2005 14:40:10 +0000 (14:40 +0000)]
(build-link): Replaced -lguile-ltdl with -lltdl.
Mikael Djurfeldt [Thu, 10 Feb 2005 11:15:50 +0000 (11:15 +0000)]
(prototype_to_type): Bugfix: Don't compare prototype to
the prototypical examples mentioned in the old reference manual.
Instead keep the old semantics of dispatching on type. (Yes, this
is extremely ugly, but the whole point of keeping the deprecated
interface is not to break old code.)
Mikael Djurfeldt [Tue, 8 Feb 2005 19:19:03 +0000 (19:19 +0000)]
Typo.
Mikael Djurfeldt [Tue, 8 Feb 2005 18:58:37 +0000 (18:58 +0000)]
(SCM_ARRAY_DIMS): Rename scm_i_attay_dims -->
scm_i_array_dims.
Kevin Ryde [Fri, 4 Feb 2005 22:42:27 +0000 (22:42 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 4 Feb 2005 22:40:21 +0000 (22:40 +0000)]
(File System): In mkstemp!, in fact posix doesn't specify
the permissions mode. Add an example setting 666 less umask.
Kevin Ryde [Thu, 3 Feb 2005 23:24:16 +0000 (23:24 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 3 Feb 2005 23:20:08 +0000 (23:20 +0000)]
(list=): New tests.
Kevin Ryde [Thu, 3 Feb 2005 23:18:59 +0000 (23:18 +0000)]
(list=): Correction to arguments passed to given elt=,
spec is (elt= e[i] e[i+1]) for lists i and i+1, previously the first
arg was always from list 0 not list i.
Kevin Ryde [Thu, 3 Feb 2005 23:17:50 +0000 (23:17 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 3 Feb 2005 23:17:27 +0000 (23:17 +0000)]
(File Ports): In port-filename, cannot use after close.
Kevin Ryde [Thu, 3 Feb 2005 23:16:35 +0000 (23:16 +0000)]
(Time): In mktime, clarify fields of sbd-time used, and
the handling of tm:isdst.
Kevin Ryde [Thu, 3 Feb 2005 23:10:20 +0000 (23:10 +0000)]
(SRFI-0): Add srfi-4, srfi-13 and srfi-14 now in the core.
Kevin Ryde [Thu, 3 Feb 2005 22:59:47 +0000 (22:59 +0000)]
A bit clearer for:
(SRFI-1 Searching): In list-index, note 0 based index and #f for not found.
Kevin Ryde [Fri, 28 Jan 2005 21:54:15 +0000 (21:54 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 28 Jan 2005 21:53:47 +0000 (21:53 +0000)]
(remove): Rewrite in C, a trivial adaption from scm_filter in the core.
Kevin Ryde [Fri, 28 Jan 2005 21:51:15 +0000 (21:51 +0000)]
(remove): Rewrite in C, a trivial adaption from scm_filter in the core.
(remove!): Use filter!.
Kevin Ryde [Fri, 28 Jan 2005 21:49:09 +0000 (21:49 +0000)]
(remove!): New tests.
Kevin Ryde [Fri, 28 Jan 2005 21:44:51 +0000 (21:44 +0000)]
(remove): New tests.
Kevin Ryde [Fri, 28 Jan 2005 21:44:19 +0000 (21:44 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 28 Jan 2005 21:34:20 +0000 (21:34 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 28 Jan 2005 21:30:47 +0000 (21:30 +0000)]
(lset-adjoin): Actually use the given `=' procedure.
Test membership only on the given `list', not `acc', as per the spec.
Kevin Ryde [Fri, 28 Jan 2005 21:19:20 +0000 (21:19 +0000)]
Add a copyright year.
Kevin Ryde [Fri, 28 Jan 2005 21:18:55 +0000 (21:18 +0000)]
(ash): New tests.
Kevin Ryde [Fri, 28 Jan 2005 21:18:01 +0000 (21:18 +0000)]
(lset-adjoin): New tests.
Kevin Ryde [Fri, 28 Jan 2005 21:11:28 +0000 (21:11 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 28 Jan 2005 21:10:55 +0000 (21:10 +0000)]
(regexp-quote): Use string-for-each, now that function is
in the core.