Matt Birkholz [Sun, 29 May 2016 02:50:08 +0000 (19:50 -0700)]
gtk-screen/Makefile.am: Add gtk-faces.
Matt Birkholz [Sun, 29 May 2016 02:48:00 +0000 (19:48 -0700)]
gl/configure.ac: typo
Matt Birkholz [Sun, 29 May 2016 02:44:40 +0000 (19:44 -0700)]
plugin builds: Punt AC_PROG_LIBTOOL. Use MIT_SCHEME_LIBDIR.
AC_PROG_LIBTOOL is deprecated. MIT_SCHEME_LIBDIR replaces both
MIT_SCHEME_ARCH and the project name, allowing the latter to be more
easily changed.
Matt Birkholz [Wed, 11 May 2016 20:42:46 +0000 (13:42 -0700)]
0001-allow-autoreconf-force.patch from bap (Barak A. Pearlmutter).
From: "Barak A. Pearlmutter" <barak+git@cs.nuim.ie>
Date: Mon, 22 Jul 2013 19:58:13 +0200
Subject: allow autoreconf force
Recombobulate slightly to allow full regeneration via the command
$ autoreconf --force
- move src/microcode/aclocal.m4 to src/microcode/mit_scheme_native_code.m4
- use single shared directory locally-defined macros (src/microcode/ for now)
The necessary local m4 macro file is explicitly included.
This is necessary because autoconf is not using automake or libtools,
so AC_CONFIG_MACRO_DIR([.../microcode]) won't work. Gulp.
Matt Birkholz [Sat, 28 May 2016 20:56:21 +0000 (13:56 -0700)]
gtk-screen/configure.ac: Fiddle package name to match X11 Screen.
Matt Birkholz [Sat, 28 May 2016 20:53:54 +0000 (13:53 -0700)]
gtk plugin configure.ac: Punt unnecessary AC_PROG_.
Matt Birkholz [Sat, 28 May 2016 20:40:18 +0000 (13:40 -0700)]
gtk: Do not ignore an error in compile.sh.
Matt Birkholz [Wed, 11 May 2016 01:12:43 +0000 (18:12 -0700)]
dist/shared.sh: Punt plugins now distributed separately.
Matt Birkholz [Sun, 29 May 2016 17:18:22 +0000 (10:18 -0700)]
Merge branch 'master' into Gtk.
Matt Birkholz [Sun, 29 May 2016 17:02:40 +0000 (10:02 -0700)]
x11-screen.scm: Fix DISPLAY test.
Matt Birkholz [Sun, 29 May 2016 08:37:12 +0000 (01:37 -0700)]
runtime/Makefile-fragment: Install runtime/optiondb.scm.
Install runtime/optiondb.SCM so that standard-load-options can find it
when searching the library path.
Matt Birkholz [Sun, 29 May 2016 01:30:50 +0000 (18:30 -0700)]
dist/shared.sh: Add x11 and x11-screen to PLUGINS.
Matt Birkholz [Sun, 29 May 2016 01:29:36 +0000 (18:29 -0700)]
x11/Makefile.am: Add missing optiondb.scm to EXTRA_DIST.
Matt Birkholz [Sat, 28 May 2016 22:21:11 +0000 (15:21 -0700)]
plugin builds: Punt AC_PROG_LIBTOOL. Use MIT_SCHEME_LIBDIR.
AC_PROG_LIBTOOL is deprecated. MIT_SCHEME_LIBDIR replaces both
MIT_SCHEME_ARCH and the project name, allowing the latter to be more
easily changed.
Matt Birkholz [Fri, 27 May 2016 01:32:06 +0000 (18:32 -0700)]
New plugins x11 and x11-screen, to replace the x11 μmodule.
The "new" code is a translation of the x11 μmodule and associated
runtime Scheme code. The C code consing Scheme objects was translated
into Scheme/FFI code parsing C data. This removed the Scheme-specific
C code except for many calls to error_external_return, which are now
error status returns. Most of the error checking is intact. All C
data structures used by Scheme are protected from leaking by "GC
cleanups".
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 [Sat, 7 May 2016 00:29:46 +0000 (17:29 -0700)]
gtk/fix-layout.scm: Fix image-ink callback extents.
Matt Birkholz [Tue, 3 May 2016 16:45:09 +0000 (09:45 -0700)]
gtk/Makefile.am: typos
Matt Birkholz [Sat, 30 Apr 2016 20:35:34 +0000 (13:35 -0700)]
gl: Replace public with-gl-library with internal with-gl-context.
A mutex cannot be grabbed in Gtk draw callbacks because they cannot
suspend. If ALL GL calls are made in Gtk callbacks, serial use of the
library is assured. To ensure that the library is not used without a
current context, a parameter is used instead.
Matt Birkholz [Sat, 30 Apr 2016 19:38:10 +0000 (12:38 -0700)]
gl: Add a popup help window for glx-viewports and glxgears-demos.
Matt Birkholz [Sat, 30 Apr 2016 19:35:52 +0000 (12:35 -0700)]
gtk: Add gtk-window-set-accept-focus.
Matt Birkholz [Sat, 30 Apr 2016 05:50:07 +0000 (22:50 -0700)]
gl: Use gtk_widget_register_window; not gdk_window_set_user_data.
Matt Birkholz [Sat, 30 Apr 2016 05:48:28 +0000 (22:48 -0700)]
gtk: Use gtk_widget_register_window; not gdk_window_set_user_data.
Matt Birkholz [Fri, 29 Apr 2016 23:28:11 +0000 (16:28 -0700)]
planetarium: Turn write-sample-terrain into write-function-terrain.
Matt Birkholz [Sat, 30 Apr 2016 20:00:24 +0000 (13:00 -0700)]
planetarium/terrain.scm (make-terrain): Take all args with keywords.
Matt Birkholz [Sun, 17 Apr 2016 00:57:11 +0000 (17:57 -0700)]
planetarium/terrain.scm: Accept real arguments to commands.
Matt Birkholz [Sun, 17 Apr 2016 01:42:34 +0000 (18:42 -0700)]
planetarium/: Tweak manual.
Matt Birkholz [Wed, 27 Apr 2016 23:17:35 +0000 (16:17 -0700)]
planetarium/mit-3d.pkg: Add bindings missed by CREF.
The fixnum ops are referenced by the code, but are inlined/substituted
before CREF can see them(?). Without these bindings, loading
terrain.scm, to run it interpretively, causes unbound variable errors.
Matt Birkholz [Sat, 30 Apr 2016 19:49:41 +0000 (12:49 -0700)]
planetarium/terrain.scm: Produce a properly shaded sample.
Set the light position in the draw method. The position is stored in
eye coords and must be updated when the eye moves. Use a directional
light. Do not cull back faces.
Fix normal to use the height change (not absolute height!) to east,
west, north and south. Add more normal tests.
Fix write-sample-terrain to produce the correct number of samples.
Support an optional height->color function. Change height-color to be
such a function. Merge draw-colored and draw-shaded into draw-mesh;
conditionally use gl:color-material.
Fix bounds of data plotted. Since heights adjacent to edges are
imagined flat (not undefined), ALL heights can be used to form quads.
Matt Birkholz [Fri, 29 Apr 2016 22:36:10 +0000 (15:36 -0700)]
gl/gl-glxgears.scm: Do all GL callouts in a Gtk callback.
Otherwise this demo will not operate alongside a layout demo or a
glx-viewport. While it holds the GL libray mutex, it causes them
to suspend-current-thread in their draw callback.
Matt Birkholz [Sat, 30 Apr 2016 00:36:55 +0000 (17:36 -0700)]
glib: Add abort restart for cleanups and secondary-GC-daemons.
Matt Birkholz [Fri, 29 Apr 2016 22:23:38 +0000 (15:23 -0700)]
glib: fiddle %trace messages
Matt Birkholz [Thu, 28 Apr 2016 22:47:58 +0000 (15:47 -0700)]
gtk/swat.scm: fiddle %trace messages
Matt Birkholz [Fri, 29 Apr 2016 21:49:29 +0000 (14:49 -0700)]
gtk Makefile.ams (dist, tags): Implement dist. Fix TAGS.
Add missing files to EXTRA_DIST. Use new ./tags-fix.sh Scheme scripts
to remove generated shim code from TAGS.
Matt Birkholz [Mon, 11 Apr 2016 09:14:53 +0000 (02:14 -0700)]
gtk-screen: Use automake.
Matt Birkholz [Fri, 29 Apr 2016 21:24:42 +0000 (14:24 -0700)]
Merge branch 'master' into Gtk.
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 [Sat, 2 Apr 2016 08:46:50 +0000 (01:46 -0700)]
planetarium/mit-check.sh: Move tests here from mit-make.scm.
Matt Birkholz [Sat, 2 Apr 2016 05:25:15 +0000 (22:25 -0700)]
planetarium/mit-3d.pkg: define-class uses system-global-environment
Matt Birkholz [Sat, 2 Apr 2016 05:22:40 +0000 (22:22 -0700)]
planetarium: Punt bogus string->latitude-longitude implementation.
Matt Birkholz [Tue, 29 Mar 2016 18:08:09 +0000 (11:08 -0700)]
gtk-screen: Use autoconf.
Matt Birkholz [Tue, 29 Mar 2016 22:25:06 +0000 (15:25 -0700)]
planetarium: tellurions: Accept a decoded-time. Animate any time.
Do not snap to the current time if a different time is set. Punt the
HOUR-TO message; instead, send (MAKE-DECODED-TIME 0 0 hour...) in a
TIME-TO message.
Matt Birkholz [Tue, 29 Mar 2016 22:13:18 +0000 (15:13 -0700)]
planetarium: Use automake; add manual; update copyright notices.
Matt Birkholz [Tue, 29 Mar 2016 22:10:51 +0000 (15:10 -0700)]
gl: Use libtool/automake.
Matt Birkholz [Mon, 28 Mar 2016 21:04:26 +0000 (14:04 -0700)]
gtk/fix-demo.scm: Simplify finding the sample conses.png image.
Matt Birkholz [Tue, 29 Mar 2016 22:09:58 +0000 (15:09 -0700)]
gtk: Use libtool/automake.
Matt Birkholz [Tue, 29 Mar 2016 22:09:33 +0000 (15:09 -0700)]
cairo: Use libtool/automake.
Matt Birkholz [Tue, 29 Mar 2016 22:09:08 +0000 (15:09 -0700)]
pango: Use libtool/automake.
Matt Birkholz [Tue, 29 Mar 2016 22:08:20 +0000 (15:08 -0700)]
glib: Use libtool/automake.
Matt Birkholz [Tue, 29 Mar 2016 01:19:54 +0000 (18:19 -0700)]
Free GdkWindowAttrs.
Matt Birkholz [Tue, 29 Mar 2016 23:50:12 +0000 (16:50 -0700)]
Merge branch 'master' into Gtk.
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 [Wed, 2 Mar 2016 19:39:24 +0000 (12:39 -0700)]
gtk: Simplify plugin texinfo titles. No cover texts in copyright.
Matt Birkholz [Wed, 2 Mar 2016 06:35:59 +0000 (23:35 -0700)]
gtk: Use new parameters, not fluids.
Matt Birkholz [Fri, 25 Mar 2016 18:16:37 +0000 (11:16 -0700)]
Merge branch 'master' into Gtk.
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.