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

Legend:
Removed from v.2333  
changed lines
  Added in v.2481

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26