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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26