Alex Shinn
692a231091
merge
2015-02-13 19:04:59 +09:00
Alex Shinn
ed4cef9294
Adding sexp_length macro.
2015-02-13 19:02:28 +09:00
Alex Shinn
f54e40547d
Adding an abort facility to exit the vm without any exception handling.
2015-02-05 22:09:45 +09:00
Alex Shinn
2922ed591d
Forgot to install regexp (patch from Lorenzo)
2015-01-26 08:06:59 +09:00
Alex Shinn
f24eef289c
Optimizing string-offset->index.
2015-01-24 12:46:44 +09:00
Alex Shinn
429704a5f6
thread-terminate should set an exception in the thread
2014-12-27 14:51:12 +09:00
Alex Shinn
7f3c503dcd
Tracking FFI type getters and setters.
2014-12-13 15:17:17 +09:00
Alex Shinn
c0b9a213c9
Adding sexp_apply_no_err_handler utility and using in simplifier.
2014-11-11 22:28:12 +09:00
Alex Shinn
f759076d2b
Binding a socket makes it non-blocking by default.
...
Allowing primitives (currently only send/receive) to block just once
with SEXP_G_IO_BLOCK_ONCE_ERROR.
2014-09-28 16:20:45 +09:00
Alex Shinn
4c5788ff11
Adding missing file from last patch.
2014-09-27 20:54:13 +09:00
Alex Shinn
d1eeea1a66
Adding sexp_bytes_maybe_null_data macro for bytevector FFI support.
2014-08-22 22:40:19 +09:00
Alex Shinn
6f57be54ea
Do the right thing for #e1e100.
...
Yuck, need to rewrite the number parsing.
2014-08-06 22:49:25 +09:00
Alex Shinn
213af9c098
Fixing sexp_context_align_pos when SEXP_USE_ALIGNED_BYTECODE is enabled.
2014-07-31 22:31:33 +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
22e2a08563
Fixing custom ports built without utf8 support.
2014-05-08 06:47:33 -04:00
Alex Shinn
ad83b1b00c
Adding sexp_current_input_port(ctx) and sexp_current_output_port(ctx) macros.
2014-03-19 21:54:22 +09:00
Alex Shinn
8b5eb68238
File descriptors maintain a reference count of ports open on them
...
They can be close()d explicitly with close-file-descriptor, and
will close() on gc, but only explicitly closing the last port on
them will close the fileno. Notably needed for network sockets
where we open separate input and output ports on the same socket.
2014-02-20 22:32:50 +09:00