pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/mdds Update to 1.4.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6fd8be11a98c
branches:  trunk
changeset: 319732:6fd8be11a98c
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Feb 19 15:45:30 2019 +0000

description:
Update to 1.4.3

Changelog:
mdds 1.4.3

* documentation

  * added details on how to use two type of iterators with
    flat_segment_tree.

  * added new section to describe how to use mtv::collection to iterate
    through multiple multi_type_vector instances as a single collection
    in the direction orthogonal to the direction of the individual
    vectors.

  * added new page for R-tree.

* flat_segment_tree

  * fixed invalid memory access issue related to the swap() method which
    previously did not swap the non-leaf node pool store.  The invalid
    memory access may occur after the contents of two instances get
    swapped, one instance get destroyed then the caller calls
    search_tree() on the other instance still alive.

mdds 1.4.2

* all

  * fixed CXXFLAGS incorrectly being overwritten.

  * addressed a number of Coverity issues.

mdds 1.4.1

* all

  * fixed all warnings on shadowed variables.

* multi_type_matrix

  * all of its walk() methods now return either a copied or moved
    instance of the function object passed in as an input argument.
    Previously these methods had no return values.

mdds 1.4.0

* rtree (new)

  * new data structure designed for optimal storage and query
    performance on multi-dimensional spatial data.  The structure allows
    storage of both point and extent-based boundaries as keys associated
    with values.

* multi_type_vector

  * mtv::elemnt_block now has the following methods: data(), cbegin(),
    cend(), crbegin() and crend().

  * multi_type_vector now has cbegin(), cend(), crbegin(), and crend()
    methods.

  * some unnecessary user-provided special members have been removed to
    avoid warnings with -Wdeprecated-copy with GCC 9.

* multi_type_matrix

  * all of its walk() methods now allow in-line lambdas to be used, by
    not taking a reference of the function object parameters.

mdds 1.3.1

* flat_segment_tree

  * fixed a bug that caused an assertion error when inserting a
    out-of-bound segment whose start value equals the max key value.

mdds 1.3.0

* multi_type_vector

  * changed the primary block array storage to remove additional
    indirection, for improved memory locality.

mdds 1.2.3

* all

  * changed the configure script to use --docdir unmodified.

* flat_segment_tree

  * added a segment iterator whose node value consists of the start
    and end keys and the value associated with each segment.  its
    start and end positions can be retrieved via begin_segment() and
    end_segment() methods.

mdds 1.2.2

* flat_segment_tree

  * fixed a bug that would cause segmentation faults with the insert()
    method with out-of-bound segment value pair.

mdds 1.2.1

* multi_type_vector

  * added size() method to the element block type, which returns the
    actual size of the element block, instead of the cached size value
    stored in the parent structure that stores the element block.

  * fixed a double-deletion bug in the swap() method which would
    triggered when used with a managed element block.

* mtv::collection

  * fixed collection iterator's get() method to properly return values
    from the boolean element block.

mdds 1.2.0

* packed_trie_map

  * added begin() and end() methods that return read-only iterators.

  * find() method now returns a const_iterator instance.

  * prefix_search() method now returns a search_results instance that
    can be iterated.

  * null value no longer needs to be passed to the constructor.

  * find() and prefix_search() now have a variant that can take a key
    value that is of key_type directly.

* trie_map

  * added begin() and end() methods that return read-only iterators.

  * find() method now returns a const_iterator instance.

  * prefix_search() method now returns a search_results instance that
    can be iterated.

  * null value no longer needs to be passed to the constructor.

  * find(), insert, and prefix_search() now have a variant that can
    take a key value that is of key_type directly.

* sorted_string_map

  * fix build failure with _GLIBCXX_DEBUG defined.

* multi_type_vector

  * remove compiler warning about shadowed variable.

  * added a supplemental class mdds::mtv::collection which allows
    multiple multi_type_vector instances of the same length to be
    grouped together in order to iterate through their elements
    sideways.

  * a variant of advance_position() static method that takes
    const_position_type has been added.

    * const_position_type advance_position(const const_position_type& pos, int steps)

* multi_type_matrix

  * matrix_position() is now a const method.

  * the sub-matrix variant of walk() method now throws size_error
    exception when invalid start and end positions are passed.

  * slight performance improvement with the sub-matrix variant of
    walk() method that involves multiple column traversal.

  * added 2 new variants of walk() methods that allow parallel walking
    with another matrix instance.

    * template<typename _Func>
      void walk(_Func& func, const multi_type_matrix& right) const

    * template<typename _Func>
      void walk(_Func& func, const multi_type_matrix& right, const size_pair_type& start, const size_pair_type& end) const

  * improved performance of copy() and resize() methods.

  * added a variant of copy() that takes an array of values.

    * template<typename _T>
      void copy(size_type rows, size_type cols, const _T& it_begin, const _T& it_end)

  * integer type has been added to the list of types the matrix can
    store.  In conjunction with this change, what was formerly known
    as the string trait structure is now known as the matrix trait,
    which specifies the actual integer type the matrix stores.

* point_quad_tree

  * search_result has been renamed to search_results.

diffstat:

 devel/mdds/Makefile                |   7 +--
 devel/mdds/PLIST                   |  71 +++++++++++++++++++------------------
 devel/mdds/distinfo                |  11 +++--
 devel/mdds/patches/patch-configure |  33 +++++++++++++++++
 4 files changed, 79 insertions(+), 43 deletions(-)

diffs (149 lines):

diff -r a441c779f1e1 -r 6fd8be11a98c devel/mdds/Makefile
--- a/devel/mdds/Makefile       Tue Feb 19 15:26:08 2019 +0000
+++ b/devel/mdds/Makefile       Tue Feb 19 15:45:30 2019 +0000
@@ -1,14 +1,13 @@
-# $NetBSD: Makefile,v 1.39 2018/12/13 19:51:48 adam Exp $
+# $NetBSD: Makefile,v 1.40 2019/02/19 15:45:30 ryoon Exp $
 
-DISTNAME=      mdds-1.1.0
-PKGREVISION=   8
+DISTNAME=      mdds-1.4.3
 CATEGORIES=    devel
 MASTER_SITES=  http://kohei.us/files/mdds/src/
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://gitlab.com/mdds/mdds
-COMMENT=       Collection of multi-dimensional data structure and indexing algorithms (1.0 branch)
+COMMENT=       Collection of multi-dimensional data structure and indexing algorithms
 LICENSE=       mit
 
 GNU_CONFIGURE=         yes
diff -r a441c779f1e1 -r 6fd8be11a98c devel/mdds/PLIST
--- a/devel/mdds/PLIST  Tue Feb 19 15:26:08 2019 +0000
+++ b/devel/mdds/PLIST  Tue Feb 19 15:45:30 2019 +0000
@@ -1,34 +1,37 @@
-@comment $NetBSD: PLIST,v 1.10 2016/03/08 18:50:21 ryoon Exp $
-include/mdds-1.0/mdds/default_deleter.hpp
-include/mdds-1.0/mdds/flat_segment_tree.hpp
-include/mdds-1.0/mdds/flat_segment_tree_def.inl
-include/mdds-1.0/mdds/flat_segment_tree_itr.hpp
-include/mdds-1.0/mdds/global.hpp
-include/mdds-1.0/mdds/multi_type_matrix.hpp
-include/mdds-1.0/mdds/multi_type_matrix_def.inl
-include/mdds-1.0/mdds/multi_type_vector.hpp
-include/mdds-1.0/mdds/multi_type_vector_custom_func1.hpp
-include/mdds-1.0/mdds/multi_type_vector_custom_func2.hpp
-include/mdds-1.0/mdds/multi_type_vector_custom_func3.hpp
-include/mdds-1.0/mdds/multi_type_vector_def.inl
-include/mdds-1.0/mdds/multi_type_vector_itr.hpp
-include/mdds-1.0/mdds/multi_type_vector_macro.hpp
-include/mdds-1.0/mdds/multi_type_vector_trait.hpp
-include/mdds-1.0/mdds/multi_type_vector_types.hpp
-include/mdds-1.0/mdds/node.hpp
-include/mdds-1.0/mdds/point_quad_tree.hpp
-include/mdds-1.0/mdds/quad_node.hpp
-include/mdds-1.0/mdds/rectangle_set.hpp
-include/mdds-1.0/mdds/rectangle_set_def.inl
-include/mdds-1.0/mdds/segment_tree.hpp
-include/mdds-1.0/mdds/segment_tree_def.inl
-include/mdds-1.0/mdds/sorted_string_map.hpp
-include/mdds-1.0/mdds/sorted_string_map_def.inl
-include/mdds-1.0/mdds/trie_map.hpp
-include/mdds-1.0/mdds/trie_map_def.inl
-share/doc/mdds-1.0/AUTHORS
-share/doc/mdds-1.0/COPYING
-share/doc/mdds-1.0/NEWS
-share/doc/mdds-1.0/README.md
-share/doc/mdds-1.0/VERSION
-share/pkgconfig/mdds-1.0.pc
+@comment $NetBSD: PLIST,v 1.11 2019/02/19 15:45:30 ryoon Exp $
+include/mdds-1.4/mdds/flat_segment_tree.hpp
+include/mdds-1.4/mdds/flat_segment_tree_def.inl
+include/mdds-1.4/mdds/flat_segment_tree_itr.hpp
+include/mdds-1.4/mdds/global.hpp
+include/mdds-1.4/mdds/multi_type_matrix.hpp
+include/mdds-1.4/mdds/multi_type_matrix_def.inl
+include/mdds-1.4/mdds/multi_type_vector.hpp
+include/mdds-1.4/mdds/multi_type_vector/collection.hpp
+include/mdds-1.4/mdds/multi_type_vector/collection_def.inl
+include/mdds-1.4/mdds/multi_type_vector_custom_func1.hpp
+include/mdds-1.4/mdds/multi_type_vector_custom_func2.hpp
+include/mdds-1.4/mdds/multi_type_vector_custom_func3.hpp
+include/mdds-1.4/mdds/multi_type_vector_def.inl
+include/mdds-1.4/mdds/multi_type_vector_itr.hpp
+include/mdds-1.4/mdds/multi_type_vector_macro.hpp
+include/mdds-1.4/mdds/multi_type_vector_trait.hpp
+include/mdds-1.4/mdds/multi_type_vector_types.hpp
+include/mdds-1.4/mdds/node.hpp
+include/mdds-1.4/mdds/point_quad_tree.hpp
+include/mdds-1.4/mdds/quad_node.hpp
+include/mdds-1.4/mdds/rectangle_set.hpp
+include/mdds-1.4/mdds/rectangle_set_def.inl
+include/mdds-1.4/mdds/rtree.hpp
+include/mdds-1.4/mdds/rtree_def.inl
+include/mdds-1.4/mdds/segment_tree.hpp
+include/mdds-1.4/mdds/segment_tree_def.inl
+include/mdds-1.4/mdds/sorted_string_map.hpp
+include/mdds-1.4/mdds/sorted_string_map_def.inl
+include/mdds-1.4/mdds/trie_map.hpp
+include/mdds-1.4/mdds/trie_map_def.inl
+include/mdds-1.4/mdds/trie_map_itr.hpp
+share/doc/mdds/AUTHORS
+share/doc/mdds/COPYING
+share/doc/mdds/NEWS
+share/doc/mdds/README.md
+share/pkgconfig/mdds-1.4.pc
diff -r a441c779f1e1 -r 6fd8be11a98c devel/mdds/distinfo
--- a/devel/mdds/distinfo       Tue Feb 19 15:26:08 2019 +0000
+++ b/devel/mdds/distinfo       Tue Feb 19 15:45:30 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.17 2016/03/08 18:50:21 ryoon Exp $
+$NetBSD: distinfo,v 1.18 2019/02/19 15:45:30 ryoon Exp $
 
-SHA1 (mdds-1.1.0.tar.bz2) = 4570846f61b8f37ca5a435aa43899b96e9eaf2ae
-RMD160 (mdds-1.1.0.tar.bz2) = ffc7ae1bbfdc7b0a4731070ad6aa9b5a0228bff4
-SHA512 (mdds-1.1.0.tar.bz2) = 928cb6dffacdb2fe9e67dde094bbd8191137cb58402172d0fc99ed8c7aa6069668c6b1f06e515366a0843325ea051e8e0650aa2142cbc94b107a748a399d7a47
-Size (mdds-1.1.0.tar.bz2) = 258691 bytes
+SHA1 (mdds-1.4.3.tar.bz2) = 86a90787750043b417e031b90360379bec75a46a
+RMD160 (mdds-1.4.3.tar.bz2) = d425751e6839e2ae608d70ebde78a30b3136c5ff
+SHA512 (mdds-1.4.3.tar.bz2) = fd54a93fde89bff74a5ccf84ce5e2e002114297b165ded56a1bae92b28d70864775add140e165c7750f7dbe8ca1bfe83179cd9a835e53312c2e893c9e1f4434c
+Size (mdds-1.4.3.tar.bz2) = 334515 bytes
+SHA1 (patch-configure) = e8155e65b7fe71a6e924b432177dd13a186426a6
diff -r a441c779f1e1 -r 6fd8be11a98c devel/mdds/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/mdds/patches/patch-configure        Tue Feb 19 15:45:30 2019 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-configure,v 1.1 2019/02/19 15:45:30 ryoon Exp $
+
+* POSIX shell portability
+
+--- configure.orig     2018-10-31 00:58:03.000000000 +0000
++++ configure
+@@ -2496,7 +2496,7 @@ if test "${enable_debug_stdcxx+set}" = s
+ fi
+ 
+ 
+-if test x"$debug_stdcxx" == "xyes"; then :
++if test x"$debug_stdcxx" = "xyes"; then :
+ 
+   CXXFLAGS="$CXXFLAGS -D_GLIBCXX_DEBUG"
+ 
+@@ -2508,7 +2508,7 @@ if test "${enable_release_tests+set}" = 
+ fi
+ 
+ 
+-if test x"$release_tests" == "xyes"; then :
++if test x"$release_tests" = "xyes"; then :
+ 
+   CXXFLAGS="$CXXFLAGS -DNDEBUG"
+ 
+@@ -3395,7 +3395,7 @@ else
+ 
+ fi
+ 
+-if test x"$enable_werror" == "xyes"; then :
++if test x"$enable_werror" = "xyes"; then :
+ 
+       CXXFLAGS="$CXXFLAGS -Werror"
+ 



Home | Main Index | Thread Index | Old Index