bpt/guile.git
18 years agoAdd tests for socklen_t and ip_mreq.
Marius Vollmer [Sun, 5 Jun 2005 18:15:21 +0000 (18:15 +0000)]
Add tests for socklen_t and ip_mreq.

18 years ago*** empty log message ***
Marius Vollmer [Sun, 5 Jun 2005 17:26:07 +0000 (17:26 +0000)]
*** empty log message ***

18 years ago(substring-fill!): New, for compatability.
Marius Vollmer [Sun, 5 Jun 2005 17:24:52 +0000 (17:24 +0000)]
(substring-fill!): New, for compatability.

19 years agoThe FSF has a new address.
Marius Vollmer [Mon, 23 May 2005 19:57:22 +0000 (19:57 +0000)]
The FSF has a new address.

19 years agoNew versions of the GPLand LGPL with the new address of the FSF.
Marius Vollmer [Mon, 23 May 2005 19:00:08 +0000 (19:00 +0000)]
New versions of the GPLand LGPL with the new address of the FSF.

19 years ago*** empty log message ***
Marius Vollmer [Sun, 22 May 2005 18:03:30 +0000 (18:03 +0000)]
*** empty log message ***

19 years agoClarifications from Ludovic Courtès. Thanks!
Marius Vollmer [Sun, 22 May 2005 18:03:03 +0000 (18:03 +0000)]
Clarifications from Ludovic Courtès.  Thanks!

19 years ago*** empty log message ***
Marius Vollmer [Sun, 22 May 2005 17:19:38 +0000 (17:19 +0000)]
*** empty log message ***

19 years ago(scm_make_shared_array): Add old base to new base since
Marius Vollmer [Sun, 22 May 2005 17:19:17 +0000 (17:19 +0000)]
(scm_make_shared_array): Add old base to new base since
scm_array_handle_pos does not include the base.
(scm_aind): Likewise.

19 years ago*** empty log message ***
Marius Vollmer [Sun, 22 May 2005 16:19:19 +0000 (16:19 +0000)]
*** empty log message ***

19 years ago(scm_putc, scm_puts): Assert that the port argument is a output port.
Marius Vollmer [Sun, 22 May 2005 16:18:55 +0000 (16:18 +0000)]
(scm_putc, scm_puts): Assert that the port argument is a output port.

19 years ago* unif.c (scm_i_read_array): Declare rank as ssize_t, to guarantee
Neil Jerram [Thu, 12 May 2005 06:39:50 +0000 (06:39 +0000)]
* unif.c (scm_i_read_array): Declare rank as ssize_t, to guarantee
that it is signed.

* strports.c (st_resize_port): Add unsigned char cast.
(scm_mkstrport): Make read/write_buf cast unsigned.

* srfi-13.c (string_titlecase_x): Add unsigned char cast.

* rdelim.c (scm_read_line): Initialize slen.

* load.c (scm_search_path): Remove weird >=1, and add
parentheses to clarify conditions.

* hash.c (scm_hasher): Add const unsigned char cast.

* gh_data.c (gh_chars2byvect): Add scm_t_int8 cast.

19 years ago* threads.c (s_scm_lock_mutex): Don't declare msg in middle of
Neil Jerram [Wed, 11 May 2005 07:41:36 +0000 (07:41 +0000)]
* threads.c (s_scm_lock_mutex): Don't declare msg in middle of
code.

* gc.c (s_scm_gc_live_object_stats): Don't declare alist in middle
of code.

* gc-card.c (scm_i_card_statistics): Don't declare tag in middle
of code.
(scm_i_card_statistics): Add block for declarations of tag_as_scm
and current.

19 years ago(signal_delivery_thread): Return a value, to avoid
Neil Jerram [Tue, 10 May 2005 20:04:14 +0000 (20:04 +0000)]
(signal_delivery_thread): Return a value, to avoid
compile warning reported by Werner Scheinast.

19 years ago*** empty log message ***
Kevin Ryde [Sat, 7 May 2005 00:03:13 +0000 (00:03 +0000)]
*** empty log message ***

19 years ago(car+cdr, fold, last, list-index, list-tabulate,
Kevin Ryde [Sat, 7 May 2005 00:02:02 +0000 (00:02 +0000)]
(car+cdr, fold, last, list-index, list-tabulate,
not-pair?, xcons): New tests.

19 years ago(car+cdr, fold, last, list-index,
Kevin Ryde [Fri, 6 May 2005 23:59:35 +0000 (23:59 +0000)]
(car+cdr, fold, last, list-index,
list-tabulate, not-pair, xcons): Rewrite in C.

19 years ago(make-shared-array): Add failing case shared of shared.
Kevin Ryde [Wed, 4 May 2005 00:30:04 +0000 (00:30 +0000)]
(make-shared-array): Add failing case shared of shared.

19 years ago*** empty log message ***
Kevin Ryde [Tue, 3 May 2005 23:27:48 +0000 (23:27 +0000)]
*** empty log message ***

19 years ago(fifth, sixth, seventh, eighth, ninth, tenth): New tests.
Kevin Ryde [Tue, 3 May 2005 23:25:48 +0000 (23:25 +0000)]
(fifth, sixth, seventh, eighth, ninth, tenth): New tests.

19 years ago(fifth, sixth, seventh, eighth, ninth, tenth): Rewrite in C.
Kevin Ryde [Tue, 3 May 2005 23:24:31 +0000 (23:24 +0000)]
(fifth, sixth, seventh, eighth, ninth, tenth): Rewrite in C.

19 years ago(break!, drop-right!, drop-while, take-while,
Kevin Ryde [Tue, 3 May 2005 23:13:16 +0000 (23:13 +0000)]
(break!, drop-right!, drop-while, take-while,
take-while!, span!, take!): New tests.

19 years ago(break, break!): Rewrite in C.
Kevin Ryde [Tue, 3 May 2005 23:03:27 +0000 (23:03 +0000)]
(break, break!): Rewrite in C.

19 years ago(drop-right!, drop-while,
Kevin Ryde [Tue, 3 May 2005 22:57:26 +0000 (22:57 +0000)]
(drop-right!, drop-while,
lset-adjoin, reduce, reduce-right, span, span!, take!, take-while,
take-while!): Rewrite in C.

19 years ago(drop-right!, drop-while,
Kevin Ryde [Tue, 3 May 2005 22:56:01 +0000 (22:56 +0000)]
(drop-right!, drop-while,
lset-adjoin, reduce, reduce-right, span, take!, take-while,
take-while!): Rewrite in C.

19 years ago*** empty log message ***
Kevin Ryde [Tue, 3 May 2005 22:50:44 +0000 (22:50 +0000)]
*** empty log message ***

19 years ago(SRFI-1 Selectors): In drop-right, note always a
Kevin Ryde [Tue, 3 May 2005 22:50:21 +0000 (22:50 +0000)]
(SRFI-1 Selectors): In drop-right, note always a
new list.  In take-right, note result shares common tail.  Per spec.

19 years ago*** empty log message ***
Kevin Ryde [Mon, 2 May 2005 23:34:56 +0000 (23:34 +0000)]
*** empty log message ***

19 years ago(String Constructors): Clarify string, list->string
Kevin Ryde [Mon, 2 May 2005 23:26:47 +0000 (23:26 +0000)]
(String Constructors): Clarify string, list->string
and reverse-list->string a bit.

19 years agoTweaks.
Kevin Ryde [Mon, 2 May 2005 23:15:11 +0000 (23:15 +0000)]
Tweaks.

19 years agoremove scm_list()
Han-Wen Nienhuys [Sat, 30 Apr 2005 20:54:35 +0000 (20:54 +0000)]
remove scm_list()

19 years ago(DYNAMIC_STATE_NEXT_LOC): new macro for use with
Han-Wen Nienhuys [Sat, 30 Apr 2005 20:07:50 +0000 (20:07 +0000)]
(DYNAMIC_STATE_NEXT_LOC): new macro for use with
SCM_DEBUG_CELL_ACCESSES
(FLUID_NEXT_LOC): idem.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 29 Apr 2005 23:49:25 +0000 (23:49 +0000)]
*** empty log message ***

19 years ago(Default Ports): Describe buffering on standard ports.
Kevin Ryde [Fri, 29 Apr 2005 23:45:11 +0000 (23:45 +0000)]
(Default Ports): Describe buffering on standard ports.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 29 Apr 2005 23:24:08 +0000 (23:24 +0000)]
*** empty log message ***

19 years ago(/): Further tests.
Kevin Ryde [Fri, 29 Apr 2005 23:20:04 +0000 (23:20 +0000)]
(/): Further tests.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 29 Apr 2005 23:03:41 +0000 (23:03 +0000)]
*** empty log message ***

19 years ago(scm_divide): Correction to 1/complex and <any>/complex,
Kevin Ryde [Fri, 29 Apr 2005 22:59:22 +0000 (22:59 +0000)]
(scm_divide): Correction to 1/complex and <any>/complex,
need to test abs(re)<abs(im) for choice of cases, otherwise divide by
zero when re==0 and im<0.  Reported by Jean Crepeau.

19 years ago*** empty log message ***
Kevin Ryde [Mon, 25 Apr 2005 00:16:03 +0000 (00:16 +0000)]
*** empty log message ***

19 years ago(array-map!): Further tests.
Kevin Ryde [Mon, 25 Apr 2005 00:15:24 +0000 (00:15 +0000)]
(array-map!): Further tests.

19 years ago*** empty log message ***
Kevin Ryde [Mon, 25 Apr 2005 00:04:02 +0000 (00:04 +0000)]
*** empty log message ***

19 years ago(scm_array_map_x): Allow no source args, add num args checks
Kevin Ryde [Mon, 25 Apr 2005 00:02:47 +0000 (00:02 +0000)]
(scm_array_map_x): Allow no source args, add num args checks
to subr_1, subr_2, subr_2o and dsubr cases.

19 years agoFix typo in comment
Neil Jerram [Sun, 24 Apr 2005 12:29:14 +0000 (12:29 +0000)]
Fix typo in comment

19 years agoFix comment typos
Neil Jerram [Sun, 24 Apr 2005 12:23:57 +0000 (12:23 +0000)]
Fix comment typos

19 years agoCritical section review
Neil Jerram [Sun, 24 Apr 2005 12:23:24 +0000 (12:23 +0000)]
Critical section review

19 years ago*** empty log message ***
Kevin Ryde [Sat, 23 Apr 2005 00:40:19 +0000 (00:40 +0000)]
*** empty log message ***

19 years ago(numerator, denominator): New tests.
Kevin Ryde [Sat, 23 Apr 2005 00:39:45 +0000 (00:39 +0000)]
(numerator, denominator): New tests.

19 years ago*** empty log message ***
Kevin Ryde [Sat, 23 Apr 2005 00:17:33 +0000 (00:17 +0000)]
*** empty log message ***

19 years ago(scm_make_list): New code, moving make-list from boot-9.scm.
Kevin Ryde [Sat, 23 Apr 2005 00:15:16 +0000 (00:15 +0000)]
(scm_make_list): New code, moving make-list from boot-9.scm.

19 years ago(concatenate, concatenate!, count, filter-map, lset-adjoin): More tests.
Kevin Ryde [Sat, 23 Apr 2005 00:14:42 +0000 (00:14 +0000)]
(concatenate, concatenate!, count, filter-map, lset-adjoin): More tests.

19 years ago(scm_srfi1_count, scm_srfi1_filter_map): Don't modify the
Kevin Ryde [Sat, 23 Apr 2005 00:10:50 +0000 (00:10 +0000)]
(scm_srfi1_count, scm_srfi1_filter_map): Don't modify the
rest argument, that belongs to the caller when reached from apply.
Use a temp vector like scm_srfi1_for_each.

19 years ago*** empty log message ***
Kevin Ryde [Sat, 23 Apr 2005 00:07:17 +0000 (00:07 +0000)]
*** empty log message ***

19 years ago(scm_make_list): New code, moving make-list from boot-9.scm.
Kevin Ryde [Sat, 23 Apr 2005 00:06:14 +0000 (00:06 +0000)]
(scm_make_list): New code, moving make-list from boot-9.scm.

19 years ago(make-list): New tests.
Kevin Ryde [Sat, 23 Apr 2005 00:04:57 +0000 (00:04 +0000)]
(make-list): New tests.

19 years ago(make-list): Moved to C code in list.c
Kevin Ryde [Sat, 23 Apr 2005 00:03:33 +0000 (00:03 +0000)]
(make-list): Moved to C code in list.c

19 years ago*** empty log message ***
Kevin Ryde [Fri, 22 Apr 2005 23:51:45 +0000 (23:51 +0000)]
*** empty log message ***

19 years ago(list, cons*): New tests.
Kevin Ryde [Fri, 22 Apr 2005 23:50:17 +0000 (23:50 +0000)]
(list, cons*): New tests.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 22 Apr 2005 23:44:24 +0000 (23:44 +0000)]
*** empty log message ***

19 years ago(list): Use scm_list_copy, so as to produce a fresh list when
Kevin Ryde [Fri, 22 Apr 2005 23:43:06 +0000 (23:43 +0000)]
(list): Use scm_list_copy, so as to produce a fresh list when
list is called using apply, under the debugging evaluator.
(scm_list): Remove.

19 years ago(hashx-remove!): New tests.
Kevin Ryde [Fri, 22 Apr 2005 23:33:54 +0000 (23:33 +0000)]
(hashx-remove!): New tests.

19 years ago(scm_hashx_remove_x): Need to pass "closure" to scm_hash_fn_remove_x.
Kevin Ryde [Fri, 22 Apr 2005 23:33:15 +0000 (23:33 +0000)]
(scm_hashx_remove_x): Need to pass "closure" to scm_hash_fn_remove_x.

19 years ago(scm_cons_star): Don't modify the rest list, it belongs to
Kevin Ryde [Fri, 22 Apr 2005 23:18:59 +0000 (23:18 +0000)]
(scm_cons_star): Don't modify the rest list, it belongs to
the caller when cons* is reached through apply.

19 years ago(Subrs): Note that subr must not modify its rest list.
Kevin Ryde [Fri, 22 Apr 2005 23:16:43 +0000 (23:16 +0000)]
(Subrs): Note that subr must not modify its rest list.

19 years ago(Regexp Functions): Add list-matches and fold-matches.
Kevin Ryde [Fri, 22 Apr 2005 23:12:55 +0000 (23:12 +0000)]
(Regexp Functions): Add list-matches and fold-matches.

19 years agoIndex entries for standard input/output/error.
Kevin Ryde [Thu, 21 Apr 2005 21:30:45 +0000 (21:30 +0000)]
Index entries for standard input/output/error.

19 years ago*** empty log message ***
Kevin Ryde [Mon, 18 Apr 2005 22:47:46 +0000 (22:47 +0000)]
*** empty log message ***

19 years ago(Regexp Functions): Clarity flags parameter.
Kevin Ryde [Mon, 18 Apr 2005 22:46:54 +0000 (22:46 +0000)]
(Regexp Functions): Clarity flags parameter.

19 years ago*** empty log message ***
Kevin Ryde [Mon, 18 Apr 2005 22:32:28 +0000 (22:32 +0000)]
*** empty log message ***

19 years ago(Rx Regexps): Remove this section, Rx
Kevin Ryde [Mon, 18 Apr 2005 22:29:42 +0000 (22:29 +0000)]
(Rx Regexps): Remove this section, Rx
is not in the core and we don't want to confuse anyone with it and the
builtin posix regexps.

19 years ago*** empty log message ***
Kevin Ryde [Thu, 14 Apr 2005 00:38:41 +0000 (00:38 +0000)]
*** empty log message ***

19 years ago(1+, 1-): Moved to numbers.c.
Kevin Ryde [Thu, 14 Apr 2005 00:38:09 +0000 (00:38 +0000)]
(1+, 1-): Moved to numbers.c.

19 years ago(scm_oneplus, scm_oneminus): New functions, converted from
Kevin Ryde [Thu, 14 Apr 2005 00:35:50 +0000 (00:35 +0000)]
(scm_oneplus, scm_oneminus): New functions, converted from
scheme code in boot-9.scm.

19 years ago*** empty log message ***
Kevin Ryde [Wed, 13 Apr 2005 23:59:29 +0000 (23:59 +0000)]
*** empty log message ***

19 years ago(1+, 1-): New tests.
Kevin Ryde [Wed, 13 Apr 2005 23:54:45 +0000 (23:54 +0000)]
(1+, 1-): New tests.

19 years ago*** empty log message ***
Kevin Ryde [Sun, 10 Apr 2005 22:47:41 +0000 (22:47 +0000)]
*** empty log message ***

19 years ago(string-concatenate, string-concatenate/shared): New tests.
Kevin Ryde [Sun, 10 Apr 2005 22:19:26 +0000 (22:19 +0000)]
(string-concatenate, string-concatenate/shared): New tests.

19 years ago*** empty log message ***
Kevin Ryde [Sun, 10 Apr 2005 22:15:44 +0000 (22:15 +0000)]
*** empty log message ***

19 years ago(scm_string_concatenate, scm_string_concatenate_shared):
Kevin Ryde [Sun, 10 Apr 2005 22:14:15 +0000 (22:14 +0000)]
(scm_string_concatenate, scm_string_concatenate_shared):
Validate list argument, scm_string_append and scm_string_append_shared
don't do that to their rest argument (in a normal build).

19 years agoNo @macro around tex cross defintion, not needed and in fact doesn't work.
Kevin Ryde [Sat, 9 Apr 2005 01:05:27 +0000 (01:05 +0000)]
No @macro around tex cross defintion, not needed and in fact doesn't work.

19 years ago*** empty log message ***
Marius Vollmer [Mon, 4 Apr 2005 14:54:45 +0000 (14:54 +0000)]
*** empty log message ***

19 years ago(scm_t_hashtable): Removed 'closure' field. The
Marius Vollmer [Mon, 4 Apr 2005 14:53:27 +0000 (14:53 +0000)]
(scm_t_hashtable): Removed 'closure' field.  The
closure can not be stored since it is no longer valid at GC time.
(make_hash_table): Initialize 'hash_fn' field.
(scm_i_rehash): Only store hash_fn in hash table when closre is
NULL.
(rehash_after_gc): Only call scm_i_rehash when 'hash_fn' is
non-NULL.  Always use a NULL closure.
(scm_hash_fn_create_handle_x): Also rehash when table contains too
few entries.

19 years ago* srfi-modules.texi (SRFI-1 Set Operations): use @cross iso. @times.
Han-Wen Nienhuys [Mon, 4 Apr 2005 09:38:13 +0000 (09:38 +0000)]
* srfi-modules.texi (SRFI-1 Set Operations): use @cross iso. @times.

* guile.texi: add @cross for @tex

19 years ago*** empty log message ***
Kevin Ryde [Sun, 3 Apr 2005 22:41:51 +0000 (22:41 +0000)]
*** empty log message ***

19 years ago(scm_srfi1_concatenate, scm_srfi1_concatenate_x): Add code
Kevin Ryde [Sun, 3 Apr 2005 22:41:15 +0000 (22:41 +0000)]
(scm_srfi1_concatenate, scm_srfi1_concatenate_x): Add code
to check argument is a list, scm_append and scm_append_x don't do that
on their "rest" list (in a normal build).

19 years ago*** empty log message ***
Kevin Ryde [Sat, 2 Apr 2005 01:43:26 +0000 (01:43 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Kevin Ryde [Sat, 2 Apr 2005 00:39:12 +0000 (00:39 +0000)]
*** empty log message ***

19 years ago(round): Add some fraction cases.
Kevin Ryde [Sat, 2 Apr 2005 00:32:03 +0000 (00:32 +0000)]
(round): Add some fraction cases.

19 years ago*** empty log message ***
Kevin Ryde [Sat, 2 Apr 2005 00:24:49 +0000 (00:24 +0000)]
*** empty log message ***

19 years ago(alist-copy): Rewrite in C.
Kevin Ryde [Sat, 2 Apr 2005 00:19:35 +0000 (00:19 +0000)]
(alist-copy): Rewrite in C.

19 years ago(alist-cons): Define just as acons, not a call to acons.
Kevin Ryde [Sat, 2 Apr 2005 00:02:45 +0000 (00:02 +0000)]
(alist-cons): Define just as acons, not a call to acons.

19 years ago*** empty log message ***
Kevin Ryde [Fri, 1 Apr 2005 23:59:01 +0000 (23:59 +0000)]
*** empty log message ***

19 years ago(lset-union): More tests.
Kevin Ryde [Fri, 1 Apr 2005 23:49:35 +0000 (23:49 +0000)]
(lset-union): More tests.

19 years ago(lset-union): Rewrite to accumulate result by consing in
Kevin Ryde [Fri, 1 Apr 2005 23:47:42 +0000 (23:47 +0000)]
(lset-union): Rewrite to accumulate result by consing in
the order specified by the SRFI.

19 years ago(scm_srfi1_filter_map): Have 2-arg case share finalization
Kevin Ryde [Fri, 1 Apr 2005 23:45:41 +0000 (23:45 +0000)]
(scm_srfi1_filter_map): Have 2-arg case share finalization
code of 1-arg case.

19 years ago(scm_srfi1_count): Use scm_list_copy to make arg list,
Kevin Ryde [Fri, 1 Apr 2005 23:43:49 +0000 (23:43 +0000)]
(scm_srfi1_count): Use scm_list_copy to make arg list,
instead of an inline loop.  Share final list check between all cases
to save some code.

19 years ago(SRFI-1 Association Lists): In alist-cons, clarify
Kevin Ryde [Fri, 1 Apr 2005 23:35:09 +0000 (23:35 +0000)]
(SRFI-1 Association Lists): In alist-cons, clarify
a bit and cross reference core acons.

19 years agoTypo in alist-cons.
Kevin Ryde [Fri, 1 Apr 2005 23:32:26 +0000 (23:32 +0000)]
Typo in alist-cons.

19 years ago(SRFI-19): Note Gregorian leap year rules
Kevin Ryde [Fri, 1 Apr 2005 23:29:22 +0000 (23:29 +0000)]
(SRFI-19): Note Gregorian leap year rules
incorrectly extended back prior to 1582.

19 years ago(SRFI-1 Set Operations): Revise and expand.
Kevin Ryde [Fri, 1 Apr 2005 23:17:21 +0000 (23:17 +0000)]
(SRFI-1 Set Operations): Revise and expand.
(SRFI-1 Deleting): In delete, cross reference lset-difference.

19 years ago(Readline Support): Cross ref readline manual.
Kevin Ryde [Fri, 1 Apr 2005 23:09:30 +0000 (23:09 +0000)]
(Readline Support): Cross ref readline manual.
(Loading Readline Support): Add GUILE_HISTORY and .inputrc Guile
configurables.