Permalink
Commits on Jan 15, 2017
  1. Split host Python detection into its own module

    talex5 committed Jan 15, 2017
  2. Move recipe XML spec details to Element module

    talex5 committed Jan 15, 2017
  3. Move some XML bits out of General

    Moved xmlns_ns to Element (its only user).
    Moved Empty to Qdom.
    talex5 committed Jan 15, 2017
  4. Move stability_level type to its own file

    talex5 committed Jan 15, 2017
Commits on Jan 14, 2017
  1. Split system type into multiple interfaces

    Some functions now only ask for #filesystem, #environment or #processes.
    This makes it clearer what functionality is actually needed.
    talex5 committed Jan 14, 2017
Commits on Jan 8, 2017
  1. Fix AppVeyor tests

    - Update to latest appveyor.yml. The old version no longer worked.
      However, the new version tries to run the unit-tests, which never
      worked on Windows.
    - Disable some Unix-only tests on Windows.
    - Accept Windows paths in tests.
    - Improve Makefile test for Windows. On AppVeyor, OS is CYGWIN_NT-6.3-WOW not Windows_NT.
    - Make fake_system hardlink only require read access on the source.
      Needed to copy the runenv binary.
    - Fake out `windows_api` in tests.
    - Fix unit-test collection of stdout on Windows.
      We were trying to unlink the temporary file while it was still open,
      which Windows doesn't allow.
    
    Many tests are now flagged to skip windows (search for `skip_if on_windows`).
    It would be good to fix some of these. In particular, tests involving
    `tar` don't work (Windows tar vs Cygwin tar?), and `st_mtime` is often
    `-1` for some reason.
    talex5 committed Jan 7, 2017
  2. Enable deprecation warnings

    Also, for CI builds, turn deprecation warnings into errors.
    talex5 committed Jan 7, 2017
  3. Use _ascii string functions

    Avoids warnings on 4.03. Adds compat support in Common for using these on 4.02.
    talex5 committed Jan 7, 2017
Commits on Jan 7, 2017
  1. Avoid Lwt API changes

    Use Unix.bind because Lwt_unix.bind's signature will change in Lwt 3.0.
    talex5 committed Jan 7, 2017
  2. Drop support for OCaml 4.01

    Removes another use of camlp4.
    
    Enable Travis tests for 4.04.
    talex5 committed Jan 7, 2017
Commits on Dec 4, 2016
  1. Depend on ocurl >= 0.7.9

    Hopefully this version fixes all the incompatibilities with Windows and
    OS X.
    talex5 committed Dec 4, 2016
Commits on Dec 3, 2016
  1. Remove some unused imports

    talex5 committed Dec 3, 2016
  2. Work around buggy GnuPG 2.1.16

    GnuPG 2.1.16 sets the higher bits (presumably by mistake).
    
    Reported by ciryat (Void Linux) and Lucas Nussbaum (Debian).
    
    See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846834
    talex5 committed Dec 3, 2016
Commits on Oct 20, 2016
  1. Add abstract type for Gpg command

    Hopefully makes it clearer when we need the full system vs when we just
    need access to Gpg.
    
    Also, add interfaces for Trust_box and Preferences_box, and move
    Preferences_box's combo helper to Gtk_utils. Trust_box no longer needs
    access to config or system.
    talex5 committed Oct 20, 2016
Commits on Oct 19, 2016
  1. Add interface for Requirements module

    talex5 committed Oct 19, 2016
  2. Remove some left-over OCaml 3 support

    talex5 committed Oct 19, 2016
  3. Remove Common.yes_no_maybe type

    This was only used for the GUI, and it's clearer to use polymorphic
    variants there instead.
    talex5 committed Oct 19, 2016
  4. Drop support for OCaml 4.00

    talex5 committed Oct 19, 2016
Commits on Oct 2, 2016
  1. Display feed modification times in UTC

    Before, the error message for a replay attack displayed the times as
    local times, but with a Z on the end indicating UTC.
    
    This also meant that the unit-tests required an installed timezone
    database, otherwise it would display a different result.
    talex5 committed Oct 2, 2016
Commits on Sep 20, 2016
  1. Require ocurl 0.7.7

    0.7.2 doesn't work on Windows.
    0.7.8 doesn't work on OS X.
    talex5 committed Sep 20, 2016
  2. Allow building without running unit-tests

    This is useful for opam, which makes running the tests a separate and
    optional step.
    talex5 committed Sep 20, 2016
Commits on Sep 19, 2016
  1. Remove curl from AppVeyor file

    Was breaking the build for some reason.
    
    See: mirage/ocaml-github#147
    talex5 committed Sep 19, 2016
Commits on Sep 18, 2016
  1. Merge branch 'b2.12'

    talex5 committed Sep 18, 2016
  2. Unit-tests failed if run from directory containing "0.1"

    Error was:
    
        Failure: 0install:6:0install:5:apps
        Expected string 'Local.xml: 0.1-pre -> 0.1' not found in 'Last checked    : ...
    
    This would occur when installing with opam on OCaml 4.00.1.
    talex5 committed Sep 18, 2016
  3. Update Travis tests to test on trusty

    ocurl no longer installs on precise.
    
    Also, restrict ocurl to < 0.7.8, as that version doesn't build on OS X.
    See: ocaml/opam-repository#7456
    talex5 committed Sep 18, 2016
  4. Remove support for ocurl < 0.7.1

    These versions sometimes cause mysterious hangs and 0.7.1 has been out
    for years now.
    
    Also removes more uses of camlp4.
    talex5 committed Sep 18, 2016
  5. Turn off some warnings we have no control over

    ocurl complains "no cmx file was found" and String.lowercase is
    deprecated is newer versions but has no replacement in older versions.
    
    Also, moved the settings to the _tags file.
    talex5 committed Sep 18, 2016
Commits on Sep 4, 2016
  1. Release 2.12

    talex5 committed Sep 4, 2016
  2. Update to new Travis scripts

    Also, test with OCaml 4.03.
    talex5 committed Sep 4, 2016
Commits on Sep 3, 2016
Commits on May 8, 2016
  1. Fix build for OCaml 4.03.0

    talex5 committed May 8, 2016
Commits on May 7, 2016