/[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 1267 by jonathan, Fri Jun 20 14:36:46 2003 UTC revision 1334 by frank, Tue Jul 1 15:41:38 2003 UTC
# Line 1  Line 1 
1    2003-07-01  Frank Koormann   <frank.koormann@intevation.de>
2    
3            MERGE from the greater-ms3 branch.
4    
5            * test/test_transientdb.py
6            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
7            New. Test join of two tables with partly equal column names.
8    
9            * Thuban/Model/transientdb.py (TransientJoinedTable.create):
10            If duplicates in left and right tables column names are found,
11            append '_' (underscores) to the name until it is unique.
12            Create always new internal names for the resulting table and reference
13            columns in the join statement with <table>.<column>
14    
15    2003-07-01  Bernhard Herzog  <bh@intevation.de>
16    
17            * test/test_transientdb.py
18            (TestTransientTable.test_transient_joined_table_same_column_name):
19            New. Test whether joining on columns with the same names in both
20            tables works.
21            
22            * Thuban/Model/transientdb.py (TransientJoinedTable.create): Make
23            sure to use the right internal names even when joining on field
24            with the same names in both tables. Also, detect duplicate names
25            in the joined table correctly.
26    
27    2003-07-01  Frank Koormann   <frank@intevation.de>
28    
29            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
30            Reverse List of layers to render in same order as in desktop legend.
31    
32    2003-06-30  Jonathan Coles   <jonathan@intevation.de>
33    
34            * Thuban/version.py: SQLite/PySQLite version dependencies
35            were too high.
36    
37    2003-06-30  Jonathan Coles   <jonathan@intevation.de>
38    
39            * Thuban/version.py: Update version to 0.8.1
40            
41            * MANIFEST.in: Added Projections so that default.proj is
42            included.
43    
44    2003-06-26  Jonathan Coles   <jonathan@intevation.de>
45    
46            New About box with lots more information including library
47            versions and credits. More/better version checking before
48            Thuban starts.
49    
50            * Thuban/UI/about.py: New. New About box that displays
51            library version information and credits.
52    
53            * Thuban/version.py: Added new 'versions' dictionary which
54            contains the verions of various libraries which are checked
55            when the module loads.
56            (verify_versions): Check all version numbers and returns
57            a list of errors.
58    
59            * Thuban/UI/classifier.py (Classifier.__EnableButtons):
60            Reset the status of the buttons as the situation warrants,
61            but in a better more reliable way by not relying on the
62            current status to determine what needs to change.
63    
64            * Thuban/UI/main.py (wxCHECK_VERSION): Removed. Not needed.
65            (verify_versions): Remove most of the code since it is
66            now in Thuban.version.verify_versions.o
67    
68            * Thuban/UI/mainwindow.py (MainWindow.About): Call new
69            About box in Thuban.UI.about.
70    
71            * extensions/thuban/gdalwarp.cpp (get_gdal_version): New.
72            Returns the version of gdal library being used as a string.
73    
74            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
75            Removed.
76            (get_proj_version): Return the version of PROJ that the file
77            was compiled with.
78            (get_gtk_version): Return th version of GTK that the file
79            was compiled with.
80    
81    2003-06-25  Jonathan Coles   <jonathan@intevation.de>
82    
83            * Thuban/UI/classifier.py (Classifier.EditSymbol): The parent
84            of the SelectPropertiesDialog should be self so the window
85            appears on top.
86            (ClassGroupPropertiesCtrl.DoEdit): The parent
87            of the SelectPropertiesDialog should be self so the window
88            appears on top.
89    
90            * Thuban/UI/resource.py: Cleaned up how we determine file
91            extensions.
92            (GetImageResource): Return an wxImage from our Resources.
93    
94    2003-06-24  Jonathan Coles   <jonathan@intevation.de>
95    
96            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
97            Check that a layer has a classification before trying
98            to get it. Raster layers don't have classifications.
99    
100    2003-06-23  Jonathan Coles   <jonathan@intevation.de>
101            
102            * setup.py: Add Resources/XML to resource list.
103        
104    2003-06-23  Jonathan Coles   <jonathan@intevation.de>
105    
106            * setup.cfg: Fix copyright dates
107        
108    2003-06-23  Jonathan Coles   <jonathan@intevation.de>
109    
110            * MANIFEST.in: Update with Resources/XML
111    
112            * setup.py: Don't include Locale resources yet as we don't
113            have any and it causes problems building the distribution
114            for Windows. Update version to 0.8.0.
115    
116            * Doc/thuban.dtd: Removed since it is now in Resources/XML.
117    
118            * Thuban/UI/mainwindow.py: Add blank line at the end because
119            file was not being read correctly building the Windows
120            distribution.
121    
122    2003-06-23  Jonathan Coles   <jonathan@intevation.de>
123    
124            * Thuban/UI/mainwindow.py (MainWindow.About): Fix text.
125    
126            * Thuban/version.py: Temporarily update longversion for
127            the 0.8 release so that it doesn't have the cvs revision.
128    
129    2003-06-23  Jonathan Coles   <jonathan@intevation.de>
130    
131            * Thuban/UI/common.py (ThubanBeginBusyCursor): Call wxSafeYield
132            to make sure that we don't create reentrant possibilities with
133            wxYield.
134    
135            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxBeginBusyCursor()
136            directly to avoid the wxSafeYield() call which generates an
137            OnPaint event causing infinite recursion. Don't try to catch
138            exception anymore. This was for before there were limits on map
139            scaling.
140    
141    2003-06-23  Bernhard Herzog  <bh@intevation.de>
142    
143            Bug fix for RT #1961:
144    
145            * Thuban/Model/load.py (SessionLoader.start_derivedshapesource):
146            Register DerivedShapestores with the session
147    
148            * Thuban/Model/session.py (Session.Tables): Make sure each table
149            is only listed once.
150    
151            * test/test_load.py (TestJoinedTable.test): Add check_format call.
152            Update file contents to match the one written out.
153    
154    2003-06-20  Bernhard Herzog  <bh@intevation.de>
155    
156            * test/xmlsupport.py (SaxEventLister.startElementNS)
157            (SaxEventLister.endElementNS): Do not include the qname. Python
158            2.2.1 and 2.2.2 and 2.2.3 differ in this regard. In 2.2.1 qname it
159            is (presumably incorrectly) None, whereas it's a string with the
160            element name in the later versions.
161    
162            * test/test_xmlsupport.py (TestEventList.test_even_list_simple)
163            (TestEventList.test_even_list_namespace): Update tests to reflect
164            the new behaviour
165            (TestEventList.test_even_list_id_normalization): Fix doc-string
166    
167    2003-06-20  Jonathan Coles   <jonathan@intevation.de>
168    
169            * Thuban/Model/layer.py (BaseLayer.HasShapes): New. Overridden
170            by deriving classes to determine if that layer supports shapes.
171            (Layer): Override HasShapes and return true.
172    
173            * Thuban/UI/classgen.py: Use Thuban[Begin|End]BusyCursor()
174            instead of a direct call to wx[Begin|End]CusyCursor().
175            (GenUniquePanel._OnRetrieve): Set busy cursor while retrieving
176            table data.
177    
178            * Thuban/UI/common.py (ThubanBeginBusyCursor, ThubanEndBusyCursor):
179            New. Wrappers around the wxWindows functions that allow us to
180            make additional calls such as wxYield which gives the native
181            system a chance to update the cursor correctly.
182    
183            * Thuban/UI/tableview.py: Use Thuban[Begin|End]BusyCursor()
184            instead of a direct call to wx[Begin|End]CusyCursor().
185    
186            * Thuban/UI/view.py: Use Thuban[Begin|End]BusyCursor()
187            instead of a direct call to wx[Begin|End]CusyCursor().
188            (MapCanvas.find_shape_at): Check if the current search layer
189            support shapes, otherwise go on to the next layer.
190    
191            * test/test_layer.py: Add tests in each type of layer for
192            HasClassification() and HasShapes()
193    
194    2003-06-20  Jonathan Coles   <jonathan@intevation.de>
195    
196            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after
197            turning on the busy cursor to allow the system to change the
198            cursor before we begin painting. This fixes a problem that
199            was occuring only under GTK. Fixes RTbug #1840.
200    
201    2003-06-20  Bernhard Herzog  <bh@intevation.de>
202    
203            * Resources/XML/thuban-0.8.dtd: New DTD for the new file format
204            version.
205    
206            * Thuban/Model/save.py (sort_data_stores): New. Make topological
207            sort of the data sources so they can be written with sources that
208            data sources that depend on other data sources come after the
209            sources they depend on.
210            (SessionSaver.__init__): Add idmap instance variable to map from
211            objects to the ids used in the file.
212            (SessionSaver.get_id, SessionSaver.define_id)
213            (SessionSaver.has_id): New. Methods to manage the idmap
214            (SessionSaver.write): Use thuban-0.8.dtd
215            (SessionSaver.write_session): Add a namespace on the session and
216            write out the data sources before the maps.
217            (SessionSaver.write_data_containers): New. Write the data
218            containers.
219            (SessionSaver.write_layer): Layer elements now refer to a
220            shapestore and don't contain filenames anymore.
221    
222            * Thuban/Model/load.py (LoadError): Exception class to raise when
223            errors in the files are discovered
224            (SessionLoader.__init__): Define dispatchers for elements with a
225            thuban-0.8 namespace too.
226            (SessionLoader.check_attrs): New helper method to check and
227            convert attributes
228            (AttrDesc): New. Helper class for SessionLoader.check_attrs
229            (SessionLoader.start_fileshapesource)
230            (SessionLoader.start_derivedshapesource)
231            (SessionLoader.start_filetable, SessionLoader.start_jointable):
232            Handlers for the new elements in the new fileformat
233            (SessionLoader.start_layer): Handle the shapestore attribute in
234            addition to filename.
235            (SessionLoader.start_table, SessionLoader.end_table): Removed.
236            They were never used in the old formats and aren't needed for the
237            new.
238    
239            * Thuban/Model/session.py (Session.DataContainers): New method to
240            return all "data containers", i.e. shapestores and tables
241    
242            * test/xmlsupport.py (SaxEventLister.__init__)
243            (SaxEventLister.startElementNS, sax_eventlist): Add support to
244            normalize IDs.
245    
246            * test/test_xmlsupport.py
247            (TestEventList.test_even_list_id_normalization): New test case for
248            id normalization
249    
250            * test/test_load.py (LoadSessionTest.check_format): Use ID
251            normalization
252            (LoadSessionTest.thubanids, LoadSessionTest.thubanidrefs): New
253            class atrributes used for ID normalization
254            (TestSingleLayer, TestLayerVisibility, TestLabels.test)
255            (TestLayerProjection.test, TestRasterLayer.test): Adapt to new
256            file format
257            (TestJoinedTable): New test for loading sessions with joined
258            tables.
259            (TestLoadError): New. Test whether missing required attributes
260            cause a LoadError.
261    
262            * test/test_save.py (SaveSessionTest.thubanids)
263            (SaveSessionTest.thubanidrefs): New class attributes for ID
264            normalization in .thuban files.
265            (SaveSessionTest.compare_xml): Use id-normalization.
266            (SaveSessionTest.testEmptySession)
267            (SaveSessionTest.testLayerProjection)
268            (SaveSessionTest.testRasterLayer)
269            (SaveSessionTest.testClassifiedLayer): Adapt to new file format.
270            (SaveSessionTest.testLayerProjection): The filename used was the
271            same as for testSingleLayer. Use a different one.
272            (SaveSessionTest.test_dbf_table)
273            (SaveSessionTest.test_joined_table): New test cases for saving the
274            new data sources structures.
275            (TestStoreSort, MockDataStore): Classes to test the sorting of the
276            data stores for writing.
277    
278            * test/runtests.py: Add CVS keywords
279    
280  2003-06-20  Jonathan Coles   <jonathan@intevation.de>  2003-06-20  Jonathan Coles   <jonathan@intevation.de>
281    
282          * test/test_session.py          * test/test_session.py

Legend:
Removed from v.1267  
changed lines
  Added in v.1334

root@scm.wald.intevation.org
ViewVC Help
Powered by ViewVC 1.1.26