/[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 2342 by jschuengel, Fri Sep 3 17:02:28 2004 UTC revision 2437 by silke, Wed Dec 8 17:37:30 2004 UTC
# Line 1  Line 1 
1    2004-12-08  Silke Reimer <[email protected]>
2            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
3            because it is not available in all versions of ogr
4    
5    2004-12-08  Bernhard Reiter <[email protected]>
6            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
7            global tests until a real one is commited.
8    
9    2004-12-07 Nina H�ffmeyer <[email protected]>
10    
11            * /Extensions/ogr/: Adding a new extension to read shapefiles with
12            ogr. It is planned to add other vector formats.
13    
14            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
15    
16    2004-12-07  Jan-Oliver Wagner <[email protected]>
17    
18            * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting
19            part of a (non-)fix to renable that the tests are always
20            executed.
21    
22    2004-12-07  Bernhard Reiter <[email protected]>
23    
24            * Extensions/svgexport/test/test_svgmapwriter.py:
25            Added test_drawbezier() to test DrawSpline().
26    
27            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
28            Really implemented bezier drawing.
29    
30            * Extensions/svgexport/__init__.py: Bumped version of svgexport
31            to 0.9.1 because now the legend examples lines styles
32            will be drawing with beziers.
33    
34    2004-12-05  Martin Schulze  <[email protected]>
35    
36            * Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and
37            GIF as supported bitmap image formats (helpful for the WMS extension)
38    
39    2004-11-30  Martin Schulze  <[email protected]>
40    
41            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
42            Improved the test for the internal compare method
43    
44    2004-11-27  Jan-Oliver Wagner <[email protected]>
45    
46            * Thuban/UI/about.py (About.__init__): Added
47            Norbert Solymosi for hungarian translation and Ole Rahn
48            as contrbutor. Moved Bernhard Reiter from Contributor
49            to Developer.
50    
51    2004-11-27  Bernhard Reiter <[email protected]>
52    
53            * Extensions/svgexport/test/test_svgmapwriter.py:
54            Removed Jan from author list as he did not change enough significant
55            lines yet.
56    
57            * Extensions/svgexport/__init__.py: Added Bernhard as author
58            of the Extension.
59    
60    2004-11-27  Jan-Oliver Wagner <[email protected]>
61    
62            * po/hu.po: New. Hungarian translation. Contributed
63            by Norbert Solymosi.
64    
65    2004-11-26  Bernhard Herzog  <[email protected]>
66    
67            * Extensions/svgexport/test/test_svgmapwriter.py
68            (Testobjectexport.test_transparent_polygon): Commented out some
69            debug prints
70    
71    2004-11-24  Jan-Oliver Wagner <[email protected]>
72    
73            Fix broken tests for svg extension and added svg legend
74            to Experimental menu.
75    
76            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
77            the test run correctly even if the extension is a package.
78            Also removed the "import Thuban" which makes no sense.
79    
80            * Extensions/svgexport/__init__.py: Fix to have the extensions'
81            test module also be executed from the global test routine.
82            This is done by looking for the absense of the DISPLAY variable.
83    
84            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
85            to Experimental menu since this module has yet not reached a stable
86            status (ie. 1.0).
87    
88    2004-11-22  Bernhard Reiter <[email protected]>
89    
90            * Extensions/svgexport/svgmapwriter.py:
91            Added verbose variable and some logging depending on it.
92            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
93            because counting i is not necessary.
94            (class Pen, class Brush): Added simple __str__ methods.
95            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
96            not exported to svg file) Note: holes still unhandled.
97    
98            * Extensions/svgexport/test/test_svgmapwriter.py:
99                    Made a baseclass TestWithDC for test needed a DC.
100                    Added tests for bug #2698 (transparent polygons are not
101                    exported to svg file):
102                    Testobjectexport.test_transparent_polygon()
103    
104            * Thuban/Model/base.py (UnsetModified):
105            Fixed some typos in docstring.
106    
107            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
108            Added hints on the used algorithm for handling holes.
109    
110    2004-11-20  Jan-Oliver Wagner <[email protected]>
111    
112            Some face lifting for the examples.
113    
114            * Examples/__init__.py: Make this directory a package.
115    
116            * Examples/simple_extensions/__init__.py: Make this directory a package.
117    
118            * Examples/simple_extensions/hello_world.py: Moved entry from Extensions
119            menu to Examples menu.
120    
121            * Examples/simple_extensions/simple_command.py: Some more comments,
122            minor changes.
123    
124            * Examples/simple_extensions/simple_tool.py: Minor changes.
125    
126    2004-11-20  Jan-Oliver Wagner <[email protected]>
127    
128            Changed way of extension registry for wms and added extension
129            registry for umn_mapserver extension.
130    
131            * Extensions/wms/__init__.py: Added registry entry and the importing
132            of the actual wms module. Included a test for the required PyOGCLib.
133    
134            * Extensions/wms/wms.py: Removed registry entry (moved to __init__.py).
135    
136            * Extensions/umn_mapserver/__init__.py: Added registry entry and the
137            importing of the actual umn mapserver management modules.
138            Included a test for the required Python MapScript.
139    
140    2004-11-20  Jan-Oliver Wagner <[email protected]>
141    
142            Changed way of extension registry for importAPR, bboxdump
143            and added extension registry for svgexport.extension registry for
144            svgexport.
145    
146            * Extensions/importAPR/__init__.py: Added registry entry and the importing
147            of the actual importAPR module.
148    
149            * Extensions/importAPR/importAPR.py: Removed registry entry (moved to
150            __init__.py).
151    
152            * Extensions/bboxdump/__init__.py: Added registry entry and the importing
153            ����of the actual bboxdump module.
154    
155            * Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to
156            ����__init__.py).
157    
158            * Extensions/svgexport/__init__.py: Added registry entry and the importing
159            of the svgsaver module.
160    
161            * Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions
162            to Experimental menu since this module has yet not reached a stable
163            status (ie. 1.0).
164    
165    2004-11-18  Jan-Oliver Wagner <[email protected]>
166    
167            Now the hit test considers the size of point symbols.
168    
169            * Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter
170            'size' defaulting to the previously fixed value 5.
171            Extended doc-string.
172            (Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility
173            for symbols.
174            Now the size of the largest point symbol is determined to find out
175            about whether the point has been hit.
176            This fixes the problem that only clicks inside a fixed distance of
177            5 where found.
178    
179    2004-11-17  Jan-Oliver Wagner <[email protected]>
180    
181            Another open issue fixed regarding sizeable symbols: correct rendering of
182            selected symbols.
183    
184            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
185            Added consideration of the specific size of point symbols.
186            The property for each point symbol is retrieved and the size applied
187            for the rendering method.
188            Added doc-string.
189    
190    2004-11-16  Jan-Oliver Wagner <[email protected]>
191    
192            Changed way of Extension Registry for gns2shp and profiling.
193    
194            * Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to
195            __init__.py).
196    
197            * Extensions/gns2shp/__init__.py: Added registry entry and the importing
198            of the actual gns2shp module.
199    
200            * Extensions/profiling/profiling.py: Removed registry entry (moved to
201            __init__.py).
202    
203            * Extensions/profiling/__init__.py: Added registry entry and the importing
204            of the actual profiling module.
205    
206    2004-10-28  Bernhard Reiter <[email protected]>
207    
208            * Extensions/svgexport/: Minor improvements to doc strings.
209    
210    2004-10-07  Jan-Oliver Wagner <[email protected]>
211    
212            Further elements for sizable point objects now
213            making this feature usable though not yet complete.
214    
215            * Thuban/Model/save.py (SessionSaver.write_classification): Write
216            attribute 'size' for cldata when the shape layer is of point type.
217            This also now make the test_load.py tests happy.
218    
219            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
220            gradient.
221    
222            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
223            ID_SELPROP_SPINCTRL_LINEWIDTH.
224            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
225            (ID_SELPROP_SPINCTRL_SIZE): New Id.
226            (SelectPropertiesDialog.__init__): Added a second spin control
227            for the size in case the corresponding layer is of point type.
228            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
229            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
230            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
231            and refresh preview.
232    
233    
234    
235    2004-10-04  Martin Schulze  <[email protected]>
236    
237            * Extensions/wms/test/test_parser.py
238            (TestWMSCapabilitiesParser.test_compareLists): Added missing
239            self-test for compareLists()
240            (TestWMSCapabilitiesParser.test_compareDicts): Added missing
241            self-test for compareDicts()
242            (TestWMSCapabilitiesParser.test_compareLists): Adding more tests
243            to verify the test routine fails with non-equal arguments
244            (TestWMSCapabilitiesParser.test_compareDicts): Adding more tests
245            to verify the test routine fails with non-equal arguments
246    
247    2004-10-03  Jan-Oliver Wagner <[email protected]>
248    
249            First elements for sizeable point objects.
250    
251            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
252    
253            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
254    
255            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
256            of a corresponding argument is given.
257            (TestSymbolSize): New. Test the size attribute of cldata.
258    
259            * Thuban/Model/classification.py: Removed some trailing whitespaces.
260            (ClassGroupProperties.__init__): Set default size.
261            (ClassGroupProperties.SetProperties): Set the size.
262            (ClassGroupProperties.GetSize): New. Return the size.
263            (ClassGroupProperties.SetSize): New. Set the size.
264            (ClassGroupProperties__eq__): Compare also size.
265            (ClassGroupProperties__repr__): Print also size.
266    
267            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
268            the size attribute.
269    
270            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
271            Also, now there is a return value that indicates whether the drawing
272            size exceeded the given rect extent and if so the new extent.
273            Finally, point objects are drawn depending on the size. If either
274            the width or height is exceeded, the new extent is returned.
275            (ClassRenderer.Draw): Now when calling the previewer drawing function,
276            evaluate the return value and, if not None, adapt the grid widget size
277            accordingly and redraw again.
278    
279            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
280            If the draw function is for points, call it with the size as additional
281            parameter.
282            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
283            the size. Compute the radius using the size.
284    
285            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
286            that Thuban supports size, apply this correctly.
287    
288            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
289    
290    2004-10-03  Jan-Oliver Wagner <[email protected]>
291    
292            * Doc/manual/thuban-manual-de.xml: Started translation of
293            Map chapter.
294    
295    2004-10-01  Martin Schulze  <[email protected]>
296    
297            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
298            argument for general use through properties-dialog selector
299            
300            * Thuban/UI/classifier.py: Register properties dialog classes for
301            both provided layer classes/types.
302    
303            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
304            map can be retrieved through the parent which is passed to the
305            constructor anyway and doesn't require an argument of its own,
306            required for the unification of arguments for general use through
307            properties-dialog selector.
308            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
309            whether a dialog is already opened (and raising it to the users
310            attention) and creating a new dialog into a function of its own
311            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
312            method
313            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
314            global registration of properties dialog classes (which are indeed
315            layer-specific).
316    
317            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
318            for general use through properties-dialog selector, the map can be
319            retrieved through the parent and doesn't require an argument of
320            its own.
321    
322            * Extensions/wms/wms.py: Register the properties dialog class for
323            the provided WMS layer
324    
325    2004-09-28  Jan-Oliver Wagner <[email protected]>
326    
327            New feature: Registry for Extensions.
328    
329            * Thuban/UI/extensionregistry.py: This module defines a registry for
330            Extensions.
331    
332            * Thuban/UI/about.py (About.__init__): Added description
333            of the registered extensions with all of the information.
334    
335            * Thuban/Model/extension.py (Extension): Improved doc-string.
336    
337            * Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py,
338            Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py,
339            Extensions/wms/wms.py: Added registration of the extension.
340    
341    2004-09-27  Bernhard Reiter <[email protected]>
342    
343            More fixes to svgexport to make used ids unique and
344            conforming to XML's Name production.
345    
346            * Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
347            test_xml_id_constraints(), test_make_ide_nosetbaseid() and
348            test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
349            Added Bernhard R. as author.
350            * Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
351            concatenation char now (makes test_make_ide_nosetbaseid() valid).
352            Also transform second id part with "%d" and catch the TypeError
353            to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
354            Corrected typo inBernhard's author line.
355            (SetBaseID): Return the transformed base id. Transform characters
356            which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
357            import binascii. If to be set string starts with "xml" or so, add "t".
358            (draw_shape_layer_incrementally): use the returned value of SetBaseID
359            for used_baseids checks.
360    
361    2004-09-25  Bernhard Herzog  <[email protected]>
362    
363            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
364            Remove a debug print and some tab characters.
365    
366    2004-09-25  Bernhard Reiter <[email protected]>
367    
368            * Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
369            (SetBaseID, SetID, make_id): Improved docstring comments to explain
370            the interaction of the three functions and the XML id contrains.
371    
372    
373    2004-09-23  Jan-Oliver Wagner <[email protected]>
374    
375            * Doc/ThubanModel.xmi: New. UML file for Thuban Model
376            Module.
377    
378            * Doc/README: Added info on ThubanModel.xmi.
379    
380    2004-09-23  Jan-Oliver Wagner <[email protected]>
381    
382            * Doc/README: New. Some info about how to generate technical
383            documentation from the source code.
384            This text was send to the Thuban developer mailing list on
385            September 21st 2004 by Bernhard Reiter.
386    
387    2004-09-21  Bernhard Reiter <[email protected]>
388    
389            Improved the svgexport to only use unique ids. Will issues
390            an error message dialoge when two layer names are the same.
391            ShapeIDs are now added with a dash within the svg ids.
392    
393            * Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
394            * Extensions/svgexport/test/test_svgmapwriter.py: Added imports
395            (TestSVGRenderer): New test class with test_make_in() and
396            test_check_for_layer_name_clash()
397            * Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
398            and draw_shape_layer_incrementally() to not use a baseid twice,
399            satisfying test_check_for_layer_name_clash()
400            (VirtualDC.make_id): Use a dash between baseit and id, satisfies
401            test_make_in().
402            * Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
403            and wxICON_HAND.
404            (write_to_svg): Put dc and rendering in a try statement and on
405            catching SVGmapWriterError notify the user and delete the target file.
406    
407    2004-09-20  Bernhard Reiter <[email protected]>
408    
409            * Model/base.by, Model/layer.py: Fixed typos in docstrings.
410    
411  2004-09-03  Jan Sch�ngel  <[email protected]>  2004-09-03  Jan Sch�ngel  <[email protected]>
412    
413          * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a          * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a

Legend:
Removed from v.2342  
changed lines
  Added in v.2437

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26