Commit Graph

53 Commits

Author SHA1 Message Date
a65d65a5ab Update .clang-format to BraceWrapping: BeforeCatch : true
run `pre-commit`
2022-11-10 15:57:38 +00:00
e7c3d04309 format dir include and src
format all files

Revert "format all files"

This reverts commit 95d5812e49e7f916b68e786596f5a8eb5bcac414.

Revert "format some files"

This reverts commit ed3c8762d4d828b2b28e7b18809fc33f4f8ccaf5.

format all files

fix formatting in dir include

fix formatting of debug macro
2022-01-27 00:12:08 +01:00
bd961c4da2 update copyright year [skip ci] 2021-01-05 14:39:07 +00:00
64054fade4 compiler independent warning ignore
Signed-off-by: Mathis Logemann <mathisloge@gmail.com>
2020-11-19 17:25:10 +01:00
333ef9fde1 update copyright year 2017-05-05 13:02:01 +02:00
5745bedbd9 update copyright year to 2016 2016-12-20 17:57:22 +01:00
8ce7a1c43d refactor souce code files with the following rule: the physical filesytem path matches namespace structure
e.g `mapnik::geometry::centroid()` -> `$(MAPNIK_SOURCE)/include/mapnik/geometry/centroid.hpp`
2016-10-11 18:01:29 +02:00
7608040906 centralize warning suppression 2015-11-07 17:53:09 -08:00
8c6bf0eef6 update copyright notice 2015-06-16 12:49:16 +02:00
2eaa90033a move singleton to util/singleton.hpp
move windows UTF conversion routines to util/utf_conv_win.hpp
2015-06-02 11:10:41 +01:00
87fb41907a Added template to geometries 2015-04-09 15:22:51 -05:00
852776d5e3 geometry is_empty refactoring 2015-03-24 14:16:58 -07:00
4389c80d84 and finaly, rename 'new_geometry' namespace to 'geometry' 2015-03-24 14:21:28 +01:00
ac1ffa2bfb move geometry.hpp into path.hpp and update code base to reflect this change 2015-03-24 12:42:09 +01:00
7fae024e32 update sqlite plugin to new geometry 2015-03-22 14:58:14 -07:00
e19fdad3a6 implement vertex interface in vertex_adapter and make mapnik::geometry_type immutable 2015-02-06 16:45:51 +01:00
33c1d21b7f use four letter abriviations to determine datatypes (https://www.sqlite.org/datatype3.html) 2014-11-25 11:09:42 +01:00
db4b74e8bb Merge pull request #2580 from StevenLooman/master
Tests and fix for SQLite datasource missing column
2014-11-24 12:51:55 +01:00
07a07c6268 Default to string type when column type could not be determined. Refs #2579 2014-11-20 18:48:31 +01:00
333965b588 update copyright year 2014-11-20 15:25:50 +01:00
87192bfcb7 silence more boost warnings 2014-10-21 16:57:44 -07:00
11b0816d2a sqlite plugin: use mapnik::geometry_container alias 2014-07-24 12:08:16 -07:00
7adee4ab36 c++11 : remove boost::make_shared includes 2013-10-17 15:09:56 +01:00
62af2e6765 + replace <boost/shared_ptr.hpp> with <memory> 2013-09-20 14:13:23 +01:00
b315eb2167 + use std::shared_ptr and std::make_shared 2013-09-20 14:01:27 +01:00
3792c1f319 sqlite: add more debug output 2013-07-03 10:54:42 -04:00
0365d3e081 start centralizing filesystem operations in mapnik::util::fs - refs #1177 2013-06-02 19:28:24 -07:00
337410fc98 remove tabs 2013-05-21 12:56:35 -07:00
20076e593f support for handling unicode paths on windows in sqlite, csv, and geojson plugins - refs #1177 2013-05-21 12:51:31 -07:00
26ba946cb0 - avoid using clog/cerr in sqlite plugin (use mapnik::logging facilities instead) 2013-03-27 09:02:40 +01:00
4bd5484cdb fixup includes and value type and params usage across plugins 2013-01-04 09:23:06 -08:00
e682705a86 use the std library tolower over boost::algorithm::to_lower for both better runtime and compile speed - closes #1677 2013-01-03 19:27:53 -08:00
bba0b61dfc + consider metadata first when calculating extent 2013-01-03 15:44:05 +00:00
66a5c26fdc leverage mapnik::value_integer for feature.id() and grid rendering buffer - refs #1662 2012-12-19 19:24:52 -08:00
241bf28da0 'include what you use' in plugins to set up for future forward declarations in mapnik/feature.hpp and mapnik/datasource.hpp 2012-07-24 19:21:55 -07:00
e36081a5c0 change geometry_utils::from_wkb to return a bool that signifies if at least one wkb path was parsed - refs #1333 and #1305 2012-07-20 15:09:01 -07:00
39bae3825e remove plugin usage of lexical cast - refs #1055 2012-06-22 16:49:53 -04:00
77c58e487d whitespace fixes 2012-02-01 17:37:35 -08:00
0bb2cc2d49 add support for 'intersects' token in sqlite plugin - closes #809 2011-12-16 10:05:54 -08:00
c7a6dc597a sqlite: when building rtree sql, only try WHERE substitution if not doing join 2011-12-16 08:14:08 -08:00
95264a2dcb Merge branch 'master' of github.com:mapnik/mapnik 2011-12-16 06:50:32 -08:00
6e18e307ee Add missing break 2011-12-15 17:18:22 -08:00
c0f918114e sqlite: fixup rtree bbox entries to use cumulative extent of multipolygons to avoid contraint errors 2011-12-12 08:30:46 -08:00
7209988fb0 Simplify geometry model to support: Point/LineString/Polygon
Multi geometries are collections of single geometries
Remove multiple_geometries parameter
2011-12-06 12:53:16 +00:00
9cf15bac0f alternate in-memory rtree generation, and remove debug output 2011-11-19 11:36:35 -08:00
62a5e457f1 plugin code formatting based on emacs format in utils/format_source_files 2011-11-13 19:37:50 -08:00
b3b938a804 sqlite: let sqlite automatically rollback if needed to avoid potential rollback against no transaction 2011-11-13 19:19:22 -08:00
73feb36dba sqlite: trim all types of valid quote characters on table names 2011-11-13 16:41:54 -08:00
b1c2d9f680 sqlite: disassociate extent calculation from rtree auto-index creation, and grab immediate lock on rtree table 2011-11-13 16:02:27 -08:00
4e4769745f sqlite: autoquote table names that start with numbers to better support natural earth conversions from shapefiles 2011-11-10 09:42:04 -08:00