Skip to content
Snippets Groups Projects
  1. Feb 21, 2020
    • Igor Chorążewicz's avatar
      common: prepend release number to version when using GIT_VERSION · bbbfdae5
      Igor Chorążewicz authored
      It allows tools which expect version in form major.minor to work
      correctly even in case when pmdk is downloaded as zip archive.
      
      This patch also removes '%d' from GIT_VERSION file. This placeholder
      was filled with name of the branch only for the HEAD of a branch.
      This means that GIT_VERSION of a selceted revision had different content
      (either only commit hash or commit hash + name of the branch) depending
      on whether selected revision was HEAD of the branch or not. Different
      content of GIT_VERSION affected hash of the archive (and caused problems
      with vcpkg in the past).
      bbbfdae5
  2. Nov 19, 2018
    • Marcin Ślusarz's avatar
      common: use better versioning scheme for git snapshots · 74429946
      Marcin Ślusarz authored
      Version with two dashes (like 1.5-19-gb8f78a329) confuses rpmbuild in
      recent Fedoras, which makes it generate uninstallable -devel packages
      (libpmem-devel doesn't have Provides: pkgconfig(libpmem) tag, which
      doesn't satisfy Requires: pkgconfig(libpmem) in
      libpmem[obj|blk|log]-devel).
      74429946
  3. Aug 09, 2018
  4. Aug 07, 2018
    • Marcin Ślusarz's avatar
      common: fix reported version · b3f0821d
      Marcin Ślusarz authored
      There are many problems:
      
      On Linux we were using git commit id of the parent repository if
      zip/tar.gz package was uncompressed inside of git repository (and
      this is the case for Fedora).
      
      We can't rely on GIT_VERSION for releases, because its contents depends
      on state of the branch the tag was created from.
      This file contains all refs that point to the tagged commit, so
      immediately after 1.4.1 release it contained both "1.4.1" and
      "stable-1.4", but after merging the first PR to "stable-1.4" branch it
      contained only "1.4.1". This means that the checksum of the released
      version changed! This is why vcpkg build from master fails now (it
      contains initial checksum).
      The fix is to remove the automatically filled GIT_VERSION file and add
      static VERSION file before the release and revert this commit after.
      
      Version reported by debug libraries was empty if libraries were built
      from directories other than / and /src.
      
      On Windows reported version for point releases was wrong.
      b3f0821d
  5. Apr 24, 2018
  6. Mar 06, 2018
  7. Feb 19, 2018
  8. Dec 07, 2017
  9. Nov 28, 2017
  10. Jul 21, 2017
  11. May 15, 2017
    • Krzysztof Czuryło's avatar
      test: extend timeout for selected tests · 2a22c2c4
      Krzysztof Czuryło authored
      There are a few tests that may take more than a minute to complete,
      when run on a non-pmem filesystem.  This patch extends time out
      for those tests to 10 minutes.  Default timeout for other tests
      is 3 minutes.
      2a22c2c4
  12. Mar 22, 2017
  13. Feb 13, 2017
  14. Oct 13, 2016
    • Jan M Michalski's avatar
      test: introduce a new way of setting up tests requirements · a9959791
      Jan M Michalski authored
      The new way of setting a test requirements is by using a config.sh file located
      in a test sub-directory. The config.sh file structure is described in
      src/test/config.sh_example. It is the recommended method but it is still under
      development and does not cover all possible requirements. The old way of setting
      test requirements using require_* functions is still valid and can be mixed with
      the new way.
      a9959791
  15. Sep 27, 2016
  16. Jul 21, 2016
    • Marcin Ślusarz's avatar
      obj: split libpmemobj.h · b992f137
      Marcin Ślusarz authored
      Currently libpmemobj.h is a huge mess:
      - it includes APIs that are incompatible (atomic vs transactional)
      - it mixes core library APIs with usability wrappers
      - it pollutes global namespace with macros that C++ API does not need
      - there's no way for application to import only part of the API;
        eg. when application uses only transactional API it can't opt out
        of atomic API (and it can use it by accident, see commit
        5f462f7f for an example)
      
      This commit creates new libpmemobj directory with these files:
      
      * atomic_base.h
      * atomic.h
      * base.h
      * iterator_base.h
      * iterator.h
      * lists_atomic_base.h
      * lists_atomic.h
      * pool_base.h
      * pool.h
      * thread.h
      * tx_base.h
      * tx.h
      * types.h
      
      libpmemobj.h includes all those files.
      
      _base.h headers are supposed to be used only by our C++ headers.
      
      C applications should still include libpmemobj.h - the split should
      be considered an implementation detail.
      b992f137
  17. Feb 15, 2016
    • Lukasz Dorau's avatar
      common: update all copyright headers · 545d1fe3
      Lukasz Dorau authored
      Update all copyright headers:
      - remove "(c)" string
      - replace "Intel Corporation" with
        "the copyright holder" in the 3rd clause
      - update copyright date to 2016
      545d1fe3
  18. Feb 03, 2016
  19. Jan 13, 2016
    • Piotr Balcer's avatar
      obj: add basic C++ bindings · 7cd94aba
      Piotr Balcer authored
      This patch introduces C++ for libpmemobj. For now
      it includes 'resides on pmem' template property
      class and a persistent smart pointer.
      7cd94aba
  20. Aug 12, 2015
    • Marcin Ślusarz's avatar
      obj: zero zone and chunk headers on create · 9be2f7b7
      Marcin Ślusarz authored
      TEST0 failed because it couldn't allocate root object (chunks from
      previous pool are still used after 2nd pmemobj_create).
      TEST1 crashed on 2nd pmemobj_create (in heap_populate_buckets
      "run" lies outside of the pool).
      9be2f7b7
  21. Jul 16, 2015
  22. Jun 15, 2015
    • Paweł Lebioda's avatar
      obj: type safety macros and API changes · 6be7be94
      Paweł Lebioda authored
      - new type safety macros with named unions
      - atomic allocation API changes:
      -- remove pmemobj_alloc_construct()
      -- change return values to int
      -- return PMEMoid using reference
      -- change PMEMoid atomically using redo log
      - add TX_NEW, TX_ZNEW, POBJ_NEW and POBJ_ZNEW macros
      - add size parameter to TX_ALLOC, TX_ZALLOC, POBJ_ALLOC and POBJ_ZALLOC
      - update manpage
      6be7be94
  23. May 25, 2015
  24. Apr 13, 2015
  25. Apr 09, 2015
  26. Feb 04, 2015
  27. Nov 18, 2014
  28. Sep 12, 2014
  29. Sep 08, 2014
Loading