Commit graph

354 commits

Author SHA1 Message Date
Alex Shinn
92e2f16c41 Fixing bug in package-docs on trivial docs. 2015-05-03 08:10:27 +09:00
Alex Shinn
7cea27ec20 Open both input and output ports to the same fd before using either,
to prevent one closing the fd.
2015-05-03 00:17:34 +09:00
Alex Shinn
3cd5375c28 Fixing update-repo on empty files (yawn, too late at night). 2015-05-02 23:07:26 +09:00
Alex Shinn
4c3deea37e Fixing synchronized-rewrite-file when the file doesn't exist. 2015-05-02 22:55:46 +09:00
Alex Shinn
366dbdb9dc get-user-password shouldn't assume the user exists 2015-05-02 22:43:32 +09:00
Alex Shinn
c7d64a19c4 Avoiding a race condition in synchronized-rewrite-file. 2015-05-02 22:35:51 +09:00
Alex Shinn
5cab36c8bd Fleshing out (chibi parse) docs and adding to the manual. 2015-05-02 21:47:24 +09:00
Alex Shinn
29e2077ac2 Recognizing named-let in get-optionals-signature.
Importing (scheme small) in the default doc example environment.
2015-05-02 21:47:04 +09:00
Alex Shinn
a11ef977a8 Handling missing rsa signatures in verify command.
Making automatic verification opt-in.
2015-05-02 21:45:54 +09:00
Alex Shinn
f958a82028 Don't rsa sign packages by default, but do provide digests. 2015-05-01 21:57:23 +09:00
Alex Shinn
76ba196fba More documentation improvements. 2015-05-01 07:55:25 +09:00
Alex Shinn
7f63676e1b Adding description for (chibi char-set boundary). 2015-04-30 17:33:20 +09:00
Alex Shinn
0e83df3f91 Improving (chibi bytevector) docs. 2015-04-30 17:30:39 +09:00
Alex Shinn
93730efceb Adding (chibi app) docs. 2015-04-30 17:21:36 +09:00
Alex Shinn
315d87174c Improving automated "optionals" signature extraction in (chibi doc). 2015-04-30 08:54:11 +09:00
Alex Shinn
8ed0eaf1cb Recognizing default install (scheme *), (srfi *), (impl *) libraries.
Fixing default install path for Chicken.
2015-04-29 08:53:13 +09:00
Alex Shinn
8502d8e902 Removing uneeded \scheme inside \macro in loop docs.
Fixing bug that choked on this (issue #260).
2015-04-28 08:30:12 +09:00
Alex Shinn
7f7a75d4f5 Exporting syntax-rules from (scheme r5rs). 2015-04-27 11:42:00 +09:00
Alex Shinn
705260f78e Fixing installs of packages with library files not matching their names. 2015-04-27 10:40:38 +09:00
Alex Shinn
13699a160c don't bother with (make-path "." base) 2015-04-27 00:12:07 +09:00
Alex Shinn
31997cb514 Don't use rsa keys by default for now. 2015-04-26 23:45:43 +09:00
Alex Shinn
00691b64f1 Making libraries portable where possible.
Many still import (chibi), and as (scheme base) is somewhat more
expensive to load at present these are changed to cond-expand.
Many libraries also rely on (srfi 33), and these have been changed
to a cond-expand first trying (srfi 60) where available.
Also fixing a few portability concerns (duplicate imports of the
same binding), and adding a few libraries missing from lib-tests.scm.
2015-04-26 16:17:38 +09:00
Alex Shinn
1883561c57 Clarifying error message on bad import spec. 2015-04-26 13:29:16 +09:00
Alex Shinn
93406a98ee Fixing upload with passwords. 2015-04-26 10:42:38 +09:00
Alex Shinn
e230823cc6 Fixing random-integer for real. 2015-04-25 14:14:32 +09:00
Alex Shinn
7e80510755 Fixing typo in random-integer fix. 2015-04-25 13:05:17 +09:00
Alex Shinn
11cb17835b Adding sexp_int32_t definition. Fixing SRFI 27 bug on 32 bit machines.
Fixing the random-integer range to allow all results with a bignum bound.
2015-04-25 13:01:16 +09:00
Alex Shinn
4ea94fa51d Forgot to import temp-file. 2015-04-24 23:12:06 +09:00
Alex Shinn
a8848793e4 Adding a preserve thunk to call-with-temp-file/dir. 2015-04-24 22:52:13 +09:00
Alex Shinn
08cf38851e Adding for loop shortcut syntax. 2015-04-24 21:27:35 +09:00
Alex Shinn
2ac6b0f271 Adding "implementations" command, along with impl version checks where needed. 2015-04-24 18:22:29 +09:00
Alex Shinn
b40f5284fc Refactoring some utils. 2015-04-24 16:32:06 +09:00
Alex Shinn
ac53193e5d Adding initial chibi-ffi support to snow-chibi. 2015-04-24 14:10:37 +09:00
Alex Shinn
74ed34b4a3 Adding a system? variant of system which returns #t iff the command completes successfully.
Also allowing a list as the first argument to both.
2015-04-24 14:10:13 +09:00
Alex Shinn
db16fc693c Using absolute import paths for kawa, since relative paths break on chained dependencies. 2015-04-23 18:36:44 +09:00
Alex Shinn
9b328359b5 Chibi still wants to run tests in pwd in case we're running snow-tests from the chibi build dir. 2015-04-23 18:32:15 +09:00
Alex Shinn
ef86d2ff65 extra error checks for call-with-temp-dir 2015-04-23 18:31:22 +09:00
Alex Shinn
28011727e4 call-with-process-io should terminate if execute returns (i.e. fails) 2015-04-23 18:14:33 +09:00
Alex Shinn
259d208ad5 Adding support for installing data files. 2015-04-23 15:23:30 +09:00
Alex Shinn
882f36bccf Adding proper program installation for chicken, plus tests. 2015-04-21 18:02:19 +09:00
Alex Shinn
79652b8fd5 Adding sexp options support. 2015-04-21 12:23:01 +09:00
Alex Shinn
5f97353ff5 Adding a chmod binding. 2015-04-21 12:22:47 +09:00
Alex Shinn
6a3179ec42 Various snow bugfixes. 2015-04-21 00:01:46 +09:00
Alex Shinn
a1fd315604 Merge pull request #258 from ilammy/native-sha-2.v2
Native SHA-2 implementation (take two)
2015-04-20 19:20:48 +09:00
Alex Shinn
732df3a136 Trying to load libraries for scribble doc examples. 2015-04-20 00:11:44 +09:00
Alex Shinn
4e75fbab49 Adding snow tests for advanced package defaults from config.
Adding test-library option to automatically infer tests from libraries.
Processing scribble docs even when we can't load the module.
2015-04-20 00:09:02 +09:00
ilammy
a6ca2e39dc chibi.crypto: move sexp_uintN_t typedefs to <sexp.h>
First we check for C99 support in Makefile.detect, looking for the
header we need and verifying whether it is the right one by using
a definition required by C99 standard to be present in that header.

uintN_t types are optional, but implementations are required to
provide corresponding limit #defines for the types they support,
so we can check for this with preprocessor only.

Finally, we define SEXP_UINTN_DEFINED for any sexp_uintN_t we have
so that the code can use #ifs to check for exact integer support.
2015-04-19 16:01:11 +03:00
ilammy
db2b598cde chibi.crypto: code style fixes
- Fixed some typos in sha-native.scm
- Removed unnecessary structs and unions from sha_context
- Used more efficient implementation of hex32
- Made (scheme base) a common import in (chibi crypto sha2)
2015-04-19 16:01:07 +03:00
ilammy
9088b1954c chibi.crypto: make Chibi use native SHA-2 by default
This change concerns only Chibi. The portable implementation is
still kept around because it is... well... portable and can be
used by other Scheme implementations.
2015-04-18 17:31:46 +03:00
ilammy
1f8c0088a7 chibi.crypto: fix formatting bug in portable SHA-2
We can't use 'integer->hex-string' alone to print out SHA-224/256
digest because it rightly converts #x00001234 into "1234", while
we need to keep the padding zero nibbles and get "00001234".

'hex' got renamed into 'hex32' because SHA-512 will need some
different 'hex64' which returns 16-character-long strings.
2015-04-18 17:31:46 +03:00