Commit graph

6410 commits

Author SHA1 Message Date
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
Dane Springmeyer
1bf3e89de0 tests: if palette comparison fails print file names 2013-03-11 15:58:19 -07:00
Dane Springmeyer
3bc45ca7ce code cleanup 2013-03-11 15:25:46 -07:00
Dane Springmeyer
db437be302 remove unneeded FT_Glyph_Copy for grid_renderer halo rendering - refs #1751 2013-03-11 15:24:49 -07:00
Dane Springmeyer
f905632b92 visual testcase for #1744 2013-03-11 15:09:04 -07:00
Dane Springmeyer
29ce3b1c75 fix handling of svg opacity, which should be applied to fill/stroke opacity at render time - closes #1744 2013-03-11 14:56:00 -07:00
Dane Springmeyer
3b834b4e6f formatting 2013-03-11 13:46:32 -07:00
Dane Springmeyer
1ed656831d start testing scale_factor - overwrite all expected results 2013-03-11 13:36:31 -07:00
Dane Springmeyer
5b3cca9d44 remove used variables 2013-03-11 12:59:11 -07:00
Dane Springmeyer
6ce9040915 limit to 2 concurrent jobs on travis 2013-03-11 11:53:56 -07:00
Dane Springmeyer
3dce57cf68 Merge branch 'master' of github.com:mapnik/mapnik 2013-03-11 11:44:31 -07:00
Dane Springmeyer
631923e675 fix handling of alpha in fast halo renderer - refs #1298, amends e66d007627 2013-03-11 11:43:35 -07:00
Dane Springmeyer
464a1f176b Merge branch 'master' of https://github.com/mapnik/mapnik 2013-03-11 08:12:40 -07:00
artemp
4bdc5cdc10 + boost.geometry based polygon clipper
(NOTE: subject polygons must be 'valid' as in OGC world)
2013-03-11 09:44:20 +00:00
Dane Springmeyer
a7af47b730 enable snprintf for windows 2013-03-10 12:56:31 -07:00
Dane Springmeyer
210840721f set dimensions of svg 2013-03-08 21:03:41 -08:00
Dane Springmeyer
b8de6e6f34 no need for an intermediate bbox for rasters 2013-03-08 20:55:45 -08:00
Dane Springmeyer
e66d007627 add halo-rasterizer option for text symbolizer
- closes #1298
  - allows for much faster halo drawing and simliar quality for
    radius values in the 1-2 px range
  - also moves grid_renderer away from using freetype stroker completely
    since halo quality is not critical for this renderer
2013-03-08 20:32:39 -08:00
Dane Springmeyer
e5fd3675fa return 9999 for diff of failed grid comparison 2013-03-08 20:28:32 -08:00