/[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 975 by jonathan, Wed May 21 17:39:51 2003 UTC revision 1011 by frank, Fri May 23 08:27:45 2003 UTC
# Line 1  Line 1 
1    2003-05-22  Frank Koormann  <[email protected]>
2    
3            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
4            Added "outer_join = False" as optional parameter.
5            (TransientJoinedTable.create): If outer join is true, perform a
6            "LEFT OUTER JOIN" instead of "JOIN", which preserves all records of
7            the left table. Records not matching are filled with 0 / None.
8    
9            * Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join.
10            (JoinDialog.OnJoin): Consider outer join check box.
11    
12    2003-05-22  Bernhard Herzog  <[email protected]>
13    
14            * Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a
15            somewhat safer way. Storing the traceback in a local variable can
16            lead to memory leaks
17    
18    2003-05-22  Bernhard Herzog  <[email protected]>
19    
20            * Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call
21            the wxMessageDialog's Destroy() method.
22    
23    2003-05-22  Frank Koormann  <[email protected]>
24    
25            * Thuban/UI/join.py (JoinDialog.__init__): Make use of
26            TransientTable.Title()
27    
28    2003-05-22  Frank Koormann  <[email protected]>
29    
30            Join Dialog, initial version.
31    
32            * Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print.
33    
34            * Thuban/UI/join.py (JoinDialog): Functional implementation of
35            former framework. Renamed Table1/Table2 to LeftTable/RightTable
36            in all occurences.
37    
38            * Thuban/Model/transientdb.py (TransientJoinedTable.__doc__):
39            Typo fixed.
40    
41    2003-05-22  Bernhard Herzog  <[email protected]>
42    
43            Give the tables titles so that the GUI can display more meaningful
44            names. For now the titles are fixed but depend on e.g. filenames
45            or the titles of the joined tables.
46    
47            * Thuban/Model/transientdb.py (TransientTable.Title)
48            (TransientJoinedTable.Title, AutoTransientTable.Title): New.
49    
50            * Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New.
51    
52            * test/test_transientdb.py
53            (TestTransientTable.test_auto_transient_table_title): New. Test
54            for the Title method
55            (TestTransientTable.test_transient_joined_table)
56            (TestTransientTable.test_transient_table): Add test for the Title
57            methods
58    
59            * test/test_memory_table.py (TestMemoryTable.test_title): New.
60            Test for the Title method
61    
62            * test/test_dbf_table.py (TestDBFTable.test_title): New. Test for
63            the Title method
64    
65    2003-05-22  Bernhard Herzog  <[email protected]>
66    
67            * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
68            Provide a better way to destroy the layers
69            (TestLayer.test_base_layer, TestLayer.test_arc_layer)
70            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
71            (TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use
72            the new way to destroy the layers.
73            (TestLayer.test_derived_store): New. Test for using a layer with a
74            DerivedShapeStore
75    
76            * Thuban/Model/layer.py (Layer.SetShapeStore): Only set the
77            filename if the shape store actually has one.
78    
79    2003-05-22  Bernhard Herzog  <[email protected]>
80    
81            * Thuban/Model/table.py (DBFTable.FileName): New. Accessor method
82            for the filename
83    
84            * test/test_dbf_table.py (TestDBFTable.test_filename): New. Test
85            for the FileName method
86            (TestDBFTableWriting.test_write): Fix spelling of filename
87    
88    2003-05-22  Thomas Koester  <[email protected]>
89    
90            * Thuban/Model/range.py, test/test_range.py: Brought over new Range
91            from SciParam that now really is immutable.
92    
93    2003-05-22  Frank Koormann  <[email protected]>
94    
95            Layer Top/Bottom placement added to legend.
96    
97            * Thuban/UI/legend.py
98            (LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods
99            bound to tool events.
100            (LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom):
101            New, methods binding the event methods with the map methods.
102    
103            * Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place
104            layer at top/bottom of layer stack.
105    
106            * Resources/Bitmaps/top_layer.xpm: New button icon.
107    
108            * Resources/Bitmaps/bottom_layer.xpm: New button icon.
109    
110    2003-05-22  Bernhard Herzog  <[email protected]>
111    
112            * Thuban/Model/session.py (Session.RemoveTable): New method to
113            remove tables
114    
115            * test/test_session.py (TestSessionSimple.test_remove_table): New.
116            Test for RemoveTable
117    
118    2003-05-22  Thomas Koester  <[email protected]>
119    
120            * Thuban/Model/classgen.py: Added short module doc string and CVS id.
121            (ClassGenerator.GenUniformDistribution): Use new Range __init__, too.
122    
123    2003-05-22  Bernhard Herzog  <[email protected]>
124    
125            Implement a way to discover dependencies between tables and
126            shapestores.
127    
128            * Thuban/Model/transientdb.py (TransientTableBase.Dependencies)
129            (TransientJoinedTable.Dependencies)
130            (AutoTransientTable.SimpleQuery): New. Implement the dependencies
131            interface
132            (TransientJoinedTable.__init__): Keep tack of the original table
133            objects in addition to the corresponding transient tables.
134    
135            * Thuban/Model/table.py (DBFTable.Dependencies)
136            (MemoryTable.Dependencies): New. Implement the dependencies
137            interface
138    
139            * Thuban/Model/data.py (ShapeTable): New. Helper class for
140            ShapefileStore
141            (ShapefileStore.__init__): Use ShapeTable instead of
142            AutoTransientTable
143            (ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings
144            (ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor
145            methods for filename and type
146            (ShapefileStore.Dependencies): New. Implement the dependencies
147            interface
148            (DerivedShapeStore): New class to replace SimpleStore. The main
149            difference to SimpleStore is that it depends not on a shapefile
150            but another shapestore which expresses the dependencies a bit
151            better
152            (SimpleStore.__init__): Add deprecation warning.
153    
154            * test/test_dbf_table.py (TestDBFTable.test_dependencies): New.
155            Test for the Dependencies method.
156    
157            * test/test_memory_table.py (TestMemoryTable.test_dependencies):
158            New. Test for the Dependencies method.
159    
160            * test/test_transientdb.py
161            (TestTransientTable.test_auto_transient_table_dependencies): New.
162            Test for the Dependencies method.
163            (TestTransientTable.test_transient_joined_table): Add test for the
164            Dependencies method.
165    
166            * test/test_session.py (TestSessionSimple.setUp)
167            (TestSessionSimple.tearDown): New. Implement a better way to
168            destroy the sessions.
169            (TestSessionSimple.test_initial_state)
170            (TestSessionSimple.test_add_table): Bind session to self.session
171            so that it's destroyed by tearDown
172            (TestSessionSimple.test_open_shapefile): New. Test for
173            OpenShapefile and the object it returns
174    
175    2003-05-22  Bernhard Herzog  <[email protected]>
176    
177            * Thuban/Model/session.py (Session.AddTable): New method to
178            register tables with the session.
179            (Session.Tables): Return the tables registered with AddTable too.
180    
181            * test/test_session.py (TestSessionSimple.test_add_table): New.
182            Test case for the AddTable method
183    
184    2003-05-22  Frank Koormann  <[email protected]>
185    
186            UI polishing updates: Place main buttons (OK, Cancel, etc) in the
187            lower right corner, center labels for selections, initialize controls
188            in reasonable order for keyboard navigation.
189    
190            * Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout)
191            (ProjFrame.__DoOnProjAvail): Determine position of current projection
192            using the wxListBox.FindString() method. Still a problem (#1886)
193    
194            * Thuban/UI/classifier.py
195            (Classifier.__init__, SelectPropertiesDialog.__init__)
196    
197            * Thuban/UI/classgen.py (ClassGenDialog.__init__,
198            (ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the
199            different classification types from here to __init__.
200            (GenUniquePanel.__init__): Set the column width of the first field
201            in the Field ListCtrl to the full width.
202    
203            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As'
204            Button to 'Export'. Center Buttons in Selection Box, set Focus to
205            Grid.
206            (LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN,
207            changes focus to the Selection when pressing "Alt-S".
208    
209            * Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out
210            the text if not visible. The italic font sometimes exceeds the
211            rendering area.
212    
213  2003-05-21  Jonathan Coles   <[email protected]>  2003-05-21  Jonathan Coles   <[email protected]>
214    
215          * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose          * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose

Legend:
Removed from v.975  
changed lines
  Added in v.1011

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26