Kevin Ryde [Sun, 17 Aug 2003 00:40:59 +0000 (00:40 +0000)]
*** empty log message ***
Kevin Ryde [Sun, 17 Aug 2003 00:40:33 +0000 (00:40 +0000)]
(while): Exercise break and continue from
recursive nested loops.
Kevin Ryde [Sun, 17 Aug 2003 00:36:04 +0000 (00:36 +0000)]
* boot-9.scm (while): Use a new key dynamically for each loop, so
break and continue associate to their loop even when recursing.
Kevin Ryde [Sun, 17 Aug 2003 00:28:51 +0000 (00:28 +0000)]
(Hash Table Reference): Collect up groups of
functions to avoid duplication. Revise notes on hashx functions and
on vector implementation. In make-hash-table, size is now optional.
Add hash-map and hash-for-each.
Kevin Ryde [Tue, 12 Aug 2003 21:48:57 +0000 (21:48 +0000)]
*** empty log message ***
Kevin Ryde [Tue, 12 Aug 2003 21:48:27 +0000 (21:48 +0000)]
(while do): Update `while' for code rewrite, in
particular describe break and continue.
Kevin Ryde [Tue, 12 Aug 2003 21:43:34 +0000 (21:43 +0000)]
*** empty log message ***
Kevin Ryde [Tue, 12 Aug 2003 21:39:56 +0000 (21:39 +0000)]
Add a copyright year.
Kevin Ryde [Tue, 12 Aug 2003 21:39:30 +0000 (21:39 +0000)]
(while): New tests.
Kevin Ryde [Tue, 12 Aug 2003 21:38:21 +0000 (21:38 +0000)]
(while): Rewrite, continue as proper escape, break
without return value, break and continue new for each while form,
don't depend on bindings in expansion environment.
Kevin Ryde [Tue, 12 Aug 2003 21:18:23 +0000 (21:18 +0000)]
(open-process): Close input-fdes, output-fdes and
error-fdes after duping them to 0, 1 and 2.
Kevin Ryde [Tue, 12 Aug 2003 21:09:10 +0000 (21:09 +0000)]
(scm_remember_upto_here_1, scm_remember_upto_here_2): Undefine
macros while defining functions.
Kevin Ryde [Tue, 12 Aug 2003 21:08:34 +0000 (21:08 +0000)]
(scm_remember_upto_here_1, scm_remember_upto_here_2) [__GNUC__]:
Use volatile asm macros rather than a function call.
Kevin Ryde [Tue, 12 Aug 2003 20:24:52 +0000 (20:24 +0000)]
(scm_system): In docstring, refer to status:exit-val rather than
"functions above".
Kevin Ryde [Tue, 12 Aug 2003 20:23:35 +0000 (20:23 +0000)]
(getenv): Use <stdlib.h> for prototype.
Dirk Herrmann [Sun, 10 Aug 2003 13:19:54 +0000 (13:19 +0000)]
* tests/numbers.test: Eliminated misuses of expect-fail. It
should only be used in cases, where guile has a known bug. It
should not be used in cases where an expression is expected to
return #f as its correct result.
Kevin Ryde [Fri, 8 Aug 2003 23:28:11 +0000 (23:28 +0000)]
Add source-properties versus set-source-properties! fix.
Kevin Ryde [Fri, 8 Aug 2003 23:07:07 +0000 (23:07 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 8 Aug 2003 23:05:30 +0000 (23:05 +0000)]
* tests/srcprop.test: New file.
* Makefile.am (SCM_TESTS): Add it.
Kevin Ryde [Fri, 8 Aug 2003 23:04:55 +0000 (23:04 +0000)]
New file.
Kevin Ryde [Fri, 8 Aug 2003 22:58:24 +0000 (22:58 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 8 Aug 2003 22:57:28 +0000 (22:57 +0000)]
(scm_source_properties): Return plist from hash if it's a
list set by source-properties! rather than an SRCPROPS object,
Kevin Ryde [Fri, 8 Aug 2003 22:20:46 +0000 (22:20 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 8 Aug 2003 22:08:25 +0000 (22:08 +0000)]
(Memory Blocks): Add index entries for deprecated scm_must_malloc and friends.
Kevin Ryde [Mon, 28 Jul 2003 23:59:47 +0000 (23:59 +0000)]
*** empty log message ***
Kevin Ryde [Mon, 28 Jul 2003 23:54:39 +0000 (23:54 +0000)]
(length+): Rewrite using scm_ilength.
Kevin Ryde [Mon, 28 Jul 2003 23:51:41 +0000 (23:51 +0000)]
(length+): New tests.
Kevin Ryde [Mon, 28 Jul 2003 23:47:47 +0000 (23:47 +0000)]
Check cond-expand srfi-34.
Kevin Ryde [Mon, 28 Jul 2003 23:46:48 +0000 (23:46 +0000)]
Add cond-expand-provide srfi-34.
Kevin Ryde [Mon, 28 Jul 2003 23:45:31 +0000 (23:45 +0000)]
(concatenate, concatenate!): New tests.
Kevin Ryde [Mon, 28 Jul 2003 23:43:51 +0000 (23:43 +0000)]
(concatenate, concatenate!): Use scm_append and scm_append_x.
Kevin Ryde [Mon, 28 Jul 2003 23:31:26 +0000 (23:31 +0000)]
(List Constructors): Remove scm_cons_star, since it's not very helpful.
Kevin Ryde [Mon, 28 Jul 2003 23:29:17 +0000 (23:29 +0000)]
(scm_primitive_property_ref): In docstring, note
parameters to not-found-proc, use hyphens rather than underscores for
that parameter name.
(scm_primitive_property_set_x): In docstring, VAL is the value
parameter not CODE.
Kevin Ryde [Mon, 28 Jul 2003 23:27:03 +0000 (23:27 +0000)]
(Property Primitives): In primitive-property-ref,
note parameters to not-found-proc, use hyphens rather than underscores
for that parameter name.
In primitive-property-set!, VAL is the value parameter not CODE.
Marius Vollmer [Sun, 27 Jul 2003 16:31:43 +0000 (16:31 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 27 Jul 2003 16:31:11 +0000 (16:31 +0000)]
(scm_print_symbol_name): handle more weird characters by escaping the
symbol name properly. Thanks to Paul Jarc!
Marius Vollmer [Sun, 27 Jul 2003 16:21:33 +0000 (16:21 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 27 Jul 2003 16:20:21 +0000 (16:20 +0000)]
* posix.h (scm_setgroups): New prototype.
* posix.c (scm_setgroups): New. Thanks to Paul Jarc!
(scm_getgroups): Handle groups ids that don't fit into a fixnum.
Don't use SCM_WRITABLE_VELTS.
Marius Vollmer [Sun, 27 Jul 2003 16:17:35 +0000 (16:17 +0000)]
* configure.in: Look for sched_yield in -lrt; this is needed for
Solaris. Thanks to Matthias Koeppe!
(setgroups): Check for it.
Marius Vollmer [Sun, 27 Jul 2003 14:08:53 +0000 (14:08 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 27 Jul 2003 14:06:19 +0000 (14:06 +0000)]
(__libc_stack_end): Actually use the value in __libc_stack_end for
something so that the access doesn't get optimized away. Thanks to
Matthias Koeppe!
Marius Vollmer [Sun, 27 Jul 2003 13:56:48 +0000 (13:56 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 27 Jul 2003 13:56:10 +0000 (13:56 +0000)]
* gc.h (SCM_GC_SET_CELL_BVEC): New.
* gc-card.c (scm_i_init_card_freelist): Use it. Thanks to
Matthias Koeppe!
Marius Vollmer [Sun, 27 Jul 2003 13:35:02 +0000 (13:35 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 27 Jul 2003 13:34:32 +0000 (13:34 +0000)]
* __scm.h (SCM_C_INLINE_KEYWORD): New.
* numbers.c: Use it in place of SCM_C_INLINE so that the code
compiles when SCM_C_INLINE is undefined.
Dirk Herrmann [Thu, 24 Jul 2003 06:32:20 +0000 (06:32 +0000)]
* __scm.h: Reformulated the architecture and compiler properties
in terms of properties of scm_t_bits and SCM variables rather than
in terms of c standard types. This is since it is not known which
of the standard types scm_t_bits and SCM variables will be defined
to.
Kevin Ryde [Thu, 24 Jul 2003 01:05:02 +0000 (01:05 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 24 Jul 2003 01:03:40 +0000 (01:03 +0000)]
(scm_angle): Use scm_flo0 for non-negative inum, bignum and real.
Kevin Ryde [Thu, 24 Jul 2003 01:00:10 +0000 (01:00 +0000)]
(angle): New tests.
Kevin Ryde [Thu, 24 Jul 2003 00:47:39 +0000 (00:47 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 24 Jul 2003 00:30:31 +0000 (00:30 +0000)]
(Continuations): Rewrite with more detail.
Kevin Ryde [Thu, 24 Jul 2003 00:14:59 +0000 (00:14 +0000)]
Shrink new parallel forms stuff, now described in the manual.
Kevin Ryde [Thu, 24 Jul 2003 00:12:06 +0000 (00:12 +0000)]
Bit more of:
(Parallel Forms): New section.
Kevin Ryde [Thu, 24 Jul 2003 00:11:09 +0000 (00:11 +0000)]
(Parallel Forms): New section.
Kevin Ryde [Thu, 24 Jul 2003 00:03:53 +0000 (00:03 +0000)]
(System asyncs): Add index entries for C functions.
Kevin Ryde [Wed, 23 Jul 2003 23:53:39 +0000 (23:53 +0000)]
(Dynamic Wind): Untabify.
(Multiple Values): Use @result.
Reported by Stephen Compall <s11@member.fsf.org>.
Kevin Ryde [Fri, 18 Jul 2003 01:28:38 +0000 (01:28 +0000)]
Shrink scm_call_X, scm_apply_X and scm_list_X entries, now described
in the manual.
Kevin Ryde [Fri, 18 Jul 2003 01:21:30 +0000 (01:21 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 18 Jul 2003 01:21:05 +0000 (01:21 +0000)]
(Fly Evaluation): In apply, reword for
clarity, drop the "append" example. Add scm_apply, scm_apply_0,
scm_apply_1, scm_apply_2, scm_apply_3.
Add scm_call_0, scm_call_1, scm_call_2, scm_call_3.
In apply:nconc2last, move down after "apply", reword for clarity, note
correspondence to apply params.
Kevin Ryde [Fri, 18 Jul 2003 00:52:13 +0000 (00:52 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 18 Jul 2003 00:51:42 +0000 (00:51 +0000)]
(SRFI-0): Add cond-expand index entry.
(SRFI-9): Add define-record-type index entry.
Kevin Ryde [Fri, 18 Jul 2003 00:50:46 +0000 (00:50 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 18 Jul 2003 00:50:23 +0000 (00:50 +0000)]
(nicode): New macro.
Kevin Ryde [Fri, 18 Jul 2003 00:48:59 +0000 (00:48 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 18 Jul 2003 00:02:33 +0000 (00:02 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 18 Jul 2003 00:01:55 +0000 (00:01 +0000)]
(*): Add complex/bignum test.
Kevin Ryde [Thu, 17 Jul 2003 23:58:08 +0000 (23:58 +0000)]
(List Constructors): In list, use "elem1
... elemN". Add scm_list_1, scm_list_2, scm_list_3, scm_list_4,
scm_list_5, scm_list_n. Remove scm_list, since it's a no-op.
Kevin Ryde [Thu, 17 Jul 2003 23:40:03 +0000 (23:40 +0000)]
*** empty log message ***
Kevin Ryde [Thu, 17 Jul 2003 23:38:34 +0000 (23:38 +0000)]
(scm_product): In complex * bignum, correction to
REAL/IMAG fetch, x is the complex, not y.
Kevin Ryde [Sun, 13 Jul 2003 23:08:13 +0000 (23:08 +0000)]
*** empty log message ***
Kevin Ryde [Sun, 13 Jul 2003 23:06:33 +0000 (23:06 +0000)]
2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* tests/srfi-1.test (partition): Add tests.
Kevin Ryde [Sun, 13 Jul 2003 23:05:31 +0000 (23:05 +0000)]
2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* srfi-1.c, srfi-1.h (scm_srfi1_partition), srfi-1.scm (partition):
Re-implement in C to avoid stack overflows for long input lists.
Mikael Djurfeldt [Sun, 13 Jul 2003 16:13:57 +0000 (16:13 +0000)]
(scm_odd_p, scm_even_p): Bugfix: Treat result of
scm_inf_p test as Scheme values.
(scm_sum): Bugfix: Normalize bignum created from a negative bignum
and a positive inum.
Use GNU indentation style.
Dirk Herrmann [Sat, 12 Jul 2003 06:44:57 +0000 (06:44 +0000)]
* values.c (scm_values): Build lists of length 1 by using
scm_list_1 instead of using scm_cons.
Kevin Ryde [Fri, 11 Jul 2003 22:46:54 +0000 (22:46 +0000)]
*** empty log message ***
Kevin Ryde [Fri, 11 Jul 2003 22:44:59 +0000 (22:44 +0000)]
(SRFI-1 Constructors): In iota, reword a bit for
clarity and add a couple of examples.
Kevin Ryde [Wed, 9 Jul 2003 22:28:08 +0000 (22:28 +0000)]
*** empty log message ***
Kevin Ryde [Wed, 9 Jul 2003 22:08:13 +0000 (22:08 +0000)]
* deprecation.c (scm_c_issue_deprecation_warning_fmt): Add va_end.
* list.c (scm_list_n): Ditto.
Kevin Ryde [Wed, 9 Jul 2003 22:07:11 +0000 (22:07 +0000)]
(scm_c_issue_deprecation_warning_fmt): Add va_end.
Kevin Ryde [Wed, 9 Jul 2003 22:05:43 +0000 (22:05 +0000)]
(Deprecated): Add scm_remember.
Kevin Ryde [Wed, 9 Jul 2003 22:04:00 +0000 (22:04 +0000)]
*** empty log message ***
Kevin Ryde [Wed, 9 Jul 2003 22:02:20 +0000 (22:02 +0000)]
(scm_gc_realloc): Define "ptr" at start of function.
Kevin Ryde [Tue, 8 Jul 2003 00:42:27 +0000 (00:42 +0000)]
*** empty log message ***
Kevin Ryde [Tue, 8 Jul 2003 00:41:34 +0000 (00:41 +0000)]
Matthias Koeppe <mkoeppe@merkur.math.uni-magdeburg.de>:
(scm_t_bits, scm_t_signed_bits, etc): Avoid solaris empty
defines of INTPTR_MAX and UINTPTR_MAX, combine conditionals for
scm_t_bits and scm_t_signed_bits to avoid any chance of one and not
the other using intptr_t.
Kevin Ryde [Tue, 8 Jul 2003 00:33:43 +0000 (00:33 +0000)]
*** empty log message ***
Kevin Ryde [Tue, 8 Jul 2003 00:32:01 +0000 (00:32 +0000)]
(make-polar, magnitude): New tests.
Kevin Ryde [Tue, 8 Jul 2003 00:29:59 +0000 (00:29 +0000)]
(AC_CHECK_FUNCS): Add sincos.
Kevin Ryde [Tue, 8 Jul 2003 00:27:03 +0000 (00:27 +0000)]
(scm_make_polar): Use sincos, when available.
(scm_magnitude): Use hypot.
Kevin Ryde [Tue, 8 Jul 2003 00:15:23 +0000 (00:15 +0000)]
*** empty log message ***
Kevin Ryde [Tue, 8 Jul 2003 00:14:44 +0000 (00:14 +0000)]
Remove a diagnostic accidentally left in initial checkin.
Kevin Ryde [Tue, 8 Jul 2003 00:13:06 +0000 (00:13 +0000)]
(delete, delete!): Add more tests.
(delete-duplicates, delete-duplicates!): Add tests.
Kevin Ryde [Tue, 8 Jul 2003 00:10:42 +0000 (00:10 +0000)]
(delete, delete!, delete-duplicates, delete-duplicates!): Remove.
Kevin Ryde [Tue, 8 Jul 2003 00:09:54 +0000 (00:09 +0000)]
(scm_srfi1_delete, scm_srfi1_delete_x,
scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
functions.
Kevin Ryde [Tue, 8 Jul 2003 00:09:17 +0000 (00:09 +0000)]
(scm_srfi1_delete, scm_srfi1_delete_x,
scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
functions. scm_srfi1_delete_x is derived from scm_delete_x.
Kevin Ryde [Mon, 7 Jul 2003 22:00:34 +0000 (22:00 +0000)]
(scm_call_with_new_thread): In docstring, use "( )"
outside @var to quieten makeinfo, and use @code.
Kevin Ryde [Mon, 7 Jul 2003 21:58:55 +0000 (21:58 +0000)]
(scm_char_ready_p, scm_peek_char): In docstrings, don't use
@footnote since it doesn't go though to guile-procedures.txt.
Han-Wen Nienhuys [Sun, 6 Jul 2003 14:54:07 +0000 (14:54 +0000)]
(decrease_mtrigger): new function
(increase_mtrigger): new function, separate debug registering and
mtrigger administration.
(scm_gc_realloc): bugfix: do mtrigger administration before the
actual realloc, for the realloc might invalidate a GC-d segment of
memory. Thanks to Sam Hocevar for pointing this out.
(scm_gc_realloc): use scm_malloc_reregister instead of
unregistering and registering in sequence.
Han-Wen Nienhuys [Wed, 2 Jul 2003 23:04:54 +0000 (23:04 +0000)]
(SCM_ASSERT): change "else" expansion to "do { } while (0)"
Han-Wen Nienhuys [Wed, 2 Jul 2003 16:11:08 +0000 (16:11 +0000)]
(SCM_ASRTGO): add "else" to macro expansions with if
clauses.
Marius Vollmer [Sun, 29 Jun 2003 14:57:54 +0000 (14:57 +0000)]
*** empty log message ***