/[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 1279 by jonathan, Fri Jun 20 17:47:12 2003 UTC
# Line 1  Line 1 
1  2003-06-20  Jonathan Coles   <[email protected]>  2003-06-20  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/layer.py (BaseLayer.HasShapes): New. Overridden
4            by deriving classes to determine if that layer supports shapes.
5            (Layer): Override HasShapes and return true.
6    
7            * Thuban/UI/classgen.py: Use Thuban[Begin|End]BusyCursor()
8            instead of a direct call to wx[Begin|End]CusyCursor().
9            (GenUniquePanel._OnRetrieve): Set busy cursor while retrieving
10            table data.
11    
12            * Thuban/UI/common.py (ThubanBeginBusyCursor, ThubanEndBusyCursor):
13            New. Wrappers around the wxWindows functions that allow us to
14            make additional calls such as wxYield which gives the native
15            system a chance to update the cursor correctly.
16    
17            * Thuban/UI/tableview.py: Use Thuban[Begin|End]BusyCursor()
18            instead of a direct call to wx[Begin|End]CusyCursor().
19    
20            * Thuban/UI/view.py: Use Thuban[Begin|End]BusyCursor()
21            instead of a direct call to wx[Begin|End]CusyCursor().
22            (MapCanvas.find_shape_at): Check if the current search layer
23            support shapes, otherwise go on to the next layer.
24    
25            * test/test_layer.py: Add tests in each type of layer for
26            HasClassification() and HasShapes()
27    
28    2003-06-20  Jonathan Coles   <[email protected]>
29    
30            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after
31            turning on the busy cursor to allow the system to change the
32            cursor before we begin painting. This fixes a problem that
33            was occuring only under GTK. Fixes RTbug #1840.
34    
35    2003-06-20  Bernhard Herzog  <[email protected]>
36    
37            * Resources/XML/thuban-0.8.dtd: New DTD for the new file format
38            version.
39    
40            * Thuban/Model/save.py (sort_data_stores): New. Make topological
41            sort of the data sources so they can be written with sources that
42            data sources that depend on other data sources come after the
43            sources they depend on.
44            (SessionSaver.__init__): Add idmap instance variable to map from
45            objects to the ids used in the file.
46            (SessionSaver.get_id, SessionSaver.define_id)
47            (SessionSaver.has_id): New. Methods to manage the idmap
48            (SessionSaver.write): Use thuban-0.8.dtd
49            (SessionSaver.write_session): Add a namespace on the session and
50            write out the data sources before the maps.
51            (SessionSaver.write_data_containers): New. Write the data
52            containers.
53            (SessionSaver.write_layer): Layer elements now refer to a
54            shapestore and don't contain filenames anymore.
55    
56            * Thuban/Model/load.py (LoadError): Exception class to raise when
57            errors in the files are discovered
58            (SessionLoader.__init__): Define dispatchers for elements with a
59            thuban-0.8 namespace too.
60            (SessionLoader.check_attrs): New helper method to check and
61            convert attributes
62            (AttrDesc): New. Helper class for SessionLoader.check_attrs
63            (SessionLoader.start_fileshapesource)
64            (SessionLoader.start_derivedshapesource)
65            (SessionLoader.start_filetable, SessionLoader.start_jointable):
66            Handlers for the new elements in the new fileformat
67            (SessionLoader.start_layer): Handle the shapestore attribute in
68            addition to filename.
69            (SessionLoader.start_table, SessionLoader.end_table): Removed.
70            They were never used in the old formats and aren't needed for the
71            new.
72    
73            * Thuban/Model/session.py (Session.DataContainers): New method to
74            return all "data containers", i.e. shapestores and tables
75    
76            * test/xmlsupport.py (SaxEventLister.__init__)
77            (SaxEventLister.startElementNS, sax_eventlist): Add support to
78            normalize IDs.
79    
80            * test/test_xmlsupport.py
81            (TestEventList.test_even_list_id_normalization): New test case for
82            id normalization
83    
84            * test/test_load.py (LoadSessionTest.check_format): Use ID
85            normalization
86            (LoadSessionTest.thubanids, LoadSessionTest.thubanidrefs): New
87            class atrributes used for ID normalization
88            (TestSingleLayer, TestLayerVisibility, TestLabels.test)
89            (TestLayerProjection.test, TestRasterLayer.test): Adapt to new
90            file format
91            (TestJoinedTable): New test for loading sessions with joined
92            tables.
93            (TestLoadError): New. Test whether missing required attributes
94            cause a LoadError.
95    
96            * test/test_save.py (SaveSessionTest.thubanids)
97            (SaveSessionTest.thubanidrefs): New class attributes for ID
98            normalization in .thuban files.
99            (SaveSessionTest.compare_xml): Use id-normalization.
100            (SaveSessionTest.testEmptySession)
101            (SaveSessionTest.testLayerProjection)
102            (SaveSessionTest.testRasterLayer)
103            (SaveSessionTest.testClassifiedLayer): Adapt to new file format.
104            (SaveSessionTest.testLayerProjection): The filename used was the
105            same as for testSingleLayer. Use a different one.
106            (SaveSessionTest.test_dbf_table)
107            (SaveSessionTest.test_joined_table): New test cases for saving the
108            new data sources structures.
109            (TestStoreSort, MockDataStore): Classes to test the sorting of the
110            data stores for writing.
111    
112            * test/runtests.py: Add CVS keywords
113    
114    2003-06-20  Jonathan Coles   <[email protected]>
115    
116          * test/test_session.py          * test/test_session.py
117          (UnreferencedTablesTests.test_unreferenced_tables_with_joins):          (UnreferencedTablesTests.test_unreferenced_tables_with_joins):
118          Use the cultural_landmark-point.dbf file for the store so that          Use the cultural_landmark-point.dbf file for the store so that

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26