mit-scheme.git
7 years agoMerge branch 'master' into Gtk. Gtk
Matt Birkholz [Sun, 5 Mar 2017 19:42:40 +0000 (12:42 -0700)]
Merge branch 'master' into Gtk.

7 years agosvm: Punt unnecessary (global-definitions "../cref/cref").
Matt Birkholz [Sun, 5 Mar 2017 19:26:28 +0000 (12:26 -0700)]
svm: Punt unnecessary (global-definitions "../cref/cref").

7 years agoMatch up 9.2 and current definitions of GUARANTEE.
Matt Birkholz [Sun, 5 Mar 2017 19:06:53 +0000 (12:06 -0700)]
Match up 9.2 and current definitions of GUARANTEE.

Fix the 9.2 host adapter to agree with expected behavior (returning
the object), after changing the new definition so that it is easier to
continue from (error...) with a substitute.

7 years agoSpeed up SVM cross-build with new finish-cross-compilation:files.
Matt Birkholz [Sun, 5 Mar 2017 18:10:48 +0000 (11:10 -0700)]
Speed up SVM cross-build with new finish-cross-compilation:files.

Undo 0ee3b64 <compiler/base/crsend.scm: Use a compiled compress
procedure ASAP.>.  Delay compressing info files until after the .mocs
are processed and a compiled runtime can be booted.

7 years agoAssign &lambda-components before (runtime ustring) needs it.
Matt Birkholz [Sun, 5 Mar 2017 16:02:10 +0000 (09:02 -0700)]
Assign &lambda-components before (runtime ustring) needs it.

7 years agoFix design flaws in segmentation state machines.
Chris Hanson [Sun, 5 Mar 2017 07:20:27 +0000 (23:20 -0800)]
Fix design flaws in segmentation state machines.

7 years agoMust load host-adapter when compiling svm1.
Chris Hanson [Sun, 5 Mar 2017 07:18:06 +0000 (23:18 -0800)]
Must load host-adapter when compiling svm1.

7 years agoSave ucd-segment-states for future reference.
Chris Hanson [Sun, 5 Mar 2017 00:24:48 +0000 (16:24 -0800)]
Save ucd-segment-states for future reference.

7 years agoFinish documenting the remaining string procedures.
Chris Hanson [Sun, 5 Mar 2017 00:20:50 +0000 (16:20 -0800)]
Finish documenting the remaining string procedures.

7 years agoChange the default of 'copy? in string-trimmer to #f.
Chris Hanson [Sun, 5 Mar 2017 00:20:27 +0000 (16:20 -0800)]
Change the default of 'copy? in string-trimmer to #f.

7 years agoFinish changing string-ci-hash to string-hash-ci.
Chris Hanson [Sat, 4 Mar 2017 09:01:48 +0000 (01:01 -0800)]
Finish changing string-ci-hash to string-hash-ci.

7 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme
Chris Hanson [Sat, 4 Mar 2017 08:35:01 +0000 (00:35 -0800)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme

7 years agoAdd a bunch more documentation for strings.
Chris Hanson [Sat, 4 Mar 2017 08:34:37 +0000 (00:34 -0800)]
Add a bunch more documentation for strings.

7 years agoUse @acronym{ASCII}.
Chris Hanson [Sat, 4 Mar 2017 08:34:15 +0000 (00:34 -0800)]
Use @acronym{ASCII}.

7 years agoAdd hacks to make URLs more like web pages.
Chris Hanson [Sat, 4 Mar 2017 08:33:42 +0000 (00:33 -0800)]
Add hacks to make URLs more like web pages.

7 years agoExport string-hash-ci.
Chris Hanson [Sat, 4 Mar 2017 08:33:25 +0000 (00:33 -0800)]
Export string-hash-ci.

7 years agoRedefine the string-find-X procedures to take substring indices.
Chris Hanson [Sat, 4 Mar 2017 08:32:57 +0000 (00:32 -0800)]
Redefine the string-find-X procedures to take substring indices.

7 years agoMove substring? to be near its relatives.
Chris Hanson [Sat, 4 Mar 2017 08:32:32 +0000 (00:32 -0800)]
Move substring? to be near its relatives.

7 years agoFix bug: string-padder was adding the wrong number of clusters.
Chris Hanson [Sat, 4 Mar 2017 08:31:51 +0000 (00:31 -0800)]
Fix bug: string-padder was adding the wrong number of clusters.

7 years agoplanetarium: Do not put utf8 in string literals.
Matt Birkholz [Sat, 4 Mar 2017 08:04:02 +0000 (01:04 -0700)]
planetarium: Do not put utf8 in string literals.

7 years agoDocument string->vector and vector->string.
Chris Hanson [Sat, 4 Mar 2017 04:32:17 +0000 (20:32 -0800)]
Document string->vector and vector->string.

7 years agoRemove redundant description of {,sub}string->list.
Chris Hanson [Sat, 4 Mar 2017 04:31:49 +0000 (20:31 -0800)]
Remove redundant description of {,sub}string->list.

7 years agoDocument string-hash-ci.
Chris Hanson [Sat, 4 Mar 2017 04:31:31 +0000 (20:31 -0800)]
Document string-hash-ci.

7 years agoChange string-search-X interface back to its original design.
Chris Hanson [Sat, 4 Mar 2017 04:30:13 +0000 (20:30 -0800)]
Change string-search-X interface back to its original design.

7 years agoMerge branch 'master' into Gtk.
Matt Birkholz [Sat, 4 Mar 2017 00:26:42 +0000 (17:26 -0700)]
Merge branch 'master' into Gtk.

7 years agoruntime/chrsyn: Pass TABLE through to char->syntax-code.
Matt Birkholz [Fri, 3 Mar 2017 23:59:01 +0000 (16:59 -0700)]
runtime/chrsyn: Pass TABLE through to char->syntax-code.

7 years agoLoad runtime/host-adapter when building a cross-compiler.
Matt Birkholz [Fri, 3 Mar 2017 23:08:15 +0000 (16:08 -0700)]
Load runtime/host-adapter when building a cross-compiler.

Define GUARANTEE which is now used in the new compiler/sf/cref.
Collect a couple other existing hacks to the host runtime.

Increment the CREF version since it grew deprecated bindings.

7 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme
Chris Hanson [Fri, 3 Mar 2017 05:52:06 +0000 (21:52 -0800)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme

7 years agoUse canonical caseless matching for symbols.
Chris Hanson [Fri, 3 Mar 2017 05:51:32 +0000 (21:51 -0800)]
Use canonical caseless matching for symbols.

7 years agogtk, planetarium: Remove references to deprecated bindings.
Matt Birkholz [Fri, 3 Mar 2017 01:14:54 +0000 (18:14 -0700)]
gtk, planetarium: Remove references to deprecated bindings.

7 years agoFirst load runtime/host-adapter when building a cross-compiler.
Matt Birkholz [Fri, 3 Mar 2017 00:49:37 +0000 (17:49 -0700)]
First load runtime/host-adapter when building a cross-compiler.

7 years agoMerge branch 'master' into Gtk.
Matt Birkholz [Thu, 2 Mar 2017 22:52:39 +0000 (15:52 -0700)]
Merge branch 'master' into Gtk.

7 years agox11: Remove reference to deprecated char->string.
Matt Birkholz [Thu, 2 Mar 2017 22:47:09 +0000 (15:47 -0700)]
x11: Remove reference to deprecated char->string.

7 years agoFix char-set-predicate to accept non-characters.
Matt Birkholz [Thu, 2 Mar 2017 22:46:40 +0000 (15:46 -0700)]
Fix char-set-predicate to accept non-characters.

7 years agoAnother round of eliminations.
Chris Hanson [Thu, 2 Mar 2017 07:46:38 +0000 (23:46 -0800)]
Another round of eliminations.

7 years agoGiant edit to remove most of the now-obsolete guarantee-FOO bindings.
Chris Hanson [Thu, 2 Mar 2017 07:33:34 +0000 (23:33 -0800)]
Giant edit to remove most of the now-obsolete guarantee-FOO bindings.

7 years agoChange string-joiner and string-splitter to use keyword options.
Chris Hanson [Thu, 2 Mar 2017 05:12:50 +0000 (21:12 -0800)]
Change string-joiner and string-splitter to use keyword options.

Also enhance keyword-option-parser.

7 years agoplugin optiondb.scm: Further-load-options expects a thunk.
Matt Birkholz [Thu, 2 Mar 2017 04:15:21 +0000 (21:15 -0700)]
plugin optiondb.scm: Further-load-options expects a thunk.

7 years agoplugins: Update ChangeLogs from stolen plugins.
Matt Birkholz [Thu, 2 Mar 2017 04:09:57 +0000 (21:09 -0700)]
plugins: Update ChangeLogs from stolen plugins.

7 years agoplugins: Update Debian version numbers in debian/changelogs.
Matt Birkholz [Thu, 2 Mar 2017 04:07:29 +0000 (21:07 -0700)]
plugins: Update Debian version numbers in debian/changelogs.

They should agree with the new numbers in the configure.acs.

7 years agoplugins: Limit version subpattern in debian/watch.
Matt Birkholz [Thu, 2 Mar 2017 04:01:35 +0000 (21:01 -0700)]
plugins: Limit version subpattern in debian/watch.

Thus commit to easily sortable, strictly numeric, plugin version
numbers.

7 years agoplugins: Adjust copyright notices, some version numbers.
Matt Birkholz [Thu, 2 Mar 2017 03:56:06 +0000 (20:56 -0700)]
plugins: Adjust copyright notices, some version numbers.

Make plain that the plugins stolen from MIT/GNU Scheme have been
modified; add my own copyright notice but keep the MIT license text.
Add another sub-version number to distinguish between modifications to
the pucked plugin.

7 years agoImplement dumb Unicode string search, and eliminate old implementation.
Chris Hanson [Wed, 1 Mar 2017 09:42:28 +0000 (01:42 -0800)]
Implement dumb Unicode string search, and eliminate old implementation.

It looks like the KMP string-search algorithm is better for Unicode than BM, so
that will need to be implemented soon-ish.

7 years agoEliminate guarantee-substring.
Chris Hanson [Wed, 1 Mar 2017 02:13:35 +0000 (18:13 -0800)]
Eliminate guarantee-substring.

7 years agoImplement string-padder; promote grapheme clusters.
Chris Hanson [Tue, 28 Feb 2017 07:14:32 +0000 (23:14 -0800)]
Implement string-padder; promote grapheme clusters.

* Rename count-grapheme-clusters to grapheme-cluster-length.
* Implement grapheme-cluster-slice.
* Update string-pad-X to use string-padder.

7 years agoImplement string-trim-X using string-trimmer.
Chris Hanson [Tue, 28 Feb 2017 06:20:05 +0000 (22:20 -0800)]
Implement string-trim-X using string-trimmer.

7 years agoChange string-map to use string-builder.
Chris Hanson [Tue, 28 Feb 2017 06:14:22 +0000 (22:14 -0800)]
Change string-map to use string-builder.

7 years agoImplement string-trimmer; hack cold-load to get boot inits earlier.
Chris Hanson [Tue, 28 Feb 2017 06:13:51 +0000 (22:13 -0800)]
Implement string-trimmer; hack cold-load to get boot inits earlier.

7 years agoImplement keyword-option-parser.
Chris Hanson [Tue, 28 Feb 2017 06:13:19 +0000 (22:13 -0800)]
Implement keyword-option-parser.

7 years agoFix implementations of string-prefix-ci? and string-suffix-ci?.
Chris Hanson [Tue, 28 Feb 2017 05:10:06 +0000 (21:10 -0800)]
Fix implementations of string-prefix-ci? and string-suffix-ci?.

7 years agoFix broken unit tests.
Chris Hanson [Mon, 27 Feb 2017 08:19:53 +0000 (00:19 -0800)]
Fix broken unit tests.

7 years agoImplement string-titlecase.
Chris Hanson [Mon, 27 Feb 2017 08:07:26 +0000 (00:07 -0800)]
Implement string-titlecase.

7 years agoGenerate UCD tc table.
Chris Hanson [Mon, 27 Feb 2017 08:07:12 +0000 (00:07 -0800)]
Generate UCD tc table.

7 years agoInclude and export cased table.
Chris Hanson [Mon, 27 Feb 2017 07:07:16 +0000 (23:07 -0800)]
Include and export cased table.

7 years agoAdd UCD Cased table.
Chris Hanson [Mon, 27 Feb 2017 07:05:43 +0000 (23:05 -0800)]
Add UCD Cased table.

7 years agoImplement Unicode word-break algorithm.
Chris Hanson [Mon, 27 Feb 2017 07:05:15 +0000 (23:05 -0800)]
Implement Unicode word-break algorithm.

7 years agoplanetarium: Remove references to deprecated bindings.
Matt Birkholz [Sun, 26 Feb 2017 08:37:38 +0000 (01:37 -0700)]
planetarium: Remove references to deprecated bindings.

7 years agocref/conpkg.scm: Fourth slot of import links: 'deprecated, not #t.
Matt Birkholz [Sun, 26 Feb 2017 08:21:44 +0000 (01:21 -0700)]
cref/conpkg.scm: Fourth slot of import links: 'deprecated, not #t.

7 years agogtk-screen: Remove references to deprecated bindings.
Matt Birkholz [Sun, 26 Feb 2017 02:36:32 +0000 (19:36 -0700)]
gtk-screen: Remove references to deprecated bindings.

7 years agogl: Use bytevectors instead of strings.
Matt Birkholz [Sun, 26 Feb 2017 02:33:31 +0000 (19:33 -0700)]
gl: Use bytevectors instead of strings.

7 years agogtk: Use bytevectors instead of strings.
Matt Birkholz [Sun, 26 Feb 2017 02:17:33 +0000 (19:17 -0700)]
gtk: Use bytevectors instead of strings.

7 years agocairo: Use bytevectors instead of strings.
Matt Birkholz [Sun, 26 Feb 2017 01:31:43 +0000 (18:31 -0700)]
cairo: Use bytevectors instead of strings.

7 years agopango: Use bytevectors instead of strings.
Matt Birkholz [Sun, 26 Feb 2017 01:23:33 +0000 (18:23 -0700)]
pango: Use bytevectors instead of strings.

7 years agoglib: Use bytevectors instead of strings.
Matt Birkholz [Sun, 26 Feb 2017 01:12:54 +0000 (18:12 -0700)]
glib: Use bytevectors instead of strings.

7 years agoAdd WB property table.
Chris Hanson [Sat, 25 Feb 2017 19:24:10 +0000 (11:24 -0800)]
Add WB property table.

7 years agoGtk plugins: update/correct copyrights (years, project name, etc.)
Matt Birkholz [Sat, 25 Feb 2017 16:37:36 +0000 (09:37 -0700)]
Gtk plugins: update/correct copyrights (years, project name, etc.)

7 years agoRepaginate.
Chris Hanson [Sat, 25 Feb 2017 05:30:54 +0000 (21:30 -0800)]
Repaginate.

7 years agoplugins: Only warn until deprecated bindings are sorted.
Matt Birkholz [Sat, 25 Feb 2017 05:25:39 +0000 (22:25 -0700)]
plugins: Only warn until deprecated bindings are sorted.

7 years agoedwin/sources.sh: Add new source file string.scm.
Matt Birkholz [Sat, 25 Feb 2017 05:24:30 +0000 (22:24 -0700)]
edwin/sources.sh: Add new source file string.scm.

7 years agoUse new GCB values to compress and speed up find-grapheme-cluster-breaks.
Chris Hanson [Sat, 25 Feb 2017 05:08:17 +0000 (21:08 -0800)]
Use new GCB values to compress and speed up find-grapheme-cluster-breaks.

7 years agoImplement support for "unmapped" enum types.
Chris Hanson [Sat, 25 Feb 2017 05:07:22 +0000 (21:07 -0800)]
Implement support for "unmapped" enum types.

This maps them to index integers in the same order they appear in the enum.
Also change GCB to be unmapped.

7 years agoFix char-set-predicate to take non-characters.
Matt Birkholz [Sat, 25 Feb 2017 03:53:53 +0000 (20:53 -0700)]
Fix char-set-predicate to take non-characters.

7 years agotests/ffi/: Use bytevectors instead of strings.
Matt Birkholz [Sat, 25 Feb 2017 02:45:46 +0000 (19:45 -0700)]
tests/ffi/: Use bytevectors instead of strings.

7 years agotests/ffi/test-ffi-wrapper.scm: Use bytevectors instead of strings.
Matt Birkholz [Sat, 25 Feb 2017 02:36:18 +0000 (19:36 -0700)]
tests/ffi/test-ffi-wrapper.scm: Use bytevectors instead of strings.

7 years agoMerge branch 'master' into Gtk.
Matt Birkholz [Fri, 24 Feb 2017 23:28:16 +0000 (16:28 -0700)]
Merge branch 'master' into Gtk.

7 years agoruntime/ffi.scm: Missed guarantee-string -> guarantee bytevector?.
Matt Birkholz [Fri, 24 Feb 2017 23:17:13 +0000 (16:17 -0700)]
runtime/ffi.scm: Missed guarantee-string -> guarantee bytevector?.

7 years agoffi: Remove references to deprecated bindings.
Matt Birkholz [Fri, 24 Feb 2017 23:04:36 +0000 (16:04 -0700)]
ffi: Remove references to deprecated bindings.

7 years agoplugins: Fix package names in NEWS files and banish The Friar...
Matt Birkholz [Fri, 24 Feb 2017 22:52:54 +0000 (15:52 -0700)]
plugins: Fix package names in NEWS files and banish The Friar...

....especially from copyright notices.  Use the correct project
name in regular (similar) notices.  Fix some ChangeLogs too.

7 years agox11: Use bytevectors instead of strings.
Matt Birkholz [Fri, 24 Feb 2017 20:38:46 +0000 (13:38 -0700)]
x11: Use bytevectors instead of strings.

7 years agomhash: Use bytevectors instead of strings.
Matt Birkholz [Fri, 24 Feb 2017 19:47:51 +0000 (12:47 -0700)]
mhash: Use bytevectors instead of strings.

7 years agomd5: Use bytevectors instead of strings.
Matt Birkholz [Fri, 24 Feb 2017 18:42:52 +0000 (11:42 -0700)]
md5: Use bytevectors instead of strings.

7 years agomcrypt: Use bytevectors instead of strings.
Matt Birkholz [Fri, 24 Feb 2017 17:45:57 +0000 (10:45 -0700)]
mcrypt: Use bytevectors instead of strings.

7 years agogdbm: Require bytevectors instead of strings.
Matt Birkholz [Fri, 24 Feb 2017 16:34:42 +0000 (09:34 -0700)]
gdbm: Require bytevectors instead of strings.

7 years agoblowfish: Use bytevectors instead of strings.
Matt Birkholz [Fri, 24 Feb 2017 15:28:12 +0000 (08:28 -0700)]
blowfish: Use bytevectors instead of strings.

7 years agoffi: Require bytevectors instead of strings.
Matt Birkholz [Fri, 24 Feb 2017 20:37:11 +0000 (13:37 -0700)]
ffi: Require bytevectors instead of strings.

7 years agoFix type test in bytevector->hexadecimal.
Matt Birkholz [Fri, 24 Feb 2017 20:23:34 +0000 (13:23 -0700)]
Fix type test in bytevector->hexadecimal.

7 years agoImplement count-grapheme-clusters.
Chris Hanson [Fri, 24 Feb 2017 07:57:01 +0000 (23:57 -0800)]
Implement count-grapheme-clusters.

7 years agoImplement support for UCD grapheme-cluster-break table.
Chris Hanson [Fri, 24 Feb 2017 07:56:36 +0000 (23:56 -0800)]
Implement support for UCD grapheme-cluster-break table.

7 years agoEliminate reverse-string altogether. It's meaningless in Unicode.
Chris Hanson [Thu, 23 Feb 2017 06:10:36 +0000 (22:10 -0800)]
Eliminate reverse-string altogether.  It's meaningless in Unicode.

7 years agoTemporary definition of random-bytevector for 9.2 hosts.
Matt Birkholz [Wed, 22 Feb 2017 22:56:22 +0000 (15:56 -0700)]
Temporary definition of random-bytevector for 9.2 hosts.

7 years agoAvoid duplicating lists of deprecated bindings, even temporarily.
Matt Birkholz [Wed, 22 Feb 2017 22:23:27 +0000 (15:23 -0700)]
Avoid duplicating lists of deprecated bindings, even temporarily.

7 years agoref-manual/strings.texi: Fix node linking; "@dots expected braces"
Matt Birkholz [Wed, 22 Feb 2017 22:19:23 +0000 (15:19 -0700)]
ref-manual/strings.texi: Fix node linking; "@dots expected braces"

7 years agoMove reverse-string into ustring.
Chris Hanson [Wed, 22 Feb 2017 10:05:16 +0000 (02:05 -0800)]
Move reverse-string into ustring.

7 years agoMove string-match into ustring.
Chris Hanson [Wed, 22 Feb 2017 10:00:32 +0000 (02:00 -0800)]
Move string-match into ustring.

7 years agoMove string-compare into ustring and merge with order predicates.
Chris Hanson [Wed, 22 Feb 2017 09:48:40 +0000 (01:48 -0800)]
Move string-compare into ustring and merge with order predicates.

7 years agoAdd unicode support to string-replace.
Chris Hanson [Wed, 22 Feb 2017 09:25:22 +0000 (01:25 -0800)]
Add unicode support to string-replace.

7 years agoEliminate camel-case procedures.
Chris Hanson [Wed, 22 Feb 2017 09:20:41 +0000 (01:20 -0800)]
Eliminate camel-case procedures.

7 years agoEliminate "capitalize" string operations, add dummy string-titlecase.
Chris Hanson [Wed, 22 Feb 2017 06:42:43 +0000 (22:42 -0800)]
Eliminate "capitalize" string operations, add dummy string-titlecase.

7 years agoEliminate now-unused vector-8b->hexadecimal and hexadecimal->vector-8b.
Chris Hanson [Wed, 22 Feb 2017 06:33:53 +0000 (22:33 -0800)]
Eliminate now-unused vector-8b->hexadecimal and hexadecimal->vector-8b.

7 years agoFix thinko in previous change.
Chris Hanson [Wed, 22 Feb 2017 06:31:27 +0000 (22:31 -0800)]
Fix thinko in previous change.