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

Legend:
Removed from v.2335  
changed lines
  Added in v.2412

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26