Permalink
Commits on Apr 24, 2017
  1. test: Really fix mirax-slidedat-* errors on glib >= 2.51.0

    Using Unicode characters in the regex produces a regex which fails to
    match the output.
    bgilbert committed Apr 24, 2017
Commits on Apr 19, 2017
  1. test: Fix mirax-slidedat-* errors on glib >= 2.51.0

    glib 10c490cdfe started using Unicode quotes in error strings.  We can't
    match these with "." because they're multi-byte sequences and the error
    output is in a Python 2 str.
    bgilbert committed Apr 19, 2017
Commits on Mar 8, 2017
  1. Add travis.yml file for travis CI (#191)

    agoode committed on GitHub Mar 8, 2017
Commits on Sep 4, 2016
  1. test/driver: Fix cross-testing on recent Cygwin

    Fixes error:
    
        Traceback (most recent call last):
          File "driver", line 70, in <module>
            _cygwin = ctypes.CDLL('cygwin1', use_errno=True)
          File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
            self._handle = _dlopen(self._name, mode)
        OSError: No such file or directory
    bgilbert committed Sep 4, 2016
Commits on Jul 30, 2016
  1. configure.ac: Build Windows resources iff building for Windows host

    Don't assume we need them just because windres is available.  Do assume
    that windres is available when building for Windows.
    
    https://lists.andrew.cmu.edu/pipermail/openslide-users/2016-July/001274.html
    bgilbert committed Jul 30, 2016
Commits on Jul 6, 2016
  1. Add GitHub issue template

    bgilbert committed Jul 6, 2016
Commits on Jun 12, 2016
  1. Update copyrights

    bgilbert committed Jun 12, 2016
Commits on Jun 10, 2016
  1. configure: Try to check for libjpeg with pkg-config

    libjpeg-turbo >= 1.5.0 provides a pkg-config file.
    bgilbert committed Jun 10, 2016
Commits on Jun 4, 2016
  1. test: Use platform-specified stack frame alignment on Win32

    The Win32 calling convention only requires 4-byte alignment of stack
    frames, but GCC expects 16-byte alignment.  This can cause crashes when
    interworking with MSVC, such as openslide/openslide-winbuild#9, if
    OpenSlide is not built with compensatory compiler flags (such as
    -mstackrealign).  On Win32 only, build the test programs with the stack
    frame alignment specified by the Win32 calling convention, in order to
    check that interwork is functional.  This can be disabled by configuring
    with --disable-checking-windows-abi-compat in case interwork is not
    needed.
    bgilbert committed Jun 4, 2016
Commits on Jun 3, 2016
  1. configure.ac: Move all compiler warning flags to WARN_CFLAGS

    for consistency, and ease of overriding from the command line.
    bgilbert committed Jun 3, 2016
  2. Add warnings.m4 from gnulib

    From gnulib e72ce0ea.
    bgilbert committed Jun 3, 2016
Commits on May 19, 2016
  1. test/driver: Add way to mute tests which are expected to fail

    Add OPENSLIDE_TEST_XFAIL and OPENSLIDE_VALGRIND_XFAIL environment
    variables, which can contain a comma-separated list of tests which
    are expected to fail during run and valgrind respectively.  Complain
    if those tests end up passing, but otherwise, just warn about the
    expected failure and continue without affecting the exit status.
    bgilbert committed May 19, 2016
Commits on May 16, 2016
  1. Use g_utf8_to_utf16() to compute Windows file paths

    On glib 2.47.6 through at least 2.48.1, g_convert() adds a BOM to the
    beginning of the returned string, causing _wfopen() to fail.  Switch to
    g_utf8_to_utf16(), which should also be more efficient.
    
    Fixes #176.
    bgilbert committed May 16, 2016
Commits on May 14, 2016
Commits on Jan 25, 2016
  1. test/driver: Disable xdelta LZMA secondary compression during pack

    xdelta 3.0.11 enables LZMA secondary compression by default, but distro
    binaries don't always support LZMA.  This was breaking the test suite on
    Precise, MacPorts, and Cygwin.
    bgilbert committed Jan 25, 2016
Commits on Jan 24, 2016
  1. Merge pull request #172 from agoode/master

    Fix an integer overflow in Hamamatsu parsing
    
    Fixes #171.
    bgilbert committed Jan 24, 2016
Commits on Jan 23, 2016
  1. Update copyright

    agoode committed Jan 23, 2016
  2. Use INT32_MAX instead of INT_MAX

    agoode committed Jan 23, 2016
  3. Fix an integer overflow in Hamamatsu parsing

    We can overflow when reading a VMS file. This is bad since we index on the value later and can do an out of bounds memory access.
    Thanks to Kostya Kortchinsky.
    agoode committed Jan 23, 2016
Commits on Jan 11, 2016
  1. hamamatsu: Rename extract_one_optimisation()

    It actually extracts one JPEG worth of optimisations.
    bgilbert committed Jan 7, 2016
Commits on Jan 7, 2016
  1. hamamatsu: Break hamamatsu_vms_part2() loop in half

    Ignore the map file in the second loop.
    bgilbert committed Jan 7, 2016
  2. hamamatsu: Don't try to read optimisations for VMS map file

    None of my sample VMS files have optimisation data for the map file.
    On slides with a single Z-layer this would cause us to harmlessly give
    up on the .opt file, but slides with multiple Z-layers place the
    additional optimisation data after the optimisations for Z-layer 0.
    This was causing restart marker position mismatches for those slides.
    
    Stop trying to read optimisations for the map file.
    
    Fixes #165.
    bgilbert committed Jan 7, 2016
Commits on Nov 9, 2015
  1. Make some data static

    bgilbert committed Nov 9, 2015