/[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 2388 by bernhard, Mon Nov 15 16:27:41 2004 UTC
# Line 1  Line 1 
1    2004-10-28  Bernhard Reiter <[email protected]>
2    
3            * Extensions/svgexport/: Minor improvements to doc strings.
4    
5    2004-10-07  Jan-Oliver Wagner <[email protected]>
6    
7            Further elements for sizable point objects now
8            making this feature usable though not yet complete.
9    
10            * Thuban/Model/save.py (SessionSaver.write_classification): Write
11            attribute 'size' for cldata when the shape layer is of point type.
12            This also now make the test_load.py tests happy.
13    
14            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
15            gradient.
16    
17            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
18            ID_SELPROP_SPINCTRL_LINEWIDTH.
19            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
20            (ID_SELPROP_SPINCTRL_SIZE): New Id.
21            (SelectPropertiesDialog.__init__): Added a second spin control
22            for the size in case the corresponding layer is of point type.
23            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
24            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
25            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
26            and refresh preview.
27    
28    
29    
30    2004-10-04  Martin Schulze  <[email protected]>
31    
32            * Extensions/wms/test/test_parser.py
33            (TestWMSCapabilitiesParser.test_compareLists): Added missing
34            self-test for compareLists()
35            (TestWMSCapabilitiesParser.test_compareDicts): Added missing
36            self-test for compareDicts()
37            (TestWMSCapabilitiesParser.test_compareLists): Adding more tests
38            to verify the test routine fails with non-equal arguments
39            (TestWMSCapabilitiesParser.test_compareDicts): Adding more tests
40            to verify the test routine fails with non-equal arguments
41    
42    2004-10-03  Jan-Oliver Wagner <[email protected]>
43    
44            First elements for sizeable point objects.
45    
46            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
47    
48            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
49    
50            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
51            of a corresponding argument is given.
52            (TestSymbolSize): New. Test the size attribute of cldata.
53    
54            * Thuban/Model/classification.py: Removed some trailing whitespaces.
55            (ClassGroupProperties.__init__): Set default size.
56            (ClassGroupProperties.SetProperties): Set the size.
57            (ClassGroupProperties.GetSize): New. Return the size.
58            (ClassGroupProperties.SetSize): New. Set the size.
59            (ClassGroupProperties__eq__): Compare also size.
60            (ClassGroupProperties__repr__): Print also size.
61    
62            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
63            the size attribute.
64    
65            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
66            Also, now there is a return value that indicates whether the drawing
67            size exceeded the given rect extent and if so the new extent.
68            Finally, point objects are drawn depending on the size. If either
69            the width or height is exceeded, the new extent is returned.
70            (ClassRenderer.Draw): Now when calling the previewer drawing function,
71            evaluate the return value and, if not None, adapt the grid widget size
72            accordingly and redraw again.
73    
74            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
75            If the draw function is for points, call it with the size as additional
76            parameter.
77            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
78            the size. Compute the radius using the size.
79    
80            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
81            that Thuban supports size, apply this correctly.
82    
83            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
84    
85    2004-10-03  Jan-Oliver Wagner <[email protected]>
86    
87            * Doc/manual/thuban-manual-de.xml: Started translation of
88            Map chapter.
89    
90    2004-10-01  Martin Schulze  <[email protected]>
91    
92            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
93            argument for general use through properties-dialog selector
94            
95            * Thuban/UI/classifier.py: Register properties dialog classes for
96            both provided layer classes/types.
97    
98            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
99            map can be retrieved through the parent which is passed to the
100            constructor anyway and doesn't require an argument of its own,
101            required for the unification of arguments for general use through
102            properties-dialog selector.
103            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
104            whether a dialog is already opened (and raising it to the users
105            attention) and creating a new dialog into a function of its own
106            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
107            method
108            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
109            global registration of properties dialog classes (which are indeed
110            layer-specific).
111    
112            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
113            for general use through properties-dialog selector, the map can be
114            retrieved through the parent and doesn't require an argument of
115            its own.
116    
117            * Extensions/wms/wms.py: Register the properties dialog class for
118            the provided WMS layer
119    
120    2004-09-28  Jan-Oliver Wagner <[email protected]>
121    
122            New feature: Registry for Extensions.
123    
124            * Thuban/UI/extensionregistry.py: This module defines a registry for
125            Extensions.
126    
127            * Thuban/UI/about.py (About.__init__): Added description
128            of the registered extensions with all of the information.
129    
130            * Thuban/Model/extension.py (Extension): Improved doc-string.
131    
132            * Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py,
133            Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py,
134            Extensions/wms/wms.py: Added registration of the extension.
135    
136    2004-09-27  Bernhard Reiter <[email protected]>
137    
138            More fixes to svgexport to make used ids unique and
139            conforming to XML's Name production.
140    
141            * Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
142            test_xml_id_constraints(), test_make_ide_nosetbaseid() and
143            test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
144            Added Bernhard R. as author.
145            * Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
146            concatenation char now (makes test_make_ide_nosetbaseid() valid).
147            Also transform second id part with "%d" and catch the TypeError
148            to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
149            Corrected typo inBernhard's author line.
150            (SetBaseID): Return the transformed base id. Transform characters
151            which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
152            import binascii. If to be set string starts with "xml" or so, add "t".
153            (draw_shape_layer_incrementally): use the returned value of SetBaseID
154            for used_baseids checks.
155    
156    2004-09-25  Bernhard Herzog  <[email protected]>
157    
158            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
159            Remove a debug print and some tab characters.
160    
161    2004-09-25  Bernhard Reiter <[email protected]>
162    
163            * Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
164            (SetBaseID, SetID, make_id): Improved docstring comments to explain
165            the interaction of the three functions and the XML id contrains.
166    
167    
168    2004-09-23  Jan-Oliver Wagner <[email protected]>
169    
170            * Doc/ThubanModel.xmi: New. UML file for Thuban Model
171            Module.
172    
173            * Doc/README: Added info on ThubanModel.xmi.
174    
175    2004-09-23  Jan-Oliver Wagner <[email protected]>
176    
177            * Doc/README: New. Some info about how to generate technical
178            documentation from the source code.
179            This text was send to the Thuban developer mailing list on
180            September 21st 2004 by Bernhard Reiter.
181    
182    2004-09-21  Bernhard Reiter <[email protected]>
183    
184            Improved the svgexport to only use unique ids. Will issues
185            an error message dialoge when two layer names are the same.
186            ShapeIDs are now added with a dash within the svg ids.
187    
188            * Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
189            * Extensions/svgexport/test/test_svgmapwriter.py: Added imports
190            (TestSVGRenderer): New test class with test_make_in() and
191            test_check_for_layer_name_clash()
192            * Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
193            and draw_shape_layer_incrementally() to not use a baseid twice,
194            satisfying test_check_for_layer_name_clash()
195            (VirtualDC.make_id): Use a dash between baseit and id, satisfies
196            test_make_in().
197            * Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
198            and wxICON_HAND.
199            (write_to_svg): Put dc and rendering in a try statement and on
200            catching SVGmapWriterError notify the user and delete the target file.
201    
202  2004-09-20  Bernhard Reiter <[email protected]>  2004-09-20  Bernhard Reiter <[email protected]>
203    
204          * 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.2388

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26