Dane Springmeyer
a6fd89df3e
Merge pull request #2941 from mapnik/offset_fix
...
Fix situation where offset_converter might start off with an SEG_END …
2015-07-06 18:50:52 -07:00
Dane Springmeyer
3ed7e347cb
use unique_ptr instead of shared_ptr for glyph_positions_ptr - refs #2516
2015-07-06 18:47:47 -07:00
Dane Springmeyer
418855118a
remove un-implemented method on glyph_positions
2015-07-06 17:45:59 -07:00
Dane Springmeyer
ff720d6231
support clipping in markerssymbolizer on multi-types - refs #2951
2015-07-06 15:40:34 -07:00
Blake Thompson
d5c11af019
Fixed issues with multi-line paths in offset_converter, line offsets were following the polygon offset logic when they shouldn't. Closes #2942
2015-07-06 15:31:10 -05:00
Dane Springmeyer
66a67dff5c
remove unused header
2015-07-01 10:00:00 -07:00
Dane Springmeyer
a42e93a259
remove unneeded assert - refs #2943
2015-07-01 09:58:37 -07:00
Blake Thompson
770d93b7cc
Fix situation where offset_converter might start off with an SEG_END from the vertex, therefore starting invalid processing. Tests added to confirm fix. Ref #2937
2015-06-30 22:23:44 -05:00
Blake Thompson
01dbf53a62
setting up for mapnik v3.0.0 release
2015-06-30 19:30:11 -05:00
Dane Springmeyer
48eb4abedb
merge with master
2015-06-30 00:38:45 -07:00
Dane Springmeyer
15589c8568
pull in latest master
2015-06-22 13:51:09 -07:00
Dane Springmeyer
e4631f15ae
fix #2921
2015-06-22 13:43:07 -07:00
Dane Springmeyer
9a5cc81924
fix a few -Wunused-argument warnings [skip ci]
2015-06-22 13:29:57 -07:00
artemp
7e0c23815e
remove boost::ptr_vector usage
2015-06-19 10:45:43 +02:00
Daniel Patterson
ca491d8aa9
Export svg_parser symbols so we can use these functions from node-mapnik
2015-06-18 15:13:52 -07:00
artemp
98d87f4c88
replace remaining boost::unordered_map
2015-06-18 11:08:35 +02:00
artemp
dd8394687d
remove dupe hash
2015-06-18 10:57:03 +02:00
artemp
5b1f0d3ba8
Merge remote-tracking branch 'origin/master'
2015-06-18 10:49:26 +02:00
artemp
022c2f7255
add std::hash specialization for mapnik::value
2015-06-18 10:48:56 +02:00
artemp
b9ed80ecc8
add std::hash specialization for mapnik::value
2015-06-18 10:10:26 +02:00
Dane Springmeyer
70959e8576
safer conversion of unsigned in xml_attribute cast
2015-06-17 13:29:54 -07:00
Blake Thompson
bd9e580cd8
Merge branch 'master' into offset
2015-06-16 11:50:04 -05:00
artemp
8c6bf0eef6
update copyright notice
2015-06-16 12:49:16 +02:00
artemp
0a24e8cfca
remove unused #include's
2015-06-16 10:04:50 +02:00
Dane Springmeyer
bb6c9a98a5
fix more -Wsign-conversion -Wconversion warnings
2015-06-15 20:41:52 -07:00
Dane Springmeyer
8a432ade33
fix -Wsign-compare warnings in topojson_utils
2015-06-15 20:41:52 -07:00
Dane Springmeyer
77a7eb3343
fix -Wshadow warning harfbuzz shaper
2015-06-15 20:41:52 -07:00
Dane Springmeyer
b2c85e0c65
fix a slew of -Wsign-conversion, -Wconversion, -Wunused-argument warnings
2015-06-15 20:41:51 -07:00
Dane Springmeyer
48d4bfb170
proper use of std:: in safe_cast
2015-06-15 20:41:50 -07:00
Dane Springmeyer
23e25ca432
share const rendering buffer impl to avoid const_cast + avoid various warnings
2015-06-15 20:41:50 -07:00
Dane Springmeyer
e23c263ba8
remove unused constructor for matrix_node
2015-06-15 20:41:50 -07:00
Dane Springmeyer
be4d6e70f8
use c++11 style const_cast + safe cast
2015-06-15 20:41:49 -07:00
Dane Springmeyer
6d124cc229
remove unused set_rectangle method
2015-06-15 20:41:49 -07:00
Dane Springmeyer
5d2be98cf2
Fix -Wsign-conversion warning
2015-06-15 20:41:48 -07:00
Dane Springmeyer
f36b451602
use safe cast and std::lround
2015-06-15 20:41:48 -07:00
Dane Springmeyer
c55662ab43
rename pixel_cast to safe_cast
2015-06-15 20:41:48 -07:00
Dane Springmeyer
93afb963e9
Fix -Wsign-compare warnings
2015-06-15 20:41:47 -07:00
Dane Springmeyer
34b9cb37f7
fix -Wsign-conversion warning in UnicodeString.hashCode()
2015-06-15 20:41:47 -07:00
Dane Springmeyer
45bda29a45
switch to c++11 library over boost (confirmed no speed drop on osx with test_marker_cache.cpp)
2015-06-15 20:41:47 -07:00
Dane Springmeyer
0d86afff36
start using -Wsign-compare and -Wshadow + fix heaps of warnings - refs #2907
2015-06-12 14:51:18 -07:00
Dane Springmeyer
8d3d136da7
fix hang on windows in pixel_cast
...
- manifested converting double -> int64_t.
- it is unclear why this explicitness is needed on windows
to avoid greater calling itself. But it is clear that the
static_cast<double>(<std::int64_t>) is not enough for the
template deduction to match the <double,double> case automatically
- Making this explicit is probably better anyway, but odd it is needed.
- Finishes closing #2893 , refs #2893 , amends 96f7120ecc
and d29a0f18b1
- Seen with both VS 2014 CTP 4 and VS 2015 Preview
2015-06-12 12:38:22 -07:00
Dane Springmeyer
29b464e868
simplify numeric_compare template logic
2015-06-12 12:01:26 -07:00
Dane Springmeyer
a5e10aa25c
std::numeric_limits are not yet constant on windows - see #2911
2015-06-12 11:48:49 -07:00
artemp
a030f5531d
add <limits>
2015-06-12 14:43:56 +01:00
artemp
15041ba334
replace boost::numeric::bounds with detail::bounds where highest/lowest return constexpr
...
( since c++11 std::numeric_limits<T>::min/max return `static constexpr T`)
prefer if/else if.. over if/if...)
2015-06-12 13:40:47 +01:00
Dane Springmeyer
d29a0f18b1
fix pixel_cast by avoiding comparing across sign<->unsigned - refs #2893
2015-06-12 00:02:59 -07:00
Dane Springmeyer
6a3d63aa40
consistent initialization in scriptrun and placement_finder
2015-06-11 11:44:27 -07:00
Blake Thompson
d3f37d8f1e
Updated clipper to be reversed and fixes to the way the algorithm operates.
2015-06-11 12:47:00 -05:00
artemp
ed3a74afed
disambiguate naming
2015-06-11 13:20:49 +01:00
artemp
eabe5b50e6
Merge branch 'master' into mapycz-fix-raster-scaling
2015-06-11 13:15:38 +01:00