Permalink
Commits on Nov 14, 2017
  1. Merge pull request #35 from djs55/fix-safe-string

    djs55 committed Nov 14, 2017
    Use `bytes` rather than `string` for mutation
  2. write: use a `bytes` rather than a `string`

    djs55 committed Nov 14, 2017
    This is for consistency with the Unix module i.e.
    
      Unix.read : Unix.file_descr -> bytes -> int -> int -> int
      Unix.write : Unix.file_descr -> bytes -> int -> int -> int
    
    Signed-off-by: David Scott <dave@recoil.org>
  3. travis: use docker-based configuration

    djs55 committed Nov 5, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  4. appveyor: attempt to modernise configuration

    djs55 committed Nov 5, 2017
    Signed-off-by: David Scott <dave@recoil.org>
Commits on Nov 8, 2017
  1. Merge pull request #36 from talex5/no-init

    djs55 committed Nov 8, 2017
    Add Ring.Rpc.of_buf_no_init
  2. Add Ring.Rpc.of_buf_no_init

    talex5 committed Nov 8, 2017
    It seems that the only way to get an `Rpc.sring` was to use `of_buf`,
    which also initialises the ring. This is a problem if the other party
    has already initialised it, as it overwrites their data.
    
    In particular, this prevented Qubes disposable Linux VMs from working
    when restored. They would populate the ring with RX pages before handing
    it to the Mirage netback, which would then reinitialise the ring and
    lose them all. It would then wait forever for Linux to provide it with
    some pages to write to.
    
    At least, this is my guess. The protocol does not appear to be
    documented anywhere.
Commits on Nov 5, 2017
  1. Add OCaml 4.06 to the REVDEPS

    djs55 committed Nov 5, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  2. Prepare to release 3.0.0

    djs55 committed Nov 5, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  3. Use bytes rather than string in `read`

    djs55 committed Nov 5, 2017
    Since the `read` function mutates the buffer it receives, it must
    be of type `bytes` rather than `string` (since `string` is now
    immutable in OCaml 4.06 and with -safe-string)
    
    Note this is an API change requiring a major version bump.
    
    Signed-off-by: David Scott <dave@recoil.org>
Commits on Jun 7, 2017
  1. Merge pull request #34 from djs55/cstruct

    yomimono committed Jun 7, 2017
    Require cstruct >= 2.4.1
  2. Prepare to release 2.0.1

    djs55 committed Jun 7, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  3. Require cstruct >= 2.4.1

    djs55 committed Jun 7, 2017
    Fixes #32
    
    Related to ocaml/opam-repository@c2666f4
    
    Signed-off-by: David Scott <dave@recoil.org>
Commits on Jun 5, 2017
  1. Merge pull request #33 from djs55/no-runtime-ppx

    djs55 committed Jun 5, 2017
    Don't link PPX rewriters into clients
  2. Don't link PPX rewriters into clients

    djs55 committed Jun 5, 2017
    The package cstruct.ppx contains helper functions for the PPX rewriter
    itself. Linking this code into applications makes them larger and also
    brings in a dependency on compiler-libs which pollutes the global module
    namespace with names like Types.
    
    See mirage/mirage-www#556
    
    Signed-off-by: David Scott <dave@recoil.org>
Commits on May 28, 2017
  1. Merge pull request #31 from djs55/topkg

    djs55 committed May 28, 2017
    Prepare to release v2.0.0
  2. Update CHANGES.md for v2.0.0

    djs55 committed May 28, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  3. Remove more old _oasis

    djs55 committed May 28, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  4. Reformat CHANGES to be topkg-friendly

    djs55 committed May 28, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  5. Rename CHANGES to CHANGES.md

    djs55 committed May 28, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  6. Add topkg-jbuilder

    djs55 committed May 28, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  7. Merge pull request #30 from djs55/jbuilder

    djs55 committed May 28, 2017
    Switch to jbuilder
  8. Remove dead code

    djs55 committed May 28, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  9. Switch to jbuilder

    djs55 committed May 28, 2017
    Signed-off-by: David Scott <dave@recoil.org>
Commits on Dec 16, 2016
  1. Merge pull request #29 from yomimono/update-appveyor

    yomimono committed Dec 16, 2016
    remove diffutils from appveyor package list
Commits on May 7, 2016
  1. Merge pull request #28 from hannesm/minor

    djs55 committed May 7, 2016
    needs cstruct.ppx
Commits on May 6, 2016
  1. also test 4.03

    hannesm committed May 6, 2016
  2. needs cstruct.ppx

    hannesm committed May 6, 2016
Commits on Mar 19, 2016
  1. Merge pull request #27 from djs55/release.1.3.0

    djs55 committed Mar 19, 2016
    Prepare to release 1.3.0
  2. Regenerate OASIS

    djs55 committed Mar 19, 2016
    Signed-off-by: David Scott <dave@recoil.org>
  3. Bump version to 1.3.0

    djs55 committed Mar 19, 2016
    Signed-off-by: David Scott <dave@recoil.org>
  4. Merge pull request #26 from djs55/travis

    djs55 committed Mar 19, 2016
    Use centralised Travis scripts and modernise OPAM file
  5. Merge pull request #25 from djs55/add-appveyor

    djs55 committed Mar 19, 2016
    Add appveyor support
  6. opam: use CONFIGUREFLAGS

    djs55 committed Mar 19, 2016
    Signed-off-by: David Scott <dave@recoil.org>