Dane Springmeyer
24cb20051e
iwyu
2013-01-04 00:06:05 -08:00
Dane Springmeyer
fb5b6e5a7c
fix -Wshadow warning
2013-01-03 18:03:26 -08:00
Dane Springmeyer
ec47745abf
fix failing exceptions test which needed a symbolizer added after #1670 and 0d8f415070
2013-01-03 16:25:14 -08:00
Dane Springmeyer
0aa2c491ed
comment failing to_string precision test - refs #1676
2013-01-02 18:09:15 -08:00
artemp
b75b54a787
+ fix bigint support
...
+ fixup cpp tests
2012-12-18 20:34:27 +00:00
artemp
8f9ebe8452
+ remove LL
2012-12-18 18:05:17 +00:00
artemp
a38b252ccd
Merge branch 'master' into bigint
...
Conflicts:
plugins/input/geojson/geojson_datasource.cpp
plugins/input/postgis/postgis_featureset.cpp
2012-12-18 13:57:39 +00:00
Sandro Santilli
e8b7b82bbb
Implement scientific notation for double-to-string
...
Also fixes tests for 1e5 expecting fixed precision rather than
scientific notation (stringstream gives scientific notation indeed)
The only still failing test now is the one having less than 16
significant digits of precision, due to the boost bug:
https://svn.boost.org/trac/boost/ticket/7785
2012-12-17 19:29:44 +01:00
Dane Springmeyer
4040eebf10
catch c++ abort
2012-12-14 13:52:39 -08:00
artemp
9453d93f15
+ update conversion tests to have 0.0 and negative numbers
2012-12-14 19:22:04 +00:00
artemp
c4bae9d30a
Merge branch 'master' into bigint
...
Conflicts:
bindings/python/mapnik_feature.cpp
plugins/input/shape/dbfile.cpp
2012-12-14 10:01:21 +00:00
Artem Pavlenko
e60a3f7703
Merge pull request #1632 from strk/master-float-labels
...
Fix float data conversion to string
2012-12-12 06:21:17 -08:00
Sandro Santilli
9416a57b85
Add test for backward compatibility of double to string conversion
...
The testcase is ready to host more conversion tests but is currently
really only targetting the double-to-string.
refs #430 , #1632
2012-12-11 10:47:01 +01:00
Dane Springmeyer
348eed125e
try/catch in case font_registration test cannot run
2012-12-06 15:15:21 -08:00
artemp
855aea95e0
+ mapnik::value and mapnik::parameters - initial support for 64-bit integers
2012-12-03 13:12:09 +00:00
Dane Springmeyer
f39c3ad857
add marker-multi-policy parameter to support user-configurable rendering behavior for multi-geometries when using either point or interior placement - closes #1573 , refs #1555
2012-11-20 17:58:39 -08:00
Dane Springmeyer
5ef08b557b
fix namespace usage
2012-10-30 19:21:34 -07:00
Dane Springmeyer
858252323c
only link to agg if needed
2012-10-10 10:23:04 -07:00
Dane Springmeyer
e0bcf44874
Add c++ fontset test
2012-10-04 16:35:46 -07:00
artemp
967d6110bf
+ singleton: return ref from instance() method
2012-09-07 16:23:03 +01:00
Dane Springmeyer
449aff6432
comment failing agg blending tests
2012-09-03 10:52:51 -07:00
Dane Springmeyer
bc3c7b4b40
optimize the agg compositing test build
2012-08-31 18:15:56 -07:00
Dane Springmeyer
5e84ce0dfc
agg compositing: change src_over alpha to avoid pixel artifacts by reordering computations and add basic tests comparing src_over composting to normal agg alpha blending - closes #1452 - refs #1313 , #1454 , #1369
2012-08-31 18:04:08 -07:00
Colin Rundel
dc3763885c
More parser clean up - color parser
...
Dropped color_factory class in favor of single color_parser function. Moved implementation to new color_factory.cpp since it is odd to have two headers (color.hpp, color_factory.hpp) and only one source file.
2012-08-29 16:41:48 -04:00
Dane Springmeyer
5120d0398d
add build file for headers and svg/output code directories to hold the svg_renderer used for output - refs #1438
2012-08-27 17:58:49 -07:00
Dane Springmeyer
f4a74d0dde
add a csv_datasource initialization c++ test
2012-08-23 09:10:03 -07:00
Dane Springmeyer
da1f12613e
start a label algorithm c++ test - refs #1425
2012-08-22 13:33:24 -07:00
Dane Springmeyer
e225eaae4b
add c++ test for exceptions
2012-07-20 18:33:14 -07:00
Dane Springmeyer
028b042185
add support for older boost in the cpp tests
2012-05-18 11:17:54 -07:00
Dane Springmeyer
074c28c4bc
avoid assert in cpp tests in debug mode
2012-05-15 11:45:55 -07:00
Dane Springmeyer
e986bce7f6
format c++ tests
2012-04-16 22:33:37 -07:00
Dane Springmeyer
6de1a84949
renable the intentionally broken font test now that there is no log output
2012-04-12 16:09:00 -07:00
Dane Springmeyer
8220acce82
more params tests
2012-04-06 14:20:04 -07:00
Dane Springmeyer
9c3d3ab285
more concise output from c++ tests
2012-04-05 08:35:28 -07:00
Dane Springmeyer
a50ea0750e
compile c++ tests even if only installing and hook them all up automatically to make test target
2012-04-04 15:19:37 -07:00
Dane Springmeyer
46fdc570c2
cpp tests for mapnik parameters and mapnik:boolean -refs #1141
2012-03-23 20:04:42 -07:00
Dane Springmeyer
3b498efbd9
fixup font registration code ensuring invalid fonts will warn but not throw and register_fonts will only return success if > one font is registered and none have failed
2012-03-23 15:07:28 -07:00
Hermann Kraus
52702d3a20
Rename filter_factory to expression.
2012-02-12 13:06:39 +01:00
Artem Pavlenko
14700dba16
switch back from mapnik2 to mapnik
...
add mapnik2 module which redirects to mapnik and issues DeprecationWarning
2011-11-23 11:33:58 +00:00
Dane Springmeyer
87da27e7ac
csv: test for columns that are numbers stored as strings
2011-11-01 20:39:27 -04:00
Dane Springmeyer
d8f19fab05
always link to boost system - closes #931
2011-10-25 19:29:51 -07:00
Dane Springmeyer
22c39d91ba
scons: rename all SConscript files to more friendly name of 'build' with a python extension for quick syntax detection in editors
2011-08-30 05:32:01 +00:00
Dane Springmeyer
3e67c1d694
scons: centralize install path info
2011-08-12 21:31:28 +00:00
Dane Springmeyer
af62ad9c27
scons: collect and propogate the libs used to link libmapnik
2011-08-11 21:11:11 +00:00
Dane Springmeyer
0d0c3cdb09
scons: avoid duplicate libs and pass CUSTOM_LDFLAGS
2011-05-25 20:26:47 +00:00
Dane Springmeyer
52ac7d8d3a
fix spherical mercator proj4 string in tests to always include +over (to avoid proj4 trying to wrap) and +wktext (to ensure apps like ogr/gdal retain +over during conversion through wkt representation)
2011-05-16 23:55:30 +00:00
Dane Springmeyer
1070b293ad
tabs -> spaces
2011-05-04 15:53:36 +00:00
Artem Pavlenko
e580078d26
+ apply MetaWriter patch from zerebubuth
...
( see #735 for details )
2011-03-16 13:32:04 +00:00
Carlos López
83a7b4710e
Fixed a bug that caused half of the vertexes to disappear from the SVG path.
...
+ mapnik::geometry_iterator was replaced by mapnik::svg::path_iterator
+ svg::path_output_grammar was simplified
+ the container for this grammar is now coord_transform2, instead of geometry
+ added typedef size_type to coord_transform2 and removed it from geometry
2011-02-14 03:40:25 +00:00
Artem Pavlenko
98b7f62155
+ remove template from mapnik::rule
...
+ rename globaly rule_type -> rule
( ticket #552 )
2011-01-13 21:35:01 +00:00
Carlos López
e390715c58
Added support for processing multiple symbolizers to svg renderer.
2010-08-10 08:23:02 +00:00
Carlos López
08eec40986
Added test that produces svg file with output from SVG path grammar.
2010-07-28 06:51:24 +00:00
Carlos López
b5b94a868c
Changed template parameter type from stream to iterator and added a specialization for std::ostream_iterator.
2010-07-22 04:48:11 +00:00
Carlos López
e4bfdfecf5
Added test for testing different of implementations of the generation of the svg root element.
2010-07-21 08:42:53 +00:00
Carlos López
f2a419bda7
Added template specialization svg_renderer<std::ofstream> to output SVG to file. Run tests/cpp_tests/svg_renderer_tests/file_output_test.cpp to generate one.
2010-07-21 07:43:13 +00:00
Carlos López
94e8ee3a9f
Generation of output is now done through a stream iterator instead of the stream directly, which improves performance. Also made more compact generator for xml header, root element and bgcolor.
2010-07-21 03:34:46 +00:00
Carlos López
34d5fcf963
Added a test with different implementations for generating background color in SVG.
2010-07-20 21:18:43 +00:00
Carlos López
07f329a538
Added generation of background color to svg_renderer.
2010-07-20 17:37:42 +00:00
Carlos López
bb44d76ee1
Added generation of SVG root element with width and height attributes. Also added test for testing the output generated by svg_renderer (combined_test.cpp).
2010-07-20 06:41:16 +00:00
Dane Springmeyer
1b535430cb
fixup compile on osx and remove tabs in svg tests
2010-07-20 02:12:43 +00:00
Carlos López
30e85c4d58
Added template parameter and data member to svg_renderer for holding the output stream.
2010-07-20 00:40:37 +00:00
Dane Springmeyer
b0d568dff1
add directory for C++ tests, and first C++ test against the font engine functions
2010-07-15 23:09:33 +00:00