Artem Pavlenko
a20cf31c01
Merge pull request #1764 from strk/master_connection_leaks
...
Fix postgresql connection leaks
2013-03-28 05:49:24 -07:00
kunitoki
26ba946cb0
- avoid using clog/cerr in sqlite plugin (use mapnik::logging facilities instead)
2013-03-27 09:02:40 +01:00
Dane Springmeyer
f2ee8cae16
avoid signed/unsigned warning with llvm-g++
2013-03-19 14:01:48 -07: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
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
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
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
d70cf153cc
fix compile of rasterlite plugin
2013-03-12 18:36:03 -07:00
Dane Springmeyer
5b3cca9d44
remove used variables
2013-03-11 12:59:11 -07:00
Dane Springmeyer
84706d22a5
fix linking of python.input to python lib on linux
2013-03-06 14:02:38 -08:00
kunitoki
c7139a55a7
- actually we don't want a shared_ptr as the resultset could be handled in a pool
2013-03-06 13:27:00 +01:00
kunitoki
ad6fe5ae55
- avoid a segmentation fault when an error occurred in oracle sql query
2013-03-06 12:48:34 +01:00
artemp
e9f03a565f
+ explicit polygon path closing
2013-03-01 11:08:58 -05:00
Dane Springmeyer
054cb13231
Merge branch 'master' of github.com:mapnik/mapnik
2013-02-26 12:07:53 -05:00
Dane Springmeyer
d861636fbc
move const char string2value interface to use iterators
2013-02-26 12:07:36 -05:00
kunitoki
5abd52b25f
- partially reverted occi changes: oracle Number datatype should really be interpreted as double (not integer or string)
2013-02-26 17:41:14 +01:00
Dane Springmeyer
712ff50abe
make a few utility functions inline and static
2013-02-26 10:52:41 -05:00
kunitoki
5d8b9ba4fc
- improved oracle sub-select handling
...
- fixed a logic problem of the rowlimit clause (when using seb-selects)
- applied tokens to the query (much like the postgis datasource)
- leave oracle to convert most datatypes (should fix occi part of ref #1672 )
2013-02-25 11:31:18 +01:00
kunitoki
8b61efa333
- improved type conversions in oracle plugin (especially date/time columns now can be filtered in styles)
2013-02-19 11:54:15 +01:00
Dane Springmeyer
ae5f4d26d1
tests: make consistent the proj4 string for epsg:4326
2013-01-25 00:49:55 -08:00
Dane Springmeyer
d6587d791d
avoid aign conversion compiler warnings
2013-01-21 14:13:24 -08:00
artemp
1ef9ec2b88
+ use std::deque for caching features.
2013-01-18 12:27:29 +00:00
Dane Springmeyer
e16567fecb
fixup std:: prefixing of cmath functions - closes #1694
2013-01-17 13:53:48 -08:00
Dane Springmeyer
f483e590d8
remove way out of date and unmaintained demo app previously part of osm plugin code
2013-01-17 13:41:02 -08:00
Dane Springmeyer
d718e95ed6
use std::strlen not strlen from c
2013-01-15 13:32:09 -08:00
Dane Springmeyer
ceb8ffcc6f
fixup includes for shape input
2013-01-14 01:49:35 -08:00
Dane Springmeyer
2c28219e4c
add back depedence of hello world plugin on libmapnik accidentally removed in refactoring in 3e67c1d694
2013-01-13 22:16:43 -08:00
Dane Springmeyer
071c67d438
iwyu
2013-01-13 22:01:13 -08:00
Dane Springmeyer
0e8d224ecb
remove uneeded usage of boost::lexical_cast - refs #1687
2013-01-11 11:11:20 -08:00
Dane Springmeyer
b5c06965ac
refactor expression and value type usage to speed up compile time
2013-01-08 14:17:31 -08:00
Dane Springmeyer
4bd5484cdb
fixup includes and value type and params usage across plugins
2013-01-04 09:23:06 -08:00
Dane Springmeyer
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
Dane Springmeyer
e7f608c2fa
fix -Wshadow warning in geojson plugin
2013-01-03 18:53:22 -08:00
Dane Springmeyer
4471c0f6f4
fixup includes
2013-01-03 18:53:00 -08:00
Dane Springmeyer
626e0056fd
replace boost::trim with faster internal trim - refs #1633
2013-01-03 18:02:21 -08:00
Dane Springmeyer
58d53dbe2f
avoid -Wshadow warning
2013-01-03 18:01:36 -08:00
Dane Springmeyer
9183ca3d61
remove uneeded semicolon
2013-01-03 18:00:49 -08:00
Dane Springmeyer
771e2f3d8e
fix -Wshadow warning
2013-01-03 18:00:28 -08:00
Dane Springmeyer
ebfc3161c1
avoid direct usage of spirit in csv plugin
2013-01-03 16:26:09 -08:00
Dane Springmeyer
a5fdcea9db
remove unused and obsolete 'quiet' option from csv datasource
2013-01-03 14:49:22 -08:00
Dane Springmeyer
000b714eae
fix more clang++ -Wshadow warnings
2013-01-03 12:37:45 -08:00
artemp
bba0b61dfc
+ consider metadata first when calculating extent
2013-01-03 15:44:05 +00:00
artemp
9ad4f91780
+ should work correctly now (mapnik::value_null)
2013-01-03 15:08:11 +00:00
artemp
b7f463514d
+ don't add dummy attributes
2013-01-03 15:07:41 +00:00
Dane Springmeyer
e52879d623
ensure plugin is only built after libmapnik
2012-12-26 16:52:24 -08:00
Dane Springmeyer
a4b07553ae
store copy of bbox on featureset to avoid the same potential bug as #1667 ( 9b3d2b7
)
2012-12-21 20:02:03 -08:00
Dane Springmeyer
aee275a08c
fix number handling in csv plugin and add tests for 64bit integer support in sqlite and postgis datasources - refs #1669
2012-12-21 19:53:33 -08:00
Dane Springmeyer
9b3d2b7d8e
fix sqlite featureset results when non using an rtree index - closes #1667
2012-12-20 22:40:39 -08:00