Matt Birkholz [Wed, 25 May 2016 23:14:32 +0000 (16:14 -0700)]
mhash/mhash.scm (remove*-context-cleanup): typos
Matt Birkholz [Wed, 25 May 2016 23:12:31 +0000 (16:12 -0700)]
gdbm/README: Update with automake build process.
Matt Birkholz [Wed, 25 May 2016 23:07:08 +0000 (16:07 -0700)]
plugin optiondb.scm: Further-load-options expects a thunk.
Matt Birkholz [Wed, 25 May 2016 22:09:45 +0000 (15:09 -0700)]
runtime/option.scm (library-file?): Search for the .scm file.
Library-file? is applied to optiondb pathnames with no type, but
system-library-pathname only searches for a matching type. Add a
"scm" type when searching the path and strip it again when looking for
a loadable.
Matt Birkholz [Wed, 25 May 2016 21:53:16 +0000 (14:53 -0700)]
runtime/pathnm.scm (system-library-pathname): Always search.
When not required?, system-library-pathname did not search the system-
library-path at all. It just merged with the first directory.
Matt Birkholz [Wed, 25 May 2016 21:50:41 +0000 (14:50 -0700)]
plugin Makefile.am: Do not ignore an error in compile.sh.
Matt Birkholz [Wed, 25 May 2016 21:22:37 +0000 (14:22 -0700)]
plugin AUTHORS: Credit the "MIT/GNU Scheme Team".
Chris Hanson [Sun, 15 May 2016 01:32:42 +0000 (18:32 -0700)]
Implement get-supported-features.
Matt Birkholz [Fri, 29 Apr 2016 21:16:44 +0000 (14:16 -0700)]
Handle GC events immediately, at end of after-gc interrupt.
Matt Birkholz [Fri, 29 Apr 2016 18:38:21 +0000 (11:38 -0700)]
runtime/ffi.scm: Avoid swapping threads during callbacks.
Block thread events during callouts.
Replace the callback error restart with an error handler that just
returns 0 from the callback. Until the debugger can run without-
interrupts (blocking for console IO instead of suspending for an IO
thread event) it may not run during a callback.
Matt Birkholz [Fri, 29 Apr 2016 18:22:04 +0000 (11:22 -0700)]
microcode/pruxffi.c: Punt problem callout optimization.
Chris Hanson [Sat, 23 Apr 2016 02:53:51 +0000 (19:53 -0700)]
Refactor merge-uris to simplify.
No longer requires an absolute base URI or defaults.
Returns an absolute URI if either base URI or defaults are absolute.
Otherwise returns a relative URI.
Chris Hanson [Sat, 23 Apr 2016 02:37:13 +0000 (19:37 -0700)]
Rename param:base-uri to uri-merge-defaults.
Chris Hanson [Sat, 23 Apr 2016 00:16:50 +0000 (17:16 -0700)]
Add support for a default base URI.
Matt Birkholz [Mon, 11 Apr 2016 15:53:58 +0000 (08:53 -0700)]
plugin Makefile.ams (tags): Punt ALL sources in TAGS.
Putting ALL Scheme source in TAGS allows tags-query-replace to find
all references, but drives etags a bit batty. M-x grep is more all-
inclusive anyway (e.g. finding references in documentation).
Matt Birkholz [Mon, 11 Apr 2016 04:19:44 +0000 (21:19 -0700)]
plugin Makefile.ams (dist): Add missing files to EXTRA_DIST.
Fix ./fix-tags.sh to take the package name as an argument, to support
building the dist in strangely named directories like mit-scheme-
blowfish-0.1/. Add a missing dependency of stamp-scheme on the .pkg
file.
Matt Birkholz [Sun, 10 Apr 2016 19:52:09 +0000 (12:52 -0700)]
plugin tags-fix.shs: typos
Matt Birkholz [Sun, 10 Apr 2016 19:34:07 +0000 (12:34 -0700)]
plugin Makefile.ams: remove generated -shim.c and -const.c from TAGS
Matt Birkholz [Fri, 8 Apr 2016 04:37:53 +0000 (21:37 -0700)]
plugin Makefile.ams: include ALL sources in TAGS
Chris Hanson [Wed, 6 Apr 2016 08:12:20 +0000 (01:12 -0700)]
Update indentation to include R7RS keywords.
Also delete obsolete MIT/GNU keywords.
Chris Hanson [Wed, 6 Apr 2016 07:52:05 +0000 (00:52 -0700)]
Add optional default-value to get-keyword-value.
Chris Hanson [Wed, 6 Apr 2016 01:11:47 +0000 (18:11 -0700)]
Add get-if-available operation to metadata.
Also add better error message to get operation.
Matt Birkholz [Tue, 29 Mar 2016 23:42:05 +0000 (16:42 -0700)]
runtime/world-report.scm (ticks->string): parameterize* a param.
Matt Birkholz [Tue, 29 Mar 2016 16:36:29 +0000 (09:36 -0700)]
plugin Makefile.ams: Fix multi-target rules. Punt install-html.
Chris Hanson [Sat, 26 Mar 2016 08:25:30 +0000 (01:25 -0700)]
Eliminate redundant call.
Chris Hanson [Sat, 26 Mar 2016 08:22:32 +0000 (01:22 -0700)]
Rework param:default-pathname-defaults yet again.
This time to guarantee that the value is a pathname object. Also using the new
parameter merger support to merge the new value with the old.
Chris Hanson [Sat, 26 Mar 2016 07:59:54 +0000 (00:59 -0700)]
Add support for value merging in (general) parameters.
Matt Birkholz [Fri, 25 Mar 2016 17:44:13 +0000 (10:44 -0700)]
plugin configure.acs: Prune unused AC_SUBST and, in gdbm, config.h.
Matt Birkholz [Fri, 25 Mar 2016 17:35:19 +0000 (10:35 -0700)]
cref/generate-trivial-constructor: Add optional parameter OS-TYPE.
Plugin installs do not include package descriptions for other OSes.
This causes cref/generate-trivial-constructor to emit warnings. The
argument #F for OS-TYPE now causes it to punt other OSes.
Chris Hanson [Wed, 23 Mar 2016 01:11:53 +0000 (18:11 -0700)]
Add delete! operation to metadata abstractions.
Chris Hanson [Tue, 15 Mar 2016 07:29:01 +0000 (00:29 -0700)]
Fix guarantee-uri and friends to correspond with their predicates.
Chris Hanson [Tue, 15 Mar 2016 06:59:00 +0000 (23:59 -0700)]
Eliminate unparser/standard-method.
* Allow name arg of simple-unparser-method and standard-unparser-method to be a
procedure that computes the name.
* Favor the use of simple-unparser-method where possible.
* Implement general-unparser-method and bracketed-unparser-method.
Chris Hanson [Tue, 15 Mar 2016 05:28:38 +0000 (22:28 -0700)]
Implement URI syntax #<...> that's readable.
Old syntax was too verbose with useless hash number.
Also this nicely reflects the standard way to write a URI <...>
Chris Hanson [Mon, 14 Mar 2016 06:28:06 +0000 (23:28 -0700)]
Eliminate all the OS/2 code.
Chris Hanson [Mon, 14 Mar 2016 05:34:52 +0000 (22:34 -0700)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme
Chris Hanson [Mon, 14 Mar 2016 05:32:33 +0000 (22:32 -0700)]
Don't auto-convert arguments to URI accessors.
Matt Birkholz [Fri, 11 Mar 2016 04:28:15 +0000 (21:28 -0700)]
doc/Makefile.in: Punt doc-config.scm. It is no longer used.
Matt Birkholz [Fri, 11 Mar 2016 04:19:34 +0000 (21:19 -0700)]
ffi/build.scm (update-html-index): Do not forget the .html suffix.
And dodge a bullet when there are no plugin manuals installed.
Matt Birkholz [Thu, 10 Mar 2016 23:08:49 +0000 (16:08 -0700)]
blowfish/make.scm: Fix subsystem name to match load-option name.
Matt Birkholz [Thu, 10 Mar 2016 22:37:26 +0000 (15:37 -0700)]
plugin Makefile.ams: Set infodir to the Scheme default.
Matt Birkholz [Thu, 10 Mar 2016 22:35:04 +0000 (15:35 -0700)]
plugin Makefile.ams: Add support for .texi. (No actual .texi yet.)
Matt Birkholz [Thu, 10 Mar 2016 22:07:54 +0000 (15:07 -0700)]
plugin Makefile.ams: rmdir the plugin subdirectory on uninstall.
Matt Birkholz [Thu, 10 Mar 2016 22:00:28 +0000 (15:00 -0700)]
plugin Makefile.ams: replace ALL -unx with -@MIT_SCHEME_OS_SUFFIX@.
Matt Birkholz [Thu, 10 Mar 2016 21:38:52 +0000 (14:38 -0700)]
ffi/build.scm (update-html-index): Do not strip the mit-scheme- prefix.
The plugin Makefile.ams install --no-split .html to the same name as
the .info by default. (The .info goes in a shared info/ directory and
thus needs the prefix.)
Matt Birkholz [Thu, 10 Mar 2016 20:02:49 +0000 (13:02 -0700)]
Quote here document in plugin test scripts.
Matt Birkholz [Thu, 10 Mar 2016 20:01:10 +0000 (13:01 -0700)]
When buiding plugins, do not cref/generate-constructors for 'ALL.
This simplifies cleaning.
Matt Birkholz [Tue, 8 Mar 2016 18:49:59 +0000 (11:49 -0700)]
Use new --prepend-library option to build and test the plugins.
Matt Birkholz [Tue, 8 Mar 2016 18:41:50 +0000 (11:41 -0700)]
Punt plugin -available? procedures.
Such procedures made sense in (runtime crypto), but make little sense
in a plugin where they are defined only after the plugin is installed
and loaded.
Matt Birkholz [Tue, 8 Mar 2016 18:38:11 +0000 (11:38 -0700)]
Punt with-system-library-directories.
This procedure made uninstalled FFIs visible while building or testing
plugins, but it works for one thread only. A test involving multiple
threads will fail if another thread tries to call out and cannot find
the uninstalled FFI's shim.
Matt Birkholz [Tue, 8 Mar 2016 18:36:47 +0000 (11:36 -0700)]
microcode/option.c: Add --prepend-library option.
Matt Birkholz [Tue, 8 Mar 2016 18:34:15 +0000 (11:34 -0700)]
microcode/option.c (string_copy_limited): Null-terminate result.
Matt Birkholz [Sun, 6 Mar 2016 18:00:51 +0000 (11:00 -0700)]
microcode: Show defaults for band and library-path in --help text.
Matt Birkholz [Thu, 3 Mar 2016 18:00:59 +0000 (11:00 -0700)]
Fix plugin testing, -available? predicates, install hooks.
Signal an error (not warning) if a plugin is not tested because it
appears to be unavailable.
Matt Birkholz [Wed, 2 Mar 2016 23:34:31 +0000 (16:34 -0700)]
ffi: Delete old reference to the XML option.
Matt Birkholz [Wed, 2 Mar 2016 23:22:40 +0000 (16:22 -0700)]
microcode/pruxffi.c: Pass flovecs as double*, not SCHEME_OBJECT*.
This reduces the need for adapter code, but assumes Scheme's flonums
are doubles.
The convenience functions flovec_loc and flovec_ref are thus made
superfluous.
Matt Birkholz [Wed, 2 Mar 2016 23:11:14 +0000 (16:11 -0700)]
tests/ffi/test-ffi.scm: Use new param:suppress-loading-message?.
Matt Birkholz [Wed, 2 Mar 2016 23:08:33 +0000 (16:08 -0700)]
runtime/ffi: Add plugin-available?. Eliminate free variable ref.
Matt Birkholz [Wed, 2 Mar 2016 22:59:22 +0000 (15:59 -0700)]
src/README.txt: Describe the latest plugins.
Matt Birkholz [Wed, 2 Mar 2016 22:58:27 +0000 (15:58 -0700)]
doc/index.html: Add list of plugin manuals.
Chris Hanson [Wed, 2 Mar 2016 09:50:42 +0000 (01:50 -0800)]
Apply swank patch from craven@gmx.net.
Chris Hanson [Tue, 1 Mar 2016 21:52:48 +0000 (13:52 -0800)]
Suppress output about passing tests.
Chris Hanson [Tue, 1 Mar 2016 21:52:36 +0000 (13:52 -0800)]
Clarify wording in notification line.
Chris Hanson [Tue, 1 Mar 2016 21:34:06 +0000 (13:34 -0800)]
Fix a test problem caused by make-parameter changing to unsettable.
Thanks to craven@gmx.net for finding this.
Chris Hanson [Tue, 1 Mar 2016 09:53:59 +0000 (01:53 -0800)]
Remove obsolete runtime-check directory.
Standard runtime enabled type and range checks long ago.
Chris Hanson [Tue, 1 Mar 2016 08:59:19 +0000 (00:59 -0800)]
Fix two typos; thanks to craven@gmx.net!
Chris Hanson [Mon, 29 Feb 2016 07:12:04 +0000 (23:12 -0800)]
If install-info is available, use it to update the info dir.
Chris Hanson [Mon, 29 Feb 2016 06:34:32 +0000 (22:34 -0800)]
Implement more R7RS string and vector procedures.
Chris Hanson [Mon, 29 Feb 2016 06:01:55 +0000 (22:01 -0800)]
Implement some R7RS string procedures.
Chris Hanson [Mon, 29 Feb 2016 05:29:41 +0000 (21:29 -0800)]
Implement #true and #false as specified by R7RS.
Chris Hanson [Mon, 29 Feb 2016 05:23:15 +0000 (21:23 -0800)]
Implement exact and inexact as per R7RS.
Chris Hanson [Mon, 29 Feb 2016 05:13:25 +0000 (21:13 -0800)]
Change make-parameter to be make-unsettable-parameter.
Chris Hanson [Mon, 29 Feb 2016 05:12:57 +0000 (21:12 -0800)]
Explicitly specify settability of all parameters.
Chris Hanson [Mon, 29 Feb 2016 04:34:41 +0000 (20:34 -0800)]
Refactor parser and unparser parameters.
* Made unsettable.
* Added type-checking converters.
* Check each "fluid" value with the corresponding converter.
Chris Hanson [Mon, 29 Feb 2016 04:33:50 +0000 (20:33 -0800)]
Define guarantee-boolean and parameter-converter.
Chris Hanson [Mon, 29 Feb 2016 04:26:34 +0000 (20:26 -0800)]
Document parser and unparser parameters.
Chris Hanson [Mon, 29 Feb 2016 03:27:16 +0000 (19:27 -0800)]
Update the documentation of *random-state*.
Chris Hanson [Mon, 29 Feb 2016 03:23:11 +0000 (19:23 -0800)]
Fix typos.
Chris Hanson [Mon, 29 Feb 2016 02:15:50 +0000 (18:15 -0800)]
Update the documentation of several parameters.
Chris Hanson [Mon, 29 Feb 2016 01:49:31 +0000 (17:49 -0800)]
Document port parameters.
Chris Hanson [Mon, 29 Feb 2016 01:01:15 +0000 (17:01 -0800)]
Refactor handling of SRFI references using macros.
* Add macros for R7RS.
* Tweak parameter sections.
* Add make-unsettable-parameter and make-settable-parameter.
Chris Hanson [Sun, 28 Feb 2016 09:47:15 +0000 (01:47 -0800)]
Change standard ports to *be* parameters.
This is the use case that parameters were designed for, so we might as well take
advantage of it.
Chris Hanson [Sun, 28 Feb 2016 09:46:04 +0000 (01:46 -0800)]
Use parameter defaults with make-general-parameter.
Chris Hanson [Sun, 28 Feb 2016 09:14:38 +0000 (01:14 -0800)]
Rely on error:wrong-type-argument to use default caller appropriately.
Chris Hanson [Sun, 28 Feb 2016 09:09:15 +0000 (01:09 -0800)]
Change guarantee-foo to return the object.
Chris Hanson [Sun, 28 Feb 2016 09:03:09 +0000 (01:03 -0800)]
Define and export the default parameter procedures.
Chris Hanson [Sun, 28 Feb 2016 08:24:44 +0000 (00:24 -0800)]
Fix parameterization in pp.scm.
Chris Hanson [Sun, 28 Feb 2016 08:00:23 +0000 (00:00 -0800)]
Fix parameterization in unpars.scm.
Chris Hanson [Sun, 28 Feb 2016 07:11:05 +0000 (23:11 -0800)]
Fix parameterization in parse.scm.
Chris Hanson [Sun, 28 Feb 2016 06:21:48 +0000 (22:21 -0800)]
Fix parameterization in global.scm.
Chris Hanson [Sun, 28 Feb 2016 06:10:19 +0000 (22:10 -0800)]
Fix handling of *default-pathname-defaults*.
Problem is that this variable is readable as well, so for now we have to keep it
up to date. This is kind of a pain.
Chris Hanson [Sun, 28 Feb 2016 05:54:27 +0000 (21:54 -0800)]
Fix parameterization in error.scm.
Chris Hanson [Sun, 28 Feb 2016 03:35:41 +0000 (19:35 -0800)]
Fix parameterization in rep.scm.
Chris Hanson [Sun, 28 Feb 2016 03:23:04 +0000 (19:23 -0800)]
Use parameter setter on working-directory-pathname.
Chris Hanson [Sun, 28 Feb 2016 03:22:25 +0000 (19:22 -0800)]
Tweak make-general-parameter to allow defining a setter.
Chris Hanson [Sun, 28 Feb 2016 01:44:03 +0000 (17:44 -0800)]
Make param:loading? unsettable.
Chris Hanson [Sun, 28 Feb 2016 01:39:36 +0000 (17:39 -0800)]
Split make-parameter into settable and unsettable variants.
* Default is settable, but that might want to be reconsidered.
* Parameters defined in runtime should probably be made explicit.
* Rename make-parameter* to make-general-parameter.
Chris Hanson [Sun, 28 Feb 2016 01:12:23 +0000 (17:12 -0800)]
Fix parameterization of load.scm.
Chris Hanson [Sat, 27 Feb 2016 23:20:10 +0000 (15:20 -0800)]
Rename default-pathname-defaults to param:default-pathname-defaults.
Makes consistent with param:flonum-unparser-cutoff.
Chris Hanson [Sat, 27 Feb 2016 23:19:48 +0000 (15:19 -0800)]
Add missing runtime/ subdir.
Chris Hanson [Sat, 27 Feb 2016 23:10:58 +0000 (15:10 -0800)]
Move dragon4 unit tests from comment to tests/ directory.