artemp
8c6bf0eef6
update copyright notice
2015-06-16 12:49:16 +02:00
artemp
c428779e83
shape : make primitives parsers static + fix numeric parser to handle mapnik::value_integer (64-bit)
2015-06-16 12:01:11 +02:00
artemp
8bf82b717e
OGR : support reading OFTInteger64/OFTInteger64List
2015-06-16 11:36:17 +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
6d0cd6870b
remove dead code
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
9a80a253bf
fix -Wshadow warnings in agg
2015-06-15 20:41:51 -07:00
Dane Springmeyer
eb8c412a3b
silence more boost gil warnings
2015-06-15 20:41:51 -07:00
Dane Springmeyer
6a76f0fa31
fix variable shadowing
2015-06-15 20:41:51 -07:00
Dane Springmeyer
20145f2fb5
fix warnings in tiff_reader
2015-06-15 20:41:51 -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
427f0486ff
avoid -Wshadow warning
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
7ba45aa9ab
fix variable shadowing and ignore -Wsign-conversion for boost
2015-06-15 20:41:50 -07:00
Dane Springmeyer
d69e2cbe66
use safe_cast to safely handle -Wsign-conversion/narrowing warnings
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
4483da6fd9
fix -Wshadow warning
2015-06-15 20:41:49 -07:00
Dane Springmeyer
5418c74aad
Fix -Wshadow and -Wsign-conversion warnings
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
7e2028e9fd
Fix -Wshadow warning
2015-06-15 20:41:49 -07:00
Dane Springmeyer
ecd2e4aea0
fix -Wshadow warning
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
b355e65fe1
unit coverage of css_color_grammar converters
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
563bd1adc7
use safe_cast to avoid -Wsign-conversion warnings
2015-06-15 20:41:48 -07:00
Dane Springmeyer
bb2e938302
Add unit test for safe_cast (aka saturated_cast) a clamping numeric_cast
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
72b4cb8a3a
fix -Wsign-conversion warnings from boost_regex
2015-06-15 20:41:47 -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
062ca091c0
benchmark for marker_cache - refs #2831
2015-06-15 20:41:47 -07:00
Dane Springmeyer
9cc76de27d
benchmark: correctly position memory cleanup
2015-06-15 20:41:47 -07:00
Dane Springmeyer
9da198631b
more xml2 leak fixes
2015-06-15 20:41:46 -07:00
Dane Springmeyer
2b02677cb5
Centralize memory/valgrind cleanup code
2015-06-15 20:41:46 -07:00
Blake Thompson
a9712ed081
Forgot to add prefix change to mapnik config to cairo as well
2015-06-15 16:25:59 -05:00
Blake Thompson
a4aee2eb59
Added an update to mapnik config so that it can provide relative path to libraries better in node mapnik.
2015-06-15 15:37:23 -05:00
Dane Springmeyer
c94cb6251a
update tests for #2912
2015-06-12 19:04:33 -07:00
Dane Springmeyer
8172eda3d1
fix gamma for symbolizers that do not (yet) support user driven gamma - closes #2912
2015-06-12 18:18:39 -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
Artem Pavlenko
8f1f15dc49
Merge pull request #2908 from mapnik/fix_pixel_cast
...
Fix pixel cast - good catch broken signed/unsigned comparisons!
I made bounds methods return constexpr - I don't expect noticeable performance improvements but here we go :)
2015-06-12 13:45:26 +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