/[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 2382 by joey, Mon Oct 4 17:03:29 2004 UTC revision 2460 by bh, Wed Dec 15 14:01:04 2004 UTC
# Line 1  Line 1 
1    2004-12-15  Bernhard Herzog  <[email protected]>
2    
3            * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to
4            so that it returns a result for select statements.
5            (PostgreSQLServer.server_version): New.  Return the version of the
6            server software.
7            (PostgreSQLServer.require_authentication): The format of
8            pg_hba.conf has changed between PostgrSQL 7.2 and 7.3.  Check the
9            server version and generate the file in the correct format
10    
11    2004-12-15  Bernhard Herzog  <[email protected]>
12    
13            * test/postgissupport.py (PostgreSQLServer.is_running): Fix typo
14            in the doc string and rephrase it a little.
15    
16    2004-12-15  Frank Koormann <[email protected]>
17    
18            * test/test_load.py (TestAltPath.checkSession): New, extended checks if
19            session has been loaded successfully. The check is called by the relevant
20            tests after executing load_session().
21    
22    2004-12-13  Bernhard Herzog  <[email protected]>
23    
24            Make sure the region used to determine which shapes are visible
25            actually matches the region on the printed page.  If this isn't
26            done properly some shapes might not be printed.  
27            Fixes RT #2692
28    
29            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
30            renderer has to be at the same position as the mapregion
31    
32            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
33            has to be moved by (self.shiftx, self.shifty) too.
34    
35    2004-12-13  Bernhard Herzog  <[email protected]>
36    
37            * libraries/pyprojection/Projection.i: Work around a bug in the
38            generated python code which leads to exception in the __del__
39            method when the constructor fails.  See the comments in the code
40            for more details.
41    
42            * libraries/pyprojection/Projection.py: Updated from Projection.i
43            with SWIG.
44    
45    2004-12-13  Bernhard Herzog  <[email protected]>
46    
47            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
48            (TestAltPath.test_02_path_error_fix_from_list)
49            (TestAltPath.test_05_path_error_fix_from_list_changed)
50            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
51            is destroyed in tearDown, so there's no need to do it in a test
52            case.
53    
54            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
55            debug print
56    
57    2004-12-13  Bernhard Herzog  <[email protected]>
58    
59            * Extensions/svgexport/test/test_svgmapwriter.py
60            (TestDrawSplines.setUp): Do not use super with the unittest
61            classes because in Python 2.2 they're still old-style classes.
62    
63    2004-12-13  Frank Koormann <[email protected]>
64    
65        Alternative Path feature: When loading a (moved) session where
66            shapefiles cannot be found, ask the user. Use the specified path
67            if further shapefiles are missing. However, ask the usr for confirmation
68            in such cases.
69    
70            * test/test_load.py (TestAltPath): New, tests for alternative path feature
71            in load_session()
72            (Shapefile_CallBack): Helper, implements controllable callback.
73    
74            * Thuban/UI/application.py (ThubanApplication.OnInit):
75            Added "alt_path" to self.path
76            (ThubanApplication.OpenSession): Added shapefile_callback as second
77            callback similar to db_connection_callback.
78            (ThubanApplication.run_alt_path_dialog): New, implementaion of
79            shapefile_callback. In addition to raising the dialog the control of
80            self.path('alt_path') is implemented here.
81    
82            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
83            (SessionLoader.open_shapefile): Open shapefile, eventually with
84            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
85            formerly used in start_fileshapesource()/start_layer().
86            (SessionLoader.start_fileshapesource): Call open_shapefile().
87            (SessionLoader.start_layer): Call open_shapefile().
88            (load_session): Added shapefile_callback.
89    
90            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
91            feature (search / check).
92            
93            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
94    
95    2004-12-11  Bernhard Reiter <[email protected]>
96    
97             svgexport 0.9.2: Point size supports for maps.
98    
99            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
100            (def draw_point_shape): new parameter size defaults to 2 as before.
101            (draw_shape_layer_incrementally): Moved draw_func log line higher.
102            Added draw_func call with size when dealing with a point layer.
103    
104            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
105            
106    2004-12-11  Bernhard Reiter <[email protected]>
107    
108            Made sure that newlines are inserted in the svg path d attributes
109            to raise the chance that the line length will be below 255 characters,
110            as recommended by REC SVG 1.1 in section 8.3.1.
111    
112            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
113            Adding \n before L's and changed whitespace handling.
114    
115            * Extensions/svgexport/test/test_svgmapwriter.py:
116            Adapted tests to new whitespace handling of DrawPolygon.
117    
118    2004-12-11  Bernhard Reiter <[email protected]>
119    
120            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
121    
122            * Extensions/svgexport/test/test_svgmapwriter.py:
123            Removed test_drawbezier in favour of new test_drawspline3 and
124            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
125            All only to test DrawSpline.
126    
127            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
128            New implementation now really using the strange algorithm of
129            xfig 3.1's approximated splines and its conversion to postscript
130            with one twist: SVG can do quadratic beziers, so skipped translation
131            to cubic beziers.
132            (TestWithDC): Typo in comment fixed.
133    
134    2004-12-09  Martin Schulze  <[email protected]>
135    
136            * Thuban/Model/classgen.py: Added missing character encoding
137    
138            * Extensions/wms/properties.py (OpenWMSProperties): removed
139    
140            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
141            support for get_srs_discrepancies() since there are no
142            discrepancies anymore (was a thinko)
143    
144            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
145            format priority now that more formats are supported globally by
146            the render engine.
147    
148    2004-12-08  Silke Reimer <[email protected]>
149            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
150            because it is not available in all versions of ogr
151    
152    2004-12-08  Bernhard Reiter <[email protected]>
153            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
154            global tests until a real one is commited.
155    
156    2004-12-07 Nina H�ffmeyer <[email protected]>
157    
158            * /Extensions/ogr/: Adding a new extension to read shapefiles with
159            ogr. It is planned to add other vector formats.
160    
161            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
162    
163    2004-12-07  Jan-Oliver Wagner <[email protected]>
164    
165            * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting
166            part of a (non-)fix to renable that the tests are always
167            executed.
168    
169    2004-12-07  Bernhard Reiter <[email protected]>
170    
171            * Extensions/svgexport/test/test_svgmapwriter.py:
172            Added test_drawbezier() to test DrawSpline().
173    
174            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
175            Really implemented bezier drawing.
176    
177            * Extensions/svgexport/__init__.py: Bumped version of svgexport
178            to 0.9.1 because now the legend examples lines styles
179            will be drawing with beziers.
180    
181    2004-12-05  Martin Schulze  <[email protected]>
182    
183            * Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and
184            GIF as supported bitmap image formats (helpful for the WMS extension)
185    
186    2004-11-30  Martin Schulze  <[email protected]>
187    
188            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
189            Improved the test for the internal compare method
190    
191    2004-11-27  Jan-Oliver Wagner <[email protected]>
192    
193            * Thuban/UI/about.py (About.__init__): Added
194            Norbert Solymosi for hungarian translation and Ole Rahn
195            as contrbutor. Moved Bernhard Reiter from Contributor
196            to Developer.
197    
198    2004-11-27  Bernhard Reiter <[email protected]>
199    
200            * Extensions/svgexport/test/test_svgmapwriter.py:
201            Removed Jan from author list as he did not change enough significant
202            lines yet.
203    
204            * Extensions/svgexport/__init__.py: Added Bernhard as author
205            of the Extension.
206    
207    2004-11-27  Jan-Oliver Wagner <[email protected]>
208    
209            * po/hu.po: New. Hungarian translation. Contributed
210            by Norbert Solymosi.
211    
212    2004-11-26  Bernhard Herzog  <[email protected]>
213    
214            * Extensions/svgexport/test/test_svgmapwriter.py
215            (Testobjectexport.test_transparent_polygon): Commented out some
216            debug prints
217    
218    2004-11-24  Jan-Oliver Wagner <[email protected]>
219    
220            Fix broken tests for svg extension and added svg legend
221            to Experimental menu.
222    
223            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
224            the test run correctly even if the extension is a package.
225            Also removed the "import Thuban" which makes no sense.
226    
227            * Extensions/svgexport/__init__.py: Fix to have the extensions'
228            test module also be executed from the global test routine.
229            This is done by looking for the absense of the DISPLAY variable.
230    
231            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
232            to Experimental menu since this module has yet not reached a stable
233            status (ie. 1.0).
234    
235    2004-11-22  Bernhard Reiter <[email protected]>
236    
237            * Extensions/svgexport/svgmapwriter.py:
238            Added verbose variable and some logging depending on it.
239            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
240            because counting i is not necessary.
241            (class Pen, class Brush): Added simple __str__ methods.
242            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
243            not exported to svg file) Note: holes still unhandled.
244    
245            * Extensions/svgexport/test/test_svgmapwriter.py:
246                    Made a baseclass TestWithDC for test needed a DC.
247                    Added tests for bug #2698 (transparent polygons are not
248                    exported to svg file):
249                    Testobjectexport.test_transparent_polygon()
250    
251            * Thuban/Model/base.py (UnsetModified):
252            Fixed some typos in docstring.
253    
254            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
255            Added hints on the used algorithm for handling holes.
256    
257    2004-11-20  Jan-Oliver Wagner <[email protected]>
258    
259            Some face lifting for the examples.
260    
261            * Examples/__init__.py: Make this directory a package.
262    
263            * Examples/simple_extensions/__init__.py: Make this directory a package.
264    
265            * Examples/simple_extensions/hello_world.py: Moved entry from Extensions
266            menu to Examples menu.
267    
268            * Examples/simple_extensions/simple_command.py: Some more comments,
269            minor changes.
270    
271            * Examples/simple_extensions/simple_tool.py: Minor changes.
272    
273    2004-11-20  Jan-Oliver Wagner <[email protected]>
274    
275            Changed way of extension registry for wms and added extension
276            registry for umn_mapserver extension.
277    
278            * Extensions/wms/__init__.py: Added registry entry and the importing
279            of the actual wms module. Included a test for the required PyOGCLib.
280    
281            * Extensions/wms/wms.py: Removed registry entry (moved to __init__.py).
282    
283            * Extensions/umn_mapserver/__init__.py: Added registry entry and the
284            importing of the actual umn mapserver management modules.
285            Included a test for the required Python MapScript.
286    
287    2004-11-20  Jan-Oliver Wagner <[email protected]>
288    
289            Changed way of extension registry for importAPR, bboxdump
290            and added extension registry for svgexport.extension registry for
291            svgexport.
292    
293            * Extensions/importAPR/__init__.py: Added registry entry and the importing
294            of the actual importAPR module.
295    
296            * Extensions/importAPR/importAPR.py: Removed registry entry (moved to
297            __init__.py).
298    
299            * Extensions/bboxdump/__init__.py: Added registry entry and the importing
300            ����of the actual bboxdump module.
301    
302            * Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to
303            ����__init__.py).
304    
305            * Extensions/svgexport/__init__.py: Added registry entry and the importing
306            of the svgsaver module.
307    
308            * Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions
309            to Experimental menu since this module has yet not reached a stable
310            status (ie. 1.0).
311    
312    2004-11-18  Jan-Oliver Wagner <[email protected]>
313    
314            Now the hit test considers the size of point symbols.
315    
316            * Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter
317            'size' defaulting to the previously fixed value 5.
318            Extended doc-string.
319            (Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility
320            for symbols.
321            Now the size of the largest point symbol is determined to find out
322            about whether the point has been hit.
323            This fixes the problem that only clicks inside a fixed distance of
324            5 where found.
325    
326    2004-11-17  Jan-Oliver Wagner <[email protected]>
327    
328            Another open issue fixed regarding sizeable symbols: correct rendering of
329            selected symbols.
330    
331            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
332            Added consideration of the specific size of point symbols.
333            The property for each point symbol is retrieved and the size applied
334            for the rendering method.
335            Added doc-string.
336    
337    2004-11-16  Jan-Oliver Wagner <[email protected]>
338    
339            Changed way of Extension Registry for gns2shp and profiling.
340    
341            * Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to
342            __init__.py).
343    
344            * Extensions/gns2shp/__init__.py: Added registry entry and the importing
345            of the actual gns2shp module.
346    
347            * Extensions/profiling/profiling.py: Removed registry entry (moved to
348            __init__.py).
349    
350            * Extensions/profiling/__init__.py: Added registry entry and the importing
351            of the actual profiling module.
352    
353    2004-10-28  Bernhard Reiter <[email protected]>
354    
355            * Extensions/svgexport/: Minor improvements to doc strings.
356    
357    2004-10-07  Jan-Oliver Wagner <[email protected]>
358    
359            Further elements for sizable point objects now
360            making this feature usable though not yet complete.
361    
362            * Thuban/Model/save.py (SessionSaver.write_classification): Write
363            attribute 'size' for cldata when the shape layer is of point type.
364            This also now make the test_load.py tests happy.
365    
366            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
367            gradient.
368    
369            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
370            ID_SELPROP_SPINCTRL_LINEWIDTH.
371            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
372            (ID_SELPROP_SPINCTRL_SIZE): New Id.
373            (SelectPropertiesDialog.__init__): Added a second spin control
374            for the size in case the corresponding layer is of point type.
375            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
376            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
377            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
378            and refresh preview.
379    
380    
381    
382  2004-10-04  Martin Schulze  <[email protected]>  2004-10-04  Martin Schulze  <[email protected]>
383    
384          * Extensions/wms/test/test_parser.py          * Extensions/wms/test/test_parser.py

Legend:
Removed from v.2382  
changed lines
  Added in v.2460

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26