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

Legend:
Removed from v.2370  
changed lines
  Added in v.2522

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26