mit-scheme.git
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 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 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 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 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/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.

7 years agoEliminate random-byte-vector outside of Edwin.
Chris Hanson [Wed, 22 Feb 2017 05:44:48 +0000 (21:44 -0800)]
Eliminate random-byte-vector outside of Edwin.

7 years agoImplement random-byte-vector in Edwin.
Chris Hanson [Wed, 22 Feb 2017 05:38:26 +0000 (21:38 -0800)]
Implement random-byte-vector in Edwin.

7 years agoImplement bytevector->hexadecimal and hexadecimal->bytevector.
Chris Hanson [Wed, 22 Feb 2017 05:31:53 +0000 (21:31 -0800)]
Implement bytevector->hexadecimal and hexadecimal->bytevector.

7 years agoImplement random-bytevector.
Chris Hanson [Wed, 22 Feb 2017 05:22:51 +0000 (21:22 -0800)]
Implement random-bytevector.

7 years agoEliminate set-string-length!.
Chris Hanson [Wed, 22 Feb 2017 05:18:53 +0000 (21:18 -0800)]
Eliminate set-string-length!.

7 years agoEliminate string-maximum-length.
Chris Hanson [Wed, 22 Feb 2017 05:14:33 +0000 (21:14 -0800)]
Eliminate string-maximum-length.

7 years agoEliminate ancient krypt program.
Chris Hanson [Wed, 22 Feb 2017 05:11:23 +0000 (21:11 -0800)]
Eliminate ancient krypt program.

7 years agoEliminate use of legacy string.
Chris Hanson [Wed, 22 Feb 2017 05:03:16 +0000 (21:03 -0800)]
Eliminate use of legacy string.

7 years agoEliminate use of legacy string.
Chris Hanson [Wed, 22 Feb 2017 04:35:53 +0000 (20:35 -0800)]
Eliminate use of legacy string.

7 years agoMust load string code during build.
Chris Hanson [Wed, 22 Feb 2017 02:09:13 +0000 (18:09 -0800)]
Must load string code during build.

7 years agoFirst round of changes to Strings chapter.
Chris Hanson [Wed, 22 Feb 2017 01:52:06 +0000 (17:52 -0800)]
First round of changes to Strings chapter.

7 years agoEliminate unused binding.
Chris Hanson [Wed, 22 Feb 2017 01:41:33 +0000 (17:41 -0800)]
Eliminate unused binding.

7 years agoCopy old string.scm into Edwin.
Chris Hanson [Tue, 21 Feb 2017 23:14:34 +0000 (15:14 -0800)]
Copy old string.scm into Edwin.

7 years agoEliminate references to char-set-member?.
Chris Hanson [Tue, 21 Feb 2017 08:57:00 +0000 (00:57 -0800)]
Eliminate references to char-set-member?.

7 years agoSimplify.
Chris Hanson [Tue, 21 Feb 2017 08:50:35 +0000 (00:50 -0800)]
Simplify.

7 years agoEliminate references to flush-output.
Chris Hanson [Tue, 21 Feb 2017 08:48:59 +0000 (00:48 -0800)]
Eliminate references to flush-output.

7 years agoEliminate references to symbol-name.
Chris Hanson [Tue, 21 Feb 2017 08:42:13 +0000 (00:42 -0800)]
Eliminate references to symbol-name.

7 years agoEliminate references to symbol-append.
Chris Hanson [Tue, 21 Feb 2017 06:36:08 +0000 (22:36 -0800)]
Eliminate references to symbol-append.

7 years agoEliminate string-allocate.
Chris Hanson [Tue, 21 Feb 2017 06:27:10 +0000 (22:27 -0800)]
Eliminate string-allocate.

7 years agoConvert a string-allocate reference to make-bytevector.
Chris Hanson [Tue, 21 Feb 2017 06:26:51 +0000 (22:26 -0800)]
Convert a string-allocate reference to make-bytevector.

7 years agoConvert a bunch of string-allocate references to make-string.
Chris Hanson [Tue, 21 Feb 2017 06:26:36 +0000 (22:26 -0800)]
Convert a bunch of string-allocate references to make-string.

7 years agoConvert a bunch of string-allocate references to make-legacy-string.
Chris Hanson [Tue, 21 Feb 2017 06:26:07 +0000 (22:26 -0800)]
Convert a bunch of string-allocate references to make-legacy-string.

7 years agoFix dangling reference.
Chris Hanson [Tue, 21 Feb 2017 06:24:54 +0000 (22:24 -0800)]
Fix dangling reference.

7 years agoFix typo.
Chris Hanson [Tue, 21 Feb 2017 06:24:43 +0000 (22:24 -0800)]
Fix typo.

7 years agoMinimize inter-package deps around legacy strings.
Chris Hanson [Tue, 21 Feb 2017 06:04:55 +0000 (22:04 -0800)]
Minimize inter-package deps around legacy strings.

Also optimize handling of ascii for symbol names.

7 years agoChange make-ustring to make-string.
Chris Hanson [Tue, 21 Feb 2017 05:07:33 +0000 (21:07 -0800)]
Change make-ustring to make-string.

Rename a bunch of make-string references to make-legacy-string.

7 years agoImplement bytevector-builder.
Chris Hanson [Tue, 21 Feb 2017 03:40:04 +0000 (19:40 -0800)]
Implement bytevector-builder.

7 years agoGeneralize string-builder to be useful for other sequences.
Chris Hanson [Tue, 21 Feb 2017 03:35:34 +0000 (19:35 -0800)]
Generalize string-builder to be useful for other sequences.

7 years agoEliminate integration of make-string and make-vector-8b.
Chris Hanson [Mon, 20 Feb 2017 01:38:18 +0000 (17:38 -0800)]
Eliminate integration of make-string and make-vector-8b.

7 years agoUpdate to use new procedures.
Chris Hanson [Mon, 20 Feb 2017 01:37:51 +0000 (17:37 -0800)]
Update to use new procedures.

7 years agoFix case issue.
Chris Hanson [Mon, 20 Feb 2017 01:37:32 +0000 (17:37 -0800)]
Fix case issue.

7 years agoEliminate unused vector->string.
Chris Hanson [Mon, 20 Feb 2017 01:37:21 +0000 (17:37 -0800)]
Eliminate unused vector->string.

7 years agoEliminate a bunch of references to make-ustring.
Chris Hanson [Mon, 20 Feb 2017 01:08:04 +0000 (17:08 -0800)]
Eliminate a bunch of references to make-ustring.

7 years agoDon't throw away string-builder's state when building.
Chris Hanson [Sun, 19 Feb 2017 22:19:42 +0000 (14:19 -0800)]
Don't throw away string-builder's state when building.

7 years agoImplement 'empty? message for string builder.
Chris Hanson [Sun, 19 Feb 2017 22:08:43 +0000 (14:08 -0800)]
Implement 'empty? message for string builder.

7 years agoUse string-builder instead of custom accumulator.
Chris Hanson [Sun, 19 Feb 2017 21:13:31 +0000 (13:13 -0800)]
Use string-builder instead of custom accumulator.

7 years agoImplement string-builder.
Chris Hanson [Sun, 19 Feb 2017 21:03:34 +0000 (13:03 -0800)]
Implement string-builder.

This hides most of the details of building strings, and continues to work even
if we add immutable strings.

7 years agoFix typo.
Chris Hanson [Sun, 19 Feb 2017 09:29:50 +0000 (01:29 -0800)]
Fix typo.

7 years agoMove char->string to ustring.
Chris Hanson [Sun, 19 Feb 2017 09:29:04 +0000 (01:29 -0800)]
Move char->string to ustring.

7 years agoEliminate now-unused ascii-string-copy.
Chris Hanson [Sun, 19 Feb 2017 09:26:04 +0000 (01:26 -0800)]
Eliminate now-unused ascii-string-copy.

7 years agoEliminate a bunch of operations that modify strings in place.
Chris Hanson [Sun, 19 Feb 2017 09:21:31 +0000 (01:21 -0800)]
Eliminate a bunch of operations that modify strings in place.

These generally save a little memory but are difficult to implement with Unicode
strings.  It's not worth the trouble to keep them since the copying procedures
can be used instead.

7 years agoFix typo.
Chris Hanson [Sun, 19 Feb 2017 09:09:13 +0000 (01:09 -0800)]
Fix typo.

7 years agoMove split/join code and string-null?.
Chris Hanson [Sun, 19 Feb 2017 09:05:52 +0000 (01:05 -0800)]
Move split/join code and string-null?.

7 years agoEliminate now-unused code.
Chris Hanson [Sun, 19 Feb 2017 09:00:26 +0000 (01:00 -0800)]
Eliminate now-unused code.

7 years agoHuge wave of changes to rename remaining "ustring" to "string".
Chris Hanson [Sun, 19 Feb 2017 08:49:55 +0000 (00:49 -0800)]
Huge wave of changes to rename remaining "ustring" to "string".

With single exception of make-ustring which needs some thought.

7 years agoImplement multiple args for char comparisons.
Chris Hanson [Sun, 19 Feb 2017 01:52:10 +0000 (17:52 -0800)]
Implement multiple args for char comparisons.

7 years agoFix bugs exposed by unit tests.
Chris Hanson [Sun, 19 Feb 2017 01:42:53 +0000 (17:42 -0800)]
Fix bugs exposed by unit tests.

7 years agoAdd a bunch of unit tests swiped from Larceny.
Chris Hanson [Sun, 19 Feb 2017 01:42:37 +0000 (17:42 -0800)]
Add a bunch of unit tests swiped from Larceny.

7 years agoImplement ustring-{lower,upper}-case?.
Chris Hanson [Sun, 19 Feb 2017 01:42:09 +0000 (17:42 -0800)]
Implement ustring-{lower,upper}-case?.

7 years agoFirst draft of NFD normalization.
Chris Hanson [Sat, 18 Feb 2017 10:39:40 +0000 (02:39 -0800)]
First draft of NFD normalization.

7 years agoRefactor the converter to separate the value mapping from the dispatcher.
Chris Hanson [Sat, 18 Feb 2017 09:14:09 +0000 (01:14 -0800)]
Refactor the converter to separate the value mapping from the dispatcher.

7 years agoAdd "NFD_QC" table.
Chris Hanson [Sat, 18 Feb 2017 07:46:30 +0000 (23:46 -0800)]
Add "NFD_QC" table.

7 years agoClean up code generators a bit. Add "dm" property.
Chris Hanson [Sat, 18 Feb 2017 07:44:51 +0000 (23:44 -0800)]
Clean up code generators a bit.  Add "dm" property.

7 years agoAdd mappings for _QC properties.
Chris Hanson [Sat, 18 Feb 2017 07:43:48 +0000 (23:43 -0800)]
Add mappings for _QC properties.

7 years agoAdd ucd-table-ccc.
Chris Hanson [Sat, 18 Feb 2017 06:20:14 +0000 (22:20 -0800)]
Add ucd-table-ccc.

7 years agoAnother round of substitutions.
Chris Hanson [Sat, 18 Feb 2017 04:40:26 +0000 (20:40 -0800)]
Another round of substitutions.

7 years agoBegin process of replacing string operations with ustring equivalents.
Chris Hanson [Sat, 18 Feb 2017 03:58:14 +0000 (19:58 -0800)]
Begin process of replacing string operations with ustring equivalents.

7 years agoImplement "slices", which provide a restricted view of a string.
Chris Hanson [Sat, 18 Feb 2017 03:42:05 +0000 (19:42 -0800)]
Implement "slices", which provide a restricted view of a string.

This helps avoid the need for providing substring arguments everywhere.
Also, implement vector->ustring.