[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, wip-ethreads, created. v2.0.5-99-gfe73
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, wip-ethreads, created. v2.0.5-99-gfe7387f |
Date: |
Thu, 22 Mar 2012 15:54:04 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=fe7387fb4f3de22daadb2c34d4ef1dd35a44370f
The branch, wip-ethreads has been created
at fe7387fb4f3de22daadb2c34d4ef1dd35a44370f (commit)
- Log -----------------------------------------------------------------
commit fe7387fb4f3de22daadb2c34d4ef1dd35a44370f
Author: Andy Wingo <address@hidden>
Date: Sun Mar 18 10:41:18 2012 +0100
add (web server ethreads)
* module/web/server/ethreads.scm: New file, an ethreads-based HTTP
server.
* module/Makefile.am: Add to build.
commit 0f7838cd25884483a0f187f6139352903bfa7da7
Author: Andy Wingo <address@hidden>
Date: Sun Mar 18 17:03:27 2012 +0100
setsockopt can take an fd
* libguile/socket.c (scm_setsockopt): Accept a raw FD in addition to
file ports.
commit ca7d83ddbffb3c21d90f5ed9fb442c2d208fe339
Author: Andy Wingo <address@hidden>
Date: Sun Mar 18 10:41:03 2012 +0100
http: allow custom read-line / continuation-line? functions
* module/web/http.scm (read-line): Rename from read-line*. Just use
string-trim-right instead of our loop; the previous behavior was
always falling through to the "substring" case because of \r.
(continuation-line?): New predicate.
(read-continuation-line): Take read-line and continuation-line? as
arguments.
(read-header, read-headers, read-request-line, read-response-line):
Take optional read-line and (for the first two) continuation-line?
predicates, so that client code can override these if desired.
commit f88549ba43c62ff887e0b4b3553ed3e7765dd94f
Author: Andy Wingo <address@hidden>
Date: Thu Mar 22 10:49:22 2012 +0100
add (ice-9 ethreads)
* module/ice-9/ethreads.scm: New module, providing cooperative
lightweight threads that yield when they would otherwise sleep or wait
for I/O.
* module/Makefile.am: Add to build.
commit 64a6f209afc7e36e5e9e356913ab0df8f73ac8b8
Author: Andy Wingo <address@hidden>
Date: Fri Mar 16 18:13:06 2012 +0100
add (ice-9 nio)
* module/ice-9/nio.scm: New module, providing nonblocking I/O
primitives.
* libguile/nio.c:
* libguile/nio.h: New files, providing non-blocking read(2), write(2),
and accept(2) primitives.
* libguile/init.c:
* libguile/Makefile.am:
* module/Makefile.am: Add to build.
commit bc6890576da2d1301162282e66b448c5504e4d60
Author: Andy Wingo <address@hidden>
Date: Thu Mar 15 12:16:22 2012 +0100
add (ice-9 epoll)
* configure.ac: Add checks for sys/epoll.h, epoll_create, and
epoll_create1.
* libguile/poll.c (scm_primitive_epoll_create, scm_primitive_epoll_ctl)
(scm_primitive_epoll_wait): New primitives for (ice-9 epoll).
Registered via a scm_init_epoll extension.
* module/Makefile.am: Add ice-9/epoll.scm.
* module/ice-9/epoll.scm: New file.
commit da03005a2a362847db2ac7e876cd9e31b20f9c73
Author: Andy Wingo <address@hidden>
Date: Sun Mar 11 10:57:05 2012 +0100
add bad-request printer
* module/web/request.scm (bad-request-printer): Add printer for these
exceptions.
commit 1be6c7d34d7e1e40e78c8983bd8b40b3fbf7d01c
Author: Andy Wingo <address@hidden>
Date: Sun Mar 11 10:24:08 2012 +0100
add exception printers for bad-header, bad-header-component
* module/web/http.scm (bad-header-component): Throw
'bad-header-component instead of 'bad-header.
(bad-header-printer, bad-header-component-printer): Add exception
printers.
commit 47153f29b02cee6324aec523cfa44b48e1cb29b9
Author: Andy Wingo <address@hidden>
Date: Wed Mar 7 12:39:30 2012 +0100
micro-optimizations to string-trim-both, and to (web http)
* libguile/srfi-13.c (scm_string_trim, scm_string_trim_right)
(scm_string_trim_both): Take the whitespace fast-path if the char_pred
is scm_char_set_whitespace.
* module/web/http.scm (read-header, split-and-trim, parse-quality-list):
(parse-param-component, parse-credentials, "Content-Type"):
(read-request-line, read-response-line): Use char-set:whitespace
instead of char-whitespace?. It avoids recursing into the VM.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, wip-ethreads, created. v2.0.5-99-gfe7387f,
Andy Wingo <=