bpt/guile.git
20 years ago*** empty log message ***
Kevin Ryde [Fri, 22 Aug 2003 23:26:07 +0000 (23:26 +0000)]
*** empty log message ***

20 years ago(scm_system): Remove SCM_DEFER_INTS, system() should be
Kevin Ryde [Fri, 22 Aug 2003 23:25:02 +0000 (23:25 +0000)]
(scm_system): Remove SCM_DEFER_INTS, system() should be
thread safe, and could take a long time too.

20 years agoAdd a copyright year.
Kevin Ryde [Fri, 22 Aug 2003 23:23:17 +0000 (23:23 +0000)]
Add a copyright year.

20 years agoAdd new "while" proper break and continue.
Kevin Ryde [Fri, 22 Aug 2003 23:17:50 +0000 (23:17 +0000)]
Add new "while" proper break and continue.
Add srfi-1 list-copy of improper lists.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 22 Aug 2003 23:14:11 +0000 (23:14 +0000)]
*** empty log message ***

20 years ago(list-copy): New tests.
Kevin Ryde [Fri, 22 Aug 2003 22:57:46 +0000 (22:57 +0000)]
(list-copy): New tests.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 22 Aug 2003 22:37:52 +0000 (22:37 +0000)]
*** empty log message ***

20 years ago(list-copy): New function, derived
Kevin Ryde [Fri, 22 Aug 2003 22:36:18 +0000 (22:36 +0000)]
(list-copy): New function, derived
from core list-copy but allowing improper lists, per SRFI-1 spec.

20 years ago(date-week-number): Add tests.
Kevin Ryde [Fri, 22 Aug 2003 22:30:52 +0000 (22:30 +0000)]
(date-week-number): Add tests.

20 years agoAdd a copyright year.
Kevin Ryde [Fri, 22 Aug 2003 22:29:29 +0000 (22:29 +0000)]
Add a copyright year.

20 years ago(date-week-number): Correction, day of week starting
Kevin Ryde [Fri, 22 Aug 2003 22:28:53 +0000 (22:28 +0000)]
(date-week-number): Correction, day of week starting
week applied was off by one.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 22 Aug 2003 01:24:59 +0000 (01:24 +0000)]
*** empty log message ***

20 years ago(-): Exercise bignum - inum.
Kevin Ryde [Fri, 22 Aug 2003 01:23:14 +0000 (01:23 +0000)]
(-): Exercise bignum - inum.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 22 Aug 2003 01:19:24 +0000 (01:19 +0000)]
*** empty log message ***

20 years ago(scm_difference): Correction to bignum - negative inum.
Kevin Ryde [Fri, 22 Aug 2003 01:17:48 +0000 (01:17 +0000)]
(scm_difference): Correction to bignum - negative inum.

20 years agoMisc. file rationalization.
Neil Jerram [Thu, 21 Aug 2003 18:34:43 +0000 (18:34 +0000)]
Misc. file rationalization.

20 years agoReorg to remove guile-init.el.
Neil Jerram [Thu, 21 Aug 2003 18:13:59 +0000 (18:13 +0000)]
Reorg to remove guile-init.el.

20 years agoImport Mikael's Emacs interface code (guileint-1.5.2) into Guile CVS.
Neil Jerram [Wed, 20 Aug 2003 19:00:44 +0000 (19:00 +0000)]
Import Mikael's Emacs interface code (guileint-1.5.2) into Guile CVS.

20 years ago*** empty log message ***
Kevin Ryde [Sun, 17 Aug 2003 00:40:59 +0000 (00:40 +0000)]
*** empty log message ***

20 years ago(while): Exercise break and continue from
Kevin Ryde [Sun, 17 Aug 2003 00:40:33 +0000 (00:40 +0000)]
(while): Exercise break and continue from
recursive nested loops.

20 years ago * boot-9.scm (while): Use a new key dynamically for each loop, so
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.

20 years ago(Hash Table Reference): Collect up groups of
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.

20 years ago*** empty log message ***
Kevin Ryde [Tue, 12 Aug 2003 21:48:57 +0000 (21:48 +0000)]
*** empty log message ***

20 years ago(while do): Update `while' for code rewrite, in
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.

20 years ago*** empty log message ***
Kevin Ryde [Tue, 12 Aug 2003 21:43:34 +0000 (21:43 +0000)]
*** empty log message ***

20 years agoAdd a copyright year.
Kevin Ryde [Tue, 12 Aug 2003 21:39:56 +0000 (21:39 +0000)]
Add a copyright year.

20 years ago(while): New tests.
Kevin Ryde [Tue, 12 Aug 2003 21:39:30 +0000 (21:39 +0000)]
(while): New tests.

20 years ago(while): Rewrite, continue as proper escape, break
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.

20 years ago(open-process): Close input-fdes, output-fdes and
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.

20 years ago(scm_remember_upto_here_1, scm_remember_upto_here_2): Undefine
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.

20 years ago(scm_remember_upto_here_1, scm_remember_upto_here_2) [__GNUC__]:
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.

20 years ago(scm_system): In docstring, refer to status:exit-val rather than
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".

20 years ago(getenv): Use <stdlib.h> for prototype.
Kevin Ryde [Tue, 12 Aug 2003 20:23:35 +0000 (20:23 +0000)]
(getenv): Use <stdlib.h> for prototype.

20 years ago * tests/numbers.test: Eliminated misuses of expect-fail. It
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.

20 years agoAdd source-properties versus set-source-properties! fix.
Kevin Ryde [Fri, 8 Aug 2003 23:28:11 +0000 (23:28 +0000)]
Add source-properties versus set-source-properties! fix.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 8 Aug 2003 23:07:07 +0000 (23:07 +0000)]
*** empty log message ***

20 years ago * tests/srcprop.test: New file.
Kevin Ryde [Fri, 8 Aug 2003 23:05:30 +0000 (23:05 +0000)]
* tests/srcprop.test: New file.
* Makefile.am (SCM_TESTS): Add it.

20 years agoNew file.
Kevin Ryde [Fri, 8 Aug 2003 23:04:55 +0000 (23:04 +0000)]
New file.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 8 Aug 2003 22:58:24 +0000 (22:58 +0000)]
*** empty log message ***

20 years ago(scm_source_properties): Return plist from hash if it's a
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,

20 years ago*** empty log message ***
Kevin Ryde [Fri, 8 Aug 2003 22:20:46 +0000 (22:20 +0000)]
*** empty log message ***

20 years ago(Memory Blocks): Add index entries for deprecated scm_must_malloc and friends.
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.

20 years ago*** empty log message ***
Kevin Ryde [Mon, 28 Jul 2003 23:59:47 +0000 (23:59 +0000)]
*** empty log message ***

20 years ago(length+): Rewrite using scm_ilength.
Kevin Ryde [Mon, 28 Jul 2003 23:54:39 +0000 (23:54 +0000)]
(length+): Rewrite using scm_ilength.

20 years ago(length+): New tests.
Kevin Ryde [Mon, 28 Jul 2003 23:51:41 +0000 (23:51 +0000)]
(length+): New tests.

20 years agoCheck cond-expand srfi-34.
Kevin Ryde [Mon, 28 Jul 2003 23:47:47 +0000 (23:47 +0000)]
Check cond-expand srfi-34.

20 years agoAdd cond-expand-provide srfi-34.
Kevin Ryde [Mon, 28 Jul 2003 23:46:48 +0000 (23:46 +0000)]
Add cond-expand-provide srfi-34.

20 years ago(concatenate, concatenate!): New tests.
Kevin Ryde [Mon, 28 Jul 2003 23:45:31 +0000 (23:45 +0000)]
(concatenate, concatenate!): New tests.

20 years ago(concatenate, concatenate!): Use scm_append and scm_append_x.
Kevin Ryde [Mon, 28 Jul 2003 23:43:51 +0000 (23:43 +0000)]
(concatenate, concatenate!): Use scm_append and scm_append_x.

20 years ago(List Constructors): Remove scm_cons_star, since it's not very helpful.
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.

20 years ago(scm_primitive_property_ref): In docstring, note
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.

20 years ago(Property Primitives): In primitive-property-ref,
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.

20 years ago*** empty log message ***
Marius Vollmer [Sun, 27 Jul 2003 16:31:43 +0000 (16:31 +0000)]
*** empty log message ***

20 years ago(scm_print_symbol_name): handle more weird characters by escaping the
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!

20 years ago*** empty log message ***
Marius Vollmer [Sun, 27 Jul 2003 16:21:33 +0000 (16:21 +0000)]
*** empty log message ***

20 years ago* posix.h (scm_setgroups): New prototype.
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.

20 years ago* configure.in: Look for sched_yield in -lrt; this is needed for
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.

20 years ago*** empty log message ***
Marius Vollmer [Sun, 27 Jul 2003 14:08:53 +0000 (14:08 +0000)]
*** empty log message ***

20 years ago(__libc_stack_end): Actually use the value in __libc_stack_end for
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!

20 years ago*** empty log message ***
Marius Vollmer [Sun, 27 Jul 2003 13:56:48 +0000 (13:56 +0000)]
*** empty log message ***

20 years ago* gc.h (SCM_GC_SET_CELL_BVEC): New.
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!

20 years ago*** empty log message ***
Marius Vollmer [Sun, 27 Jul 2003 13:35:02 +0000 (13:35 +0000)]
*** empty log message ***

20 years ago* __scm.h (SCM_C_INLINE_KEYWORD): New.
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.

20 years ago * __scm.h: Reformulated the architecture and compiler properties
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.

20 years ago*** empty log message ***
Kevin Ryde [Thu, 24 Jul 2003 01:05:02 +0000 (01:05 +0000)]
*** empty log message ***

20 years ago(scm_angle): Use scm_flo0 for non-negative inum, bignum and real.
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.

20 years ago(angle): New tests.
Kevin Ryde [Thu, 24 Jul 2003 01:00:10 +0000 (01:00 +0000)]
(angle): New tests.

20 years ago*** empty log message ***
Kevin Ryde [Thu, 24 Jul 2003 00:47:39 +0000 (00:47 +0000)]
*** empty log message ***

20 years ago(Continuations): Rewrite with more detail.
Kevin Ryde [Thu, 24 Jul 2003 00:30:31 +0000 (00:30 +0000)]
(Continuations): Rewrite with more detail.

20 years agoShrink new parallel forms stuff, now described in the manual.
Kevin Ryde [Thu, 24 Jul 2003 00:14:59 +0000 (00:14 +0000)]
Shrink new parallel forms stuff, now described in the manual.

20 years agoBit more of:
Kevin Ryde [Thu, 24 Jul 2003 00:12:06 +0000 (00:12 +0000)]
Bit more of:
(Parallel Forms): New section.

20 years ago(Parallel Forms): New section.
Kevin Ryde [Thu, 24 Jul 2003 00:11:09 +0000 (00:11 +0000)]
(Parallel Forms): New section.

20 years ago(System asyncs): Add index entries for C functions.
Kevin Ryde [Thu, 24 Jul 2003 00:03:53 +0000 (00:03 +0000)]
(System asyncs): Add index entries for C functions.

20 years ago(Dynamic Wind): Untabify.
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>.

20 years agoShrink scm_call_X, scm_apply_X and scm_list_X entries, now described
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.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 18 Jul 2003 01:21:30 +0000 (01:21 +0000)]
*** empty log message ***

20 years ago(Fly Evaluation): In apply, reword for
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.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 18 Jul 2003 00:52:13 +0000 (00:52 +0000)]
*** empty log message ***

20 years ago(SRFI-0): Add cond-expand index entry.
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.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 18 Jul 2003 00:50:46 +0000 (00:50 +0000)]
*** empty log message ***

20 years ago(nicode): New macro.
Kevin Ryde [Fri, 18 Jul 2003 00:50:23 +0000 (00:50 +0000)]
(nicode): New macro.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 18 Jul 2003 00:48:59 +0000 (00:48 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Kevin Ryde [Fri, 18 Jul 2003 00:02:33 +0000 (00:02 +0000)]
*** empty log message ***

20 years ago(*): Add complex/bignum test.
Kevin Ryde [Fri, 18 Jul 2003 00:01:55 +0000 (00:01 +0000)]
(*): Add complex/bignum test.

20 years ago(List Constructors): In list, use "elem1
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.

20 years ago*** empty log message ***
Kevin Ryde [Thu, 17 Jul 2003 23:40:03 +0000 (23:40 +0000)]
*** empty log message ***

20 years ago(scm_product): In complex * bignum, correction to
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.

20 years ago*** empty log message ***
Kevin Ryde [Sun, 13 Jul 2003 23:08:13 +0000 (23:08 +0000)]
*** empty log message ***

20 years ago2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
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.

20 years ago2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
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.

20 years ago(scm_odd_p, scm_even_p): Bugfix: Treat result of
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.

20 years ago * values.c (scm_values): Build lists of length 1 by using
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.

20 years ago*** empty log message ***
Kevin Ryde [Fri, 11 Jul 2003 22:46:54 +0000 (22:46 +0000)]
*** empty log message ***

20 years ago(SRFI-1 Constructors): In iota, reword a bit for
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.

20 years ago*** empty log message ***
Kevin Ryde [Wed, 9 Jul 2003 22:28:08 +0000 (22:28 +0000)]
*** empty log message ***

20 years ago* deprecation.c (scm_c_issue_deprecation_warning_fmt): Add va_end.
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.

20 years ago(scm_c_issue_deprecation_warning_fmt): Add va_end.
Kevin Ryde [Wed, 9 Jul 2003 22:07:11 +0000 (22:07 +0000)]
(scm_c_issue_deprecation_warning_fmt): Add va_end.

20 years ago(Deprecated): Add scm_remember.
Kevin Ryde [Wed, 9 Jul 2003 22:05:43 +0000 (22:05 +0000)]
(Deprecated): Add scm_remember.

20 years ago*** empty log message ***
Kevin Ryde [Wed, 9 Jul 2003 22:04:00 +0000 (22:04 +0000)]
*** empty log message ***

20 years ago(scm_gc_realloc): Define "ptr" at start of function.
Kevin Ryde [Wed, 9 Jul 2003 22:02:20 +0000 (22:02 +0000)]
(scm_gc_realloc): Define "ptr" at start of function.