Commit Graph

4832 Commits

Author SHA1 Message Date
Menelaos Karavelas
eb0dfd1b5d [test][util][promote integral] add tests for the unsigned types:
unsigned char, unsigned short, unsigned int, unsigned long, std::size_t;
add test for the type signed char;
2015-03-26 18:51:11 +02:00
Menelaos Karavelas
2651afa92b [util][promote integral] fix issue with boost::mpl::if_c not allowing
enum values as return types
2015-03-26 16:31:14 +02:00
Menelaos Karavelas
3e5f6db4a7 [test][algorithms][intersection] add missing include boost/config.hpp;
add better testing for the existence of int64_t;
2015-03-26 14:25:47 +02:00
Menelaos Karavelas
9412f39b4d [doc][release notes] add (fixed) tickets #10658 and #11121 to release notes 2015-03-26 14:14:25 +02:00
Menelaos Karavelas
001a73127a [test][string_from_type] guard specialization for boost::long_long_type with
the BOOST_HAS_LONG_LONG macro; add specializations for long and int64_t (the
latter guarded by a macro) and modify the return values for long and
boost::long_long_type to match those returned by typeid(type).name() by clang++ and g++;
2015-03-26 14:05:48 +02:00
Menelaos Karavelas
0c891c7b8a [test][algorithms][intersection] add missing include for BOOST_GEOMETRY_CONDITION;
add testing for ticket #10868 with long and boost::long_long_type as coordinate type;
2015-03-26 14:04:30 +02:00
Menelaos Karavelas
e3f30bbc15 [test][algorithms][intersection] add testing for the test case in Boost Trac ticket #10868 2015-03-26 13:50:39 +02:00
Menelaos Karavelas
37baa56009 [test][algorithms][difference] add tests for the test cases in Boost Trac
tickets #10658 and #11121; modified testing of ticket #10835 by using the
data from overlay_cases.hpp
2015-03-26 13:40:09 +02:00
Menelaos Karavelas
92d513243d [test][algorithms][overlay] add test cases from Boost Trac tickets #10658, #10835, #10868 and #11121 2015-03-26 13:38:08 +02:00
Menelaos Karavelas
15e83e1a19 [test][util][promote integral] uncomment commented include;
make test for custom integral types always active;
2015-03-26 11:20:13 +02:00
Menelaos Karavelas
6f37921db3 [test][algorithms][difference] update results for test case "ggl_list_20120717_volker" 2015-03-26 11:13:58 +02:00
Menelaos Karavelas
b20a6bb209 [test][algorithms][difference] fix output for test case for ticket #10835 2015-03-26 11:07:08 +02:00
Menelaos Karavelas
620b95acde [doc][release_notes] update release notes: ticket #10835 is now addressed 2015-03-26 08:55:43 +02:00
Menelaos Karavelas
e0a0b8e3b1 [policies][relate][intersection_points] promote values to a larger integral
type in order to avoid overflow when computing the products:
  ratio.numerator() * dx     and     ratio.numerator() * dy
This change fixes ticket #10835
2015-03-26 08:49:18 +02:00
Menelaos Karavelas
a5ec906e6f [test][algorithms][difference] add unit test with the data reported in ticket #10835 2015-03-26 08:47:44 +02:00
Menelaos Karavelas
b87c59375a [test][util][promote integral] add unit test for the promote_integral meta-function 2015-03-26 08:45:45 +02:00
Menelaos Karavelas
abbb664226 [util][promote integral] add meta-function promote_integral<T> that promotes
a fundamental integral type T to another integral type with at least twice
the size of T
2015-03-26 08:44:08 +02:00
Barend Gehrels
06a077aa1e Merge branch 'develop' of github.com:boostorg/geometry into develop 2015-03-25 12:24:52 +01:00
Barend Gehrels
b3d7f8c82a [test][buffer] Add % difference to verify results more conveniently 2015-03-25 12:23:20 +01:00
Barend Gehrels
a5535e0f39 [test][buffer] Fix expected values for country_buffer, which were not yet
updated after commit
64ee58ed46
(Fix calculation of the number of points in round buffer)

New areas are changed max 0.2% w.r.t. old areas, and are in general
closer to what PostGIS gives
2015-03-25 12:22:24 +01:00
Adam Wulkiewicz
4354ab9ca0 [doc] Update 1.58 release notes (bug). 2015-03-24 19:43:47 +01:00
Adam Wulkiewicz
57d55eb964 [index] Fix count() - access of destroyed temporary if convertible type passed. 2015-03-24 19:31:47 +01:00
Adam Wulkiewicz
9372cb08d1 [doc] Update the list of supported compilers. 2015-03-24 12:58:27 +01:00
Adam Wulkiewicz
ccc91eb78b Merge pull request #273 from mkaravel/fix/douglas_peucker
Fix: testing of Douglas Peucker strategy
2015-03-24 11:38:02 +01:00
Menelaos Karavelas
2ecf727c22 [test][strategies][douglas peucker] print both expected and detected output using the same format 2015-03-24 10:01:41 +02:00
Menelaos Karavelas
e191a5f562 [test][strategies][douglas peucker] make case ID argument the first argument of tester;
include a label in the case id;
2015-03-24 09:50:43 +02:00
Adam Wulkiewicz
e48c80fbeb [doc] Update 1.58 release notes (tickets and bugs). 2015-03-24 03:20:44 +01:00
Adam Wulkiewicz
4ecb443891 [test] Add /bigobj compiler flag for all tests run on windows with intel compiler. 2015-03-24 01:25:50 +01:00
Adam Wulkiewicz
0115da1dd3 [relate] Rename check() to more specific check_element() and check_matrix(). 2015-03-24 01:23:08 +01:00
Adam Wulkiewicz
efeb592d80 [index][doc] Improve the rtree description. 2015-03-23 17:53:08 +01:00
Adam Wulkiewicz
bd7b7da000 [index][doc] Small docs improvements. 2015-03-23 17:27:14 +01:00
Barend Gehrels
90fcd83f30 [test] Remove bigobj flag from Jamfiles
now that it is defined in the upper level
2015-03-22 22:58:24 +01:00
Adam Wulkiewicz
a6ad1be145 Merge pull request #268 from mkaravel/ext/ttmath_support_for_fmod
Extensions: add ttmath support for fmod
2015-03-22 17:51:03 +01:00
Menelaos Karavelas
aac92cbd93 [extensions][ttmath] rename fmod() free function to mod() 2015-03-22 17:11:36 +02:00
Adam Wulkiewicz
b80a462d04 Merge pull request #270 from mkaravel/ext/define_ttmath_big_missing_arithmetic_operators
Extensions: define ttmath big missing arithmetic operators
2015-03-22 15:12:20 +01:00
Adam Wulkiewicz
e8fafc942d Merge pull request #272 from awulkiew/fix/cart_intersect2
Fix for cart_intersect and side_by_triangle - inconsistencies on MinGW and more (robustness)
2015-03-22 14:44:33 +01:00
Adam Wulkiewicz
d1358af447 Merge pull request #267 from awulkiew/fix/cart_intersect
[strategies][cart_intersect] Compare ratios denominators consistently.
2015-03-22 14:41:41 +01:00
Adam Wulkiewicz
37429b3234 [test] Fix select_most_precise test for Android.
On this platform sizeof(long double) == sizeof(double).
Conditionally test the combination of those types only if long double is
greater.
2015-03-20 18:04:50 +01:00
Adam Wulkiewicz
5d8b4a4810 Merge branch 'develop' of github.com:boostorg/geometry into develop 2015-03-20 14:16:56 +01:00
Adam Wulkiewicz
a50c92e510 [example] Fix compilation errors in examples. 2015-03-20 14:16:46 +01:00
Barend Gehrels
c11f58f08d [test] add bigobj for all tests on MSVC
This should fix new failures on wkt, point_on_surface, assemble. get_turns
and several others, which appear as of March 2015 on MSVC 14 and 11 now
2015-03-20 13:49:09 +01:00
Adam Wulkiewicz
d3f95f2cbb [index][doc] Remove manually enabled doxygen code for details since now it should be automatically generated. 2015-03-20 03:42:13 +01:00
Adam Wulkiewicz
3475f33972 [doc] In doxygen_xml2qbk alt output automaticaly detect details and generate output containing unspecified return type, default paramters values, etc. 2015-03-20 03:39:50 +01:00
Adam Wulkiewicz
cc4ac4599d [index][doc] Hide details in docs if DOXYGEN_NO_DETAIL is defined.
Change functions return types to unspecified.
Replace parameters defaults generated by functions/metafunctions with values.
Hide base classes.
2015-03-20 02:07:23 +01:00
Adam Wulkiewicz
7399df83cc [doc] Format "unspecified" functions return type in a special way in doxygen_xml2qbk alt output synopsis. 2015-03-20 02:01:34 +01:00
Adam Wulkiewicz
b788a9e4ab [index] Rename node_auto_ptr with subtree_destroyer and auto_deallocator with scoped_dealloactor. 2015-03-19 23:39:42 +01:00
Adam Wulkiewicz
4514e325f9 [index] Move predicates and operators into detail::predicates namespace.
In order to use the operators only for predicates.
2015-03-19 23:36:32 +01:00
Adam Wulkiewicz
0f4ce76449 [index] Replace std::auto_ptr with boost::scoped_ptr in query_iterator. 2015-03-19 23:35:20 +01:00
Adam Wulkiewicz
d22b3a00bf [test][index] Add more tests for types convertible to rtree::value_type.
Hopefully it'll give info needed to fix wrong results of rtree::count() for types convertible to value_type on Android.
2015-03-19 03:54:10 +01:00
Adam Wulkiewicz
5cd851d48a [test][index] Add test for rtree packing using move_itreator. 2015-03-19 01:27:51 +01:00