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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26