Jens Alfke

Results 111 issues of Jens Alfke

- GET /db includes a `scopes` property containing all the scopes. Every scope contains its collections, every collection contains its `doc_count` and `update_seq`, and all of them were coming from...

Implemented support for signing documents, actually Fleece Dicts, actually any Values. The signature is a Dict that could be stored in the document or elsewhere. This is based on my...

I've implemented TLS support since my project requires it. There are many TLS libraries, so I've kept the interface abstract, and provided an implementation that uses [mbedTLS](https://tls.mbed.org). ### Design: `tls_socket`...

For performance reasons it's good to be able to read or write multiple discontiguous byte ranges in one system call. The generic system calls for this are `writev` and `readv`;...

>A characteristic of earlier UNIX systems was that if a process caught a singal while the process was blocked in a "slow" system call, the system call was interrupted. The...

This lets you read and write blobs using standard C functions like `fread`, `fseek`, `fwrite`, similarly to the way other CBL platforms let you use the platform's stream classes. The...

This allows the processor to tell whether an `` tag is the result of an autolink, and customize its output. For example, I want to emit an autolink of an...

### Summary Nim's TLS/SSL support is currently hardwired to use OpenSSL. Some programs may want to use alternate APIs (mbedTLS, wolfSSL, bearSSL, SecureTransport, etc.) for reasons of footprint, compatibility, security,...

Standard Library

- Moved the code into a new package, 'functions'. The 'db' package calls it via interfaces defined in 'db/functions.go' - Combined functions and queries, per spec. Now just called 'functions'....

Building on macOS requires a number of extra steps that aren't documented. 1. Use [Homebrew](http://brew.sh) to install `autoconf`, `glibtool`, `openssl`, `libevent`. 2. Edit `autogen.sh` and change `libtoolize` to `glibtoolize`. (Necessary...