Skip to content
Snippets Groups Projects
  1. Oct 06, 2022
  2. Oct 05, 2022
  3. Mar 18, 2020
  4. Sep 03, 2019
  5. Feb 15, 2019
  6. Oct 14, 2018
    • Mat's avatar
      Determine the version number automatically at build time. · 8d803c4d
      Mat authored
      The version number comes from three possible sources, in this order:
      - The $CI_COMMIT_TAG variable, coming from the CI environment.
      - The .version file, created when publishing the project to PyPI.
      - The git tree directly.
      3.1.0
      8d803c4d
  7. Oct 13, 2018
    • Mat's avatar
      Call PyArray_New instead of PyArray_SimpleNewFromData · f9e05e99
      Mat authored
      When creating arrays where the element type is not trivial (for
      instance strings), it is necessary to pass the element itemsize
      (elsize) to numpy. Without it numpy has no way of knowing the full
      size in memory of the array, and in fact it segfaults.
      f9e05e99
  8. Jul 02, 2018
  9. Apr 25, 2018
  10. Apr 21, 2018
  11. Feb 19, 2018
    • Kirill Kouzoubov's avatar
      Use mmap only, no reads or seek · 00b93dae
      Kirill Kouzoubov authored
      At least on a mac `lseek` and `read` fail when operating on a shared memory file
      descriptor. Seems like POSIX only promises resize and memory map, but not read
      or seek.
      
      Also on a mac resizing shared memory file rounds up to nearest 4K, so we have to
      query actual file size after resize before writing header information to the end
      of the file.
      00b93dae
  12. Dec 18, 2017
  13. Oct 08, 2017
    • Mat's avatar
      Version bump · 6e34fae2
      Mat authored
      2.0.3
      6e34fae2
    • Mat's avatar
      Build the list method on Linux only. · 741f6f76
      Mat authored
      There is no portable way to list SHM segments, that's more or less a
      flaw in the SHM API. On Linux SHM segments are implemented as regular
      files on a tmpfs filesystem, usually mounted as /dev/shm. The list
      method scans this mount point and looks for SharedArray headers. This
      won't work on other operating systems (*BSD, Darwin, Solaris, etc.),
      so disable the method on non-Linux targets.
      741f6f76
    • Mat's avatar
      Link against -lrt only on Linux · f3e24b77
      Mat authored
      On Linux the shm_open(3) and shm_link(3) functions are implemented in
      librt. This is specific to Linux, other targets typically don't need
      (nor have) librt. This is the case specifically for *BSD and Darwin.
      f3e24b77
    • Mat's avatar
      Add CI file · 1e01978f
      Mat authored
      Add rules to build the extension in CI with python2 and python3, and
      another rule to release to PyPI.
      1e01978f
  14. Oct 07, 2017
    • Mat's avatar
      Update copyright date · 38dcfe94
      Mat authored
      We're now in 2017. Time flies.
      38dcfe94
    • Mat's avatar
      Update repository links · 84ab443b
      Mat authored
      Fix the links to the repository in the README and setup.py files, the
      canonical repository is now hosted on gitlab.com.
      84ab443b
  15. Nov 22, 2016
    • Mat's avatar
      Version bump · 66168f4c
      Mat authored
      2.0.2
      66168f4c
    • Mat's avatar
      Fix installation via pip when pypandoc isn't available · d439651e
      Mat authored
      The README.md file is converted to reStructuredText when uploading the
      package to PyPI, because they don't support markdown. The conversion
      uses pypandoc and use to fail when pypandoc wasn't installed.
      
      Make this conditional on the availability of the pypandoc package.
      Requiring the installation of pypandoc (quite large) just for that
      purpose would be too much.
      d439651e
  16. Nov 20, 2016
Loading