/[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 1639 by bh, Fri Aug 22 18:19:27 2003 UTC revision 1773 by bh, Mon Oct 6 11:29:01 2003 UTC
# Line 1  Line 1 
1    2003-10-06  Bernhard Herzog  <[email protected]>
2    
3            * test/test_viewport.py (MockView): New class derived from
4            ViewPort with a mock implementation of GetTextExtent to be used in
5            the test cases
6            (ViewPortTest.setUp): Use MockView instead of ViewPort
7    
8            * Thuban/UI/viewport.py (ViewPort.GetTextExtent): Turn this method
9            into what would be a "pure virtual function" in C++: always raise
10            NotImplementedError. Mock implementations for test cases don't
11            belong into the real code
12    
13    2003-10-02  Bernhard Herzog  <[email protected]>
14    
15            * test/test_layer.py (TestLayer.test_empty_layer): Explicitly
16            close the dbf file we create so that it's contents have been
17            written properly.
18    
19            * libraries/shapelib/shptree.c, libraries/shapelib/shpopen.c,
20            libraries/shapelib/shapefil.h, libraries/shapelib/dbfopen.c:
21            Update to shapelib 1.2.10
22    
23    2003-10-01  Jan-Oliver Wagner <[email protected]>
24    
25            * Thuban/UI/tree.py, Thuban/UI/main.py: Remove the #! line as
26            it annoys lintian which warns about these files not being
27            executable. The #! isn't necessary here since if you absolutely
28            must execute them you can always say "python <filename>".
29    
30    2003-09-26  Bernhard Herzog  <[email protected]>
31    
32            * Thuban/Model/classgen.py (GenQuantiles0): Removed since it's
33            only used in GREAT-ER but not used in Thuban itself. When GREAT-ER
34            is ported to a newer the import will fail, so it should be noticed
35            immediately that this function is gone.
36            Fixes RT#1919
37    
38    2003-09-26  Bernhard Herzog  <[email protected]>
39    
40            Add a DTD for the projection files and make thuban write valid
41            projection files
42    
43            * Resources/XML/projfile.dtd: New. DTD for thuban's projection
44            files
45    
46            * Thuban/Model/resource.py (ProjFileSaver.write): Use
47            'projectionlist' as the name in the document type declaration so
48            that it matches the element type of the root element.
49    
50            * test/test_proj.py (sample_projfile, sample_projfile2): Use
51            'projectionlist' as the name in the document type declaration just
52            as it is done now in the files thuban would write
53            (sample_projfile, sample_projfile_data): Fix spelling of
54            "Mercator"
55            (TestProjFile.doTestWrite): Validate the written and the expected
56            XML data
57            (TestProjFile): Derive from ValidationTest so that we can run xml
58            validation tests
59    
60    2003-09-24  Bernhard Herzog  <[email protected]>
61    
62            * Thuban/UI/renderer.py (ExportRenderer.render_legend): Do not
63            modify the list returned by map.Layers() in place since it is the
64            actual list of layers used by the map.
65    
66    2003-09-23  Jan-Oliver Wagner <[email protected]>
67    
68            * Doc/manual/thuban-manual.xml: Added subsection to chapter
69            Extensions to describe the extensions coming with the Thuban
70            standard package (gns2shp and importAPR).
71    
72    2003-09-23  Bernhard Herzog  <[email protected]>
73    
74            * libraries/thuban/wxproj.cpp (project_point): if there's an
75            inverse but no forward projection, convert to degrees after
76            applying the inverse projection. Fixes RT#2096
77    
78            * test/test_wxproj.py: New. Test cases for wxproj.so. One test
79            implicitly tests for the fix to RT#2096
80    
81            * test/support.py (FloatComparisonMixin.assertFloatSeqEqual):
82            Check that the sequences have the same lengths
83    
84            * Resources/Projections/defaults.proj (Geographic projection): Use
85            a much more precise value for the to_meter attribute.
86    
87    2003-09-22  Bernhard Herzog  <[email protected]>
88    
89            * test/support.py (initthuban): Make sure to unset the LANG env.
90            var. so that tests that compare translated strings work. Solves RT
91            #2094
92    
93    2003-09-22  Jan-Oliver Wagner <[email protected]>
94    
95            Small improvement of APR import.
96    
97            * Extensions/importAPR/test/test_apr.py (aprTest.test_LClass):
98            Added tests for text-ranges.
99    
100            * Extensions/importAPR/apr.py (APR_LClass.GetThubanRange): Now
101            returns a string object if the range is based on text.
102    
103            * Extensions/importAPR/importAPR.py (import_apr_dialog): Unified
104            range retrieval.
105    
106    2003-09-22  Jan-Oliver Wagner <[email protected]>
107    
108            Initial version of the importAPR extension which is in
109            experimental state.
110    
111            * /Extensions/importAPR/, /Extensions/importAPR/samples/,
112            /Extensions/importAPR/test/: New directories.
113    
114            * /Extensions/importAPR/samples/README: New: Howto load the samples.
115    
116            * /Extensions/importAPR/samples/iceland.apr: New: A sample APR
117            file which refers to the Thuban Iceland demo data.
118    
119            * /Extensions/importAPR/test/README: New: Howto execute the tests.
120    
121            * /Extensions/importAPR/test/test_apr.py: New: Tests for APR classes.
122    
123            * /Extensions/importAPR/apr.py: New: Classes for ArcView Objects
124            as in '.apr'-files.
125    
126            * /Extensions/importAPR/odb.py: New: Classes for generic ArcView
127            ODB Objects as in '.apr', '.avl' and other files.
128    
129            * /Extensions/importAPR/__init__.py: New: Init to make this
130            directory a package.
131    
132            * /Extensions/importAPR/importAPR.py: New: Import a ArcView
133            project file (.apr) and convert it to Thuban.
134    
135    2003-09-22  Jan-Oliver Wagner <[email protected]>
136    
137            * Extensions/gns2shp.gns2shp.py: The main module of gns2shp.
138    
139    2003-09-19  Jan-Oliver Wagner <[email protected]>
140    
141            * Doc/manual/thuban-manual.xml: Extended section 'Installation'
142            with description on RPM installation and RPM binary package
143            creation.
144    
145    2003-09-18  Bernhard Herzog  <[email protected]>
146    
147            * setup.py (data_files): Only add the mo files if the Locales
148            directory actually exists, so that setup.py works with a fresh CVS
149            checkout
150    
151    2003-09-12  Jan-Oliver Wagner <[email protected]>
152    
153            * Examples/simple_extensions/simple_tool.py: bugfix: Tool is now
154            in viewport, not anymore in view
155    
156    2003-09-04  Jan-Oliver Wagner <[email protected]>
157    
158            Introducing first Extension (gns2shp).
159    
160            * Extensions, Extensions/gns2shp, Extensions/gns2shp/test: New.
161    
162            * Extensions/__init__.py: New. init to make this dir a package.
163    
164            * Extensions/gns2shp/__init__.py: New. init to make this dir a package.
165    
166            * Extensions/gns2shp/test/README: New. some info on this test directory.
167    
168            * Extensions/gns2shp/test/ls.txt: New. test data set (Liechtenstein).
169    
170            * Extensions/gns2shp/test/test_gns2shp.py: New. Test for correct creation
171            of Shapefile from GNS text file format
172    
173    2003-09-03  Jan-Oliver Wagner <[email protected]>
174    
175            Fix/workaround for bug #2019:
176            https://intevation.de/rt/webrt?serial_num=2019
177    
178            * Thuban/UI/identifyview.py (IdentifyView.ID_STOP): New.
179            (IdentifyView.__init__): Added another button that allows to
180            stop the identify mode.
181            (IdentifyView.OnStop): New. Stops the identify mode.
182    
183    2003-09-03  Jan-Oliver Wagner <[email protected]>
184    
185            Introducing a new exception dialog that allows to exit the
186            application immediately.
187            This fixes bug #2060: https://intevation.de/rt/webrt?serial_num=2060
188    
189            * Thuban/UI/exceptiondialog.py: New. A special exception dialog.
190    
191            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
192            Made strings available to translations. Exchanged the simple
193            ScrolledMessageDialog by the new ExceptionDialog.
194    
195    2003-09-01  Bernhard Herzog  <[email protected]>
196    
197            * NEWS: New. Summary of changes and release notes.
198    
199            * MANIFEST.in: Add NEWS
200    
201    2003-09-01  Bernhard Herzog  <[email protected]>
202    
203            * MANIFEST.in: Correct the include statement for the mo-files and
204            include the documentation too.
205    
206            * setup.py (data_files): Add the .mo files
207            (setup call): Up to version 0.9.0
208    
209    2003-09-01  Bernhard Herzog  <[email protected]>
210    
211            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Change the
212            parameter list to just parent and session
213            (ChooseDBTableDialog.__set_properties): Removed. Setting the
214            selection of empty list boxes is not allowed (and produces C++
215            assertion errors) and the rest of the setup is better done in
216            __init__ anyway.
217            (ChooseDBTableDialog.OnCancel, ChooseDBTableDialog.OnOK)
218            (ChooseDBTableDialog.OnLBDClick, DBDialog.OnOK): Use the Python
219            builtins True/False for booleans to avoid warnings from wxPython
220    
221            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Adapt to new
222            ChooseDBTableDialog constructor parameters.
223    
224    2003-09-01  Bernhard Herzog  <[email protected]>
225    
226            * Thuban/Model/postgisdb.py
227            (PostGISTable): Extend doc-string
228            (PostGISTable._fetch_table_information): Set the column index
229            correctly, pretending ignored columns don't exist.
230    
231            * test/test_postgis_db.py (TestPostGISIgnoredColumns): New tests
232            for postgis tables with data types not yet supported by thuban.
233    
234    2003-08-29  Bernhard Herzog  <[email protected]>
235    
236            * HOWTO-Release: Tweak item about running the tests.
237    
238    2003-08-29  Jan-Oliver Wagner <[email protected]>
239    
240            * /Doc/manual/thuban-manual.xml: updated to version 1.0pre2.
241    
242    2003-08-29  Bernhard Herzog  <[email protected]>
243    
244            Add some missing parameters to projections. Proj complains about
245            them on windows but for some reason not on Linux.
246    
247            * test/test_save.py (SaveSessionTest.testLayerProjection): Add
248            missing required projection parameters
249    
250            * test/test_proj.py (TestProjFile.test): Add missing required
251            projection parameters
252    
253            * test/test_load_0_8.py (TestLayerProjection.file_contents)
254            (TestLayerProjection.test): Add missing required projection
255            parameters and tests for them
256    
257            * test/test_load.py (TestLayerProjection.file_contents)
258            (TestLayerProjection.test): Add missing required projection
259            parameters and tests for them
260    
261            * test/test_layer.py (TestLayer.test_base_layer): Add missing
262            required projection parameters
263    
264    2003-08-29  Bernhard Herzog  <[email protected]>
265    
266            * libraries/pyprojection/Projection.i: Use pj_get_errno_ref to
267            access the pj_errno because directly accessing pj_errno doesn't
268            work on windows if the proj library is in a DLL
269    
270            * libraries/pyprojection/Projection_wrap.c: Update from Projection.i
271    
272    2003-08-28  Bernhard Herzog  <[email protected]>
273    
274            * test/test_proj.py: Import things from Thuban after calling
275            initthuban
276    
277            * test/test_load.py (LoadSessionTest.filenames): New class
278            variable with the filename attributes to normalize
279            (LoadSessionTest.check_format): Pass self.filenames to
280            sax_eventlist to normalize the filename attributes
281    
282            * test/xmlsupport.py: Add cvs keywords
283            (SaxEventLister.__init__): New parameter filenames which indicates
284            attributes that contain filenames
285            (SaxEventLister.startElementNS): Normalize the filename attributes
286            with os.path.normpath
287            (sax_eventlist): New parameter filenames to pass through to
288            SaxEventLister
289    
290            * test/test_derivedshapestore.py: Make this file callable as a
291            program to execute the tests
292            (TestDerivedShapeStoreExceptions.test_table_with_wrong_size): Bind
293            the session to self.session so that it gets destroyed properly
294    
295            * test/test_layer.py (TestLayer.tearDown): Call the session's
296            Destroy method
297    
298            * test/test_map.py (TestMapBase.tearDown): Destroy self.session
299            too if it exists
300            (TestMapAddLayer.test_add_layer): Bind the session to self.session
301            so that it gets destroyed properly
302    
303            * test/postgissupport.py (reason_for_not_running_tests): Add a
304            test for the existence of popen2.Popen4.
305    
306            * test/test_save.py (SaveSessionTest.tearDown): New. Provide a
307            reliable way to destroy the sessions created in the test cases
308            (SaveSessionTest.test_dbf_table): Bind the session to self.session
309            so that it gets destroyed properly
310            (SaveSessionTest.testLayerProjection): Bind the session to
311            self.session so that it gets destroyed properly
312    
313            * test/test_session.py (UnreferencedTablesTests.tearDown): Make
314            sure that the session is destroyed properly
315    
316            * test/test_shapefilestore.py: Make this callable as a program to
317            execute the tests
318    
319            * test/test_scalebar.py: Remove unnecessary import of _ from
320            Thuban
321    
322            * test/support.py (print_garbage_information): Call initthuban
323            here because it may be called indirectly from test cases that test
324            test support modules which do not use anything from thuban itself
325            (ThubanTestProgram.runTests): Remove unnecessary debug print
326    
327    2003-08-28  Bernhard Herzog  <[email protected]>
328    
329            * Thuban/version.py (longversion): Update to 0.9
330    
331            * Thuban/UI/mainwindow.py: Remove some unused imports
332    
333            * README: Add section about required additional software. Add date
334            and revision CVS keywords
335    
336            * HOWTO-Release: Add item about the translations. Add date and
337            revision CVs keywords and change formatting to match README a bit
338            better
339    
340            * po/de.po: Update for 0.9
341    
342            * test/README: Tweak the wording a little because many tests are
343            not really unittest.
344    
345    2003-08-27  Bernhard Herzog  <[email protected]>
346    
347            As preparation for the 0.9 release, switch thuban files to a
348            non-dev namespace
349    
350            * Thuban/Model/save.py (SessionSaver.write_session): Write files
351            with the http://thuban.intevation.org/dtds/thuban-0.9.dtd
352            namespace
353    
354            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
355            http://thuban.intevation.org/dtds/thuban-0.9.dtd namespace too
356    
357            * test/test_save.py (SaveSessionTest.dtd)
358            (SaveSessionTest.testEmptySession)
359            (SaveSessionTest.testSingleLayer)
360            (SaveSessionTest.testLayerProjection)
361            (SaveSessionTest.testRasterLayer)
362            (SaveSessionTest.testClassifiedLayer)
363            (SaveSessionTest.test_dbf_table)
364            (SaveSessionTest.test_joined_table)
365            (SaveSessionTest.test_save_postgis): Update for new namespace
366    
367            * test/test_load.py (LoadSessionTest.dtd, TestSingleLayer)
368            (TestLayerVisibility.file_contents, TestLabels.file_contents)
369            (TestLayerProjection.file_contents)
370            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
371            (TestPostGISLayer.file_contents)
372            (TestPostGISLayerPassword.file_contents)
373            (TestLoadError.file_contents, TestLoadError.test): Update for new
374            namespace
375    
376    2003-08-27  Bernhard Herzog  <[email protected]>
377    
378            Make the table interface distinguish between row ids (an integer
379            that uniquely identifies a row) and row ordinals (a simple row
380            count from 0 to NumRows() - 1)
381    
382            * Thuban/Model/postgisdb.py (PostGISTable.RowIdToOrdinal)
383            (PostGISTable.RowOrdinalToId): New methods to conver between row
384            ids and row ordinals
385            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue): New keyword
386            parameter row_is_ordinal to indicate whether the row parameter is
387            the row id or the ordinal
388    
389            * Thuban/Model/transientdb.py (TransientTableBase.RowIdToOrdinal)
390            (TransientTableBase.RowOrdinalToId)
391            (AutoTransientTable.RowIdToOrdinal)
392            (AutoTransientTable.RowOrdinalToId): Same new methods as in
393            PostGISTable.
394            (TransientTableBase.ReadRowAsDict, TransientTableBase.ReadValue)
395            (AutoTransientTable.ReadRowAsDict, AutoTransientTable.ReadValue):
396            Same new parameter as in PostGISTable.
397    
398            * Thuban/Model/table.py (DBFTable.RowIdToOrdinal)
399            (DBFTable.RowOrdinalToId, MemoryTable.RowIdToOrdinal)
400            (MemoryTable.RowOrdinalToId): Same new methods as in PostGISTable.
401            (DBFTable.ReadValue, DBFTable.ReadRowAsDict)
402            (MemoryTable.ReadValue, MemoryTable.ReadRowAsDict): Same new
403            parameter as in PostGISTable.
404    
405            * Thuban/UI/tableview.py (DataTable.RowIdToOrdinal)
406            (DataTable.RowOrdinalToId): New methods to convert between row ids
407            and row ordinals.
408            (TableGrid.SelectRowById): New method to select a row based on its
409            ID as opposed to its ordinal
410            (DataTable.GetValue, TableGrid.OnRangeSelect)
411            (TableGrid.OnSelectCell, LayerTableGrid.select_shapes)
412            (QueryTableFrame.OnQuery, QueryTableFrame.get_selected)
413            (LayerTableFrame.__init__): Convert between row ids and row
414            ordinals as appropriate
415    
416            * test/postgissupport.py (PostGISDatabase.__init__): Add
417            doc-string.
418            (PostGISDatabase.initdb): The optional third item in a tuple in
419            tables is now a (key, value) list with additional arguments to
420            pass to upload_shapefile
421            (upload_shapefile): New parameter gid_offset to allow gids that
422            are not the same as the shapeids in the shapefile
423            (PostgreSQLServer.get_default_static_data_db): Use the new
424            gid_offset to make the gids in landmarks 1000 higher than the
425            shapeids in the shapefile
426    
427            * test/test_viewport.py
428            (TestViewportWithPostGIS.test_find_shape_at_point): Adapt to the
429            new shapeids in the landmarks table
430    
431            * test/test_transientdb.py
432            (TestTransientTable.run_iceland_political_tests)
433            (TestTransientTable.test_transient_joined_table): Add tests for
434            the new table methods and new keywords arguments.
435    
436            * test/test_postgis_db.py
437            (TestPostGISTable.test_read_row_as_dict_row_count_mode)
438            (TestPostGISTable.test_read_value_row_count_mode)
439            (TestPostGISTable.test_row_id_to_ordinal)
440            (TestPostGISTable.test_row_oridnal_to_id): New test for the new
441            table methods and the new arguments
442            (TestPostGISShapestorePoint.test_shapes_in_region)
443            (TestPostGISShapestorePoint.test_shape_raw_data)
444            (TestPostGISShapestorePoint.test_shape_points)
445            (TestPostGISShapestorePoint.test_shape_shapeid)
446            (TestPostGISShapestorePoint.test_all_shapes)
447            (TestPostGISTable.test_simple_query)
448            (TestPostGISTable.test_simple_query)
449            (TestPostGISTable.test_simple_query)
450            (TestPostGISTable.test_read_value)
451            (TestPostGISTable.test_read_row_as_dict): Adapt to the new
452            shapeids in the landmarks table
453    
454            * test/test_memory_table.py
455            (TestMemoryTable.test_read_row_as_dict_row_count_mode)
456            (TestMemoryTable.test_read_value_row_count_mode)
457            (TestMemoryTable.test_row_id_to_ordinal)
458            (TestMemoryTable.test_row_oridnal_to_id): New test for the new
459            table methods and the new arguments
460    
461            * test/test_dbf_table.py
462            (TestDBFTable.test_read_row_as_dict_row_count_mode)
463            (TestDBFTable.test_read_value_row_count_mode)
464            (TestDBFTable.test_row_id_to_ordinal)
465            (TestDBFTable.test_row_oridnal_to_id): New test for the new table
466            methods and the new arguments
467    
468    2003-08-26  Bernhard Herzog  <[email protected]>
469    
470            * Thuban/Model/postgisdb.py (PostGISShapeStore.BoundingBox): Use a
471            more postgis specific but much faster method to get the bounding
472            box
473    
474    2003-08-26  Bernhard Herzog  <[email protected]>
475    
476            * Thuban/Model/postgisdb.py (PostGISTable.Title)
477            (PostGISShapeStore.AllShapes): Add these missing methods.
478            (PostGISShapeStore.ShapesInRegion): No need to raise
479            StopIteration. We can simply return
480    
481            * test/test_postgis_db.py (TestPostGISTable.test_title)
482            (TestPostGISShapestorePoint.test_all_shapes): New tests for the
483            new methods
484    
485    2003-08-25  Bernhard Herzog  <[email protected]>
486    
487            * Thuban/Model/postgisdb.py (shapetype_map): Add MUTLIPOLYGON.
488    
489            * test/test_postgis_db.py (PolygonTests): New class containing
490            those tests from TestPostGISShapestorePolygon that can also be
491            used to test MUTLIPOLYGON tables
492            (TestPostGISShapestorePolygon): Most tests are now in PolygonTests
493            so derive from that
494            (TestPostGISShapestoreMultiPolygon): New class with tests for
495            MUTLIPOLYGON tables
496    
497            * test/postgissupport.py (PostGISDatabase.initdb): Allow the
498            tables argument to have tuples with three items to override the
499            WKT type used.
500            (PostgreSQLServer.get_default_static_data_db): Use the above to
501            create a polygon table with MUTLIPOLYGONs
502            (point_to_wkt, coords_to_point, polygon_to_wkt, coords_to_polygon)
503            (arc_to_wkt, coords_to_multilinestring): Rename from *_to_wkt to
504            coords_to*
505            (coords_to_multipolygon): New. Convert to MUTLIPOLYGON
506            (wkt_converter): New. Map WKT types to converters
507            (upload_shapefile): New parameter force_wkt_type to use a
508            different WKT type than the default
509    
510    2003-08-25  Bernhard Herzog  <[email protected]>
511    
512            * Thuban/UI/application.py
513            (ThubanApplication.run_db_param_dialog): New. Suitable as a
514            db_connection_callback. Main difference is that the dialog run
515            from this method doesn't have a parent so it can be used even when
516            there is no main window
517            (ThubanApplication.OpenSession): Use self.run_db_param_dialog if
518            no db_connection_callback was given. This way the dialog pops up
519            even when the .thuban file was given as a command line parameter.
520    
521    2003-08-25  Bernhard Herzog  <[email protected]>
522    
523            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Release the the mouse
524            before calling MouseLeftUp. MouseLeftUp may pop up modal dialogs
525            which leads to an effectively frozen X session because the user
526            can only interact with the dialog but the mouse is still grabbed
527            by the canvas.
528            Also, call the tool's Hide method before MouseLeftUp because
529            MouseLeftUp may change the tool's coordinates.
530    
531    2003-08-25  Bernhard Herzog  <[email protected]>
532    
533            * Thuban/UI/application.py (ThubanApplication.OpenSession): Catch
534            LoadCancelled exceptions and handle them by returning immediately.
535    
536    2003-08-25  Bernhard Herzog  <[email protected]>
537    
538            GUI part of loading sessions with postgis connections which may
539            require user interaction to get passwords or updated parameters
540    
541            * Thuban/UI/dbdialog.py (DBDialog): Reimplement to make it look a
542            bit nucer and be more generic.
543            (DBFrame.OnAdd): Adapt to new DBDialog interface
544    
545            * Thuban/UI/application.py (ThubanApplication.OpenSession): New
546            optional parameter db_connection_callback which is passed to
547            load_session.
548    
549            * Thuban/UI/mainwindow.py (MainWindow.run_db_param_dialog): New.
550            Suitable as a db_connection_callback
551            (MainWindow.OpenSession): Use self.run_db_param_dialog as the
552            db_connection_callback of the application's OpenSession method
553    
554    
555    2003-08-25  Bernhard Herzog  <[email protected]>
556    
557            Basic loading of sessions containing postgis connections:
558    
559            * Thuban/Model/load.py (LoadError): Add doc-string
560            (LoadCancelled): New exception class to indicate a cancelled load
561            (SessionLoader.__init__): Add the db_connection_callback parameter
562            which will be used by the loader to get updated parameters and a
563            password for a database connection
564            (SessionLoader.__init__): Add the new XML elements to the
565            dispatchers dictionary
566            (SessionLoader.check_attrs): Two new conversions, ascii to convert
567            to a byte-string object and idref as a generic id reference
568            (SessionLoader.start_dbconnection)
569            (SessionLoader.start_dbshapesource): New. Handlers for the new XML
570            elements
571            (load_session): Add the db_connection_callback to pass through the
572            SessionLoader
573    
574            * test/test_load.py (TestPostGISLayer, TestPostGISLayerPassword):
575            New classes to test loading of sessions with postgis database
576            connections.
577    
578    2003-08-25  Bernhard Herzog  <[email protected]>
579    
580            * Thuban/UI/mainwindow.py (__ThubanVersion__): Remove this and
581            replace it and the comment with __BuildDate__ by the Source: and
582            Id: cvs keywords as used in the other files.
583    
584    2003-08-25  Bernhard Herzog  <[email protected]>
585    
586            * Thuban/Model/load.py (SessionLoader.check_attrs): Raise a
587            LoadError when a required attribute is missing. The code used to
588            be commented out for some reason, but probably should have been
589            active.
590    
591            * test/test_load.py (TestLoadError.test): Test the message in the
592            LoadError too to make sure it really is about the missing
593            attribute
594    
595  2003-08-22  Bernhard Herzog  <[email protected]>  2003-08-22  Bernhard Herzog  <[email protected]>
596          
597            * test/test_save.py (SaveSessionTest.test_dbf_table)
598            (SaveSessionTest.test_joined_table): Add XML validation tests.
599    
600    2003-08-22  Bernhard Herzog  <[email protected]>
601    
602          Implement saving a session with a postgis connection          Implement saving a session with a postgis connection
603    
604          * Resources/XML/thuban-0.9.dtd (dbconnection, dbshapesource) New          * Resources/XML/thuban-0.9.dtd (dbconnection, dbshapesource) New
# Line 851  Line 1450 
1450    
1451          * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as          * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
1452          it annoys lintian which warns about these files not being          it annoys lintian which warns about these files not being
1453          executable. The #1 isn't necessary here since if you absolutely          executable. The #! isn't necessary here since if you absolutely
1454          must execute them you can always say "python <filename>".          must execute them you can always say "python <filename>".
1455    
1456          * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove          * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove

Legend:
Removed from v.1639  
changed lines
  Added in v.1773

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26