artemp
42d8dfa322
+ add move ctor and 'canonical' assignment operator
2013-05-06 15:54:17 +01:00
artem@windows
b29fe11e35
+ fix font_set::size return type
2013-05-03 16:43:25 -07:00
artemp
6490245218
+ remove more cruft
2013-05-03 14:21:34 +01:00
artemp
1847ce581d
box2d
...
+ re-implement from_string avoiding tokenizer (~10x faster)
2013-05-03 11:41:43 +01:00
artem@windows
29f9273d3e
+ msvc : fix warnings (TODO: work-in-progress)
2013-05-02 14:07:06 -07:00
artem@windows
f611892915
remove redundant header
2013-05-02 12:02:13 -07:00
artemp
43968b6c50
+ c++ style : formatting
2013-04-30 18:47:17 +01:00
artem@windows
9a64415a03
use std::size_t to avoid conversion warnings
2013-04-30 10:06:47 -07:00
artem@windows
16c0b578bc
c++11
...
+ use std::size_t
+ re-implement envelope() method in terms of c++11
2013-04-30 09:51:08 -07:00
artemp
95e3c87f05
+ revert to using boost::math::trunc
...
+ and mapnik::noncopyable
vc++ (*) doesn't support std::trunc and deleting methods in class/struct definition
* - vc++ 2012 November CTP
2013-04-30 09:32:22 +01:00
artem@windows
abd42357d6
+ add <cmath> header to keep cl.exe happy
2013-04-30 08:55:51 +01:00
artemp
58927b404c
c++11
...
+ replace BOOST_FOREACH with for( : )
+ remove boost/foreach.hpp
+ fix benchmarks (17,18)
2013-04-24 16:40:35 +01:00
artemp
49fe99ac4f
+ make rule_cache movable
...
+ use rule_cache move semantics in feature processor
2013-04-24 10:08:10 +01:00
artemp
80c5452130
+ fix phoenix functions to compile on ubuntu 12.04/c++11
...
+ cleanups
2013-04-23 14:00:08 +01:00
artemp
e38ce37ed3
* use move semantics
...
* use light weight wkb_stream wrapper to avoid locale/formatting locking
2013-04-22 15:24:47 +01:00
artemp
800ee1f0dd
+ c++ style
2013-04-22 09:56:48 +01:00
artemp
d215c09762
+ json-generator : don't output coordinates from SEG_CLOSE command
2013-04-19 14:21:12 +01:00
artemp
ae9b518618
+ fix coords precision
2013-04-19 14:13:18 +01:00
artemp
b1ea547fa9
+ fix grammar to work with phoenix v3 and c++11
2013-04-19 12:10:34 +01:00
artemp
3a2b1dc027
+ move preprocessor directive to the top
2013-04-19 12:00:25 +01:00
artemp
8bb6bb1d68
+ fix grammar to work with phoenix v3/c++11
2013-04-19 11:59:16 +01:00
artemp
c73e48fa58
+ use std::unique_ptr instead of std::auto_ptr (deprecated!)
2013-04-19 09:50:50 +01:00
artemp
a41c83fbce
+ png_io: disble miniz for now
2013-04-19 09:41:42 +01:00
artemp
da6c630db9
+ add webp writing support
2013-04-17 14:50:35 +01:00
artemp
868d60d765
+ add getBytes() method ( needed by webp i/o)
2013-04-17 14:46:11 +01:00
artemp
cc5788e9c4
Merge branch 'master' into image-readers-c++11
2013-04-17 10:17:03 +01:00
Dane Springmeyer
294b10229e
disable the hsla image-filter - not yet ready for primetime
2013-04-16 19:09:40 -07:00
artemp
9020e6f439
type_from_filename : add webp support
2013-04-16 10:56:10 +01:00
artemp
28ea89fe1c
+ remove const& qualifier
2013-04-12 16:03:08 +01:00
artemp
438bfad732
+ factory : variadic templates based implementation ( requires c++11)
...
+ image_reader : stream based reading interface (boost::iostreams)
+ register additional png and jpeg readers with following sigs :
```
std::auto_ptr<mapnik::image_reader> reader(mapnik::get_image_reader(buffer,size));
// buffer - char const*
// size - size_t
```
+ initial type_from_bytes implementation (TODO: add more types)
+ python : mapnik.Image.fromstring(str) mapnik.Image.frombuffer(buf)
2013-04-12 12:46:40 +01:00
Dane Springmeyer
5de4636be8
use mapnik::noncopyable
2013-04-10 18:15:09 -07:00
Dane Springmeyer
79a216f349
remove ltdl to reduce dependencies and because calling dlopen/LoadLibrary is easy
2013-04-09 19:37:02 -07:00
artemp
a25f1ccb56
+ make image_reader non-copyable
2013-04-09 11:38:50 +01:00
artemp
a4770ac10b
+ cache fonts in memory
2013-04-02 13:27:05 +01:00
Daniel C. Casimiro
2080d0a986
Add a fix for compiling mapnik against boost 1.53.0.
...
Qualify the call to phoenix::construct so that the compiler on RHEL6
(gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)) doesn't complain. The
compiler complains that "boost::phoenix::tag::construct" is not a function.
2013-04-01 06:08:53 -04:00
Hermann Kraus
5f137bcc28
Handle large errors in marker placement.
...
Closes #1485 .
2013-04-01 05:27:13 +02:00
artemp
682635e975
+ mapnik::projection add operator<<
2013-03-27 10:38:20 +00:00
Hermann Kraus
b1bc5a51b3
Apply scale factor to offsets.
2013-03-24 15:21:59 +01:00
Dane Springmeyer
f6870a6b70
correct the ltdl forward declare type
2013-03-22 19:47:57 -07:00
Dane Springmeyer
aaecd92fb6
Merge branch 'master' of github.com:mapnik/mapnik
2013-03-22 17:58:49 -07:00
Dane Springmeyer
55ec6a7942
cleanups around exception handling
2013-03-22 17:58:33 -07:00
Dane Springmeyer
f9514e5d2c
formatting
2013-03-22 17:44:27 -07:00
Dane Springmeyer
3256037eb6
forward declare the lt_dlhandle type to avoid needing header in datasource_cache.hpp
2013-03-22 17:37:56 -07:00
artemp
fe092ac7a2
+ implement offset
...
```
offset = "<number> | <percentage>"
```
2013-03-21 12:10:08 +00:00
artemp
542805e4d6
+ support multiple color stops in colorize-alpha
...
( TODO: add support for: <color-stop> = <color> [ <percentage> | <length> ]? )
2013-03-20 17:21:09 +00:00
artemp
4b713f6ed0
+ impl colorize-alpha image filter
...
NOTE:currently linear interpolation between two colours only
TODO:support multiple colour stops : https://developer.mozilla.org/en-US/docs/CSS/linear-gradient
2013-03-20 15:17:41 +00:00
Dane Springmeyer
e47f3e635c
remove explicit keyword on boolean to make llvm-gcc happy on os x
2013-03-19 14:10:01 -07:00
Dane Springmeyer
3b807db7e1
avoid gcc unsigned/signed comparison warning
2013-03-18 16:54:26 -07:00
Dane Springmeyer
f759964dbf
c++ style
2013-03-15 16:52:02 -07:00
Dane Springmeyer
7d868558d7
fix a variety of msvc compiler warnings about signed/unsigned implicit conversion
2013-03-15 13:37:48 -07:00