Commit Graph

187 Commits

Author SHA1 Message Date
Adam Wulkiewicz
f4f0094c3a Merged from index_dev
Fixed rtree::clear() mem leak.
Added test for clear() and boost::shared_ptr as Values.
Each linear algo test file divided into 2 files.
Added reference in docs->rtree introduction.

[SVN r81778]
2012-12-07 22:52:53 +00:00
Adam Wulkiewicz
640ae6ced6 Inserter included in the rtree.hpp
Added docs regarding inserter and creation of the rtree from the query results.
Added info about comparison of tuples in default translator.
Merged from index_dev.

[SVN r81582]
2012-11-26 22:20:38 +00:00
Adam Wulkiewicz
6f5b384b93 Merged from index_dev.
not_xxx predicates generators removed.
Added rtree constructor, insert() and remove() taking Range.
Added default translator for boost::tuple<>.
Each R*tree test divided into 2 files.
Docs updated/modified/fixed.

[SVN r81571]
2012-11-26 18:54:09 +00:00
Adam Wulkiewicz
d1174a227e Small change in docs.
[SVN r81544]
2012-11-25 21:56:12 +00:00
Adam Wulkiewicz
e1a14edce2 Merged from index_dev.
Docs improved (images added). Some samples and tests modified.

[SVN r81542]
2012-11-25 21:38:31 +00:00
Adam Wulkiewicz
bad91b8f31 Small change in docs.
[SVN r81541]
2012-11-25 21:35:20 +00:00
Adam Wulkiewicz
73e7974408 Added basic description and images of spatial and knn queries
[SVN r81540]
2012-11-25 21:26:00 +00:00
Adam Wulkiewicz
7babc43f75 Rtree docs and sample modified.
Rtree introduction expanded.
Quickstart improved.

[SVN r81539]
2012-11-25 20:56:38 +00:00
Adam Wulkiewicz
f7d7e88bbb Modified glut_vis additional test and added generated rtree images.
[SVN r81528]
2012-11-25 17:28:12 +00:00
Adam Wulkiewicz
5a6e87b146 Pointers and Iterators types removed from the default Translator.
[SVN r81523]
2012-11-24 22:17:08 +00:00
Adam Wulkiewicz
80be48d155 Added rtree::swap() method.
Added requirement 'Nonthrowing copy constructor of the Translator'.



[SVN r81512]
2012-11-24 19:54:36 +00:00
Adam Wulkiewicz
a901b88244 Fixed nullptr dereference errors. Merged from index_dev.
[SVN r81484]
2012-11-22 14:47:16 +00:00
Adam Wulkiewicz
e5766cf57e Fixed nullptr dereference errors.
[SVN r81483]
2012-11-22 14:45:32 +00:00
Adam Wulkiewicz
52e8317c3b warnings fixed, query and nearest visitors renamed
[SVN r81482]
2012-11-22 11:31:58 +00:00
Adam Wulkiewicz
0ccbb1fe0c some of warnings fixed.
[SVN r81481]
2012-11-22 11:28:21 +00:00
Adam Wulkiewicz
b42b3e3c9f nearest and query visitors renamed.
[SVN r81471]
2012-11-22 01:54:21 +00:00
Adam Wulkiewicz
1ef9d77894 docs fixed
[SVN r81460]
2012-11-21 16:07:38 +00:00
Adam Wulkiewicz
6e13479481 docs fixed
[SVN r81459]
2012-11-21 16:06:34 +00:00
Adam Wulkiewicz
46816e4c44 merged from index_dev.
Fixed memory leaks mostly related to exception-safety issues.
Modified docs, added tests.

[SVN r81458]
2012-11-21 15:47:51 +00:00
Adam Wulkiewicz
d385e62bdd compilation warning fixed.
[SVN r81446]
2012-11-20 23:04:15 +00:00
Adam Wulkiewicz
7bbf242891 Improved exception safety of the r-tree.
Requirement 'nonthrowing copy constructor of the BoundingObject/CoordinateType' changed to 'exception-safe copy constructor of the BoundingObject/CoordinateType'.
From now the r-tree do not use erase() method of the elements containers. It uses copy_from_back() and pop_back() instead.
erase() removed from pushable_array.
Added various memory leaks fixes taking throwing by Element's copy constructor into account.
Tests added.
Docs modified.

[SVN r81445]
2012-11-20 22:49:14 +00:00
Adam Wulkiewicz
7ed71e5324 Fixed memleak for CoordinateType/BoundingObject which have throwing copy constructor for R*tree.
Added comments regarding exception-safety.

[SVN r81438]
2012-11-20 17:00:41 +00:00
Adam Wulkiewicz
e2beb3cf2f Safety issue fixed in pushable_array.
Filenames related to filters(old name) changed to adaptors.

[SVN r81436]
2012-11-20 13:45:48 +00:00
Adam Wulkiewicz
ff1ccbdf29 Translator copy ctor exception handled.
Exception-safety docs moddified.



[SVN r81365]
2012-11-16 12:43:34 +00:00
Adam Wulkiewicz
04cf9fbc39 A cosmetic change in raw_destroy().
Some of the rtree member types and methods made private unless BOOST_GEOMETRY_INDEX_ENABLE_DEBUG_INTERFACE is defined.



[SVN r81355]
2012-11-15 11:23:36 +00:00
Adam Wulkiewicz
ebb55d2ae9 names fixed in speed test.
[SVN r81352]
2012-11-15 00:52:13 +00:00
Adam Wulkiewicz
00c54279b4 std::vector MS implementation memory leak workaround added.
[SVN r81351]
2012-11-14 23:55:53 +00:00
Adam Wulkiewicz
6b456b1fc7 remove() don't return if there is no root, assertion check is done in raw_remove().
Docs updated.

[SVN r81350]
2012-11-14 23:35:14 +00:00
Adam Wulkiewicz
593ab6d9fb Names changed query to spatial_query, nearest to nearest_query, query_filtered to adaptors::spatial_queried, nearest_filtered to adaptors::nearest_queried.
[SVN r81349]
2012-11-14 21:59:37 +00:00
Adam Wulkiewicz
118ec2fbf6 Error related to the state of the rval after moving fixed. The root being NULL is valid state. Root is created lazily, if needed. This means that default constructor won't throw as well as moving operations.
[SVN r81345]
2012-11-14 17:12:23 +00:00
Adam Wulkiewicz
0ce013bdba mem leaks related exceptions in rtree copying fixed
[SVN r81340]
2012-11-14 14:37:09 +00:00
Adam Wulkiewicz
b00198e311 mem leaks related to exceptions in remove fixed
[SVN r81325]
2012-11-13 22:13:17 +00:00
Adam Wulkiewicz
fd19533cec exceptions test compilation warnings fixed for clang
[SVN r81304]
2012-11-12 02:36:41 +00:00
Adam Wulkiewicz
6a1f024055 exceptions test improved.
[SVN r81302]
2012-11-12 01:07:59 +00:00
Adam Wulkiewicz
25e10f2539 potential mem leaks fixed in inserting algorithms, exceptions tests added.
[SVN r81301]
2012-11-12 00:47:07 +00:00
Adam Wulkiewicz
d008473125 mem leaks related to exceptions fixed in linear redistribute_elements.
[SVN r81284]
2012-11-10 13:29:07 +00:00
Adam Wulkiewicz
4dc16eb40d Exception-safety of the default insert and split algorithms improved.
[SVN r81280]
2012-11-10 10:25:56 +00:00
Adam Wulkiewicz
b164ec22c4 Added exact_match parameter to are_boxes_ok() check.
[SVN r80982]
2012-10-13 23:26:25 +00:00
Adam Wulkiewicz
0ab8fb772b merged from index_dev.
clang warnings and error in nearest_k fixed.
added insert_traverse_data.
added additional tests.

[SVN r80841]
2012-10-04 09:37:39 +00:00
Adam Wulkiewicz
2eb4ed8cf7 moddified speed test
[SVN r80839]
2012-10-04 00:02:43 +00:00
Adam Wulkiewicz
a8356c2625 fixed some warnings and error, added nearest query test which don't find all values.
[SVN r80838]
2012-10-03 23:59:01 +00:00
Adam Wulkiewicz
fa88da6b99 added quick speed test
[SVN r80833]
2012-10-03 21:04:13 +00:00
Adam Wulkiewicz
460aac42a7 Data changing in traversing process moved to separate structure.
[SVN r80827]
2012-10-03 18:10:29 +00:00
Adam Wulkiewicz
8f50f69560 index dev branch created
[SVN r80798]
2012-09-30 23:29:41 +00:00
Adam Wulkiewicz
321143ef6f cosmetic changes
[SVN r80796]
2012-09-30 23:14:09 +00:00
Adam Wulkiewicz
6e5c17a53f some names changed.
[SVN r80794]
2012-09-30 20:28:11 +00:00
Adam Wulkiewicz
4232b39920 removed not automatically deducable template parameters from methods templates (possible GCC compilation error).
[SVN r80788]
2012-09-30 17:29:00 +00:00
Adam Wulkiewicz
80bfe0ae01 code related to nodes visitation moved to XXX_visitor.hpp
[SVN r80782]
2012-09-30 12:54:25 +00:00
Adam Wulkiewicz
136e2fc742 dynamic_visitor added and nodes tags changed.
[SVN r80779]
2012-09-30 12:12:34 +00:00
Adam Wulkiewicz
eb7ba34800 NodeProxy create() template member replaced by template function.
[SVN r80774]
2012-09-30 11:40:09 +00:00