bpt/guile.git
23 years ago* Fixed the changelog entry regarding re-introduction of struct member
Dirk Herrmann [Thu, 28 Dec 2000 16:49:09 +0000 (16:49 +0000)]
* Fixed the changelog entry regarding re-introduction of struct member
  properties (I continuously talked of member 'documentation' instead)
* Replace calls to scm_remember with calls to scm_remember_upto_here_1.

23 years ago* Get rid of the annoying variable-gets-clobbered-by-longjmp warning.
Dirk Herrmann [Thu, 28 Dec 2000 16:06:56 +0000 (16:06 +0000)]
* Get rid of the annoying variable-gets-clobbered-by-longjmp warning.

23 years ago* Re-introduces the unused member "documentation" of struct scm_subr_entry.
Dirk Herrmann [Thu, 28 Dec 2000 15:09:56 +0000 (15:09 +0000)]
* Re-introduces the unused member "documentation" of struct scm_subr_entry.

23 years ago* guardians.c (mark_dependencies_in_tconc): new function.
Michael Livshin [Thu, 28 Dec 2000 14:26:12 +0000 (14:26 +0000)]
* guardians.c (mark_dependencies_in_tconc): new function.
(mark_dependencies): bug fix.  mark the dependencies of the known
zombies, too.  duh.

23 years ago* gc.c: (scm_gc_mark_dependencies): use SCM_EQ_P for SCMs, not
Michael Livshin [Sun, 24 Dec 2000 09:54:24 +0000 (09:54 +0000)]
* gc.c: (scm_gc_mark_dependencies): use SCM_EQ_P for SCMs, not
'=='.  also, return after calling `scm_gc_mark'.

23 years ago*** empty log message ***
Michael Livshin [Sun, 24 Dec 2000 00:41:14 +0000 (00:41 +0000)]
*** empty log message ***

23 years ago* gc.c: (scm_gc_mark_dependencies): new function. like
Michael Livshin [Sat, 23 Dec 2000 23:00:23 +0000 (23:00 +0000)]
* gc.c: (scm_gc_mark_dependencies): new function.  like
`scm_gc_mark', but doesn't mark the argument itself.  defined
using an arrangement similar to that in eval.c: `scm_gc_mark' and
`scm_gc_mark_dependencies' are derived from the same "template"
by ugly preprocessor magic.

* gc.h: added prototype for `scm_gc_mark_dependencies'.

* init.c (scm_init_guile_1): call the renamed
`scm_init_guardians'.

* guardians.h: changed prototypes for `scm_make_guardian' and
`scm_init_guardians'.

* guardians.c (guardian_t): added new fields `greedy_p' and
`listed_p'.
(GUARDIAN_P): predicate that says whether its argument is a
guardian.
(GUARDIAN_GREEDY_P, GUARDIAN_LISTED_P): new predicates.
(greedy_guardians, sharing_guardians): new variables.  hold the
greedy and sharing live guardian lists, respectively.
(first_live_guardian, current_link_field): removed.
(greedily_guarded_prop): new variable.  holds the "is greedily
guarded" object property.
(self_centered_zombies): new variable.  stores guarded objects
that are parts of cycles.
(add_to_live_list): new function, introduced to decouple marking a
guardian and adding it to the live list.
(guardian_mark): call `add_to_live_list'.
(guardian_print): print whether the guardian is greedy or not.
also change "live" and "zombie" to "reachable" and "unreachable"
respectively, to be less confusing.
(scm_guard): if the guardian is greedy, test whether the object is
already greedily marked.  throw an error if so.
(scm_get_one_zombie): if the guardian is greedy, remove the
"greedily guarded" property from the object.
(scm_make_guardian): add a new optional boolean argument which
says whether the guardian is greedy or sharing.
(guardian_gc_init): init the new live lists.
(mark_dependencies): new function.
(mark_and_zombify): new function.
(guardian_zombify): reworked to support the new guardian
semantics.  move some logic to `mark_dependencies' and
`mark_and_zombify'.
(whine_about_self_centered_zombies): new function.  installed in
the `after-gc-hook' to complain about guarded objects which are
parts of cycles.
(scm_init_guardians): init the new stuff.  renamed from
`scm_init_guardian'.

23 years agoDoc fixes from Martin Grabmüller.
Marius Vollmer [Sat, 23 Dec 2000 17:27:04 +0000 (17:27 +0000)]
Doc fixes from Martin Grabmüller.

23 years ago* Removed unused member "properties" from struct scm_subr_entry.
Dirk Herrmann [Sat, 23 Dec 2000 11:38:06 +0000 (11:38 +0000)]
* Removed unused member "properties" from struct scm_subr_entry.

23 years ago* Removed unused member "documentation" from struct scm_subr_entry.
Dirk Herrmann [Fri, 22 Dec 2000 16:46:17 +0000 (16:46 +0000)]
* Removed unused member "documentation" from struct scm_subr_entry.
* Eliminate use of scm_intern0/scm_sysintern0 in procs.c.

23 years ago* Make sure, re-entering the dynamic scope of an eval statement will
Dirk Herrmann [Thu, 21 Dec 2000 17:51:55 +0000 (17:51 +0000)]
* Make sure, re-entering the dynamic scope of an eval statement will
  restore the latest selected module.

23 years ago* Simplify the use of SCM_PUREGENERICP.
Dirk Herrmann [Thu, 21 Dec 2000 17:07:38 +0000 (17:07 +0000)]
* Simplify the use of SCM_PUREGENERICP.

23 years ago * continuations.c (continuation_apply): subtract the length of
Gary Houston [Wed, 20 Dec 2000 22:27:09 +0000 (22:27 +0000)]
* continuations.c (continuation_apply): subtract the length of
continuation->dynenv, not the dynenv itself.  I broke it last
time I changed this file.  thanks to Bernard Urban.

23 years ago* Remove some redundant SCM_N?IMP tests.
Dirk Herrmann [Mon, 18 Dec 2000 17:36:44 +0000 (17:36 +0000)]
* Remove some redundant SCM_N?IMP tests.

23 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 17 Dec 2000 04:00:52 +0000 (04:00 +0000)]
*** empty log message ***

23 years agoSome GOOPS cleanup.
Keisuke Nishida [Sat, 16 Dec 2000 20:25:08 +0000 (20:25 +0000)]
Some GOOPS cleanup.

23 years agoIgnore guile.texi.
Keisuke Nishida [Sat, 16 Dec 2000 19:58:28 +0000 (19:58 +0000)]
Ignore guile.texi.

23 years ago*** empty log message ***
Michael Livshin [Sat, 16 Dec 2000 19:25:05 +0000 (19:25 +0000)]
*** empty log message ***

23 years agoAdded prototype.
Keisuke Nishida [Sat, 16 Dec 2000 18:27:40 +0000 (18:27 +0000)]
Added prototype.

23 years ago* New environment variable scm_system_environment to replace scm_symhash.
Dirk Herrmann [Fri, 15 Dec 2000 23:21:06 +0000 (23:21 +0000)]
* New environment variable scm_system_environment to replace scm_symhash.

23 years ago* Avoid using eval-in-module in example code. Thanks to Neil Jerram.
Dirk Herrmann [Fri, 15 Dec 2000 22:01:30 +0000 (22:01 +0000)]
* Avoid using eval-in-module in example code.  Thanks to Neil Jerram.

23 years ago* Fix a bug in scm_eval.
Dirk Herrmann [Fri, 15 Dec 2000 14:00:18 +0000 (14:00 +0000)]
* Fix a bug in scm_eval.

23 years ago* Use eval instead of eval-in-module.
Dirk Herrmann [Fri, 15 Dec 2000 09:53:56 +0000 (09:53 +0000)]
* Use eval instead of eval-in-module.

23 years ago* Re-introduced most-positive-fixnum and most-negative-fixnum.
Dirk Herrmann [Thu, 14 Dec 2000 00:08:56 +0000 (00:08 +0000)]
* Re-introduced most-positive-fixnum and most-negative-fixnum.

23 years ago* Renamed scm_symbols to symbols and made it static in symbols.c.
Dirk Herrmann [Wed, 13 Dec 2000 11:38:30 +0000 (11:38 +0000)]
* Renamed scm_symbols to symbols and made it static in symbols.c.

23 years ago* Fixed the last patch (which was uncomplete). Thanks to Dale P. Smith.
Dirk Herrmann [Wed, 13 Dec 2000 09:44:28 +0000 (09:44 +0000)]
* Fixed the last patch (which was uncomplete).  Thanks to Dale P. Smith.

23 years ago* The creation of symbols and bindings are two separate issues now.
Dirk Herrmann [Tue, 12 Dec 2000 18:36:35 +0000 (18:36 +0000)]
* The creation of symbols and bindings are two separate issues now.

23 years ago* Lookup 'use-emacs-interface in the-root-module.
Dirk Herrmann [Tue, 12 Dec 2000 18:10:56 +0000 (18:10 +0000)]
* Lookup 'use-emacs-interface in the-root-module.

23 years ago* Make the creation of bindings more straightforward.
Dirk Herrmann [Tue, 12 Dec 2000 14:07:06 +0000 (14:07 +0000)]
* Make the creation of bindings more straightforward.

23 years ago* Moved function scm_string_hash to hash.c.
Dirk Herrmann [Tue, 12 Dec 2000 13:57:26 +0000 (13:57 +0000)]
* Moved function scm_string_hash to hash.c.

23 years ago*** empty log message ***
Marius Vollmer [Mon, 11 Dec 2000 18:09:35 +0000 (18:09 +0000)]
*** empty log message ***

23 years ago* gc_os_dep.c (scm_get_stack_base) [MSWIN32]: Added detection of
Marius Vollmer [Mon, 11 Dec 2000 18:09:07 +0000 (18:09 +0000)]
* gc_os_dep.c (scm_get_stack_base) [MSWIN32]: Added detection of
page size on the w32 architecture.  Updated from Boehms gc5.2.
Thanks to Lars J. Aas!

23 years ago* Initialize symbols using SCM_(GLOBAL_)?SYMBOL instead of scm_sysintern...
Dirk Herrmann [Mon, 11 Dec 2000 14:48:23 +0000 (14:48 +0000)]
* Initialize symbols using SCM_(GLOBAL_)?SYMBOL instead of scm_sysintern...
* Use scm_str2symbol instead of scm_sysintern0.
* Garbage collection initialization code now within gc.c only.

23 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 10 Dec 2000 20:34:12 +0000 (20:34 +0000)]
*** empty log message ***

23 years ago* threads.h (SCM_MUTEXP): Typo: removed extra parenthesis.
Mikael Djurfeldt [Sun, 10 Dec 2000 20:34:01 +0000 (20:34 +0000)]
* threads.h (SCM_MUTEXP): Typo: removed extra parenthesis.

23 years agoAdded entries of smob_mfpe and smob_apply
Keisuke Nishida [Fri, 8 Dec 2000 18:10:57 +0000 (18:10 +0000)]
Added entries of smob_mfpe and smob_apply

23 years agoSmob-related creanup.
Keisuke Nishida [Fri, 8 Dec 2000 17:32:56 +0000 (17:32 +0000)]
Smob-related creanup.

23 years ago* Use scm_mem2symbol or scm_str2symbol to create symbol objects.
Dirk Herrmann [Fri, 8 Dec 2000 17:08:34 +0000 (17:08 +0000)]
* Use scm_mem2symbol or scm_str2symbol to create symbol objects.

23 years ago* New functions: scm_str2symbol, scm_mem2symbol
Dirk Herrmann [Fri, 8 Dec 2000 16:32:36 +0000 (16:32 +0000)]
* New functions: scm_str2symbol, scm_mem2symbol

23 years ago* Fix spelling mistake.
Neil Jerram [Fri, 8 Dec 2000 15:39:10 +0000 (15:39 +0000)]
* Fix spelling mistake.

23 years ago* Guile does not assume a hash table size of scm_symhash_dim any more.
Dirk Herrmann [Fri, 8 Dec 2000 13:41:56 +0000 (13:41 +0000)]
* Guile does not assume a hash table size of scm_symhash_dim any more.

23 years ago* Undid my last patch and added a comment why it was unnecessary.
Dirk Herrmann [Thu, 7 Dec 2000 13:46:33 +0000 (13:46 +0000)]
* Undid my last patch and added a comment why it was unnecessary.

23 years agoDeprecated scm_make_smob_type_mfpe and scm_set_smob_mfpe.
Keisuke Nishida [Thu, 7 Dec 2000 12:04:48 +0000 (12:04 +0000)]
Deprecated scm_make_smob_type_mfpe and scm_set_smob_mfpe.
Some optimization on applicable smobs.  (Thanks to Dirk Herrmann)

23 years agoSome cleanup on smob calls.
Keisuke Nishida [Thu, 7 Dec 2000 07:10:26 +0000 (07:10 +0000)]
Some cleanup on smob calls.

23 years agoTest suite for applicable smobs.
Keisuke Nishida [Thu, 7 Dec 2000 01:40:55 +0000 (01:40 +0000)]
Test suite for applicable smobs.

23 years agoImproved smob calls.
Keisuke Nishida [Thu, 7 Dec 2000 00:55:12 +0000 (00:55 +0000)]
Improved smob calls.

23 years ago.cvsignore
Keisuke Nishida [Thu, 7 Dec 2000 00:40:31 +0000 (00:40 +0000)]
.cvsignore

23 years agoAdded some ignorable files.
Keisuke Nishida [Thu, 7 Dec 2000 00:39:51 +0000 (00:39 +0000)]
Added some ignorable files.

23 years ago* Fixed: gc_async must be protected from gc.
Dirk Herrmann [Wed, 6 Dec 2000 17:11:46 +0000 (17:11 +0000)]
* Fixed:  gc_async must be protected from gc.

23 years ago* No binding is created for %gc-thunk any more.
Dirk Herrmann [Wed, 6 Dec 2000 16:42:16 +0000 (16:42 +0000)]
* No binding is created for %gc-thunk any more.

23 years ago* Various minor cleanups.
Dirk Herrmann [Wed, 6 Dec 2000 16:24:00 +0000 (16:24 +0000)]
* Various minor cleanups.

23 years ago* eval.c: remove commented code, remove #ifdef CCLO conditionals
Dirk Herrmann [Wed, 6 Dec 2000 15:16:59 +0000 (15:16 +0000)]
* eval.c:  remove commented code, remove #ifdef CCLO conditionals
* remove uses of older GC marking and cell accessing macros

23 years ago* Use scm_tc3_* codes instead of hardcoded values.
Dirk Herrmann [Tue, 5 Dec 2000 14:07:03 +0000 (14:07 +0000)]
* Use scm_tc3_* codes instead of hardcoded values.

23 years ago* Changed guardian representation to applicable smob.
Dirk Herrmann [Tue, 5 Dec 2000 03:04:20 +0000 (03:04 +0000)]
* Changed guardian representation to applicable smob.
* Improved error reporting for dynamic loading.

23 years ago* Minor cleanup/optimization for char=?.
Dirk Herrmann [Mon, 4 Dec 2000 17:19:35 +0000 (17:19 +0000)]
* Minor cleanup/optimization for char=?.
* Cleanup CCLO handling.

23 years ago* Eliminate hard-coded value of scm_tc7_smob.
Dirk Herrmann [Mon, 4 Dec 2000 16:31:03 +0000 (16:31 +0000)]
* Eliminate hard-coded value of scm_tc7_smob.

23 years ago* Added scm_c_memq as a fast C level alternative for scm_memq.
Dirk Herrmann [Fri, 1 Dec 2000 17:57:42 +0000 (17:57 +0000)]
* Added scm_c_memq as a fast C level alternative for scm_memq.

23 years ago* Started goops cleanup.
Dirk Herrmann [Fri, 1 Dec 2000 16:05:33 +0000 (16:05 +0000)]
* Started goops cleanup.

23 years ago* coop-threads.c: Don't join finished threads. Thanks to Julian Satchell.
Dirk Herrmann [Thu, 30 Nov 2000 10:26:44 +0000 (10:26 +0000)]
* coop-threads.c: Don't join finished threads.  Thanks to Julian Satchell.
* coop.c: Removed old non-working code.

23 years ago*** empty log message ***
Gary Houston [Wed, 29 Nov 2000 21:27:13 +0000 (21:27 +0000)]
*** empty log message ***

23 years ago* Removed outdated comment.
Dirk Herrmann [Tue, 28 Nov 2000 18:22:23 +0000 (18:22 +0000)]
* Removed outdated comment.

23 years ago* Removed SCM_SYMBOL_UCHARS.
Dirk Herrmann [Tue, 28 Nov 2000 16:37:40 +0000 (16:37 +0000)]
* Removed SCM_SYMBOL_UCHARS.

23 years ago* Don't use make-shared-substring any more.
Dirk Herrmann [Tue, 28 Nov 2000 13:40:40 +0000 (13:40 +0000)]
* Don't use make-shared-substring any more.

23 years ago* Don't use make-shared-substring any more.
Dirk Herrmann [Tue, 28 Nov 2000 11:48:01 +0000 (11:48 +0000)]
* Don't use make-shared-substring any more.

23 years ago * boot-9.scm: values?, get-values, values, call-with-values:
Gary Houston [Sun, 26 Nov 2000 18:28:57 +0000 (18:28 +0000)]
* boot-9.scm: values?, get-values, values, call-with-values:
removed.  values and call-with-values are now primitives and
the other two were only exported by accident.  don't define
*values-rtd* record type or handle multiple values in
scm-style-repl.

23 years ago * reimplementation of values, call-with-values as primitives:
Gary Houston [Sun, 26 Nov 2000 18:27:49 +0000 (18:27 +0000)]
* reimplementation of values, call-with-values as primitives:

* values.c, values.h: new files.  use a struct to contain multiple
values, similar to the previous Scheme-level implementation.
* Makefile.am: add values.c, values.h, values.x.
* continuations.c (continuation_apply): support R5RS multiple value
continuations.
* init.c: call scm_init_values.
* struct.h: define SCM_SET_STRUCT_PRINTER.

23 years ago * use an applicable SMOB to represent continuations, instead of a
Gary Houston [Sat, 25 Nov 2000 16:58:25 +0000 (16:58 +0000)]
* use an applicable SMOB to represent continuations, instead of a
custom tc7 type.  This will make it easier to support R5RS
multiple value continuations, without the use of a Scheme-level
wrapper.

* continuations.c (scm_tc16_continuation, continuation_mark,
continuation_free, continuation_print, continuation_apply):
new SMOB support.
(scm_make_continuation): new procedure, replaces scm_make_cont
with a different interface.
(copy_stack_and_call, scm_dynthrow, scm_init_continuations): rewritten.
(CHEAP_CONTINUATIONS): removed non-working code completely.
(scm_call_continuation): removed.
* continuations.h (struct scm_contregs): add num_stack_items and
stack fields.  previously stack was stored following this struct:
use a tail array instead.
(SCM_CONTINUATIONP): new macro.
(SCM_CONTINUATION_LENGTH, SCM_SET_CONTINUATION_LENGTH):
rewritten.
(SCM_SET_CONTREGS): removed.
* tags.h: removed scm_tc7_contin (was tag 61).
* debug.c, gc.c, hash.c, print.c, procprop.c, procs.c:
removed scm_tc7_contin support.
* eval.c: use scm_make_continuation instead of scm_make_cont.
don't set jump buffers here.  remove scm_tc7_contin support.
* init.c, root.c: create SMOB continuation for rootcont instead
of scm_tc7_contin.  call scm_init_continuations before
scm_init_root.
* root.c: remove support for static jmpbuf.  It's not used by
default and I broke it.  create SMOB continuation for rootcont.
* stacks.c: use SCM_CONTINUATIONP.

23 years ago* Fix previous change (thanks to Matthias Koeppe).
Dirk Herrmann [Fri, 24 Nov 2000 14:43:41 +0000 (14:43 +0000)]
* Fix previous change (thanks to Matthias Koeppe).

23 years ago* Goops does not provide its own version of logand any more.
Dirk Herrmann [Fri, 24 Nov 2000 10:55:23 +0000 (10:55 +0000)]
* Goops does not provide its own version of logand any more.
* Removed use of deprecated stuff from goops.

23 years ago* Fixed readline default input/output port parameter handling.
Dirk Herrmann [Fri, 24 Nov 2000 10:38:57 +0000 (10:38 +0000)]
* Fixed readline default input/output port parameter handling.
* Removed redundant SCM_N?IMP tests.

23 years ago* Don't uses anything deprecated any more.
Dirk Herrmann [Fri, 24 Nov 2000 10:24:04 +0000 (10:24 +0000)]
* Don't uses anything deprecated any more.

23 years ago* Deprecated SCM_LENGTH_MAX.
Dirk Herrmann [Thu, 23 Nov 2000 15:26:24 +0000 (15:26 +0000)]
* Deprecated SCM_LENGTH_MAX.

23 years ago* SCM_SETCHARS deprecated.
Dirk Herrmann [Thu, 23 Nov 2000 13:54:49 +0000 (13:54 +0000)]
* SCM_SETCHARS deprecated.

23 years ago* Deprecated SCM_SETLENGTH.
Dirk Herrmann [Thu, 23 Nov 2000 08:59:22 +0000 (08:59 +0000)]
* Deprecated SCM_SETLENGTH.

23 years ago* Added SCM_SET_CONTINUATION_LENGTH to replace SCM_SETLENGTH.
Dirk Herrmann [Wed, 22 Nov 2000 15:36:58 +0000 (15:36 +0000)]
* Added SCM_SET_CONTINUATION_LENGTH to replace SCM_SETLENGTH.

23 years ago* Added SCM_SET_VECTOR_LENGTH as one replacement for SCM_SETLENGTH.
Dirk Herrmann [Wed, 22 Nov 2000 14:45:41 +0000 (14:45 +0000)]
* Added SCM_SET_VECTOR_LENGTH as one replacement for SCM_SETLENGTH.

23 years ago* Deprecated macros SCM_ROCHARS and SCM_ROUCHARS.
Dirk Herrmann [Wed, 22 Nov 2000 11:20:03 +0000 (11:20 +0000)]
* Deprecated macros SCM_ROCHARS and SCM_ROUCHARS.

23 years ago* This patch belongs to the previous one, it deprecates SCM_VALIDATE_RWSTRING.
Dirk Herrmann [Wed, 22 Nov 2000 09:16:06 +0000 (09:16 +0000)]
* This patch belongs to the previous one, it deprecates SCM_VALIDATE_RWSTRING.

23 years ago* Deprecated SCM_RWSTRINGP and SCM_VALIDATE_RWSTRING.
Dirk Herrmann [Tue, 21 Nov 2000 17:32:38 +0000 (17:32 +0000)]
* Deprecated SCM_RWSTRINGP and SCM_VALIDATE_RWSTRING.
* Prepared SCM_STRING_U?CHARS to replace SCM_ROU?CHARS.

23 years ago * configure.in: test $ac_cv_lib_readline_readline instead of
Gary Houston [Sun, 19 Nov 2000 12:21:36 +0000 (12:21 +0000)]
* configure.in: test $ac_cv_lib_readline_readline instead of
$ac_cv_lib_readline_main.  Thanks to Lars J. Aas.

23 years ago * Makefile.am (.c.x): don't prefix ".:" to $PATH when running
Gary Houston [Sat, 18 Nov 2000 22:18:03 +0000 (22:18 +0000)]
* Makefile.am (.c.x): don't prefix ".:" to $PATH when running
guile-doc-snarf.  it doesn't seem to do anything useful, but would
fail if $PATH contained whitespace.  Thanks to Lars J. Aas.

23 years ago* alist.c, arbiters.c, async.c, backtrace.c, boolean.c, chars.c,
Marius Vollmer [Fri, 17 Nov 2000 16:25:05 +0000 (16:25 +0000)]
* alist.c, arbiters.c, async.c, backtrace.c, boolean.c, chars.c,
continuations.c, debug-malloc.c, debug.c, dynl.c, dynwind.c,
environments.c, eq.c, error.c, eval.c, evalext.c, feature.c,
filesys.c, fluids.c, fports.c, gc.c, goops.c, guardians.c, hash.c,
hashtab.c, hooks.c, ioext.c, iselect.c, keywords.c, lang.c,
list.c, load.c, macros.c, modules.c, net_db.c, numbers.c,
objects.c, objprop.c, options.c, pairs.c, ports.c, posix.c,
print.c, procprop.c, procs.c, properties.c, ramap.c, random.c,
read.c, regex-posix.c, root.c, scmsigs.c, script.c, simpos.c,
socket.c, sort.c, srcprop.c, stackchk.c, stacks.c, stime.c,
strings.c, strop.c, strorder.c, strports.c, struct.c, symbols.c,
tag.c, threads.c, throw.c, unif.c, variable.c, vectors.c,
version.c, vports.c, weaks.c: Makes sure the snarfer output
inclusion is disabled when the snarfer is run on the file.  Thanks
to Lars J. Aas!

* Makefile.am: Install guile-procedures.txt in version-specific
directory to enable multiple installed guile versions.  Suggested
by Karl M. Hegbloom <karlheg@debian.org, patch by Matthias Koeppe.

23 years ago * fports.c: include gc.h.
Gary Houston [Mon, 13 Nov 2000 23:16:38 +0000 (23:16 +0000)]
* fports.c: include gc.h.
(fport_flush, fport_close): silently ignore I/O errors when
closing a port during gc.  it's better than aborting in scm_error.

* throw.c (scm_handle_by_message): remove obsolete comment.

23 years ago * fports.c (scm_open_file): fix the 'b' option. Thanks
Gary Houston [Sun, 12 Nov 2000 12:20:52 +0000 (12:20 +0000)]
* fports.c (scm_open_file): fix the 'b' option.  Thanks
to George Caswell.

23 years ago2000-11-07 Gary Houston <ghouston@arglist.com>
Gary Houston [Thu, 9 Nov 2000 22:46:07 +0000 (22:46 +0000)]
2000-11-07  Gary Houston  <ghouston@arglist.com>

* popen.scm (open-output-pipe): added docstrings for open-input-pipe
and open-output-pipe.

23 years ago2000-11-09 Gary Houston <ghouston@arglist.com>
Gary Houston [Thu, 9 Nov 2000 22:44:09 +0000 (22:44 +0000)]
2000-11-09  Gary Houston  <ghouston@arglist.com>

* ports.c, ports.h (scm_close_all_ports_except): deprecated.
use port-for-each.  Updated its docstring.

23 years ago*** empty log message ***
Gary Houston [Thu, 9 Nov 2000 22:41:58 +0000 (22:41 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Gary Houston [Tue, 7 Nov 2000 22:42:35 +0000 (22:42 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Gary Houston [Tue, 7 Nov 2000 21:38:03 +0000 (21:38 +0000)]
*** empty log message ***

23 years ago2000-11-06 Gary Houston <ghouston@arglist.com>
Gary Houston [Tue, 7 Nov 2000 21:36:42 +0000 (21:36 +0000)]
2000-11-06  Gary Houston  <ghouston@arglist.com>

* popen.scm (open-process): bug fix: don't use
close-all-ports-except to close ports in the child process, since
it causes port buffers to be flushed.  they may be flushed again
in the parent, causing duplicate output.  use a more elaborate
method for setting up the child descriptors (thanks to David
Pirotte for the bug report).
standard file descriptors 0, 1, 2 in the child process
are now set up from current-input-port etc., where possible.

23 years ago2000-11-07 Gary Houston <ghouston@arglist.com>
Gary Houston [Tue, 7 Nov 2000 21:34:45 +0000 (21:34 +0000)]
2000-11-07  Gary Houston  <ghouston@arglist.com>

* ports.c (scm_port_for_each): new proc.  implements port-for-each,
which applies a procedure to each port in the port table.
ports.h: declare scm_port_for_each.

* ioext.c (scm_dup2): new proc.  implements "dup2" which is a simple
wrapper for the dup2 system call (unlike dup->fdes or
primitive-move->fdes).
* ioext.h: declare scm_dup2.

* filesys.c (scm_close_fdes): new proc.  implements "close-fdes"
which is a simple wrapper for close system call (unlike scm_close).
* filesys.h: declare for scm_close_fdes.

23 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 7 Nov 2000 02:19:13 +0000 (02:19 +0000)]
*** empty log message ***

23 years ago* goops/dispatch.scm (method-cache-install!): Use n-specialized +
Mikael Djurfeldt [Tue, 7 Nov 2000 02:19:03 +0000 (02:19 +0000)]
* goops/dispatch.scm (method-cache-install!): Use n-specialized +
1 args for type matching.  (Thanks to Lars J. Aas.)

23 years ago* goops.scm (internal-add-method!): Set n-specialized of a generic
Mikael Djurfeldt [Tue, 7 Nov 2000 02:18:52 +0000 (02:18 +0000)]
* goops.scm (internal-add-method!): Set n-specialized of a generic
function to the number of specializers regardless if it has rest
args or not.

23 years ago* eval.c (SCM_IM_DISPATCH), objects.c (scm_mcache_lookup_cmethod):
Mikael Djurfeldt [Tue, 7 Nov 2000 02:18:11 +0000 (02:18 +0000)]
* eval.c (SCM_IM_DISPATCH), objects.c (scm_mcache_lookup_cmethod):
Count n_specialized + 1 turns before letting a match through.

23 years ago* goops.c (scm_sys_invalidate_method_cache_x): Don't convert
Mikael Djurfeldt [Tue, 7 Nov 2000 02:17:58 +0000 (02:17 +0000)]
* goops.c (scm_sys_invalidate_method_cache_x): Don't convert
scm_si_n_specialized from fixnum and don't take absolute value.
(Thanks to Lars J. Aas.)

23 years ago2000-11-04 Gary Houston <ghouston@arglist.com>
Gary Houston [Sat, 4 Nov 2000 23:24:14 +0000 (23:24 +0000)]
2000-11-04  Gary Houston  <ghouston@arglist.com>

* ports.c (scm_port_p): new function, implements "port?" which
is mentioned in R5RS.
* ports.h: declare scm_port_p.

23 years ago* Add test to check whether the after-gc-hook is run correctly.
Dirk Herrmann [Fri, 3 Nov 2000 17:52:20 +0000 (17:52 +0000)]
* Add test to check whether the after-gc-hook is run correctly.

23 years ago* Ahem, forgot to send the changelog with the last set of patches...
Dirk Herrmann [Thu, 2 Nov 2000 10:41:33 +0000 (10:41 +0000)]
* Ahem, forgot to send the changelog with the last set of patches...

23 years ago* Get rid of calls to SCM_ROSTRINGP.
Dirk Herrmann [Thu, 2 Nov 2000 10:36:31 +0000 (10:36 +0000)]
* Get rid of calls to SCM_ROSTRINGP.
* Fix some string/symbol output problems with regards to substrings.
* Fix error output to prefer procedure name parameters over stack data.
* Use SCM_(SET_)?FILENAME where appropriate.
* Prefer calling scm_remember over scm_protect/unprotect_object calls.