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.
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.
Kevin Ryde [Fri, 28 Jan 2005 00:14:16 +0000 (00:14 +0000)]
*** empty log message ***
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.
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.
Kevin Ryde [Thu, 27 Jan 2005 23:21:06 +0000 (23:21 +0000)]
More of:
(lset=): New tests.
Kevin Ryde [Thu, 27 Jan 2005 23:13:43 +0000 (23:13 +0000)]
*** empty log message ***
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.
Kevin Ryde [Thu, 27 Jan 2005 23:04:05 +0000 (23:04 +0000)]
*** empty log message ***
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.
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.
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.
Han-Wen Nienhuys [Thu, 27 Jan 2005 22:20:13 +0000 (22:20 +0000)]
*** empty log message ***
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.
Kevin Ryde [Thu, 27 Jan 2005 21:23:36 +0000 (21:23 +0000)]
*** empty log message ***
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.
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.
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.
Marius Vollmer [Mon, 24 Jan 2005 19:14:54 +0000 (19:14 +0000)]
Threading changes.
Kevin Ryde [Mon, 24 Jan 2005 00:11:03 +0000 (00:11 +0000)]
*** empty log message ***
Kevin Ryde [Mon, 24 Jan 2005 00:07:01 +0000 (00:07 +0000)]
(check_cont): Cast rewindable to long, to
avoid warning from gcc 3.4 on 64-bit systems about casting int
(32-bits) to pointer (64-bits).
Kevin Ryde [Mon, 24 Jan 2005 00:03:00 +0000 (00:03 +0000)]
(scm_sigaction_for_thread): Use scm_to_long for
sa_handler, needs to be a long on 64-bit systems where int is only 32
bits.
Kevin Ryde [Sun, 23 Jan 2005 23:58:43 +0000 (23:58 +0000)]
(scm_i_init_rstate): Compare w to -1 not 0xffffffffUL, now
that it's an scm_t_int32. Otherwise gcc 3.4 says it's always false on
a 64-bit system.
Kevin Ryde [Sun, 23 Jan 2005 23:36:55 +0000 (23:36 +0000)]
*** empty log message ***
Kevin Ryde [Sun, 23 Jan 2005 23:22:36 +0000 (23:22 +0000)]
(Internationalization): Expand and revise a bit for clarity.
Kevin Ryde [Sun, 23 Jan 2005 22:10:12 +0000 (22:10 +0000)]
*** empty log message ***
Kevin Ryde [Sun, 23 Jan 2005 22:09:14 +0000 (22:09 +0000)]
(scm_flock): Update docstring from manual.
Kevin Ryde [Sun, 23 Jan 2005 21:59:09 +0000 (21:59 +0000)]
(scm_setlocale): Force errno=EINVAL for an error, since
POSIX and C99 don't document errno being set. Reported by Bruno
Haible.
Kevin Ryde [Sun, 23 Jan 2005 21:36:22 +0000 (21:36 +0000)]
*** empty log message ***
Kevin Ryde [Sun, 23 Jan 2005 21:36:00 +0000 (21:36 +0000)]
(lset=, member): New tests.
Kevin Ryde [Sun, 23 Jan 2005 21:28:45 +0000 (21:28 +0000)]
*** empty log message ***
Kevin Ryde [Sun, 23 Jan 2005 21:27:51 +0000 (21:27 +0000)]
(scm_srfi1_member): Update docstring from manual.
Kevin Ryde [Sun, 23 Jan 2005 21:21:15 +0000 (21:21 +0000)]
(SRFI-1 Set Operations): Remove lset-adjoin!, doesn't exist in the
code or the srfi spec.
Kevin Ryde [Sun, 23 Jan 2005 21:16:46 +0000 (21:16 +0000)]
(SRFI-1 Searching): In member, note `=' called arg order.
Kevin Ryde [Sun, 23 Jan 2005 21:02:42 +0000 (21:02 +0000)]
*** empty log message ***
Kevin Ryde [Sun, 23 Jan 2005 21:02:13 +0000 (21:02 +0000)]
(scm_srfi1_member): Correction to pred call arg order, srfi
spec is (PRED X elem).
Kevin Ryde [Sun, 23 Jan 2005 20:47:36 +0000 (20:47 +0000)]
Add a copyright year.
Kevin Ryde [Sun, 23 Jan 2005 20:47:12 +0000 (20:47 +0000)]
(lset=): Allow no list arguments, per srfi spec example.
Marius Vollmer [Fri, 21 Jan 2005 13:23:01 +0000 (13:23 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 20 Jan 2005 15:58:06 +0000 (15:58 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 20 Jan 2005 15:57:50 +0000 (15:57 +0000)]
(obarray_enter, obarray_replace): Call SCM_HASHTABLE_INCREMENT when
adding a new entry.
Marius Vollmer [Thu, 20 Jan 2005 14:41:14 +0000 (14:41 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 20 Jan 2005 14:40:46 +0000 (14:40 +0000)]
Include goops.h for the scm_class_of prototype.
Marius Vollmer [Thu, 20 Jan 2005 14:39:49 +0000 (14:39 +0000)]
(hashtable_size, HASHTABLE_SIZE_N): Restrict hashtable sizes to be
smaller than the maximum lengths of vectors.
Kevin Ryde [Wed, 19 Jan 2005 23:36:06 +0000 (23:36 +0000)]
*** empty log message ***
Kevin Ryde [Wed, 19 Jan 2005 23:35:38 +0000 (23:35 +0000)]
(SRFI-1 Searching): In list-index, note 0 based
index and #f for not found.
Kevin Ryde [Wed, 19 Jan 2005 23:32:44 +0000 (23:32 +0000)]
(Ports and File Descriptors): In flock, for LOCK_NB note
logior for LOCK_NB and EWOULDBLOCK error, and note flock doesn't work
over NFS.
Marius Vollmer [Tue, 18 Jan 2005 15:00:52 +0000 (15:00 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 18 Jan 2005 15:00:44 +0000 (15:00 +0000)]
(class-of): Changed from being re-exported to just
being exported.
Marius Vollmer [Tue, 18 Jan 2005 14:58:39 +0000 (14:58 +0000)]
* objects.h, objects.c, goops.c, goops.h (scm_class_boolean,
scm_class_char, scm_class_pair, scm_class_procedure,
scm_class_string, scm_class_symbol,
scm_class_procedure_with_setter, scm_class_primitive_generic,
scm_class_vector, scm_class_null, scm_class_real,
scm_class_complex, scm_class_integer, scm_class_fraction,
scm_class_unknown, scm_port_class, scm_smob_class,
scm_no_applicable_method, scm_class_of): Moved from objects to
goops since they are only useable once goops has been loaded.
(scm_classes_initialized): Removed.
(scm_class_of): Do not check it.
(create_standard_classes): Do not set it.
Marius Vollmer [Tue, 18 Jan 2005 13:59:04 +0000 (13:59 +0000)]
Include "libguile/goops.h".
Kevin Ryde [Mon, 17 Jan 2005 22:32:52 +0000 (22:32 +0000)]
*** empty log message ***
Kevin Ryde [Mon, 17 Jan 2005 22:26:07 +0000 (22:26 +0000)]
Remove (ice-9 session) and (ice-9 receive), not used.
Marius Vollmer [Mon, 17 Jan 2005 18:54:58 +0000 (18:54 +0000)]
*** empty log message ***