bpt/guile.git
23 years agoDeprecate `id'.
Keisuke Nishida [Sun, 15 Apr 2001 22:55:49 +0000 (22:55 +0000)]
Deprecate `id'.

23 years ago * boot-9.scm (call-with-deprecation): New procedure.
Keisuke Nishida [Sun, 15 Apr 2001 22:47:25 +0000 (22:47 +0000)]
* boot-9.scm (call-with-deprecation): New procedure.
(identity): New procedure.
(id): Deprecated.

23 years ago * boot-9.scm (defmacro, define-macro, define-syntax-macro):
Keisuke Nishida [Sun, 15 Apr 2001 15:20:28 +0000 (15:20 +0000)]
* boot-9.scm (defmacro, define-macro, define-syntax-macro):
Define only at the top level.

23 years agoMoved up the eval-case section.
Keisuke Nishida [Sat, 14 Apr 2001 12:29:54 +0000 (12:29 +0000)]
Moved up the eval-case section.

23 years ago* Texinfo markup fixes.
Neil Jerram [Fri, 13 Apr 2001 11:12:01 +0000 (11:12 +0000)]
* Texinfo markup fixes.

23 years ago* Incorporate Dirk's description of SCM and scm_bits_t.
Neil Jerram [Fri, 13 Apr 2001 09:56:37 +0000 (09:56 +0000)]
* Incorporate Dirk's description of SCM and scm_bits_t.
* Remove obsolete notes about needing to use SCM_NIMP.

23 years ago* Applied Niibe Yutaka's patch to add libguileqthreads version info.
Dirk Herrmann [Thu, 12 Apr 2001 10:00:08 +0000 (10:00 +0000)]
* Applied Niibe Yutaka's patch to add libguileqthreads version info.

23 years agoUse memset instead of bzero.
Keisuke Nishida [Thu, 12 Apr 2001 01:40:21 +0000 (01:40 +0000)]
Use memset instead of bzero.

23 years ago* Fix dvi build problem.
Neil Jerram [Wed, 11 Apr 2001 22:04:30 +0000 (22:04 +0000)]
* Fix dvi build problem.

23 years ago * scheme-scheduling.texi (Arbiters): New explanatory text.
Martin Grabmüller [Wed, 11 Apr 2001 16:41:46 +0000 (16:41 +0000)]
* scheme-scheduling.texi (Arbiters): New explanatory text.
(Asyncs): New explanations and documentation.
(Scheduling): Added menu entry descriptions.
(Fluids): New documentation.

23 years ago * scheme-procedures.texi (Lambda): Documented the lambda form.
Martin Grabmüller [Wed, 11 Apr 2001 14:56:30 +0000 (14:56 +0000)]
* scheme-procedures.texi (Lambda): Documented the lambda form.
(Procedure Properties): Concept and usage explanation added.
(Procedures with Setters): Explain by example, introduce
definitions.

* scheme-data.texi (Symbols and Variables): Split and reorganized
this section.
(Symbols): New introductory text.
(Characters): Added char-ci* procedures to rn index.

23 years ago* goops/Makefile.am, goops/goopscore.scm: Reverted changes of
Mikael Djurfeldt [Wed, 11 Apr 2001 02:13:14 +0000 (02:13 +0000)]
* goops/Makefile.am, goops/goopscore.scm: Reverted changes of
2001-04-03, 2001-03-09.

23 years ago* init.c, goops.c, goops.h: Reverted change of 2001-03-29. (The
Mikael Djurfeldt [Wed, 11 Apr 2001 02:12:35 +0000 (02:12 +0000)]
* init.c, goops.c, goops.h: Reverted change of 2001-03-29.  (The
goops module should be registered in order to work for an
application which uses libguile statically linked.)

23 years ago* init.c, goops.c: Reverted change of 2001-03-29. (The goops
Mikael Djurfeldt [Wed, 11 Apr 2001 02:09:35 +0000 (02:09 +0000)]
* init.c, goops.c: Reverted change of 2001-03-29.  (The goops
module should be registered in order to work for an application
which uses libguile statically linked.)

23 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 11 Apr 2001 02:08:59 +0000 (02:08 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Marius Vollmer [Tue, 10 Apr 2001 23:51:13 +0000 (23:51 +0000)]
*** empty log message ***

23 years ago* readline.c (scm_clear_history): New function.
Marius Vollmer [Tue, 10 Apr 2001 23:48:27 +0000 (23:48 +0000)]
* readline.c (scm_clear_history): New function.
* readline.scm (readline-port): Call clear-history on exit.
Thanks to Utz-Uwe Haus.

23 years ago* Apply improved Texinfo markup patch from Dale P. Smith.
Neil Jerram [Tue, 10 Apr 2001 19:49:29 +0000 (19:49 +0000)]
* Apply improved Texinfo markup patch from Dale P. Smith.

23 years ago* Fix typo.
Neil Jerram [Tue, 10 Apr 2001 18:41:09 +0000 (18:41 +0000)]
* Fix typo.

23 years ago* Avoid redundant casting of argument numbers to char* and vice versa.
Dirk Herrmann [Tue, 10 Apr 2001 07:57:05 +0000 (07:57 +0000)]
* Avoid redundant casting of argument numbers to char* and vice versa.

23 years ago* Clarify docstring for scm_make_shared_substring.
Neil Jerram [Mon, 9 Apr 2001 21:46:44 +0000 (21:46 +0000)]
* Clarify docstring for scm_make_shared_substring.

23 years ago* Clean up doc and docstring for shared substrings and read only strings.
Neil Jerram [Mon, 9 Apr 2001 21:44:06 +0000 (21:44 +0000)]
* Clean up doc and docstring for shared substrings and read only strings.

23 years ago* Remove obsolete `@c docstring' comments.
Neil Jerram [Mon, 9 Apr 2001 18:36:40 +0000 (18:36 +0000)]
* Remove obsolete `@c docstring' comments.

23 years ago2001-04-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
Martin Grabmüller [Mon, 9 Apr 2001 16:16:09 +0000 (16:16 +0000)]
2001-04-09  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

* scheme-data.texi (Pairs): New data type and procedure
description.
(Lists): Added new subsections for grouping the list procedures.
(Hooks): Added new nodes for hook subsections.
(String Syntax): New node, factoring out read syntax.
(Strings): Some blurb about allowed characters, zero-termination
etc.
(Keywords): Added menu descriptions.

2001-04-08  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

* scheme-indices.texi (R5RS Index): Print index `rn', not `r5'.

* guile.texi: The index formerly known as `r5' is now called `rn'.

* scheme-utility.texi, scheme-procedures.texi, scheme-io.texi,
scheme-evaluation.texi, scheme-control.texi, scheme-data.texi:
Changed all @r5index entries to @rnindex.

2001-04-06  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

* scheme-data.texi (Hooks): Added hook description and
constraints.

2001-04-04  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

* scheme-data.texi (Alphabetic Case Mapping),
(String Comparison): Rearranged function order.
(Vectors): Reorganized, new introductory text, docs about read
syntax.

23 years ago * hooks.c (scm_make_hook, scm_make_hook_with_name),
Martin Grabmüller [Mon, 9 Apr 2001 16:07:15 +0000 (16:07 +0000)]
* hooks.c (scm_make_hook, scm_make_hook_with_name),
(scm_hook_p, scm_hook_empty_p, scm_run_hook): Docstring
improvements.

23 years ago*** empty log message ***
Thien-Thi Nguyen [Fri, 6 Apr 2001 19:07:51 +0000 (19:07 +0000)]
*** empty log message ***

23 years ago* boot-9.scm (warn-autoload-deprecation): Close parenthesis in
Neil Jerram [Fri, 6 Apr 2001 14:45:34 +0000 (14:45 +0000)]
* boot-9.scm (warn-autoload-deprecation): Close parenthesis in
"You just tried to autoload ..." message.

23 years ago(Higher level thread procedures): Replace some
Thien-Thi Nguyen [Fri, 6 Apr 2001 10:00:35 +0000 (10:00 +0000)]
(Higher level thread procedures): Replace some
instances of `@var' with `@code'.

23 years ago(Higher level thread procedures): Rewrite.
Thien-Thi Nguyen [Fri, 6 Apr 2001 09:52:45 +0000 (09:52 +0000)]
(Higher level thread procedures): Rewrite.

23 years agoUpdate copyright.
Thien-Thi Nguyen [Fri, 6 Apr 2001 09:51:25 +0000 (09:51 +0000)]
Update copyright.

Use `export' and `export-syntax' instead of
`define-public' and `defmacro-public'.

(make-thread): Rename first arg to `proc'; nfc.
(begin-thread, monitor): Rename second arg to `rest'; nfc.
(with-mutex): Rename second arg to `body'; nfc.

23 years ago * history.scm: Create the module (value-history) at the beginning.
Keisuke Nishida [Thu, 5 Apr 2001 21:12:17 +0000 (21:12 +0000)]
* history.scm: Create the module (value-history) at the beginning.

23 years ago * Makefile.am (ice9_sources): Add history.scm.
Keisuke Nishida [Thu, 5 Apr 2001 21:09:04 +0000 (21:09 +0000)]
* Makefile.am (ice9_sources): Add history.scm.

23 years ago * scheme-data.texi (Alphabetic Case Mapping),
Martin Grabmüller [Wed, 4 Apr 2001 15:20:03 +0000 (15:20 +0000)]
* scheme-data.texi (Alphabetic Case Mapping),
(String Comparison): Rearranged function order.
(Vectors): Reorganized, new introductory text, docs about read
syntax.

23 years ago * goops/Makefile.am (goops_sources): Include goopscore.scm.
Keisuke Nishida [Tue, 3 Apr 2001 20:48:20 +0000 (20:48 +0000)]
* goops/Makefile.am (goops_sources): Include goopscore.scm.

23 years agoCorrect, update, improve and clean up a lot of docstrings in order to make
Martin Grabmüller [Tue, 3 Apr 2001 13:19:05 +0000 (13:19 +0000)]
Correct, update, improve and clean up a lot of docstrings in order to make
the documentation much more consistent.

23 years ago * scheme-options.texi, scheme-procedures.texi,
Martin Grabmüller [Tue, 3 Apr 2001 13:11:14 +0000 (13:11 +0000)]
* scheme-options.texi, scheme-procedures.texi,
scheme-modules.texi, scheme-memory.texi, scheme-control.texi,
scheme-utility.texi, scheme-io.texi, scheme-evaluation.texi,
scheme-data.texi: Removed a lot of ARGFIXME's after tweaking
docstrings and C source.

* new-docstrings.texi, scheme-io.texi, scheme-data.texi,
posix.texi, scheme-control.texi, scheme-evaluation.texi,
scheme-memory.texi, scheme-procedures.texi, scheme-modules.texi,
scheme-scheduling.texi: Automated docstring merging.

23 years ago* data-rep.texi (Immediates vs. Non-immediates): Update
Neil Jerram [Mon, 2 Apr 2001 21:53:20 +0000 (21:53 +0000)]
* data-rep.texi (Immediates vs. Non-immediates): Update
out-of-date documentation.  (Thanks to Dirk Herrmann for the
report!)
(Immediates vs Non-immediates): Renamed without the dot, since the
dot causes `info' not to be able to display this node!

* Makefile.am (guile_TEXINFOS): Add in a few more source files
that had got left out.

23 years ago* Added some tests.
Dirk Herrmann [Mon, 2 Apr 2001 13:40:03 +0000 (13:40 +0000)]
* Added some tests.

23 years ago* Re-introduce a cheap sanity test for non debug mode.
Dirk Herrmann [Sat, 31 Mar 2001 22:55:27 +0000 (22:55 +0000)]
* Re-introduce a cheap sanity test for non debug mode.

23 years ago* backtrace.c (display_backtrace_body): since the `print_state'
Michael Livshin [Sat, 31 Mar 2001 21:19:50 +0000 (21:19 +0000)]
* backtrace.c (display_backtrace_body): since the `print_state'
variable is not used (instead its data field is used directly as
`pstate'), protect it from the hungry compiler optimizations.
thanks to Bill Schottstaedt for the report.

23 years ago* scheme-reading.texi (Further Reading): Add bullets to further
Neil Jerram [Fri, 30 Mar 2001 22:16:20 +0000 (22:16 +0000)]
* scheme-reading.texi (Further Reading): Add bullets to further
reading list.
* gh.texi: Insert page break before chapter.  Remove page breaks
within the chapter.
* Makefile.am: Add script-getopt.texi.
* guile.texi (Top): Include and link to new script-getopt.texi
chapter.
* script-getopt.texi: New chapter on command line handling.
(Written and contributed by Martin Grabmueller, revised by me.)

23 years ago* Made SCM_DEBUG_CELL_ACCESSES working again.
Dirk Herrmann [Fri, 30 Mar 2001 17:01:28 +0000 (17:01 +0000)]
* Made SCM_DEBUG_CELL_ACCESSES working again.

23 years ago* Typo fix.
Neil Jerram [Fri, 30 Mar 2001 16:37:51 +0000 (16:37 +0000)]
* Typo fix.

23 years ago* NEWS updates and typo fixes.
Neil Jerram [Fri, 30 Mar 2001 16:36:48 +0000 (16:36 +0000)]
* NEWS updates and typo fixes.

23 years ago* Ehrm... The Changelog entry for the last submission...
Dirk Herrmann [Fri, 30 Mar 2001 15:08:22 +0000 (15:08 +0000)]
* Ehrm... The Changelog entry for the last submission...

23 years ago* The NEWS and RELEASE updates for the last submission.
Dirk Herrmann [Fri, 30 Mar 2001 15:05:10 +0000 (15:05 +0000)]
* The NEWS and RELEASE updates for the last submission.

23 years ago* Replaced a lot of calls to SCM_C[AD]R with more appropriate macros.
Dirk Herrmann [Fri, 30 Mar 2001 15:03:23 +0000 (15:03 +0000)]
* Replaced a lot of calls to SCM_C[AD]R with more appropriate macros.
* Minor cleanups to hashtable implementation.
* Minor code beautifications.

23 years agoAdd scm_init_oop_goops_goopscore_module.
Keisuke Nishida [Fri, 30 Mar 2001 02:53:53 +0000 (02:53 +0000)]
Add scm_init_oop_goops_goopscore_module.

23 years ago * goops/goopscore.scm: New file.
Keisuke Nishida [Fri, 30 Mar 2001 02:51:50 +0000 (02:51 +0000)]
* goops/goopscore.scm: New file.

23 years ago * goops.c, goops.h (scm_init_oop_goops_goopscore_module): Deprecated.
Keisuke Nishida [Fri, 30 Mar 2001 02:50:38 +0000 (02:50 +0000)]
* goops.c, goops.h (scm_init_oop_goops_goopscore_module): Deprecated.
* init.c (scm_init_guile_1): Don't init goopscore module.

23 years ago*** empty log message ***
Marius Vollmer [Thu, 29 Mar 2001 22:38:16 +0000 (22:38 +0000)]
*** empty log message ***

23 years ago* eval.c (SCM_APPLY): Check that arg1 is bound for scm_tc7_cxr.
Marius Vollmer [Thu, 29 Mar 2001 22:38:00 +0000 (22:38 +0000)]
* eval.c (SCM_APPLY): Check that arg1 is bound for scm_tc7_cxr.

23 years ago* boot-9.scm (init-dynamic-module): Fix typo in call to
Marius Vollmer [Thu, 29 Mar 2001 22:36:06 +0000 (22:36 +0000)]
* boot-9.scm (init-dynamic-module): Fix typo in call to
warn-autoload-deprecation.  I feel silly.

23 years ago * scheme-data.texi (Strings): Reorganized the whole `Strings'
Martin Grabmüller [Tue, 27 Mar 2001 15:42:12 +0000 (15:42 +0000)]
* scheme-data.texi (Strings): Reorganized the whole `Strings'
section and wrote introductory material for each new subsection.

23 years ago * strop.c (scm_string_to_list): Fixed docstring markup.
Martin Grabmüller [Tue, 27 Mar 2001 15:40:18 +0000 (15:40 +0000)]
* strop.c (scm_string_to_list): Fixed docstring markup.
(scm_string_upcase_x, scm_string_upcase, scm_string_downcase_x),
(scm_string_downcase, scm_string_capitalize_x),
(scm_string_capitalize): Rewrote and corrected docstrings.
(scm_string_ci_to_symbol): Made docstring more explicit.

23 years ago*** empty log message ***
Marius Vollmer [Mon, 26 Mar 2001 22:43:50 +0000 (22:43 +0000)]
*** empty log message ***

23 years ago* values.h (scm_values_vtable, SCM_VALUESP): Moved here so that
Marius Vollmer [Mon, 26 Mar 2001 22:43:23 +0000 (22:43 +0000)]
* values.h (scm_values_vtable, SCM_VALUESP): Moved here so that
eval.c can use it.
(scm_call_with_values): Removed.
* values.c (values_vtable, scm_values_vtable): Added "scm_" prefix
so that it can be exported.
(scm_call_with_values): Removed.

23 years ago* tags.h (SCM_IM_CALL_WITH_VALUES): New isym.
Marius Vollmer [Mon, 26 Mar 2001 22:39:35 +0000 (22:39 +0000)]
* tags.h (SCM_IM_CALL_WITH_VALUES): New isym.
* eval.c: Include "libguile/values.h"
(scm_m_at_call_with_values, scm_sym_at_call_with_values):
New.
(unmemocopy, scm_ceval, scm_deval): Handle new isym.
* eval.h (scm_sym_at_call_with_values, scm_m_at_call_with_values):
New delcarations to support above change.

* eval.c (scm_primitive_eval_x, scm_primitive_eval): Fix syntax
errors with last change.

* eval.c (scm_primitive_eval_x, scm_primitive_eval, scm_i_eval_x,
scm_i_eval): Moved the application of the system transformer from
scm_i_eval to scm_primitive_eval.

23 years ago* tags.h (SCM_IM_CALL_WITH_VALUES): New isym.
Marius Vollmer [Mon, 26 Mar 2001 22:36:56 +0000 (22:36 +0000)]
* tags.h (SCM_IM_CALL_WITH_VALUES): New isym.
* eval.c (scm_m_at_call_with_values, scm_sym_at_call_with_values):
New.
(unmemocopy, scm_ceval, scm_deval): Handle new isym.
* eval.h (scm_sym_at_call_with_values, scm_m_at_call_with_values):
New delcarations to support above change.

23 years ago*** empty log message ***
Marius Vollmer [Mon, 26 Mar 2001 22:32:57 +0000 (22:32 +0000)]
*** empty log message ***

23 years ago* r4rs.scm (call-with-values): New definition, defers to
Marius Vollmer [Mon, 26 Mar 2001 22:32:39 +0000 (22:32 +0000)]
* r4rs.scm (call-with-values): New definition, defers to
@call-with-values.

23 years ago* boot-9.scm (warn-autoload-deprecation): New function.
Marius Vollmer [Mon, 26 Mar 2001 22:31:47 +0000 (22:31 +0000)]
* boot-9.scm (warn-autoload-deprecation): New function.
(init-dynamic-module): Use it here to print warning.  Only give
warning when a module has actually been found.

23 years ago*** empty log message ***
Thien-Thi Nguyen [Sun, 25 Mar 2001 18:49:08 +0000 (18:49 +0000)]
*** empty log message ***

23 years agoFix sh standard conformance bug: Replace "test -e"
Thien-Thi Nguyen [Sun, 25 Mar 2001 18:40:28 +0000 (18:40 +0000)]
Fix sh standard conformance bug: Replace "test -e"
with "test -f".  Thanks to Alexander Klimov.

23 years ago*** empty log message ***
Marius Vollmer [Sun, 25 Mar 2001 00:34:33 +0000 (00:34 +0000)]
*** empty log message ***

23 years ago* Makefile.am (ice9_sources): Added "time.scm".
Marius Vollmer [Sun, 25 Mar 2001 00:32:07 +0000 (00:32 +0000)]
* Makefile.am (ice9_sources): Added "time.scm".

23 years ago* intro.texi (Modules and Extensions): Some short text about
Marius Vollmer [Sun, 25 Mar 2001 00:31:10 +0000 (00:31 +0000)]
* intro.texi (Modules and Extensions): Some short text about
dynamic libraries and modules.

23 years ago* Minor docstring updates.
Neil Jerram [Fri, 23 Mar 2001 17:24:28 +0000 (17:24 +0000)]
* Minor docstring updates.

23 years ago* Fix typos.
Neil Jerram [Fri, 23 Mar 2001 16:16:15 +0000 (16:16 +0000)]
* Fix typos.

23 years ago* Fix docstring typos.
Neil Jerram [Fri, 23 Mar 2001 16:14:47 +0000 (16:14 +0000)]
* Fix docstring typos.

23 years ago* Add two files that I seem to have omitted in the move from guile-doc to guile-core.
Neil Jerram [Fri, 23 Mar 2001 15:24:38 +0000 (15:24 +0000)]
* Add two files that I seem to have omitted in the move from guile-doc to guile-core.
    (guile-tut.texi and ChangeLog-guile-doc-tutorial)

23 years ago* Automatic docstring updates.
Neil Jerram [Fri, 23 Mar 2001 15:05:40 +0000 (15:05 +0000)]
* Automatic docstring updates.
* Commit utilities and tracking files for automatic docstring updates.

23 years ago* Replace function scm_makstr with new function scm_allocate_string.
Dirk Herrmann [Thu, 22 Mar 2001 12:52:03 +0000 (12:52 +0000)]
* Replace function scm_makstr with new function scm_allocate_string.

23 years ago * time.scm (time): Reimplemented as a procedure call.
Keisuke Nishida [Wed, 21 Mar 2001 02:25:48 +0000 (02:25 +0000)]
* time.scm (time): Reimplemented as a procedure call.
(Thanks to Marius Vollmer)

23 years ago * safe-r5rs.scm (list): Export.
Keisuke Nishida [Wed, 21 Mar 2001 02:10:51 +0000 (02:10 +0000)]
* safe-r5rs.scm (list): Export.

23 years ago * scheme-options.texi (Evaluator options): Added evaluator
Martin Grabmüller [Tue, 20 Mar 2001 11:51:26 +0000 (11:51 +0000)]
* scheme-options.texi (Evaluator options): Added evaluator
options, corrected docs for evaluator trap options.

* scheme-evaluation.texi (Scheme Read): New docs for read-options,
read-enable, read-disable and read-set! and cross references to
option nodes.
(Evaluator Options): New docs for eval-options, eval-enable,
eval-disable and eval-set!, traps, trap-enable, trap-disable and
trap-set! and cross references to option nodes.
(Evaluator Behaviour): Renamed node from `Evaluator options' to
avoid name clash.

* scheme-io.texi (String Ports): Added docs for SRFI-6 procedures.
(Void Ports): Corrected introductory comment.

23 years ago * check-guile.in: 16 documentation tests were failing if "make
Gary Houston [Mon, 19 Mar 2001 22:46:21 +0000 (22:46 +0000)]
* check-guile.in: 16 documentation tests were failing if "make
check" was run before Guile had been installed with the current
--prefix.  made various changes to the script so that it runs
without a cd to the test-suite directory.  For the -i option,
don't point GUILE_LOAD_PATH to the current directory, but let it
use it's own scheme library.

* tests/r4rs.test: use test-file-name to locate r4rs.test,
not data-file-name.

* guile-test: define tmp-dir, the location where r4rs.test will
create it's temporary files.
(data-file-name): use tmp-dir.  this must be under build-dir,
not src-dir.

23 years ago*** empty log message ***
Gary Houston [Mon, 19 Mar 2001 12:39:36 +0000 (12:39 +0000)]
*** empty log message ***

23 years ago * check-guile.in: rename $parent to $srcdir. if it's equal to "."
Gary Houston [Mon, 19 Mar 2001 12:38:40 +0000 (12:38 +0000)]
* check-guile.in: rename $parent to $srcdir.  if it's equal to "."
set it to `pwd`.

23 years ago * check-guile.in: use @srcdir@ instead of @test_suite_dir@. use
Gary Houston [Sun, 18 Mar 2001 23:17:32 +0000 (23:17 +0000)]
* check-guile.in: use @srcdir@ instead of @test_suite_dir@.  use
the current directory (build dir) not srcdir to find guile
executable.  otherwise "make check" doesn't work with a separate
build directory.  create the test log in
$build_dir/check-guile.log instead of in srcdir/test-suite
directory.
* configure.in: don't define or substitute test_suite_dir.

* guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
first line.

23 years ago * posix.c (scm_tmpnam): check that return value from tmpnam is not
Gary Houston [Sun, 18 Mar 2001 20:29:58 +0000 (20:29 +0000)]
* posix.c (scm_tmpnam): check that return value from tmpnam is not
NULL.  rewrote the docstring.
(scm_mkstemp): new procedure implementing "mkstemp!".
* posix.h: declare scm_mkstemp.

* net_db.c: declare h_errno if configure didn't define HAVE_H_ERRNO.
normally it would be found in netdb.h.

23 years ago * net_db.c: define h_errno if configure didn't define HAVE_H_ERRNO.
Gary Houston [Sun, 18 Mar 2001 11:54:25 +0000 (11:54 +0000)]
* net_db.c: define h_errno if configure didn't define HAVE_H_ERRNO.
normally it would be found in netdb.h.

23 years ago * configure.in: don't append threads.doc to EXTRA_DOT_DOC_FILES,
Gary Houston [Sat, 17 Mar 2001 21:20:20 +0000 (21:20 +0000)]
* configure.in: don't append threads.doc to EXTRA_DOT_DOC_FILES,
since EXTRA_DOT_DOC_FILES is redefined later.  define
EXTRA_DOT_X_FILES and hand it to AC_SUBST.
* sort.c (scm_sort): move sortvec variable to avoid a compiler
warning when HAVE_ARRAYS is not defined.  move len too.
* Makefile.am (DOT_X_FILES): remove net_db.x, posix.x, socket.x.
(EXTRA_DOT_X_FILES): let configure set the value.
(DOT_DOC_FILES): remove net_db.doc, posix.doc, socket.doc.

23 years ago * gc.c (scm_must_malloc): changed the comment explaining when
Gary Houston [Sat, 17 Mar 2001 16:59:48 +0000 (16:59 +0000)]
* gc.c (scm_must_malloc): changed the comment explaining when
scm_must variants of malloc/free etc., should be used, based on
explanation from Dirk Herrmann.
* fports.c (scm_fport_buffer_add): use FUNC_NAME instead of a local
string with procedure name.  use scm_must_malloc instead of malloc.
(scm_setvbuf, scm_fdes_to_port, fport_close): use scm_must variants
of malloc/free.
* ports.c (scm_add_to_port_table, scm_remove_from_port_table,
scm_ungetc): use scm_must variants of malloc/realloc/free.
(scm_add_to_port_table, scm_ungetc): define FUNC_NAME.

23 years ago** New module (ice-9 history)
Keisuke Nishida [Sat, 17 Mar 2001 15:34:46 +0000 (15:34 +0000)]
** New module (ice-9 history)

23 years agoSimple value history support.
Keisuke Nishida [Sat, 17 Mar 2001 15:32:17 +0000 (15:32 +0000)]
Simple value history support.

23 years ago* __scm.h (SCM_ASSERT, SCM_WTA_DISPATCH_0, SCM_WTA_DISPATCH_1,
Dirk Herrmann [Sat, 17 Mar 2001 13:34:21 +0000 (13:34 +0000)]
* __scm.h (SCM_ASSERT, SCM_WTA_DISPATCH_0, SCM_WTA_DISPATCH_1,
SCM_WTA_DISPATCH_2, SCM_WTA_DISPATCH_n):  Don't call scm_wta, call
scm_wrong_type_arg instead.

(SCM_WNA):  Deprecated.

* error.[ch] (scm_wta):  Deprecated.

* numbers.c (s_i_log):  Minor comment fix.

* read.c (scm_lreadr), unif.c (scm_aind, scm_shap2ra,
scm_make_shared_array, scm_transpose_array, scm_enclose_array,
scm_array_in_bounds_p): Don't use SCM_ASSERT to check for
wrong-num-args or misc errors.

* unif.c (scm_make_shared_array, scm_transpose_array,
scm_enclose_array, scm_array_in_bounds_p, scm_array_set_x):
Validate the rest argument (note: this is only done when guile is
built with SCM_DEBUG_REST_ARGUMENT=1)

(scm_array_in_bounds_p, scm_uniform_vector_ref, scm_array_set_x):
Replace calls to scm_wrong_num_args by SCM_WRONG_NUM_ARGS.

* validate.h (SCM_FUNC_NAME, SCM_VALIDATE_NUMBER_COPY,
SCM_VALIDATE_NUMBER_DEF_COPY):  Deprecated.

23 years ago* validate.h (SCM_WRONG_NUM_ARGS): Call scm_error_num_args_subr
Dirk Herrmann [Sat, 17 Mar 2001 12:20:36 +0000 (12:20 +0000)]
* validate.h (SCM_WRONG_NUM_ARGS):  Call scm_error_num_args_subr
instead of scm_wrong_num_args.

* coop-threads.c:  Don't include libguile/strings.h.  (Was only
needed for former implementation of SCM_WRONG_NUM_ARGS.)

* debug.c (scm_m_start_stack):  Don't use SCM_ASSERT to check for
wrong-num-args errors.

23 years ago* Added function scm_error_num_args_subr.
Dirk Herrmann [Sat, 17 Mar 2001 11:32:56 +0000 (11:32 +0000)]
* Added function scm_error_num_args_subr.

23 years ago** New module (ice-9 time)
Keisuke Nishida [Sat, 17 Mar 2001 10:04:23 +0000 (10:04 +0000)]
** New module (ice-9 time)

23 years ago * time.scm: New file.
Keisuke Nishida [Sat, 17 Mar 2001 10:01:01 +0000 (10:01 +0000)]
* time.scm: New file.

23 years ago* Removed old (unused and uninstalled) file oldprint.scm.
Dirk Herrmann [Sat, 17 Mar 2001 02:53:09 +0000 (02:53 +0000)]
* Removed old (unused and uninstalled) file oldprint.scm.

23 years ago * scheme-data.texi (Arithmetic): Documented the arithmetic
Martin Grabmüller [Fri, 16 Mar 2001 17:00:21 +0000 (17:00 +0000)]
* scheme-data.texi (Arithmetic): Documented the arithmetic
procedures.
(Integer Operations): Added documentation.
(Comparison): Added documentation.
(Complex): Added documentation.
(Symbols and Variables): Comment out `builtin-bindings', which is
removed according to NEWS.
(Pairs): Added documentation.
* scheme-io.texi: Added R5RS index entries for all R5RS
procedures.
(File Ports): New docs for `call-with-input-file',
`call-with-output-file', `with-input-from-file',
`with-output-to-file', `with-error-to-file'.
* scheme-control.texi, scheme-utility.texi,
* scheme-procedures.texi: Added R5RS index entries for all R5RS
procedures.
* scheme-evaluation.texi (Fly Evaluation): Added documentation for
`apply'.  Added R5RS index entries for all R5RS procedures.
* scheme-data.texi: Added R5RS index entries for all R5RS
procedures.  Removed R5RS index entries for `ass{q,v,occ}-set!'.
Removed explicit entries into the function entries.  They are
automagic.
(Vectors): Added documentation for `make-vector', `vector-ref' and
`vector-set!'.

23 years ago * list.c (scm_list, scm_cons_star, scm_null_p, scm_list_p),
Martin Grabmüller [Fri, 16 Mar 2001 10:00:17 +0000 (10:00 +0000)]
* list.c (scm_list, scm_cons_star, scm_null_p, scm_list_p),
(scm_length, scm_append, scm_reverse, scm_list_ref),
(scm_memq, scm_memv, scm_member, scm_delv_x, scm_delete_x),
(scm_delq, scm_delv, scm_delete, scm_delq1_x, scm_delv1_x),
(scm_delete1_x), gc.c (scm_map_free_list),
(scm_free_list_length), hash.c (scm_hashq, scm_hashv),
(scm_hash), hashtab.c (scm_hashq_ref, scm_hashq_set_x),
(scm_hashq_remove_x, scm_hashv_ref, scm_hashv_set_x),
(scm_hashv_remove_x, scm_hash_ref, scm_hash_set_x),
(scm_hash_remove_x), ports.c (scm_pt_size, scm_pt_member), print.c
(scm_current_pstate), scmsigs.c (scm_usleep), goops.c
(scm_get_keyword, scm_sys_compute_slots): Added texinfo markup.

* weaks.c (scm_weak_vector_p, scm_weak_key_hash_table_p),
(scm_weak_value_hash_table_p, scm_doubly_weak_hash_table_p),
rdelim.c (scm_read_delimited_x), strop.c (scm_string_index),
symbols.c (scm_symbol_interned_p), numbers.c
(scm_string_to_number), ports.c (scm_port_p): Corrected texinfo
markup.

23 years ago * modules: New directory.
Martin Grabmüller [Fri, 16 Mar 2001 08:37:37 +0000 (08:37 +0000)]
* modules: New directory.

* modules/module-layout.text: New file.

23 years agoDeprecated macro SCM_CONST_LONG.
Keisuke Nishida [Fri, 16 Mar 2001 05:12:02 +0000 (05:12 +0000)]
Deprecated macro SCM_CONST_LONG.

23 years ago * snarf.h (SCM_CONST_LONG): Deprecated.
Keisuke Nishida [Fri, 16 Mar 2001 05:11:34 +0000 (05:11 +0000)]
* snarf.h (SCM_CONST_LONG): Deprecated.
* tag.c (CONST_INUM): New macro.  Use it to define scm_utag_*.

23 years ago*** empty log message ***
Marius Vollmer [Thu, 15 Mar 2001 20:04:56 +0000 (20:04 +0000)]
*** empty log message ***

23 years ago* numbers.c (scm_num2ulong): Check that a bignum is positive
Marius Vollmer [Thu, 15 Mar 2001 20:04:41 +0000 (20:04 +0000)]
* numbers.c (scm_num2ulong): Check that a bignum is positive
before looking at the magnitude.  Correctly check for overflow
during conversion.
(scm_num2long_long): Likewise.
(scm_num2ulong_long): New.
(ULONG_LONG_MAX): Define if not already defined.
* numbers.h: (scm_num2ulong_long): New prototype.

23 years ago* numbers.c (scm_num2ulong): Check that a bignum is positive
Marius Vollmer [Thu, 15 Mar 2001 19:21:51 +0000 (19:21 +0000)]
* numbers.c (scm_num2ulong): Check that a bignum is positive
before looking at the magnitude.  Correctly check for overflow
during conversion.