Commit graph

1394 commits

Author SHA1 Message Date
Artem Pavlenko
3d12c63740 + use scale_factor fix 2012-05-03 12:18:54 +01:00
Artem Pavlenko
e23fdb276f + pass scale_factor to vertex_converter 2012-05-02 17:22:54 +01:00
Artem Pavlenko
44c5efbf75 + add miterlimit parameter 2012-05-02 17:04:24 +01:00
Artem Pavlenko
2f0fa10db5 cleanup 2012-05-02 16:32:09 +01:00
Artem Pavlenko
a475b6e0bc + add offset_converter 2012-05-02 15:13:46 +01:00
Artem Pavlenko
77dfac5622 + re-introduce transform on symbolizer_with_image 2012-05-01 16:47:33 +01:00
Artem Pavlenko
2e9a7d9cc8 + explicit keyword only makes sense for 1 arg ctor's 2012-05-01 14:24:53 +01:00
Artem Pavlenko
a72ee4ba66 Merge branch 'master' into compositing
Conflicts:
	include/mapnik/image_compositing.hpp
	include/mapnik/util/conversions.hpp
	include/mapnik/value.hpp
	src/agg/agg_renderer.cpp
	src/agg/process_line_symbolizer.cpp
	src/agg/process_polygon_symbolizer.cpp
	src/png_reader.cpp
	src/svg_parser.cpp
	utils/svg2png/svg2png.cpp
2012-05-01 12:35:49 +01:00
Artem Pavlenko
f57d2c28f0 + 'direct' image filter support: apply filter on main rendering buffer
(TODO: better user-friendly names)
+ allow empty string e.g image-filters="" (why not?)
2012-04-25 10:54:54 +01:00
Artem Pavlenko
c26ad5706e + move 'clip' property to symbolizer_base
+ support 'clip' accross relevant symbolizer (agg)
2012-04-24 11:10:54 +01:00
Artem Pavlenko
a4cdc7a1c0 + make comp_op boost::optional<>
+ use plain pixf when style_level_compositing=true
2012-04-23 15:41:18 +01:00
Artem Pavlenko
03d42e59a5 + allow specifying premultiply flag for src and dst images
+ fix logic in agg_renderer (TODO)
2012-04-20 14:53:11 +01:00
Dane Springmeyer
16a16b1818 only print failed face_set_ptr loading for fontsets if MAPNIK_LOG is defined - refs #1175 2012-04-19 11:27:04 -07:00
Dane Springmeyer
703d4ab7f2 for >= boost 1.45 (compile does not work with 1.42) move to karma for to_string conversions to avoid lexical cast - refs #1055 2012-04-19 10:29:37 -07:00
Artem Pavlenko
720035102b remove lexical_cast usage 2012-04-19 13:36:21 +01:00
Artem Pavlenko
145f83b806 boost::spirit::karma based to_string impl 2012-04-19 13:35:41 +01:00
Artem Pavlenko
7ae0383a4b disable unused vars warnings
cleanup
2012-04-18 17:00:49 +01:00
Artem Pavlenko
d0f0d0b35d Merge branch 'compositing' of github.com:mapnik/mapnik into compositing 2012-04-18 16:48:25 +01:00
Artem Pavlenko
bb86fd285e consistent naming
unsigned int parser with max 3 digits
2012-04-18 16:46:38 +01:00
Dane Springmeyer
dab6936f05 embose -> emboss 2012-04-18 07:37:46 -07:00
Dane Springmeyer
2f65a7612d allow cairo compile 2012-04-18 07:09:12 -07:00
Artem Pavlenko
668d6f2325 image-filters: initial implementation 2012-04-18 12:14:23 +01:00
Artem Pavlenko
e54aaba09b impl affine tranform converter 2012-04-18 09:44:26 +01:00
Artem Pavlenko
831538b522 move svg transform to symbolizer_base 2012-04-18 09:42:19 +01:00
Artem Pavlenko
9af11c5ef2 only allocate internal buffer if required 2012-04-18 09:37:02 +01:00
Dane Springmeyer
f3bc7f011f fix linking errors experienced by node-mapnik on windows 2012-04-17 18:58:24 -07:00
Dane Springmeyer
b0d857a66a do not list mapping in feature init list - creates -Worder warning 2012-04-16 22:33:16 -07:00
Dane Springmeyer
f77d9b6df1 formatting 2012-04-16 22:24:34 -07:00
Dane Springmeyer
8fd0a40749 finish work on populating initialization lists - closes #1114 2012-04-16 21:57:24 -07:00
Dane Springmeyer
77ac2992ab remove uneeded semicolon 2012-04-16 21:19:58 -07:00
Dane Springmeyer
a4b3daf181 close #1176 again 2012-04-12 17:25:57 -07:00
Dane Springmeyer
422fe6e6be fix compile with boost 1.44 or 1.45 - closes #1176 2012-04-12 16:18:33 -07:00
kunitoki
d717c715fc - always log errors and fatals, regardless of MAPNIK_LOG definition 2012-04-12 23:45:03 +02:00
Dane Springmeyer
00ab1b672d svg icon rendering: fix for thin lines displaying slightly too thick compared to other renderers (safari/chrome) - closes #1129 - refs #975 2012-04-11 10:27:37 -07:00
Artem Pavlenko
57d6d62440 + support 'display' property, if set to 'none' don't parse children #1137
+ fix memory leak : xmlTextReaderGetAttribute -> string must be deallocated by the caller
+ call xmlTextReaderMoveToElement after xmlTextReaderMoveToFirstAttribute loop to restore
  reader position.

Conflicts:

	src/svg_parser.cpp
2012-04-11 14:36:39 +01:00
Artem Pavlenko
bba21e3d9c + support 'display' property, if set to 'none' don't parse children #1137
+ fix memory leak : xmlTextReaderGetAttribute -> string must be deallocated by the caller
+ call xmlTextReaderMoveToElement after xmlTextReaderMoveToFirstAttribute loop to restore
  reader position.
2012-04-11 14:00:34 +01:00
Artem Pavlenko
45b0dd6482 + support smooth conv in polygon_pattern_symbolizer 2012-04-10 15:46:38 +01:00
kunitoki
81c9dd7b6b - added the ability to set the default global severity from scons configure
- initial check in of setting global severity from getenv (todo)
2012-04-10 16:19:51 +02:00
kunitoki
1a203d3f85 - cleaned up logger interface to better integrate with python bindings
- polished and finished python bindings for logger interaction
2012-04-10 10:14:28 +02:00
kunitoki
67ba40080c - fixing remaining cerr traces 2012-04-10 00:58:18 +02:00
kunitoki
fb94e4a2ec - replace all instances of std::cerr with MAPNIK_LOG_* 2012-04-10 00:51:04 +02:00
kunitoki
a902a08aab - added logging to file
- started working on the logger bindings
- cleanups some error reporting with cerr/clog in the library
2012-04-10 00:25:31 +02:00
kunitoki
b60c508c1c - finish thrashing all the useless ifdef MAPNIK_LOG 2012-04-09 21:41:56 +02:00
Artem Pavlenko
f727cb81b8 + format 2012-04-09 12:24:52 +01:00
Artem Pavlenko
f7c406bf80 remove empty lines 2012-04-09 12:24:04 +01:00
kunitoki
74342e3083 - no need to #ifdef all the time: the compiler should optimize out the log calls when no MAPNIK_LOG is defined
- initially got rid of those ifdefs in plugins only
2012-04-09 12:05:49 +02:00
kunitoki
2df8e99af2 Merge branch 'master' of github.com:mapnik/mapnik 2012-04-09 03:03:31 +02:00
kunitoki
8c58a9aa73 - improved again the logging facilities
- aligned the plugins to using the new methods with severity
- implemented per object severity, with fallback to global (with global functions to set them programmatically)
- initial check in of logger python bindings (todo)
2012-04-09 03:00:51 +02:00
Dane Springmeyer
55ea1e4621 get stats output working on windows 2012-04-08 10:52:48 -07:00
kunitoki
50de846082 - fixed a compilation error when no logging is defined 2012-04-08 04:09:48 +02:00