Commit graph

989 commits

Author SHA1 Message Date
Alex Shinn
fac93ffa4c Moving chibi snow libraries under chibi namespace. 2014-06-11 20:42:34 +09:00
Alex Shinn
c4c85a5e19 Initial snow libs. 2014-06-11 00:58:29 +09:00
Alex Shinn
91ba422430 tar-extract should use create-directory* 2014-06-10 20:58:52 +09:00
Alex Shinn
b4961ee70d tar-create skips duplicate outputs (gracefully for directories) 2014-06-10 20:49:07 +09:00
Alex Shinn
1ab7d12b21 Exposing the body of perfect? as aliquot. 2014-06-10 20:07:49 +09:00
Alex Shinn
3ff62dc355 Fixing over-optimistic shortcut in factor. 2014-06-10 19:57:52 +09:00
Alex Shinn
347db3fb7d execute and related functions accept symbol and number arguments. 2014-06-08 16:15:58 +09:00
Alex Shinn
e88374275d Adding http-get-to-file utility. 2014-06-03 23:10:27 +09:00
Alex Shinn
a21e391f15 Adding maybe-gunzip utility for optionally compressed inputs. 2014-06-03 23:09:44 +09:00
Alex Shinn
c3b265f990 Updating regexp-match-num-matches to SRFI 115 regexp-match-count. 2014-06-03 21:49:11 +09:00
Alex Shinn
a2ffe5301b Adding an optional count arg to regexp-replace to replace just the nth match. 2014-06-01 12:53:44 +09:00
Alex Shinn
676b39d82a Moving ephemerals into the core. Using them as a weak table to store filenos,
and enforcing the invariant that there is only one fileno object with a given
number at a time.
2014-05-31 14:20:00 +09:00
Alex Shinn
5f02dc6f17 Resetting port offset when seeking on an fd-backed port. 2014-05-28 23:57:54 +09:00
Alex Shinn
22246a6ac8 Using bytevectors for random state. 2014-05-28 23:17:53 +09:00
Alex Shinn
09221ec87d Fixing possible overflow in random bignums.
Fixes issue #222.
2014-05-28 08:34:36 +09:00
Alex Shinn
72a9782c80 Handling streams separately in file-position since fseek doesn't
return the same value as lseek.  Fixes issue #220.
2014-05-28 08:01:45 +09:00
Alex Shinn
719af372f9 Reversing logic of uri-has-scheme?. 2014-05-27 06:55:31 +09:00
Alex Shinn
5246763c8b Adding uri-has-scheme? utility. 2014-05-27 06:50:55 +09:00
Alex Shinn
24d22644d0 Adding assoc-get-list analog of conf-get-list.
Making assoc-get[-list] permissively ignore of non-pair entries.
Updating conf-specialize with the new record type.
2014-05-27 06:25:17 +09:00
Alex Shinn
c558f19743 Auto-normalizing directory paths in tar-create to have a / suffix. 2014-05-27 06:23:19 +09:00
Alex Shinn
31bbbfc8ad create-directory* returns #t if the directory already exists 2014-05-26 20:51:12 +09:00
Alex Shinn
614efb4c8b Adding w/nocapture. 2014-05-19 21:59:10 +09:00
Alex Shinn
cccd4cfbc9 Fixing iset-node-extract. 2014-05-19 21:49:10 +09:00
Alex Shinn
2b3a85d7e7 Fix for recent iset-adjoin-node! changes. 2014-05-19 07:27:20 +09:00
Alex Shinn
0c7a559627 Fixing iset<=. 2014-05-19 07:14:49 +09:00
Alex Shinn
184b2aaf9f Fixing bug in iset-map. 2014-05-19 07:08:39 +09:00
Alex Shinn
1eeed831a5 Adding title-case. 2014-05-18 10:58:43 +09:00
Alex Shinn
05a4fbdbdc Simplifying vaid-sre? to just call regexp. 2014-05-18 10:36:48 +09:00
Alex Shinn
52be1ce950 Parsing non-string values from options. 2014-05-14 23:52:29 +09:00
Alex Shinn
c8e1f4c18c Mark char* input parameters const where applicable. 2014-05-14 21:30:35 +09:00
Alex Shinn
d0155f4bf2 random-source-pseudo-randomize! takes two seed arguments.
Fixes issue #219.
2014-05-14 21:08:11 +09:00
Alex Shinn
b24ce3293e Using char-set-for-each instead of for-each on char-set->list. 2014-05-13 23:02:40 +09:00
Alex Shinn
a886737b20 Restoring iset merge node logic. 2014-05-13 23:01:09 +09:00
Alex Shinn
d7e65edc96 Adding char-set-fold and char-set-for-each. 2014-05-13 21:55:43 +09:00
Alex Shinn
80879d2683 Allowing inline data for tar-create. 2014-05-10 08:07:09 -04:00
Alex Shinn
056eb0c6ce Returning the first defined submatch with a given name when
there are multiple instances of the name.
2014-05-08 15:39:24 -04:00
Alex Shinn
a1ab36c667 Fixing string-foldcase to always use non-final small sigma.
Fixes issue #217.
2014-05-06 10:04:48 +09:00
Alex Shinn
eb3df5c54f Adding post support to the http client library. 2014-05-05 22:52:49 +09:00
Alex Shinn
a2cf9db1e5 Generalized seek/tell on fds and fd-backed ports. 2014-05-05 22:22:36 +09:00
Alex Shinn
27ee1b150e Clarifying display-to-string error in (chibi sxml). 2014-05-05 21:37:47 +09:00
Alex Shinn
ea6e44f7d0 Distinguishing general read errors from incomplete input read errors.
Using these to allow multi-line input in edit-line.
2014-05-05 21:05:02 +09:00
Alex Shinn
bb54932b5a Avoiding duplicate clears in edit-line, which cause unintended scroll up for multi-line inputs. 2014-05-05 16:31:49 +09:00
Alex Shinn
ce24f67224 Making #! a line comment only if followed by whitespace or /,
otherwise we report a bad symbol for anything other than (no-)fold-case.
2014-05-05 14:24:52 +09:00
Alex Shinn
95bc62b45e Fixing app help with begin: end: fields. 2014-05-02 09:49:19 +09:00
Alex Shinn
35500df1d6 Fixing make-generated-input-port for non-ascii chars. 2014-04-26 21:01:15 +09:00
Alex Shinn
926785804d Fix n-ary case of every.
Patch from A. Lozovsky fixing issue #216.
2014-04-19 07:25:57 +09:00
Alex Shinn
48f075528c Simplifying iset-adjoin1! to use node adjoining. 2014-04-18 22:58:37 +09:00
Alex Shinn
d33744b17d Fixing typo in final serialization of sha2 for 2+ chunks.
Fixes issue #215.
2014-04-16 21:03:08 +09:00
Alex Shinn
1d9ef7c3a0 Fixing SRFI 38 reading trailing #; comment after dotted tail. 2014-04-08 08:08:31 +09:00
Alex Shinn
7685d1f097 Binary-safe send-file. 2014-04-06 22:17:17 +09:00