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

Legend:
Removed from v.952  
changed lines
  Added in v.985

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26