/[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 2488 by bernhard, Sun Dec 19 10:14:38 2004 UTC
# Line 1  Line 1 
1    2004-12-19  Bernhard Reiter <[email protected]>
2    
3            svgexport: Improved code quality, mainly by better naming.
4    
5            * Extensions/svgexport/svgmapwriter.py:
6            DrawPath() renamed to DrawPolygonPath(),
7            added documentation, improved comments and variable names.
8            
9            * Extensions/svgexport/svgmapwriter.py,
10              Extensions/svgexport/test/test_svgmapwriter.py:
11            All using DrawPolygonPath() now, the default parameter closed=True
12            omitted.
13    
14            * Extensions/svgexport/test/test_svgmapwriter.py:
15            renamed test_polygon_opened() to test_polyline()
16            renamed test_transparent_polygon() to test_transparent_polyline()
17    
18    2004-12-18  Jan-Oliver Wagner <[email protected]>
19    
20            Some fixes of gns2shp extension.
21    
22            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
23            package.
24    
25            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
26            dynamically.
27    
28            * Extensions/gns2shp/test/README: Simplified description how to test.
29    
30            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
31            fixed some dimensions of fields according to the GNS documentation
32            which seems to change undocumented.
33            Now killing trailing \n and/or \r from MODIFY_DATE.
34            This fixes RT#2453.
35    
36    2004-12-18  Bernhard Reiter <[email protected]>
37    
38            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
39    
40            * Extensions/svgexport/test/test_svgmapwriter.py:
41            Added new tests: test_export_polygon_with_hole()
42            and test_polygon_with_hole().
43    
44            * Extensions/svgexport/svgmapwriter.py
45            (draw_polygon_shape()): Uses DrawPath correctly now.
46    
47            * Doc/manual/thuban-manual.xml: Added documentation for stable
48            extention svgexport.    
49            * Doc/manual/thuban-manual-de.xml: Copied English section about
50            svexport over.
51    
52            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
53    
54            * Extensions/svgexport/svgsaver.py,maplegend.py:
55            Moved from experimental to stable extension menu.
56    
57            * Extensions/svgexport/TODO: updated.
58    
59    
60    2004-12-18  Bernhard Reiter <[email protected]>
61    
62            Added Extensions/svgexport/TODO
63    
64    2004-12-18  Bernhard Reiter <[email protected]>
65    
66            Refactored in svgexport:
67            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
68    
69            * Extensions/svgexport/svgmapwriter.py
70            Added verbosity level 3 to print out polygon points.
71            (class Point): added __repr__
72            (class Brush, __str__()): Added space after ,.
73            (DrawPolygon): Renamed to DrawPath()
74            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
75            (DrawLines): Using DrawPath now.
76    
77            * Extensions/svgexport/test/test_svgmapwriter.py:
78            Replaced DrawPolygon() calls with DrawPath() and put the first argument
79            inside another list. Adapted test data with a newline before "M".
80    
81    2004-12-18  Bernhard Reiter <[email protected]>
82            
83            Refactored svgexport tests: 9 double tests runs eliminated;
84            code size reduced by 8 lines.
85    
86            * Extensions/svgexport/test/test_svgmapwriter.py:
87            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
88            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
89            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
90            this fixed the double running of the nine tests of TestVirtualDC.
91            (class TestVirtualDC): Using self.dc and self.file from setUp().
92    
93    2004-12-17  Bernhard Herzog  <[email protected]>
94    
95            Two windows specific fixes ported from thuban-1�0-branch:
96    
97            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
98            instead of getlocale because getlocale doesn't return a usable
99            encoding name on a german windows 2000
100    
101            * setup.py: windows build: Removed the absolute path names and
102            made all prfixes relative to the directory containing setup.py.
103            Makes it a little easier to adapt to a different system.
104    
105    2004-12-16  Bernhard Herzog  <[email protected]>
106    
107            Add support for PostGIS tables with LINESTRING geometries.
108            Fixes RT#2299
109    
110            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
111    
112            * test/postgissupport.py
113            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
114            table to "roads-multi" because it now uses MULTILINESTRING
115            geometries and introduce a new "roads" table that uses LINESTRING
116            (coords_to_multilinestring): Make the doc string more precise
117            (coords_to_linestring): New.  Create a LINESTRING WKT
118            representatin
119            (wkt_converter): Add coords_to_linestring
120            (upload_shapefile): Rephrase the doc-string a bit.
121    
122            * test/test_postgis_db.py (TestPostGISShapestoreArc)
123            (LineStringTests)
124            (TestPostGISShapestoreLineString)
125            (TestPostGISShapestoreMultiLineString): Split
126            TestPostGISShapestoreArc into a base class LineStringTests and two
127            derived classes TestPostGISShapestoreLineString for LINESTRING
128            geometries and TestPostGISShapestoreMultiLineString for
129            MULTILINESTRING geometries.  Most test methods are in the base
130            class with the exception of tests that explicitly check the raw
131            format.
132    
133    2004-12-16  Bernhard Herzog  <[email protected]>
134    
135            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
136    
137            * test/postgissupport.py (find_postgis_sql): Different postgis
138            versions put the postgis.sql file into slightly different places
139            so we have to look in both.  The updated doc string describes this
140            is more detail.
141    
142            * test/test_postgis_db.py
143            (TestPostGISSpecialCases.test_column_name_quoting): The return
144            value of UniqueValues is unsorted, so it has to be sorted for
145            comparison.
146    
147    2004-12-16  Bernhard Herzog  <[email protected]>
148    
149            Fix for RT#2237
150    
151            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
152            panel to be shown is the UnknownProjPanel disable the OK and Try
153            buttons.  Otherwise enable them.
154            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
155            the parameters.  In that case __GetProjection also returns None
156            now.
157    
158    2004-12-15  Bernhard Herzog  <[email protected]>
159    
160            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
161            minimum number of classes to 2.  The calculate_quantiles needs at
162            least two and raises an exception otherwise.  
163            Fixes RT#2549
164    
165    2004-12-15  Bernhard Herzog  <[email protected]>
166    
167            * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to
168            so that it returns a result for select statements.
169            (PostgreSQLServer.server_version): New.  Return the version of the
170            server software.
171            (PostgreSQLServer.require_authentication): The format of
172            pg_hba.conf has changed between PostgrSQL 7.2 and 7.3.  Check the
173            server version and generate the file in the correct format
174    
175    2004-12-15  Bernhard Herzog  <[email protected]>
176    
177            * test/postgissupport.py (PostgreSQLServer.is_running): Fix typo
178            in the doc string and rephrase it a little.
179    
180    2004-12-15  Frank Koormann <[email protected]>
181    
182            * test/test_load.py (TestAltPath.checkSession): New, extended checks if
183            session has been loaded successfully. The check is called by the relevant
184            tests after executing load_session().
185    
186    2004-12-13  Bernhard Herzog  <[email protected]>
187    
188            Make sure the region used to determine which shapes are visible
189            actually matches the region on the printed page.  If this isn't
190            done properly some shapes might not be printed.  
191            Fixes RT #2692
192    
193            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
194            renderer has to be at the same position as the mapregion
195    
196            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
197            has to be moved by (self.shiftx, self.shifty) too.
198    
199    2004-12-13  Bernhard Herzog  <[email protected]>
200    
201            * libraries/pyprojection/Projection.i: Work around a bug in the
202            generated python code which leads to exception in the __del__
203            method when the constructor fails.  See the comments in the code
204            for more details.
205    
206            * libraries/pyprojection/Projection.py: Updated from Projection.i
207            with SWIG.
208    
209    2004-12-13  Bernhard Herzog  <[email protected]>
210    
211            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
212            (TestAltPath.test_02_path_error_fix_from_list)
213            (TestAltPath.test_05_path_error_fix_from_list_changed)
214            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
215            is destroyed in tearDown, so there's no need to do it in a test
216            case.
217    
218            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
219            debug print
220    
221    2004-12-13  Bernhard Herzog  <[email protected]>
222    
223            * Extensions/svgexport/test/test_svgmapwriter.py
224            (TestDrawSplines.setUp): Do not use super with the unittest
225            classes because in Python 2.2 they're still old-style classes.
226    
227    2004-12-13  Frank Koormann <[email protected]>
228    
229        Alternative Path feature: When loading a (moved) session where
230            shapefiles cannot be found, ask the user. Use the specified path
231            if further shapefiles are missing. However, ask the usr for confirmation
232            in such cases.
233    
234            * test/test_load.py (TestAltPath): New, tests for alternative path feature
235            in load_session()
236            (Shapefile_CallBack): Helper, implements controllable callback.
237    
238            * Thuban/UI/application.py (ThubanApplication.OnInit):
239            Added "alt_path" to self.path
240            (ThubanApplication.OpenSession): Added shapefile_callback as second
241            callback similar to db_connection_callback.
242            (ThubanApplication.run_alt_path_dialog): New, implementaion of
243            shapefile_callback. In addition to raising the dialog the control of
244            self.path('alt_path') is implemented here.
245    
246            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
247            (SessionLoader.open_shapefile): Open shapefile, eventually with
248            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
249            formerly used in start_fileshapesource()/start_layer().
250            (SessionLoader.start_fileshapesource): Call open_shapefile().
251            (SessionLoader.start_layer): Call open_shapefile().
252            (load_session): Added shapefile_callback.
253    
254            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
255            feature (search / check).
256            
257            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
258    
259    2004-12-11  Bernhard Reiter <[email protected]>
260    
261             svgexport 0.9.2: Point size supports for maps.
262    
263            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
264            (def draw_point_shape): new parameter size defaults to 2 as before.
265            (draw_shape_layer_incrementally): Moved draw_func log line higher.
266            Added draw_func call with size when dealing with a point layer.
267    
268            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
269            
270    2004-12-11  Bernhard Reiter <[email protected]>
271    
272            Made sure that newlines are inserted in the svg path d attributes
273            to raise the chance that the line length will be below 255 characters,
274            as recommended by REC SVG 1.1 in section 8.3.1.
275    
276            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
277            Adding \n before L's and changed whitespace handling.
278    
279            * Extensions/svgexport/test/test_svgmapwriter.py:
280            Adapted tests to new whitespace handling of DrawPolygon.
281    
282    2004-12-11  Bernhard Reiter <[email protected]>
283    
284            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
285    
286            * Extensions/svgexport/test/test_svgmapwriter.py:
287            Removed test_drawbezier in favour of new test_drawspline3 and
288            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
289            All only to test DrawSpline.
290    
291            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
292            New implementation now really using the strange algorithm of
293            xfig 3.1's approximated splines and its conversion to postscript
294            with one twist: SVG can do quadratic beziers, so skipped translation
295            to cubic beziers.
296            (TestWithDC): Typo in comment fixed.
297    
298    2004-12-09  Martin Schulze  <[email protected]>
299    
300            * Thuban/Model/classgen.py: Added missing character encoding
301    
302            * Extensions/wms/properties.py (OpenWMSProperties): removed
303    
304            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
305            support for get_srs_discrepancies() since there are no
306            discrepancies anymore (was a thinko)
307    
308            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
309            format priority now that more formats are supported globally by
310            the render engine.
311    
312    2004-12-08  Silke Reimer <[email protected]>
313            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
314            because it is not available in all versions of ogr
315    
316    2004-12-08  Bernhard Reiter <[email protected]>
317            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
318            global tests until a real one is commited.
319    
320    2004-12-07 Nina H�ffmeyer <[email protected]>
321    
322            * /Extensions/ogr/: Adding a new extension to read shapefiles with
323            ogr. It is planned to add other vector formats.
324    
325            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
326    
327    2004-12-07  Jan-Oliver Wagner <[email protected]>
328    
329            * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting
330            part of a (non-)fix to renable that the tests are always
331            executed.
332    
333    2004-12-07  Bernhard Reiter <[email protected]>
334    
335            * Extensions/svgexport/test/test_svgmapwriter.py:
336            Added test_drawbezier() to test DrawSpline().
337    
338            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
339            Really implemented bezier drawing.
340    
341            * Extensions/svgexport/__init__.py: Bumped version of svgexport
342            to 0.9.1 because now the legend examples lines styles
343            will be drawing with beziers.
344    
345    2004-12-05  Martin Schulze  <[email protected]>
346    
347            * Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and
348            GIF as supported bitmap image formats (helpful for the WMS extension)
349    
350    2004-11-30  Martin Schulze  <[email protected]>
351    
352            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
353            Improved the test for the internal compare method
354    
355    2004-11-27  Jan-Oliver Wagner <[email protected]>
356    
357            * Thuban/UI/about.py (About.__init__): Added
358            Norbert Solymosi for hungarian translation and Ole Rahn
359            as contrbutor. Moved Bernhard Reiter from Contributor
360            to Developer.
361    
362    2004-11-27  Bernhard Reiter <[email protected]>
363    
364            * Extensions/svgexport/test/test_svgmapwriter.py:
365            Removed Jan from author list as he did not change enough significant
366            lines yet.
367    
368            * Extensions/svgexport/__init__.py: Added Bernhard as author
369            of the Extension.
370    
371    2004-11-27  Jan-Oliver Wagner <[email protected]>
372    
373            * po/hu.po: New. Hungarian translation. Contributed
374            by Norbert Solymosi.
375    
376    2004-11-26  Bernhard Herzog  <[email protected]>
377    
378            * Extensions/svgexport/test/test_svgmapwriter.py
379            (Testobjectexport.test_transparent_polygon): Commented out some
380            debug prints
381    
382    2004-11-24  Jan-Oliver Wagner <[email protected]>
383    
384            Fix broken tests for svg extension and added svg legend
385            to Experimental menu.
386    
387            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
388            the test run correctly even if the extension is a package.
389            Also removed the "import Thuban" which makes no sense.
390    
391            * Extensions/svgexport/__init__.py: Fix to have the extensions'
392            test module also be executed from the global test routine.
393            This is done by looking for the absense of the DISPLAY variable.
394    
395            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
396            to Experimental menu since this module has yet not reached a stable
397            status (ie. 1.0).
398    
399    2004-11-22  Bernhard Reiter <[email protected]>
400    
401            * Extensions/svgexport/svgmapwriter.py:
402            Added verbose variable and some logging depending on it.
403            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
404            because counting i is not necessary.
405            (class Pen, class Brush): Added simple __str__ methods.
406            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
407            not exported to svg file) Note: holes still unhandled.
408    
409            * Extensions/svgexport/test/test_svgmapwriter.py:
410                    Made a baseclass TestWithDC for test needed a DC.
411                    Added tests for bug #2698 (transparent polygons are not
412                    exported to svg file):
413                    Testobjectexport.test_transparent_polygon()
414    
415            * Thuban/Model/base.py (UnsetModified):
416            Fixed some typos in docstring.
417    
418            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
419            Added hints on the used algorithm for handling holes.
420    
421    2004-11-20  Jan-Oliver Wagner <[email protected]>
422    
423            Some face lifting for the examples.
424    
425            * Examples/__init__.py: Make this directory a package.
426    
427            * Examples/simple_extensions/__init__.py: Make this directory a package.
428    
429            * Examples/simple_extensions/hello_world.py: Moved entry from Extensions
430            menu to Examples menu.
431    
432            * Examples/simple_extensions/simple_command.py: Some more comments,
433            minor changes.
434    
435            * Examples/simple_extensions/simple_tool.py: Minor changes.
436    
437    2004-11-20  Jan-Oliver Wagner <[email protected]>
438    
439            Changed way of extension registry for wms and added extension
440            registry for umn_mapserver extension.
441    
442            * Extensions/wms/__init__.py: Added registry entry and the importing
443            of the actual wms module. Included a test for the required PyOGCLib.
444    
445            * Extensions/wms/wms.py: Removed registry entry (moved to __init__.py).
446    
447            * Extensions/umn_mapserver/__init__.py: Added registry entry and the
448            importing of the actual umn mapserver management modules.
449            Included a test for the required Python MapScript.
450    
451    2004-11-20  Jan-Oliver Wagner <[email protected]>
452    
453            Changed way of extension registry for importAPR, bboxdump
454            and added extension registry for svgexport.extension registry for
455            svgexport.
456    
457            * Extensions/importAPR/__init__.py: Added registry entry and the importing
458            of the actual importAPR module.
459    
460            * Extensions/importAPR/importAPR.py: Removed registry entry (moved to
461            __init__.py).
462    
463            * Extensions/bboxdump/__init__.py: Added registry entry and the importing
464            ����of the actual bboxdump module.
465    
466            * Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to
467            ����__init__.py).
468    
469            * Extensions/svgexport/__init__.py: Added registry entry and the importing
470            of the svgsaver module.
471    
472            * Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions
473            to Experimental menu since this module has yet not reached a stable
474            status (ie. 1.0).
475    
476    2004-11-18  Jan-Oliver Wagner <[email protected]>
477    
478            Now the hit test considers the size of point symbols.
479    
480            * Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter
481            'size' defaulting to the previously fixed value 5.
482            Extended doc-string.
483            (Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility
484            for symbols.
485            Now the size of the largest point symbol is determined to find out
486            about whether the point has been hit.
487            This fixes the problem that only clicks inside a fixed distance of
488            5 where found.
489    
490    2004-11-17  Jan-Oliver Wagner <[email protected]>
491    
492            Another open issue fixed regarding sizeable symbols: correct rendering of
493            selected symbols.
494    
495            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
496            Added consideration of the specific size of point symbols.
497            The property for each point symbol is retrieved and the size applied
498            for the rendering method.
499            Added doc-string.
500    
501    2004-11-16  Jan-Oliver Wagner <[email protected]>
502    
503            Changed way of Extension Registry for gns2shp and profiling.
504    
505            * Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to
506            __init__.py).
507    
508            * Extensions/gns2shp/__init__.py: Added registry entry and the importing
509            of the actual gns2shp module.
510    
511            * Extensions/profiling/profiling.py: Removed registry entry (moved to
512            __init__.py).
513    
514            * Extensions/profiling/__init__.py: Added registry entry and the importing
515            of the actual profiling module.
516    
517    2004-10-28  Bernhard Reiter <[email protected]>
518    
519            * Extensions/svgexport/: Minor improvements to doc strings.
520    
521    2004-10-07  Jan-Oliver Wagner <[email protected]>
522    
523            Further elements for sizable point objects now
524            making this feature usable though not yet complete.
525    
526            * Thuban/Model/save.py (SessionSaver.write_classification): Write
527            attribute 'size' for cldata when the shape layer is of point type.
528            This also now make the test_load.py tests happy.
529    
530            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
531            gradient.
532    
533            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
534            ID_SELPROP_SPINCTRL_LINEWIDTH.
535            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
536            (ID_SELPROP_SPINCTRL_SIZE): New Id.
537            (SelectPropertiesDialog.__init__): Added a second spin control
538            for the size in case the corresponding layer is of point type.
539            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
540            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
541            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
542            and refresh preview.
543    
544    
545    
546    2004-10-04  Martin Schulze  <[email protected]>
547    
548            * Extensions/wms/test/test_parser.py
549            (TestWMSCapabilitiesParser.test_compareLists): Added missing
550            self-test for compareLists()
551            (TestWMSCapabilitiesParser.test_compareDicts): Added missing
552            self-test for compareDicts()
553            (TestWMSCapabilitiesParser.test_compareLists): Adding more tests
554            to verify the test routine fails with non-equal arguments
555            (TestWMSCapabilitiesParser.test_compareDicts): Adding more tests
556            to verify the test routine fails with non-equal arguments
557    
558    2004-10-03  Jan-Oliver Wagner <[email protected]>
559    
560            First elements for sizeable point objects.
561    
562            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
563    
564            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
565    
566            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
567            of a corresponding argument is given.
568            (TestSymbolSize): New. Test the size attribute of cldata.
569    
570            * Thuban/Model/classification.py: Removed some trailing whitespaces.
571            (ClassGroupProperties.__init__): Set default size.
572            (ClassGroupProperties.SetProperties): Set the size.
573            (ClassGroupProperties.GetSize): New. Return the size.
574            (ClassGroupProperties.SetSize): New. Set the size.
575            (ClassGroupProperties__eq__): Compare also size.
576            (ClassGroupProperties__repr__): Print also size.
577    
578            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
579            the size attribute.
580    
581            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
582            Also, now there is a return value that indicates whether the drawing
583            size exceeded the given rect extent and if so the new extent.
584            Finally, point objects are drawn depending on the size. If either
585            the width or height is exceeded, the new extent is returned.
586            (ClassRenderer.Draw): Now when calling the previewer drawing function,
587            evaluate the return value and, if not None, adapt the grid widget size
588            accordingly and redraw again.
589    
590            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
591            If the draw function is for points, call it with the size as additional
592            parameter.
593            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
594            the size. Compute the radius using the size.
595    
596            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
597            that Thuban supports size, apply this correctly.
598    
599            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
600    
601    2004-10-03  Jan-Oliver Wagner <[email protected]>
602    
603            * Doc/manual/thuban-manual-de.xml: Started translation of
604            Map chapter.
605    
606    2004-10-01  Martin Schulze  <[email protected]>
607    
608            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
609            argument for general use through properties-dialog selector
610            
611            * Thuban/UI/classifier.py: Register properties dialog classes for
612            both provided layer classes/types.
613    
614            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
615            map can be retrieved through the parent which is passed to the
616            constructor anyway and doesn't require an argument of its own,
617            required for the unification of arguments for general use through
618            properties-dialog selector.
619            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
620            whether a dialog is already opened (and raising it to the users
621            attention) and creating a new dialog into a function of its own
622            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
623            method
624            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
625            global registration of properties dialog classes (which are indeed
626            layer-specific).
627    
628            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
629            for general use through properties-dialog selector, the map can be
630            retrieved through the parent and doesn't require an argument of
631            its own.
632    
633            * Extensions/wms/wms.py: Register the properties dialog class for
634            the provided WMS layer
635    
636    2004-09-28  Jan-Oliver Wagner <[email protected]>
637    
638            New feature: Registry for Extensions.
639    
640            * Thuban/UI/extensionregistry.py: This module defines a registry for
641            Extensions.
642    
643            * Thuban/UI/about.py (About.__init__): Added description
644            of the registered extensions with all of the information.
645    
646            * Thuban/Model/extension.py (Extension): Improved doc-string.
647    
648            * Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py,
649            Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py,
650            Extensions/wms/wms.py: Added registration of the extension.
651    
652    2004-09-27  Bernhard Reiter <[email protected]>
653    
654            More fixes to svgexport to make used ids unique and
655            conforming to XML's Name production.
656    
657            * Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
658            test_xml_id_constraints(), test_make_ide_nosetbaseid() and
659            test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
660            Added Bernhard R. as author.
661            * Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
662            concatenation char now (makes test_make_ide_nosetbaseid() valid).
663            Also transform second id part with "%d" and catch the TypeError
664            to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
665            Corrected typo inBernhard's author line.
666            (SetBaseID): Return the transformed base id. Transform characters
667            which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
668            import binascii. If to be set string starts with "xml" or so, add "t".
669            (draw_shape_layer_incrementally): use the returned value of SetBaseID
670            for used_baseids checks.
671    
672    2004-09-25  Bernhard Herzog  <[email protected]>
673    
674            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
675            Remove a debug print and some tab characters.
676    
677    2004-09-25  Bernhard Reiter <[email protected]>
678    
679            * Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
680            (SetBaseID, SetID, make_id): Improved docstring comments to explain
681            the interaction of the three functions and the XML id contrains.
682    
683    
684    2004-09-23  Jan-Oliver Wagner <[email protected]>
685    
686            * Doc/ThubanModel.xmi: New. UML file for Thuban Model
687            Module.
688    
689            * Doc/README: Added info on ThubanModel.xmi.
690    
691    2004-09-23  Jan-Oliver Wagner <[email protected]>
692    
693            * Doc/README: New. Some info about how to generate technical
694            documentation from the source code.
695            This text was send to the Thuban developer mailing list on
696            September 21st 2004 by Bernhard Reiter.
697    
698    2004-09-21  Bernhard Reiter <[email protected]>
699    
700            Improved the svgexport to only use unique ids. Will issues
701            an error message dialoge when two layer names are the same.
702            ShapeIDs are now added with a dash within the svg ids.
703    
704            * Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
705            * Extensions/svgexport/test/test_svgmapwriter.py: Added imports
706            (TestSVGRenderer): New test class with test_make_in() and
707            test_check_for_layer_name_clash()
708            * Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
709            and draw_shape_layer_incrementally() to not use a baseid twice,
710            satisfying test_check_for_layer_name_clash()
711            (VirtualDC.make_id): Use a dash between baseit and id, satisfies
712            test_make_in().
713            * Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
714            and wxICON_HAND.
715            (write_to_svg): Put dc and rendering in a try statement and on
716            catching SVGmapWriterError notify the user and delete the target file.
717    
718  2004-09-20  Bernhard Reiter <[email protected]>  2004-09-20  Bernhard Reiter <[email protected]>
719    
720          * 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.2488

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26