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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26