/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2434 by jan, Tue Dec 7 14:05:35 2004 UTC revision 2454 by bh, Mon Dec 13 18:26:11 2004 UTC
# Line 1  Line 1 
1    2004-12-13  Bernhard Herzog  <[email protected]>
2    
3            Make sure the region used to determine which shapes are visible
4            actually matches the region on the printed page.  If this isn't
5            done properly some shapes might not be printed.  
6            Fixes RT #2692
7    
8            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
9            renderer has to be at the same position as the mapregion
10    
11            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
12            has to be moved by (self.shiftx, self.shifty) too.
13    
14    2004-12-13  Bernhard Herzog  <[email protected]>
15    
16            * libraries/pyprojection/Projection.i: Work around a bug in the
17            generated python code which leads to exception in the __del__
18            method when the constructor fails.  See the comments in the code
19            for more details.
20    
21            * libraries/pyprojection/Projection.py: Updated from Projection.i
22            with SWIG.
23    
24    2004-12-13  Bernhard Herzog  <[email protected]>
25    
26            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
27            (TestAltPath.test_02_path_error_fix_from_list)
28            (TestAltPath.test_05_path_error_fix_from_list_changed)
29            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
30            is destroyed in tearDown, so there's no need to do it in a test
31            case.
32    
33            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
34            debug print
35    
36    2004-12-13  Bernhard Herzog  <[email protected]>
37    
38            * Extensions/svgexport/test/test_svgmapwriter.py
39            (TestDrawSplines.setUp): Do not use super with the unittest
40            classes because in Python 2.2 they're still old-style classes.
41    
42    2004-12-13  Frank Koormann <[email protected]>
43    
44        Alternative Path feature: When loading a (moved) session where
45            shapefiles cannot be found, ask the user. Use the specified path
46            if further shapefiles are missing. However, ask the usr for confirmation
47            in such cases.
48    
49            * test/test_load.py (TestAltPath): New, tests for alternative path feature
50            in load_session()
51            (Shapefile_CallBack): Helper, implements controllable callback.
52    
53            * Thuban/UI/application.py (ThubanApplication.OnInit):
54            Added "alt_path" to self.path
55            (ThubanApplication.OpenSession): Added shapefile_callback as second
56            callback similar to db_connection_callback.
57            (ThubanApplication.run_alt_path_dialog): New, implementaion of
58            shapefile_callback. In addition to raising the dialog the control of
59            self.path('alt_path') is implemented here.
60    
61            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
62            (SessionLoader.open_shapefile): Open shapefile, eventually with
63            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
64            formerly used in start_fileshapesource()/start_layer().
65            (SessionLoader.start_fileshapesource): Call open_shapefile().
66            (SessionLoader.start_layer): Call open_shapefile().
67            (load_session): Added shapefile_callback.
68    
69            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
70            feature (search / check).
71            
72            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
73    
74    2004-12-11  Bernhard Reiter <[email protected]>
75    
76             svgexport 0.9.2: Point size supports for maps.
77    
78            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
79            (def draw_point_shape): new parameter size defaults to 2 as before.
80            (draw_shape_layer_incrementally): Moved draw_func log line higher.
81            Added draw_func call with size when dealing with a point layer.
82    
83            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
84            
85    2004-12-11  Bernhard Reiter <[email protected]>
86    
87            Made sure that newlines are inserted in the svg path d attributes
88            to raise the chance that the line length will be below 255 characters,
89            as recommended by REC SVG 1.1 in section 8.3.1.
90    
91            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
92            Adding \n before L's and changed whitespace handling.
93    
94            * Extensions/svgexport/test/test_svgmapwriter.py:
95            Adapted tests to new whitespace handling of DrawPolygon.
96    
97    2004-12-11  Bernhard Reiter <[email protected]>
98    
99            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
100    
101            * Extensions/svgexport/test/test_svgmapwriter.py:
102            Removed test_drawbezier in favour of new test_drawspline3 and
103            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
104            All only to test DrawSpline.
105    
106            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
107            New implementation now really using the strange algorithm of
108            xfig 3.1's approximated splines and its conversion to postscript
109            with one twist: SVG can do quadratic beziers, so skipped translation
110            to cubic beziers.
111            (TestWithDC): Typo in comment fixed.
112    
113    2004-12-09  Martin Schulze  <[email protected]>
114    
115            * Thuban/Model/classgen.py: Added missing character encoding
116    
117            * Extensions/wms/properties.py (OpenWMSProperties): removed
118    
119            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
120            support for get_srs_discrepancies() since there are no
121            discrepancies anymore (was a thinko)
122    
123            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
124            format priority now that more formats are supported globally by
125            the render engine.
126    
127    2004-12-08  Silke Reimer <[email protected]>
128            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
129            because it is not available in all versions of ogr
130    
131    2004-12-08  Bernhard Reiter <[email protected]>
132            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
133            global tests until a real one is commited.
134    
135    2004-12-07 Nina H�ffmeyer <[email protected]>
136    
137            * /Extensions/ogr/: Adding a new extension to read shapefiles with
138            ogr. It is planned to add other vector formats.
139    
140            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
141    
142  2004-12-07  Jan-Oliver Wagner <[email protected]>  2004-12-07  Jan-Oliver Wagner <[email protected]>
143    
144          * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting          * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting

Legend:
Removed from v.2434  
changed lines
  Added in v.2454

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26