Dane Springmeyer
9d9a1283d6
make grind: no need to source mapnik-settings + add grinding of visual tests
2015-05-23 12:05:40 -07:00
Dane Springmeyer
ad09abee21
free memory in visual tests to keep valgrind happier
2015-05-23 12:05:10 -07:00
Dane Springmeyer
9a697a7dd6
boottrap: fix paths embedded in .la files
...
- these are invalid for local setups since they have travis absolute paths by default
- this is not needed for building mapnik (since mapnik does not use libtool)
- but it enables using the result of mapnik-config to build apps that do use libtool
- so it unblocks building mod_tile against a local mapnik/mapnik-config built against mason
2015-05-23 10:33:18 -07:00
Dane Springmeyer
aae52dad2e
u_cleanup is called from unit/run.cpp already [skip ci]
2015-05-22 13:56:59 -07:00
Dane Springmeyer
6c8a72dfb0
also skip running unit tests since they (currently at least) depend on test data - followup to #2845
2015-05-22 09:52:01 -07:00
Dane Springmeyer
0ac8389622
Merge pull request #2845 from mapycz/improve-visual-test-5
...
visual tests: skip visual tests when test data are not present
2015-05-22 09:48:57 -07:00
Jiri Drbalek
c349412056
visual tests: skip visual tests when test data are not present
2015-05-22 17:02:52 +00:00
artemp
9c9a7a06a0
unit test geometry - use appropriete std::string constructor ( file_io.get() doesn't guarantee to return null terminated C-string!)
2015-05-22 09:24:45 +01:00
artemp
bbbe24ac9f
format - remove extra ;
2015-05-22 09:09:50 +01:00
Artem Pavlenko
8d911d8c77
Merge pull request #2843 from mapnik/fix-webp-views
...
Fix potential crash when encoding webp via image_view
2015-05-22 08:59:03 +01:00
Dane Springmeyer
d5e4197aa2
fixup webp test
2015-05-21 20:42:18 -07:00
Dane Springmeyer
c2e94c68a5
fix crash + add crashing testcase for #2842
2015-05-21 20:39:14 -07:00
Dane Springmeyer
145781aec9
remove uneeded includes [skip ci]
2015-05-21 11:11:04 -07:00
Dane Springmeyer
4a69a94fed
always compile tests even if not installing
2015-05-21 07:41:28 -07:00
artemp
2e832586ab
use mapnik geometry!
2015-05-21 15:00:20 +01:00
artemp
4debc817b5
don't pass invalid bounding_boxes to boost::geometry::rtree_index
2015-05-21 11:52:30 +01:00
artemp
3b663af863
use boost::spirit::standard instead of boost::spirit::ascii to avoid assertions failing (isascii_(ch)) in debug builds - ref #2829
2015-05-21 11:27:21 +01:00
Blake Thompson
8534d5e5c2
Updated to latest visual test version
2015-05-20 17:35:08 -05:00
Dane Springmeyer
fad048861d
use latest visual test data
2015-05-20 14:23:28 -07:00
Blake Thompson
60ec991b2c
Merge pull request #2837 from mapnik/correct
...
Geometry Correct
2015-05-20 16:21:47 -05:00
Dane Springmeyer
ec8f1620e5
correct polygons in topojson and osm plugins too
2015-05-20 14:09:52 -07:00
Dane Springmeyer
84e4d8bf22
Start calling geometry::correct everywhere possible - refs #2834
2015-05-20 14:00:30 -07:00
Dane Springmeyer
0f8b379eea
update visual tests after mapnik/test-data-visual#1
2015-05-20 11:24:01 -07:00
Blake Thompson
f964046c19
Merge pull request #2830 from mapnik/clamp_multi
...
Rename set_alpha and multiply_alpha
2015-05-20 13:15:45 -05:00
Blake Thompson
05b4ea4955
Removed multiply_opacity
2015-05-20 13:14:44 -05:00
Blake Thompson
2031215247
Renamed set_opacity to apply_opacity, reverted it to the old logic of set_alpha. Updated tests, clamping is now used.
2015-05-20 13:08:18 -05:00
Dane Springmeyer
786dc49a6b
update visual tests
2015-05-20 10:59:08 -07:00
Blake Thompson
b68d079255
Changed the name of the set_alpha and multiply_alpha to be set_opacity and multiply_opacity
2015-05-20 12:39:01 -05:00
Blake Thompson
25c6576fdd
Updated the way that multiply_alpha works, such that it is not clamped at the multiplier, but rather at the result of the multiplier and alpha.
2015-05-20 12:39:00 -05:00
Dane Springmeyer
5d7c43457e
Merge pull request #2825 from mapycz/improve-interior
...
improve interior placement
2015-05-20 10:37:39 -07:00
Dane Springmeyer
6537183f86
Merge pull request #2827 from mapycz/visual-tests-parallel
...
visual tests: set number of parallel threads by JOBS environment variable
2015-05-20 10:17:00 -07:00
Dane Springmeyer
6a7d785557
Merge pull request #2826 from mapycz/improve-visual-test-3
...
improve visual tests
2015-05-20 10:16:52 -07:00
Dane Springmeyer
adf85264c1
Merge pull request #2832 from afflerbach/unused-nodes-error-message
...
Message about unused text nodes now also contains line numbers.
2015-05-20 10:08:21 -07:00
Jörg Afflerbach
b385c71789
Message about unused text nodes now also contains line numbers.
...
Helped me a lot when I needed to find a superfluous `-->` in a large `map.xml`.
2015-05-20 18:55:29 +02:00
artemp
a8a90b7656
use std::lock_guard instead of unique_lock (better fit for the job)
2015-05-20 16:12:22 +01:00
artemp
433741877d
fix - use std::size_t to avoid narrowing
2015-05-20 11:31:41 +01:00
artemp
6c14ff9b7a
fix char type
2015-05-20 11:31:24 +01:00
Dane Springmeyer
093d857ddc
Add support for 64 bit field types in GDAL 2.0 - closes #2685
2015-05-19 22:39:39 -07:00
Jiri Drbalek
b5c2b98412
visual tests: set number of parallel threads by JOBS environment variable
2015-05-19 18:05:38 +00:00
Jiri Drbalek
5ad9b4531c
visual tests: allow style paths in command line arguments
2015-05-19 17:30:58 +00:00
Jiri Drbalek
8519bde143
visual tests: drop config.cpp
2015-05-19 17:30:58 +00:00
Jiri Drbalek
3db7b0ca9b
visual tests: use boost::filesystem::path for paths
2015-05-19 17:30:58 +00:00
Blake Thompson
c37720066d
Merge pull request #2824 from zerebubuth/test/port-python-tests
...
Port some python tests
2015-05-19 08:33:43 -05:00
artemp
3ce65e8b65
rename view_to_string to view_to_stream and tempalate on stream type
2015-05-19 11:58:20 +01:00
artemp
05b5d16e87
more std::size_t fixes (consistent usage)
2015-05-19 11:43:39 +01:00
artemp
64979f24b7
use enumeration type !
2015-05-19 11:30:51 +01:00
artemp
3b5a8f354f
use std::size_t
2015-05-19 11:17:01 +01:00
Jiri Drbalek
efd554a04e
interior placement: always compute center of the longest segment
2015-05-19 08:37:57 +00:00
Matt Amos
0db207d076
Bump submodule hash for new test data file.
2015-05-19 00:33:46 +01:00
Matt Amos
782a949543
Use approx when testing floating point approximate equality.
2015-05-18 22:53:11 +01:00