Commit graph

7928 commits

Author SHA1 Message Date
artemp
542805e4d6 + support multiple color stops in colorize-alpha
( TODO: add support for:  <color-stop>     = <color> [ <percentage> | <length> ]? )
2013-03-20 17:21:09 +00:00
artemp
4b713f6ed0 + impl colorize-alpha image filter
NOTE:currently linear interpolation between two colours only
  TODO:support multiple colour stops : https://developer.mozilla.org/en-US/docs/CSS/linear-gradient
2013-03-20 15:17:41 +00:00
Hermann Kraus
feaf757c07 Fix return type. 2013-03-20 03:45:33 +01:00
Dane Springmeyer
4e6b6d5a62 ensure the line clipping box is padded using scale_factor as well - closes #1767 2013-03-19 16:15:50 -07:00
Dane Springmeyer
25591cfcbf replace one more cairo/halo image 2013-03-19 14:24:05 -07:00
Dane Springmeyer
e47f3e635c remove explicit keyword on boolean to make llvm-gcc happy on os x 2013-03-19 14:10:01 -07:00
Dane Springmeyer
5ceecd40a3 avoid ambiguity between boost::python::range and boost::range - fixes compile error with llvm-gcc 2013-03-19 14:09:36 -07:00
Dane Springmeyer
a7ef5c7f60 avoid copying of non-copyable transcoder class - fixes compile with llvm-gcc 2013-03-19 14:09:01 -07:00
Dane Springmeyer
fd186d1b79 fix expected cairo/text halo rendering tests after #1624 2013-03-19 14:07:30 -07:00
Dane Springmeyer
f2ee8cae16 avoid signed/unsigned warning with llvm-g++ 2013-03-19 14:01:48 -07:00
Dane Springmeyer
faa78864b6 mapnik-config also add cxxflags to cflags for full backwards compatibility with previous behavior 2013-03-19 00:15:04 -07:00
Dane Springmeyer
3b807db7e1 avoid gcc unsigned/signed comparison warning 2013-03-18 16:54:26 -07:00
artemp
e91908206b cairo halo patch via @springmeyer ( #1624 ) 2013-03-18 14:31:38 +00:00
Dane Springmeyer
f759964dbf c++ style 2013-03-15 16:52:02 -07:00
Dane Springmeyer
7d868558d7 fix a variety of msvc compiler warnings about signed/unsigned implicit conversion 2013-03-15 13:37:48 -07:00
Dane Springmeyer
e30ef619c6 Merge branch 'master' of github.com:mapnik/mapnik 2013-03-15 13:32:47 -07:00
Dane Springmeyer
28d59decb8 mapnik-utils: make fonts/inputplugins actually relative and dynamically constructed if they can be 2013-03-15 13:31:10 -07:00
artemp
bdf3c59a2c + disable failing clipping tests pending different impl 2013-03-15 12:51:31 +00:00
Sandro Santilli
0c5d5ca99c Fix postgresql connection leaks
Return connection to pool on connection error (see #1708)
Fix leaks on persist_connection=false (#1711)

Includes testcase for #1711
2013-03-15 10:34:22 +01:00
Dane Springmeyer
c81f28fc41 formatting 2013-03-14 19:26:29 -07:00
Dane Springmeyer
1056038163 formatting 2013-03-14 18:34:21 -07:00
Dane Springmeyer
11e825a045 formatting 2013-03-14 18:33:59 -07:00
Dane Springmeyer
7e974b9064 avoid potential zero division resulting in nan in agg::gamma_linear - closes #761 2013-03-14 17:48:59 -07:00
Dane Springmeyer
94c5645e8b add new gamma members to agg_renderer 2013-03-14 17:15:35 -07:00
Dane Springmeyer
44c02a10c5 reduce overhead of flexible agg gamma setting per symbolizer - closes #1174 2013-03-14 17:05:06 -07:00
Dane Springmeyer
2b3170322d remove not yet implemented flag 2013-03-14 17:01:57 -07:00
Dane Springmeyer
93c4762ed5 fix access to mapnik::query::property_names in python - closes #1762 2013-03-14 15:31:21 -07:00
Dane Springmeyer
06803de192 iwyu 2013-03-14 15:13:02 -07:00
artemp
5e224bd705 + better error reporting 2013-03-14 09:52:23 +00:00
artemp
8d3061076d + make operator=() non-throw
+ use std::swap()
2013-03-14 09:35:41 +00:00
artemp
31bcb8507b + poss args by const ref 2013-03-14 09:35:41 +00:00
artemp
73261346cf + remove unused local vars 2013-03-14 09:35:41 +00:00
artemp
1521817378 + make benchmark tests copyable and avoid sharing state between threads
+ add polygon_clipper test
2013-03-14 09:35:41 +00:00
Dane Springmeyer
50b8386dd8 Merge pull request #1761 from avlee/issue1702
iwyu: mapnik::attribute
2013-03-13 23:10:49 -07:00
XinGang Li
aff3bd2de0 iwyu: mapnik::attribute 2013-03-14 13:32:11 +08:00
Dane Springmeyer
e2c7283522 Added new mapnik-config options: git-describe, defines, includes, dep-includes, and cxxflags - closes #1443 2013-03-13 19:49:59 -07:00
Dane Springmeyer
5e1f81d954 clipping test - we do not expect a close path if using line clipper 2013-03-13 15:26:54 -07:00
Dane Springmeyer
bdc262d711 remove old versioning strings 2013-03-13 13:06:10 -07:00
Dane Springmeyer
0b20c14965 removed unused trunc and cmath headers - closes #1646 2013-03-13 12:47:24 -07:00
Dane Springmeyer
541e1b7ba2 round floating point to int - refs #1672 2013-03-13 12:19:10 -07:00
Dane Springmeyer
9c7b155b1d add the python libpath to ensure proper linking 2013-03-12 18:43:58 -07:00
Dane Springmeyer
b479de9e96 fix compile with python >=3 2013-03-12 18:42:42 -07:00
Dane Springmeyer
27d8cef3c4 remove workspace file from versioning 2013-03-12 18:40:56 -07:00
Dane Springmeyer
12098a32ec Merge pull request #1756 from mapnik/isolate-freetype
Isolate freetype headers
2013-03-12 18:39:30 -07:00
Dane Springmeyer
d70cf153cc fix compile of rasterlite plugin 2013-03-12 18:36:03 -07:00
Dane Springmeyer
6cbceafc45 avoid direct freetype usage in core/public hpp file so that mapnik C++ depedencies do no need to known the freetype include paths 2013-03-12 18:12:54 -07:00
Dane Springmeyer
c7821889c9 refactor svg parsing so that libxml is not needed in the hpp file 2013-03-12 18:09:59 -07:00
Dane Springmeyer
20fcdc8034 iwyu 2013-03-12 16:56:47 -07:00
Dane Springmeyer
71a04cd09d pass optional by const ref 2013-03-12 16:56:31 -07:00
Dane Springmeyer
86ad6c0dab snap to pixels for markers because calculating placement 2013-03-12 12:14:01 -07:00