/[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 1304 by jonathan, Wed Jun 25 09:40:02 2003 UTC
# Line 1  Line 1 
1    2003-06-25  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/classifier.py (Classifier.EditSymbol): The parent
4            of the SelectPropertiesDialog should be self so the window
5            appears on top.
6            (ClassGroupPropertiesCtrl.DoEdit): The parent
7            of the SelectPropertiesDialog should be self so the window
8            appears on top.
9    
10            * Thuban/UI/resource.py: Cleaned up how we determine file
11            extensions.
12            (GetImageResource): Return an wxImage from our Resources.
13    
14    2003-06-24  Jonathan Coles   <[email protected]>
15    
16            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
17            Check that a layer has a classification before trying
18            to get it. Raster layers don't have classifications.
19    
20    2003-06-23  Jonathan Coles   <[email protected]>
21            
22            * setup.py: Add Resources/XML to resource list.
23        
24    2003-06-23  Jonathan Coles   <[email protected]>
25    
26            * setup.cfg: Fix copyright dates
27        
28    2003-06-23  Jonathan Coles   <[email protected]>
29    
30            * MANIFEST.in: Update with Resources/XML
31    
32            * setup.py: Don't include Locale resources yet as we don't
33            have any and it causes problems building the distribution
34            for Windows. Update version to 0.8.0.
35    
36            * Doc/thuban.dtd: Removed since it is now in Resources/XML.
37    
38            * Thuban/UI/mainwindow.py: Add blank line at the end because
39            file was not being read correctly building the Windows
40            distribution.
41    
42    2003-06-23  Jonathan Coles   <[email protected]>
43    
44            * Thuban/UI/mainwindow.py (MainWindow.About): Fix text.
45    
46            * Thuban/version.py: Temporarily update longversion for
47            the 0.8 release so that it doesn't have the cvs revision.
48    
49    2003-06-23  Jonathan Coles   <[email protected]>
50    
51            * Thuban/UI/common.py (ThubanBeginBusyCursor): Call wxSafeYield
52            to make sure that we don't create reentrant possibilities with
53            wxYield.
54    
55            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxBeginBusyCursor()
56            directly to avoid the wxSafeYield() call which generates an
57            OnPaint event causing infinite recursion. Don't try to catch
58            exception anymore. This was for before there were limits on map
59            scaling.
60    
61    2003-06-23  Bernhard Herzog  <[email protected]>
62    
63            Bug fix for RT #1961:
64    
65            * Thuban/Model/load.py (SessionLoader.start_derivedshapesource):
66            Register DerivedShapestores with the session
67    
68            * Thuban/Model/session.py (Session.Tables): Make sure each table
69            is only listed once.
70    
71            * test/test_load.py (TestJoinedTable.test): Add check_format call.
72            Update file contents to match the one written out.
73    
74    2003-06-20  Bernhard Herzog  <[email protected]>
75    
76            * test/xmlsupport.py (SaxEventLister.startElementNS)
77            (SaxEventLister.endElementNS): Do not include the qname. Python
78            2.2.1 and 2.2.2 and 2.2.3 differ in this regard. In 2.2.1 qname it
79            is (presumably incorrectly) None, whereas it's a string with the
80            element name in the later versions.
81    
82            * test/test_xmlsupport.py (TestEventList.test_even_list_simple)
83            (TestEventList.test_even_list_namespace): Update tests to reflect
84            the new behaviour
85            (TestEventList.test_even_list_id_normalization): Fix doc-string
86    
87    2003-06-20  Jonathan Coles   <[email protected]>
88    
89            * Thuban/Model/layer.py (BaseLayer.HasShapes): New. Overridden
90            by deriving classes to determine if that layer supports shapes.
91            (Layer): Override HasShapes and return true.
92    
93            * Thuban/UI/classgen.py: Use Thuban[Begin|End]BusyCursor()
94            instead of a direct call to wx[Begin|End]CusyCursor().
95            (GenUniquePanel._OnRetrieve): Set busy cursor while retrieving
96            table data.
97    
98            * Thuban/UI/common.py (ThubanBeginBusyCursor, ThubanEndBusyCursor):
99            New. Wrappers around the wxWindows functions that allow us to
100            make additional calls such as wxYield which gives the native
101            system a chance to update the cursor correctly.
102    
103            * Thuban/UI/tableview.py: Use Thuban[Begin|End]BusyCursor()
104            instead of a direct call to wx[Begin|End]CusyCursor().
105    
106            * Thuban/UI/view.py: Use Thuban[Begin|End]BusyCursor()
107            instead of a direct call to wx[Begin|End]CusyCursor().
108            (MapCanvas.find_shape_at): Check if the current search layer
109            support shapes, otherwise go on to the next layer.
110    
111            * test/test_layer.py: Add tests in each type of layer for
112            HasClassification() and HasShapes()
113    
114    2003-06-20  Jonathan Coles   <[email protected]>
115    
116            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after
117            turning on the busy cursor to allow the system to change the
118            cursor before we begin painting. This fixes a problem that
119            was occuring only under GTK. Fixes RTbug #1840.
120    
121    2003-06-20  Bernhard Herzog  <[email protected]>
122    
123            * Resources/XML/thuban-0.8.dtd: New DTD for the new file format
124            version.
125    
126            * Thuban/Model/save.py (sort_data_stores): New. Make topological
127            sort of the data sources so they can be written with sources that
128            data sources that depend on other data sources come after the
129            sources they depend on.
130            (SessionSaver.__init__): Add idmap instance variable to map from
131            objects to the ids used in the file.
132            (SessionSaver.get_id, SessionSaver.define_id)
133            (SessionSaver.has_id): New. Methods to manage the idmap
134            (SessionSaver.write): Use thuban-0.8.dtd
135            (SessionSaver.write_session): Add a namespace on the session and
136            write out the data sources before the maps.
137            (SessionSaver.write_data_containers): New. Write the data
138            containers.
139            (SessionSaver.write_layer): Layer elements now refer to a
140            shapestore and don't contain filenames anymore.
141    
142            * Thuban/Model/load.py (LoadError): Exception class to raise when
143            errors in the files are discovered
144            (SessionLoader.__init__): Define dispatchers for elements with a
145            thuban-0.8 namespace too.
146            (SessionLoader.check_attrs): New helper method to check and
147            convert attributes
148            (AttrDesc): New. Helper class for SessionLoader.check_attrs
149            (SessionLoader.start_fileshapesource)
150            (SessionLoader.start_derivedshapesource)
151            (SessionLoader.start_filetable, SessionLoader.start_jointable):
152            Handlers for the new elements in the new fileformat
153            (SessionLoader.start_layer): Handle the shapestore attribute in
154            addition to filename.
155            (SessionLoader.start_table, SessionLoader.end_table): Removed.
156            They were never used in the old formats and aren't needed for the
157            new.
158    
159            * Thuban/Model/session.py (Session.DataContainers): New method to
160            return all "data containers", i.e. shapestores and tables
161    
162            * test/xmlsupport.py (SaxEventLister.__init__)
163            (SaxEventLister.startElementNS, sax_eventlist): Add support to
164            normalize IDs.
165    
166            * test/test_xmlsupport.py
167            (TestEventList.test_even_list_id_normalization): New test case for
168            id normalization
169    
170            * test/test_load.py (LoadSessionTest.check_format): Use ID
171            normalization
172            (LoadSessionTest.thubanids, LoadSessionTest.thubanidrefs): New
173            class atrributes used for ID normalization
174            (TestSingleLayer, TestLayerVisibility, TestLabels.test)
175            (TestLayerProjection.test, TestRasterLayer.test): Adapt to new
176            file format
177            (TestJoinedTable): New test for loading sessions with joined
178            tables.
179            (TestLoadError): New. Test whether missing required attributes
180            cause a LoadError.
181    
182            * test/test_save.py (SaveSessionTest.thubanids)
183            (SaveSessionTest.thubanidrefs): New class attributes for ID
184            normalization in .thuban files.
185            (SaveSessionTest.compare_xml): Use id-normalization.
186            (SaveSessionTest.testEmptySession)
187            (SaveSessionTest.testLayerProjection)
188            (SaveSessionTest.testRasterLayer)
189            (SaveSessionTest.testClassifiedLayer): Adapt to new file format.
190            (SaveSessionTest.testLayerProjection): The filename used was the
191            same as for testSingleLayer. Use a different one.
192            (SaveSessionTest.test_dbf_table)
193            (SaveSessionTest.test_joined_table): New test cases for saving the
194            new data sources structures.
195            (TestStoreSort, MockDataStore): Classes to test the sorting of the
196            data stores for writing.
197    
198            * test/runtests.py: Add CVS keywords
199    
200  2003-06-20  Jonathan Coles   <[email protected]>  2003-06-20  Jonathan Coles   <[email protected]>
201    
202          * test/test_session.py          * test/test_session.py

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26