/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 949 by jonathan, Tue May 20 15:27:40 2003 UTC revision 988 by bh, Thu May 22 16:46:23 2003 UTC
# Line 1  Line 1 
1    2003-05-22  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/session.py (Session.RemoveTable): New method to
4            remove tables
5    
6            * test/test_session.py (TestSessionSimple.test_remove_table): New.
7            Test for RemoveTable
8    
9    2003-05-22  Thomas Koester  <[email protected]>
10    
11            * Thuban/Model/classgen.py: Added short module doc string and CVS id.
12            (ClassGenerator.GenUniformDistribution): Use new Range __init__, too.
13    
14    2003-05-22  Bernhard Herzog  <[email protected]>
15    
16            Implement a way to discover dependencies between tables and
17            shapestores.
18    
19            * Thuban/Model/transientdb.py (TransientTableBase.Dependencies)
20            (TransientJoinedTable.Dependencies)
21            (AutoTransientTable.SimpleQuery): New. Implement the dependencies
22            interface
23            (TransientJoinedTable.__init__): Keep tack of the original table
24            objects in addition to the corresponding transient tables.
25    
26            * Thuban/Model/table.py (DBFTable.Dependencies)
27            (MemoryTable.Dependencies): New. Implement the dependencies
28            interface
29    
30            * Thuban/Model/data.py (ShapeTable): New. Helper class for
31            ShapefileStore
32            (ShapefileStore.__init__): Use ShapeTable instead of
33            AutoTransientTable
34            (ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings
35            (ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor
36            methods for filename and type
37            (ShapefileStore.Dependencies): New. Implement the dependencies
38            interface
39            (DerivedShapeStore): New class to replace SimpleStore. The main
40            difference to SimpleStore is that it depends not on a shapefile
41            but another shapestore which expresses the dependencies a bit
42            better
43            (SimpleStore.__init__): Add deprecation warning.
44    
45            * test/test_dbf_table.py (TestDBFTable.test_dependencies): New.
46            Test for the Dependencies method.
47    
48            * test/test_memory_table.py (TestMemoryTable.test_dependencies):
49            New. Test for the Dependencies method.
50    
51            * test/test_transientdb.py
52            (TestTransientTable.test_auto_transient_table_dependencies): New.
53            Test for the Dependencies method.
54            (TestTransientTable.test_transient_joined_table): Add test for the
55            Dependencies method.
56    
57            * test/test_session.py (TestSessionSimple.setUp)
58            (TestSessionSimple.tearDown): New. Implement a better way to
59            destroy the sessions.
60            (TestSessionSimple.test_initial_state)
61            (TestSessionSimple.test_add_table): Bind session to self.session
62            so that it's destroyed by tearDown
63            (TestSessionSimple.test_open_shapefile): New. Test for
64            OpenShapefile and the object it returns
65    
66    2003-05-22  Bernhard Herzog  <[email protected]>
67    
68            * Thuban/Model/session.py (Session.AddTable): New method to
69            register tables with the session.
70            (Session.Tables): Return the tables registered with AddTable too.
71    
72            * test/test_session.py (TestSessionSimple.test_add_table): New.
73            Test case for the AddTable method
74    
75    2003-05-22  Frank Koormann  <[email protected]>
76    
77            UI polishing updates: Place main buttons (OK, Cancel, etc) in the
78            lower right corner, center labels for selections, initialize controls
79            in reasonable order for keyboard navigation.
80    
81            * Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout)
82            (ProjFrame.__DoOnProjAvail): Determine position of current projection
83            using the wxListBox.FindString() method. Still a problem (#1886)
84    
85            * Thuban/UI/classifier.py
86            (Classifier.__init__, SelectPropertiesDialog.__init__)
87    
88            * Thuban/UI/classgen.py (ClassGenDialog.__init__,
89            (ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the
90            different classification types from here to __init__.
91            (GenUniquePanel.__init__): Set the column width of the first field
92            in the Field ListCtrl to the full width.
93    
94            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As'
95            Button to 'Export'. Center Buttons in Selection Box, set Focus to
96            Grid.
97            (LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN,
98            changes focus to the Selection when pressing "Alt-S".
99    
100            * Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out
101            the text if not visible. The italic font sometimes exceeds the
102            rendering area.
103    
104    2003-05-21  Jonathan Coles   <[email protected]>
105    
106            * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose
107            to OnClose so that Thuban closes correctly.
108    
109            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Call
110            DockFrame.OnClose, not DockFrame._OnClose.
111    
112    2003-05-21  Jonathan Coles   <[email protected]>
113    
114            * Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove
115            references to 'inf' and use new Range __init__ to pass floats
116            directly rather than converting them to strings first.
117            Fixes RTBug #1876.
118    
119            * Thuban/Model/classification.py (ClassGroupRange.SetRange):
120            Use new Range ___init__ to pass floats.
121    
122            * Thuban/Model/layer.py (RasterLayer.__init__): Test if the
123            filename is a valid image file. Throw IOError otherwise.
124    
125            * Thuban/Model/range.py: Brought over new Range from SciParam that
126            is immutable and has an __init__ which can accept floats.
127    
128            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile
129            into try block. AddLayer doesn't throw any exceptions anymore.
130            (MainWindow.AddRasterLayer): Move constructor of RasterLayer into
131            try block.
132    
133            * Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as
134            the first item in choices. Fixes RTBug #1882.
135    
136            * Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale
137            has gone to 0 which is a serious problem. abort.
138            (MapRenderer.draw_raster_layer): Catch IOError seperately and
139            print the error from GDAL.
140    
141            * Thuban/UI/tableview.py (TableGrid.__init__): Call
142            ToggleEventListeners to turn on listening.
143            (TableGrid.ToggleEventListeners): New. Turns event listening on
144            and off so as to prevent excessive messages.
145            (LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners
146            to suppress excessive messages when selecting many rows.
147            Fixes RTBug #1880.
148    
149            * Thuban/UI/view.py: Added checks against if scale == 0. This
150            is a serious problem that can occur when an image without
151            geo data is loading and causes the map projection bounds to
152            go to infinity. Right now, the solution is to simply try
153            to recover.
154    
155            * extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure
156            to set the MFILEReceiver attributes even if the data is NULL.
157    
158            * extensions/thuban/gdalwarp.cpp: Improved the error handling
159            and passed GDAL messages back up to the Python layer. Also
160            tried to fix some memory leaks that were present in the original
161            utility but didn't matter because the program aborted.
162    
163            * test/test_range.py: Copied over tests from SciParam. Removed
164            tests against importing. Fixes RTBug #1867.
165    
166    2003-05-21  Bernhard Herzog  <[email protected]>
167    
168            * test/test_load.py: Remove unused imports and restructure the
169            test code
170            (LoadSessionTest): Split into one class for each test and turn
171            LoadSessionTest itself into the base class for all such session
172            tests.
173            (ClassificationTest): New base class for load tests that test
174            classifications
175            (TestSingleLayer, TestLayerVisibility, TestClassification)
176            (TestLabels, TestLayerProjection, TestRasterLayer): New classes
177            for the individual tests
178    
179            * test/support.py (FileLoadTestCase.filename): New base class for
180            file loading tests
181    
182    2003-05-21  Jan-Oliver Wagner <[email protected]>
183    
184            * Resources/Projections/defaults.proj: Renamed 'Universal Transverse
185            Mercator' to 'UTM Zone 32' as a more convenient example.
186            Added 'Gauss Krueger Zone 6'.
187    
188            * Data/iceland_sample_raster.thuban: political polygon now
189            filled transparent to have the raster image visible at once.
190    
191    2003-05-21  Frank Koormann  <[email protected]>
192    
193            * Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to
194            OnClose() to keep in sync with extensions. Internally Thuban
195            still uses "underscored" names.
196    
197  2003-05-20  Jonathan Coles   <[email protected]>  2003-05-20  Jonathan Coles   <[email protected]>
198    
199          This puts back Raster layer support. These layers support projections          This puts back Raster layer support. These layers support projections

Legend:
Removed from v.949  
changed lines
  Added in v.988

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26