bpt/guile.git
19 years agoSee ChangeLog from 2005-03-02.
Marius Vollmer [Wed, 2 Mar 2005 20:42:01 +0000 (20:42 +0000)]
See ChangeLog from 2005-03-02.

19 years ago(scm_frame_current_module): New.
Marius Vollmer [Wed, 2 Mar 2005 20:14:59 +0000 (20:14 +0000)]
(scm_frame_current_module): New.

19 years ago(scm_primitive_load): Use scm_i_frame_current_load_port instead of
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.

19 years agoRemoved obsolete comment.
Marius Vollmer [Wed, 2 Mar 2005 20:11:55 +0000 (20:11 +0000)]
Removed obsolete comment.

19 years ago(scm_hash_fn_create_handle_x, scm_hash_fn_remove_x): Use "!scm_is_eq"
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 "!=".

19 years ago(SCM_I_GSC_USE_COOP_THREADS, SCM_USE_COOP_THREADS): Removed.
Marius Vollmer [Wed, 2 Mar 2005 19:58:26 +0000 (19:58 +0000)]
(SCM_I_GSC_USE_COOP_THREADS, SCM_USE_COOP_THREADS): Removed.

19 years ago(progargs_fluid): New.
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.

19 years agoComment on #endif
Marius Vollmer [Wed, 2 Mar 2005 18:50:45 +0000 (18:50 +0000)]
Comment on #endif

19 years ago* Makefile.am (modinclude_HEADER): Removed threads-plugin.h.
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.

19 years ago*** empty log message ***
Kevin Ryde [Mon, 28 Feb 2005 23:01:48 +0000 (23:01 +0000)]
*** empty log message ***

19 years agoMore of:
Kevin Ryde [Mon, 28 Feb 2005 22:58:03 +0000 (22:58 +0000)]
More of:
(Shared Arrays): New section.

19 years ago(Shared Arrays): Rewrite make-shared-array for clarity, adding examples.
Kevin Ryde [Mon, 28 Feb 2005 22:57:10 +0000 (22:57 +0000)]
(Shared Arrays): Rewrite make-shared-array for clarity, adding examples.

19 years ago(Shared Arrays): New section.
Kevin Ryde [Mon, 28 Feb 2005 22:46:08 +0000 (22:46 +0000)]
(Shared Arrays): New section.

19 years ago*** empty log message ***
Kevin Ryde [Mon, 28 Feb 2005 22:36:26 +0000 (22:36 +0000)]
*** empty log message ***

19 years ago(Control Flow): Cross reference Tail Calls.
Kevin Ryde [Mon, 28 Feb 2005 22:35:51 +0000 (22:35 +0000)]
(Control Flow): Cross reference Tail Calls.

19 years ago*** empty log message ***
Marius Vollmer [Mon, 28 Feb 2005 02:46:46 +0000 (02:46 +0000)]
*** empty log message ***

19 years agoAdd '--verbose' option to autoreconf invocation. Thanks to Bruno
Marius Vollmer [Mon, 28 Feb 2005 02:46:30 +0000 (02:46 +0000)]
Add '--verbose' option to autoreconf invocation.  Thanks to Bruno
Haible.

19 years agodocs for scm_c_array_rank.
Marius Vollmer [Mon, 28 Feb 2005 02:45:10 +0000 (02:45 +0000)]
docs for scm_c_array_rank.

19 years agoRemoved references to text "below" that does not exist in this file.
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.

19 years agoMore of:
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.

19 years ago*** empty log message ***
Marius Vollmer [Sun, 27 Feb 2005 23:52:04 +0000 (23:52 +0000)]
*** empty log message ***

19 years ago(scm_setsockopt): Handle IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP
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!

19 years agoBugfix: Include <libguile.h> outside of the extern "C"
Mikael Djurfeldt [Sun, 27 Feb 2005 00:04:56 +0000 (00:04 +0000)]
Bugfix: Include <libguile.h> outside of the extern "C"
block.

19 years agoIn format, note no parameters to ~( case conversion.
Kevin Ryde [Fri, 25 Feb 2005 23:09:33 +0000 (23:09 +0000)]
In format, note no parameters to ~( case conversion.

19 years ago*** empty log message ***
Marius Vollmer [Fri, 25 Feb 2005 22:36:07 +0000 (22:36 +0000)]
*** empty log message ***

19 years ago(scm_i_rehash): Remove elements from old bucket vector
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.

19 years ago(scm_i_rehash): Remove elements from old bucket vector so that no two
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.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 23 Feb 2005 17:24:38 +0000 (17:24 +0000)]
*** empty log message ***

19 years ago* hashtab.c (scm_i_rehash): Cope with the case that a GC modifies
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.

19 years ago*** empty log message ***
Kevin Ryde [Sun, 20 Feb 2005 22:56:16 +0000 (22:56 +0000)]
*** empty log message ***

19 years ago(string->number): Exercise polar form with invalid angle.
Kevin Ryde [Sun, 20 Feb 2005 22:55:53 +0000 (22:55 +0000)]
(string->number): Exercise polar form with invalid angle.

19 years ago*** empty log message ***
Kevin Ryde [Thu, 17 Feb 2005 21:25:25 +0000 (21:25 +0000)]
*** empty log message ***

19 years ago(Reals and Rationals): Use tex for sqrt2 and pi.
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.

19 years ago(lset-adjoin): Amend tests to expect duplicates among args cast out.
Kevin Ryde [Thu, 17 Feb 2005 21:15:46 +0000 (21:15 +0000)]
(lset-adjoin): Amend tests to expect duplicates among args cast out.

19 years ago*** empty log message ***
Kevin Ryde [Thu, 17 Feb 2005 21:07:22 +0000 (21:07 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Kevin Ryde [Thu, 17 Feb 2005 20:51:00 +0000 (20:51 +0000)]
*** empty log message ***

19 years ago(lset-adjoin): Revert change using `list' not `acc', the
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.

19 years ago*** empty log message ***
Kevin Ryde [Mon, 14 Feb 2005 23:45:40 +0000 (23:45 +0000)]
*** empty log message ***

19 years ago(Tail Calls): New section.
Kevin Ryde [Mon, 14 Feb 2005 23:44:43 +0000 (23:44 +0000)]
(Tail Calls): New section.

19 years ago(File System): In tmpnam, clarify security and use of
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.

19 years agoAdd a copyright year.
Kevin Ryde [Mon, 14 Feb 2005 23:15:08 +0000 (23:15 +0000)]
Add a copyright year.

19 years agoIn scm_difference, amend comment about normbig.
Kevin Ryde [Mon, 14 Feb 2005 23:14:35 +0000 (23:14 +0000)]
In scm_difference, amend comment about normbig.

19 years ago*** empty log message ***
Rob Browning [Sat, 12 Feb 2005 06:15:51 +0000 (06:15 +0000)]
*** empty log message ***

19 years ago(check_SCRIPTS): add test-require-extension.
Rob Browning [Sat, 12 Feb 2005 06:15:25 +0000 (06:15 +0000)]
(check_SCRIPTS): add test-require-extension.
(TESTS): add test-require-extension.

19 years ago* standalone/test-require-extension: new test script.
Rob Browning [Sat, 12 Feb 2005 06:15:07 +0000 (06:15 +0000)]
* standalone/test-require-extension: new test script.

19 years ago(%cond-expand-features): add srfi-55.
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.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 11 Feb 2005 22:04:13 +0000 (22:04 +0000)]
*** empty log message ***

19 years ago(SRFI-1 Fold and Map): Rewrite fold, pair-fold and
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.

19 years ago(Integer Operations): In gcd and lcm, show args.
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.

19 years ago(String Selection): In string-pad and
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.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 11 Feb 2005 21:42:29 +0000 (21:42 +0000)]
*** empty log message ***

19 years ago(reduce, reduce-right): New tests.
Kevin Ryde [Fri, 11 Feb 2005 21:40:32 +0000 (21:40 +0000)]
(reduce, reduce-right): New tests.

19 years ago(reduce, reduce-right): Don't call f with ridentity, use
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.

19 years ago*** empty log message ***
Kevin Ryde [Thu, 10 Feb 2005 20:37:57 +0000 (20:37 +0000)]
*** empty log message ***

19 years ago(ash): Remove tests of ash on fractions, not
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.

19 years ago(build-link): Replaced -lguile-ltdl with -lltdl.
Mikael Djurfeldt [Thu, 10 Feb 2005 14:40:10 +0000 (14:40 +0000)]
(build-link): Replaced -lguile-ltdl with -lltdl.

19 years ago(prototype_to_type): Bugfix: Don't compare prototype to
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.)

19 years agoTypo.
Mikael Djurfeldt [Tue, 8 Feb 2005 19:19:03 +0000 (19:19 +0000)]
Typo.

19 years ago(SCM_ARRAY_DIMS): Rename scm_i_attay_dims -->
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.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 4 Feb 2005 22:42:27 +0000 (22:42 +0000)]
*** empty log message ***

19 years ago(File System): In mkstemp!, in fact posix doesn't specify
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.

19 years ago*** empty log message ***
Kevin Ryde [Thu, 3 Feb 2005 23:24:16 +0000 (23:24 +0000)]
*** empty log message ***

19 years ago(list=): New tests.
Kevin Ryde [Thu, 3 Feb 2005 23:20:08 +0000 (23:20 +0000)]
(list=): New tests.

19 years ago(list=): Correction to arguments passed to given elt=,
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.

19 years ago*** empty log message ***
Kevin Ryde [Thu, 3 Feb 2005 23:17:50 +0000 (23:17 +0000)]
*** empty log message ***

19 years ago(File Ports): In port-filename, cannot use after close.
Kevin Ryde [Thu, 3 Feb 2005 23:17:27 +0000 (23:17 +0000)]
(File Ports): In port-filename, cannot use after close.

19 years ago(Time): In mktime, clarify fields of sbd-time used, and
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.

19 years ago(SRFI-0): Add srfi-4, srfi-13 and srfi-14 now in the core.
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.

19 years agoA bit clearer for:
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.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 28 Jan 2005 21:54:15 +0000 (21:54 +0000)]
*** empty log message ***

19 years ago(remove): Rewrite in C, a trivial adaption from scm_filter in the core.
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.

19 years ago(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!.

19 years ago(remove!): New tests.
Kevin Ryde [Fri, 28 Jan 2005 21:49:09 +0000 (21:49 +0000)]
(remove!): New tests.

19 years ago(remove): New tests.
Kevin Ryde [Fri, 28 Jan 2005 21:44:51 +0000 (21:44 +0000)]
(remove): New tests.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 28 Jan 2005 21:44:19 +0000 (21:44 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Kevin Ryde [Fri, 28 Jan 2005 21:34:20 +0000 (21:34 +0000)]
*** empty log message ***

19 years ago(lset-adjoin): Actually use the given `=' procedure.
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.

19 years agoAdd a copyright year.
Kevin Ryde [Fri, 28 Jan 2005 21:19:20 +0000 (21:19 +0000)]
Add a copyright year.

19 years ago(ash): New tests.
Kevin Ryde [Fri, 28 Jan 2005 21:18:55 +0000 (21:18 +0000)]
(ash): New tests.

19 years ago(lset-adjoin): New tests.
Kevin Ryde [Fri, 28 Jan 2005 21:18:01 +0000 (21:18 +0000)]
(lset-adjoin): New tests.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 28 Jan 2005 21:11:28 +0000 (21:11 +0000)]
*** empty log message ***

19 years ago(regexp-quote): Use string-for-each, now that function is
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.

19 years ago(Signals): In sigaction, add SA_NOCLDSTOP, make it
Kevin Ryde [Fri, 28 Jan 2005 21:09:30 +0000 (21:09 +0000)]
(Signals): In sigaction, add SA_NOCLDSTOP, make it
clearer SA_RESTART is a variable.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 28 Jan 2005 00:14:16 +0000 (00:14 +0000)]
*** empty log message ***

19 years ago(SRFI-1 Predicates): Clarify proper-list?,
Kevin Ryde [Thu, 27 Jan 2005 23:47:20 +0000 (23:47 +0000)]
(SRFI-1 Predicates): Clarify proper-list?,
circular-list? and dotted-list?, note any object passes exactly one of
those.

19 years ago(SRFI-19 Time/Date conversions): In default
Kevin Ryde [Thu, 27 Jan 2005 23:44:05 +0000 (23:44 +0000)]
(SRFI-19 Time/Date conversions): In default
tz-offset, note restrictions on a 32-bit system.

19 years agoMore of:
Kevin Ryde [Thu, 27 Jan 2005 23:21:06 +0000 (23:21 +0000)]
More of:
(lset=): New tests.

19 years ago*** empty log message ***
Kevin Ryde [Thu, 27 Jan 2005 23:13:43 +0000 (23:13 +0000)]
*** empty log message ***

19 years ago(lset=): Correction to pred call arg order, srfi spec is
Kevin Ryde [Thu, 27 Jan 2005 23:11:36 +0000 (23:11 +0000)]
(lset=): Correction to pred call arg order, srfi spec is
(= e[i] e[i+1]), but had some calls the other way around.

19 years ago*** empty log message ***
Kevin Ryde [Thu, 27 Jan 2005 23:04:05 +0000 (23:04 +0000)]
*** empty log message ***

19 years ago(scm_ash): Rewrite using shifts, much faster than
Kevin Ryde [Thu, 27 Jan 2005 22:51:22 +0000 (22:51 +0000)]
(scm_ash): Rewrite using shifts, much faster than
integer-expt and multiply/divide.  Inexacts and fractions no longer
supported (they happened to work before for left shifts, but not
right).  Don't really need inexacts and fractions, since ash is
documented as a "bitwise operation", and all the rest of those only
take exact integers.

19 years ago* gc-card.c (scm_i_card_statistics): map structs, closures and
Han-Wen Nienhuys [Thu, 27 Jan 2005 22:50:09 +0000 (22:50 +0000)]
* gc-card.c (scm_i_card_statistics): map structs, closures and
subrs to one tag.

* gc-card.c (scm_i_tag_name):  new function.
(scm_i_card_statistics): new function.

19 years ago* gc.c (s_scm_gc_live_object_stats): return alist, not hashtable.
Han-Wen Nienhuys [Thu, 27 Jan 2005 22:44:43 +0000 (22:44 +0000)]
* gc.c (s_scm_gc_live_object_stats): return alist, not hashtable.
(tag_table_to_type_alist): ignore unknown types.

* gc.c (s_scm_gc_live_object_stats): new GUILE callable: return
statistics on the number of live objects of each type.

* gc-card.c (scm_i_tag_name):  new function.
(scm_i_card_statistics): new function.

19 years ago*** empty log message ***
Han-Wen Nienhuys [Thu, 27 Jan 2005 22:20:13 +0000 (22:20 +0000)]
*** empty log message ***

19 years ago* gc.c (s_scm_gc_live_object_stats): return alist, not hashtable.
Han-Wen Nienhuys [Thu, 27 Jan 2005 22:19:49 +0000 (22:19 +0000)]
* gc.c (s_scm_gc_live_object_stats): return alist, not hashtable.

* gc-segment.c (scm_i_all_segments_statistics): new function.
(scm_i_heap_segment_statistics): new function

* gc.c (s_scm_gc_live_object_stats): new GUILE callable: return
statistics on the number of live objects of each type.

* gc-card.c (scm_i_tag_name):  new function.
(scm_i_card_statistics): new function.

19 years ago*** empty log message ***
Kevin Ryde [Thu, 27 Jan 2005 21:23:36 +0000 (21:23 +0000)]
*** empty log message ***

19 years ago(while): Tests running in empty environment are
Kevin Ryde [Thu, 27 Jan 2005 21:23:09 +0000 (21:23 +0000)]
(while): Tests running in empty environment are
now "unresolved" do to workaround in while implementation.

19 years ago(while): Remove the unquote from do, it breaks with ice-9
Kevin Ryde [Thu, 27 Jan 2005 21:20:47 +0000 (21:20 +0000)]
(while): Remove the unquote from do, it breaks with ice-9
syncase.  Reported by Pach Roman.

19 years agoReverted changed from 2005/01/24 19:14:54, which was a commit to the
Marius Vollmer [Mon, 24 Jan 2005 23:41:14 +0000 (23:41 +0000)]
Reverted changed from 2005/01/24 19:14:54, which was a commit to the
wrong branch.  Sorry.

19 years agoThreading changes.
Marius Vollmer [Mon, 24 Jan 2005 19:14:54 +0000 (19:14 +0000)]
Threading changes.