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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26