Commit graph

53 commits

Author SHA1 Message Date
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
Robert Coup
8e8f43e50f Fix incorrect blending of rasters with alpha channel. Use pixfmt_rgba32_plain rather than pixfmt_rgba32, and undo old changes to blender_rgba<>::blender_pix which aren't needed anymore. Thanks @rfw, @cdestigter, @albertov [fixes #759] 2011-07-15 03:59:44 +00:00
Dane Springmeyer
56c4f5fd04 fix compiler warning about member intialization order 2011-07-08 17:38:42 +00:00
Dane Springmeyer
9a27a68f4a avoid unused parameter compiler warnings 2011-04-03 04:28:44 +00:00
Dane Springmeyer
d0e98eb3f1 handle return of fread 2011-04-01 23:54:58 +00:00
Dane Springmeyer
0a720f056a agg: remove tabs, avoid compiler warnings 2011-04-01 23:32:31 +00:00
Dane Springmeyer
12c005b57e avoid compiler warning about comparison between signed and unsigned integer expressions 2011-04-01 06:44:27 +00:00
Dane Springmeyer
d148be9fa2 avoid clang++ -pedanic compiler warning 2011-04-01 06:20:07 +00:00
Dane Springmeyer
157563ab4e avoid compiler warnings with g++ 2011-03-17 23:49:06 +00:00
Robert Coup
1830d59f00 When using nearest neighbour scaling with a RasterSymbolizer and images with <255 alpha, don't overflow channels. Thanks @craigds. fixes #731 2011-03-14 22:53:04 +00:00
Dane Springmeyer
c5833a6db8 remove unmaintained autotools scripts 2011-02-04 22:22:16 +00:00
Dane Springmeyer
5b1b07b60a avoid unintialized value compiler warning 2011-01-31 18:28:14 +00:00
Dane Springmeyer
5bf6efafb0 apply patch from Craig de Stigter for better scaling methods using agg image filters - closes #656 2011-01-27 03:47:54 +00:00
Dane Springmeyer
367f2b3089 revert r2497 2011-01-05 18:13:33 +00:00
Dane Springmeyer
e98161edf1 cast away const to allow clang compile 2011-01-05 02:03:43 +00:00
Artem Pavlenko
71356d8d35 + remove non-const accessor 2011-01-04 15:22:41 +00:00
Dane Springmeyer
6dd98b58a0 fix tabs --> spaces 2010-09-20 14:12:11 +00:00
Dane Springmeyer
2f32f991ed missed change that should have been added with r2207 2010-09-18 18:09:34 +00:00
Dane Springmeyer
1086cf6273 scons: fix for solaris when compiling with gcc 2010-08-26 01:39:10 +00:00
Dane Springmeyer
08e96be4a1 scons: better handling of PYTHON_INCLUDES and HAVE_LIBXML2 2010-07-15 00:20:50 +00:00
Dane Springmeyer
3e34359aad restore path_storage typedef - reverting r1861 as r1866 switched away from different usage 2010-06-19 05:31:03 +00:00
Dane Springmeyer
5296e302f6 fix for clang++ compile 2010-06-18 20:59:16 +00:00
Artem Pavlenko
42c5871537 + clang++ borks on this one, not sure why (TODO) 2010-06-18 15:39:48 +00:00
Artem Pavlenko
f43c36daad + separate state mutating svg ops from underlying data
to allow multi-threded access to svg symbols (SVG commands
  are stored in std::vector<vertex_type> )
2010-06-14 16:38:02 +00:00
Artem Pavlenko
03092107b6 + refactor path grammar to match svg spec close
+ ensure first 'moveto' command is always in
  absolute coordinates
  FIXME:probably better to modify path grammar
        to handle this.
+ vertex_stl_storage
2010-06-13 20:24:46 +00:00
Artem Pavlenko
8cd052a215 + fix logic in rel_to_abs:
if last command is 'z' use previous vertex
  (if exists) to obtain abs coordinates
2010-06-10 14:11:33 +00:00
Dane Springmeyer
74599581ec apply patch from Herm for fixing compilation on linux - closes #557 2010-05-30 02:16:49 +00:00
Dane Springmeyer
e7dd9094a5 revert unintended file changes from r1275 2009-07-26 01:15:44 +00:00
Dane Springmeyer
45266074c8 scons: fix typo, and ensure all temp output is writeable 2009-07-26 01:08:51 +00:00
Artem Pavlenko
610537b614 + inherit optimizations flags set in SConstruct 2009-06-30 16:22:29 +00:00
Artem Pavlenko
946fa51f4f Patch to cure recursion by aborting if the co-ordinates are to big to handle (jburgess) 2009-03-31 19:50:55 +00:00
Andreas Volz
887518fc57 - install plugins in lib/mapnik/input
- Fix: no sqlite3 for kismet
- python files compile and install
2009-03-25 23:11:49 +00:00
Artem Pavlenko
3f9127b5d0 reverting back to 700 2008-06-29 10:58:29 +00:00
Artem Pavlenko
3275cf9ce6 applied font fallbacj patch from Beau Gunderson 2008-06-29 10:40:08 +00:00
Artem Pavlenko
2b60d6d425 applied patch to build on OSX Leopard and Sun's C++ compiler on Solaris from Justin Bronn 2008-01-21 20:15:07 +00:00
Andreas Volz
49e6d1d7bf - added option to build included libagg as static library 2007-09-23 22:20:21 +00:00
Artem Pavlenko
8e071f84c7 1. Changed internal geometry representation (explicit support for multi geometries)
(FIXME : label_spacing is still, too slow!!) 
2. Re-use some agg objects.
3. placement_finder cleanups! 
4. Added support for 'building_symbolizer' - extruded polygons
2007-09-16 11:23:51 +00:00
Artem Pavlenko
623a750ba4 fixed indefinite loop conditions when len=1
-   while(abs(sx - lp.x1) + abs(sy - lp.y1) > lp2.len)
+   while(abs(sx - lp.x1) + abs(sy - lp.y1) > 1 + lp2.len)
    {
        sx = (lp.x1 + sx) >> 1;
        sy = (lp.y1 + sy) >> 1;
    }
2006-12-01 10:00:04 +00:00
Artem Pavlenko
ab7691c1d0 added missing agg headers 2006-11-09 23:48:09 +00:00
Artem Pavlenko
bf297ec3ca 1.upgrade to latest agg2.4
2.added default PointSymbolizer in load_map.cpp
2006-11-09 23:44:34 +00:00
Artem Pavlenko
bb235fa316 1.added projection transformation support based on proj4 (new dependency!!!)
Map and Layer objects both have a new parameter 'srs', initialized to "+proj=latlong +datum=WGS84" by default. 
    
  Basic usage (Python):
    p = Projection("+proj=merc +datum=WGS84")
    point = p.forward(Coord(-2,51))
    ...        
2.reflected arithmetic operators for Envelope/Coord into Python
3.altered return policies for python objects
4.modified build system to require proj4 lib and headers
2006-10-16 13:44:52 +00:00
Artem Pavlenko
1ae34ab1d5 added -fPIC flag to agg to compile on x86_64 2006-03-22 20:20:44 +00:00
Artem Pavlenko
e3c1365043 some line rendering fixes and optimizations 2006-02-11 00:39:50 +00:00
Artem Pavlenko
f4a64526c3 updated agg-2.4 2006-02-10 17:07:15 +00:00
Artem Pavlenko
95d26be572 updated agg-2.4 2006-02-04 21:30:08 +00:00
Artem Pavlenko
6ebc93b7a1 new build system 2006-01-31 23:20:23 +00:00
Artem Pavlenko
96981eb3a9 new build system 2006-01-31 23:12:49 +00:00
Artem Pavlenko
d8dc53bcf4 new build system 2006-01-31 23:09:52 +00:00
Artem Pavlenko
245be985e2 1.symbolizers refactored - split into hpp/cpp
(all AGG is private to libmapnik and not exposed to client code) 
2.removed unused files (more todo)
3.added line pattern symbolizer to python bindings
2006-01-23 13:24:41 +00:00
Artem Pavlenko
955ff4c4f5 1. fixed shape datasource bug - attributes were ignored for point/pointz/pointm types
2. use boost::thread for mutex/lock 
3  use boost::noncopyable
4  build agg as a shared lib for now
5. corrected panning code in map.cpp
6. improved coord_transform
2005-12-23 12:31:54 +00:00