Permalink
Commits on Dec 7, 2017
  1. Merge pull request #36 from djs55/safe-string2

    djs55 committed Dec 7, 2017
    Use `bytes` in `write`; prepare to release 2.0.0
Commits on Dec 6, 2017
  1. Update CHANGES.md to 2.0.0

    djs55 committed Dec 3, 2017
    Signed-off-by: David Scott <dave@recoil.org>
Commits on Dec 3, 2017
  1. Merge pull request #35 from cfcs/safe-string

    djs55 committed Dec 3, 2017
    compile with -safe_string to make it ready for ocaml 4.06
  2. opam: add a `build-test` step

    djs55 committed Dec 3, 2017
    This should cause the CI to actually run the unit tests (!)
    
    Also this removes a spurious dependency on `ocamlfind` and clarifies
    that `ounit` is only needed for `test`. The minimum OCaml version is
    bumped to the Mirage minimum of 4.04.0.
    
    Signed-off-by: David Scott <dave@recoil.org>
  3. travis: add OCaml 4.05 and 4.06 to the matrix

    djs55 committed Dec 3, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  4. server: disable the tests that are currently broken

    djs55 committed Dec 3, 2017
    The server library (`xenstore.server`) is not used anywhere and it's
    in a semi-broken state.
    
    By constrast the main library (`xenstore`) is critical and in heavy
    use.
    
    This patches makes `make test` run all the critical main library tests
    and only the currently-working subset of the unused server library tests.
    
    Signed-off-by: David Scott <dave@recoil.org>
  5. Use `bytes` in `write`, as in `Unix.write`

    djs55 committed Dec 3, 2017
    Previously we still used `string` in the `write` signature, but since
    the standard library `Unix.write` and the `shared-memory-ring` library
    both use `byte`, it's better to use `byte` here too.
    
    Signed-off-by: David Scott <dave@recoil.org>
  6. Fix lots of warnings

    djs55 committed Dec 3, 2017
    - remove lots of dead code
    - remove unused `rec` in `let rec`
    - make all matches exhaustive
    - change `Failure "int_of_string"` into `Failure _`, since manual
      section 8.5 says not to depend on the Failure constructor arguments.
    
    Signed-off-by: David Scott <dave@recoil.org>
Commits on Nov 14, 2017
Commits on Jun 8, 2017
  1. Merge pull request #34 from djs55/prepare.1.3.1

    djs55 committed Jun 8, 2017
    Prepare to release 1.4.0
  2. Prepare to release 1.4.0

    djs55 committed Jun 8, 2017
    Signed-off-by: David Scott <dave@recoil.org>
Commits on Jun 5, 2017
  1. Merge pull request #32 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>
  3. Merge pull request #31 from djs55/jbuilder

    djs55 committed Jun 5, 2017
    Switch to topkg + jbuilder
  4. opam: require ppx_cstruct and ppx_tools in the {build}

    djs55 committed Jun 5, 2017
    Signed-off-by: David Scott <dave@recoil.org>
Commits on May 30, 2017
  1. travis: switch to a docker build

    djs55 committed May 30, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  2. Remove old oasis-based script

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

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

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

    djs55 committed May 30, 2017
    This is more topkg-friendly.
    
    Signed-off-by: David Scott <dave@recoil.org>
  6. opam: remove unneeded depexts

    djs55 committed May 30, 2017
    This is pure OCaml; there is no need for any C code.
    
    Signed-off-by: David Scott <dave@recoil.org>
  7. opam: remove spurious dependency on camlp4

    djs55 committed May 30, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  8. opam: add a doc URL

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

    djs55 committed May 30, 2017
    Signed-off-by: David Scott <dave@recoil.org>
  10. Merge pull request #28 from thomassa/rm-client-test

    djs55 committed May 30, 2017
    Remove client_unix/client_test.ml (now elsewhere)
Commits on May 9, 2017
  1. Merge pull request #30 from thomassa/transaction-limit-retry

    jonludlam committed May 9, 2017
    Terminating replacements for transaction function
Commits on May 8, 2017
  1. Reinstate and deprecate original transaction function

    Thomas Sanders
    Thomas Sanders committed May 3, 2017
    To reduce disruption to existing users of the transaction function,
    this commit replaces the original function (alongside the new
    alternatives) and adds comments to say it is deprecated and to
    warn explicitly about its potential to retry for ever.
    
    Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
  2. Terminating replacements for transaction function

    Thomas Sanders
    Thomas Sanders committed Apr 28, 2017
    The Xs_client_unix.transaction function would retry for ever if some
    client were to keep making writes conflicting with the transaction.
    
    This commit replaces `transaction` with `transaction_one_try` and
    `transaction_attempts` which will make only a limited number of
    attempts before abandoning the transaction on conflict and passing
    the Eagain exception up to the caller.
    
    Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
Commits on Oct 19, 2016
  1. Remove client_unix/client_test.ml (now elsewhere)

    Thomas Sanders
    Thomas Sanders committed Oct 19, 2016
    This source file has not been compiled in this repository since
    Anil's change in July 2013 to fix a circular dependency:
    "Fix build cycle between xenstore and xenstore_transport"
    
    Recently I copied the file from here to the ocaml-xenstore-clients
    repository, and it is being built there now. Therefore it can be
    deleted from here.
    
    Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
Commits on Mar 14, 2016
  1. Merge pull request #25 from djs55/update-changelog-for-release

    djs55 committed Mar 14, 2016
    Update changelog and packaging for release 1.3.0
  2. Add more OASIS autogen files

    djs55 committed Mar 14, 2016
    Signed-off-by: David Scott <dave@recoil.org>
  3. Regenerate OASIS

    djs55 committed Mar 14, 2016
    Signed-off-by: David Scott <dave@recoil.org>
  4. oasis: fix the doc generation

    djs55 committed Mar 14, 2016
    Signed-off-by: David Scott <dave@recoil.org>
  5. Add missing OASIS autogen files

    djs55 committed Mar 14, 2016
    Signed-off-by: David Scott <dave@recoil.org>
  6. Update changelog and packaging for release 1.3.0

    euanh authored and djs55 committed Feb 22, 2016
    Signed-off-by: Euan Harris <euan.harris@citrix.com>
    Signed-off-by: David Scott <dave@recoil.org>