Alex Shinn
5e3d2284ed
Merge pull request #604 from ar-nelson/srfi-128-hash-fix
...
Fix make-comparator hash function arity in SRFI 128
2020-01-12 22:46:26 +08:00
Adam R. Nelson
6aacffc0e8
fix make-comparator hash function arity in SRFI 128
2020-01-12 09:45:38 -05:00
Alex Shinn
82654b4c46
make install shouldn't fail if there are issues with images (fixes issue #603 )
2020-01-12 22:43:36 +08:00
Alex Shinn
48d6c35548
nans aren't rational
2020-01-02 22:40:49 +08:00
Alex Shinn
c174465aa1
fix rational? for some boundary cases
2020-01-02 22:35:33 +08:00
Alex Shinn
a9f9b3dd8a
Merge pull request #596 from lassik/apropos
...
Add (chibi apropos) module
2019-12-31 00:36:10 +08:00
Lassi Kortela
60f22c978f
Add (chibi apropos) module
2019-12-28 17:44:32 +02:00
Alex Shinn
6f28159667
regexp-replace should respect start/end also for pre/post substitutions
2019-12-28 22:48:44 +08:00
Alex Shinn
3c8402d4fb
re-run scheduler if only thread was still waiting (issue #594 )
2019-12-26 23:42:15 +08:00
Alex Shinn
588d63d901
don't escape html in sxml-display-as-text, add newline after li (issue #592 )
2019-12-26 22:49:18 +08:00
Alex Shinn
d79f557d46
fix variadic foreign functions with more than 4 params
2019-12-19 23:58:51 +08:00
Alex Shinn
d5b5a079f4
initial uvector ffi support
2019-12-17 23:48:26 +08:00
Alex Shinn
5b60641f43
small documentation fixes
2019-12-17 23:47:53 +08:00
Alex Shinn
e10d82987a
adding ignored failing match-letrec test case
2019-12-17 23:47:19 +08:00
Alex Shinn
33d6cfd0ac
Merge pull request #591 from krzygorz/ansi-fix
...
(chibi show): Make ANSI escape codes work with col state variable
2019-11-08 18:54:41 +08:00
krzygorz
5c43ca7720
move the col+ansi test to color section
2019-11-07 22:37:33 +01:00
krzygorz
15fef988af
add a test for col with unicode and ANSI escapes
2019-11-07 22:31:29 +01:00
krzygorz
05521e5e1d
use string-append for building ansi escape codes
2019-11-07 18:34:41 +01:00
Alex Shinn
abfa6a724e
Merge branch 'master' of github.com:ashinn/chibi-scheme
2019-11-04 20:15:40 +08:00
Alex Shinn
7b6a928974
adding levenshtein distance
2019-11-04 20:15:32 +08:00
Alex Shinn
10b713284c
Merge pull request #589 from ekaitz-zarraga/docs
...
Update sxml docs
2019-10-31 23:17:28 +08:00
Ekaitz Zárraga
bbe279b825
Update sxml docs
2019-10-30 10:15:52 +01:00
Alex Shinn
6f57d6ac71
Merge pull request #586 from amirouche/wasm-improvements
...
WASM improvements
2019-10-29 21:58:32 +08:00
Amirouche
9604fa361b
Makefile: js/chibi.js: ALLOW_MEMORY_GROWTH=1
...
`ALLOW_MEMORY_GROWTH=1` allows to grow the wasm vm memory space as
needed and avoid out-of-memory issues. This is for development
purpose, production build will want to set memory size to something
that is fit the application (I don't remember the actual option name,
but removing ALLOW_MEMORY_GROWTH=1 from the compilation, and
re-running the app will display the good option to use).
2019-10-28 12:21:37 +01:00
Amirouche
61684647d6
Makefile: js/chibi.js: disable optimization
...
Optimizations will (sometime) lead to broken build.
2019-10-28 12:19:37 +01:00
Amirouche
9acd71735c
Makefile: whitespace cleanup
2019-10-28 12:18:09 +01:00
Alex Shinn
4ad228a0f6
Merge pull request #585 from ekaitz-zarraga/safe-string
...
[WIP] Add option to ignore escaping
2019-10-24 21:00:29 +08:00
Ekaitz Zárraga
12f941dbfe
Add option to ignore escaping
2019-10-24 09:56:08 +02:00
Alex Shinn
b33df19274
Merge pull request #583 from ekaitz-zarraga/patch-2
...
Correct typo
2019-10-24 10:27:35 +08:00
Ekaitz Zárraga
5dfc3b7909
Correct typo
2019-10-23 18:29:48 +02:00
Alex Shinn
c836311918
Merge pull request #582 from ekaitz-zarraga/patch-1
...
Missing ) in code example
2019-10-21 23:39:47 +08:00
Ekaitz Zárraga
cb63e9130c
Missing ) in code example
2019-10-19 13:01:10 +02:00
Alex Shinn
f4b0277d01
allow rest param in let-optionals
2019-10-14 22:04:23 +08:00
Alex Shinn
58e10b2a7d
assert types in boolean=? and symbol=? (fixes issue #579 )
2019-10-06 22:29:58 +08:00
Alex Shinn
544eaa79c7
Merge pull request #578 from katterjohn/mmap-heap-fixes
...
Fixes for mmapped heaps
2019-10-06 08:26:16 +08:00
Alex Shinn
e3935695a1
Merge pull request #577 from katterjohn/fix-mime-type
...
(chibi net server-util): file-mime-type: fix load-mime-types call
2019-10-06 08:20:45 +08:00
Kris Katterjohn
a1473f69ba
mmapped heaps: fix for systems with W^X policies
...
Using read/write/exec causes an error (or possibly abort) on systems
with W^X policies (like OpenBSD and NetBSD have by default).
Since the heap does not need to be executable, just use read/write.
2019-10-04 20:50:41 -05:00
Kris Katterjohn
25d4807f50
mmapped heaps: fix the file descriptor argument to mmap for the BSDs
...
On the BSDs, the file descriptor passed to mmap when using MAP_ANON
must be -1. Passing 0 causes mmap to fail.
2019-10-04 20:39:37 -05:00
Kris Katterjohn
650be6adc0
mmapped heaps: correctly check for mmap failure
...
When mmap fails it returns MAP_FAILED, not NULL. POSIX does not
define the value for MAP_FAILED, but on at least the BSDs and Linux
its value is ((void *) -1).
2019-10-04 20:38:15 -05:00
Kris Katterjohn
9bbf48d084
(chibi net server-util): file-mime-type: fix load-mime-types call
...
Use find instead of any so load-mime-types will get the filename
instead of #t when a mime.types file is found. Otherwise an error
occurs in load-mime-types.
2019-10-01 20:00:36 -05:00
Alex Shinn
3749d29883
Merge pull request #576 from katterjohn/memv-fix
...
memv: compare using eqv? instead of equal?
2019-09-24 22:07:17 +08:00
Kris Katterjohn
ea92d228b3
memv: compare using eqv? instead of equal?
...
memv has been defined to be member, so it has been comparing
using equal? (by default) instead of eqv?.
2019-09-23 20:43:25 -05:00
Alex Shinn
e2d43bceb8
Merge pull request #575 from katterjohn/listener-socket-leak
...
(chibi net): make-listener-socket: close the socket on error
2019-09-23 16:52:48 +08:00
Alex Shinn
eaf8e90e8c
fix inexact json parsing
2019-09-23 12:09:52 +08:00
Alex Shinn
72971fd4f4
pipes should be escaped in symbols (fixes issue #571 )
2019-09-23 11:53:54 +08:00
Kris Katterjohn
a28da66990
(chibi net): make-listener-socket: close the socket on error
...
A socket was leaked in the case where setting socket-opt/reuseaddr
failed. (The socket was closed in the cases where bind or listen
failed.)
2019-09-22 19:18:18 -05:00
Alex Shinn
144581b834
Merge pull request #573 from katterjohn/net-export-addrinfo-flags
...
(chibi net): export address-info-flags
2019-09-20 23:02:19 +08:00
Alex Shinn
41d1f11dd3
Merge pull request #572 from katterjohn/system-export-groupp
...
(chibi system): export group?
2019-09-20 23:01:52 +08:00
Kris Katterjohn
407d420c21
(chibi system): export the struct group predicate group?
2019-09-19 15:47:41 -05:00
Kris Katterjohn
bb4239bac8
(chibi net): export the struct addrinfo getter address-info-flags
2019-09-19 15:45:26 -05:00