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

Legend:
Removed from v.2344  
changed lines
  Added in v.2422

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26