/[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 1083 by frank, Wed May 28 10:04:30 2003 UTC revision 1134 by frank, Thu Jun 5 13:28:04 2003 UTC
# Line 1  Line 1 
1    2003-06-05  Frank Koormann  <[email protected]>
2    
3            * Thuban/UI/identifyview.py (IdentifyView.__init__):
4            Use ListCtrl instead of GridCtrl
5    
6            * Thuban/Model/resource.py:
7            Guess location of .thuban directory from tempdir parent directory.
8    
9            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
10            Guess location of .thuban directory from tempdir parent directory.
11    
12    2003-06-04  Bernhard Herzog  <[email protected]>
13    
14            Do not cache the values returned by the tree widget's
15            GetFirstChild and GetNextChild methods because it led to lots of
16            segfaults. The new way requires more brute force but is more
17            reliable.
18    
19            * Thuban/UI/legend.py (LegendTree.__init__): Remove instance
20            variable layer2id
21            (LegendTree.find_layer): New method to do with brute force what
22            layer2id tried to accomplish
23            (LegendTree._OnMsgLayerChanged)
24            (LegendTree._OnMsgLayerTitleChanged, LegendTree.__ShowHideLayer):
25            Use find_layer instead of layer2id
26            (LegendTree.__RemoveLayer, LegendTree.__AddLayer): No need to
27            update layer2id anymore
28            (LegendTree._OnMsgMapLayersRemoved)
29            (LegendTree._OnMsgMapLayersAdded): Get by without layer2id.
30    
31    2003-06-03  Thomas Koester  <[email protected]>
32    
33            * Thuban/Model/classgen.py (GenQuantiles0): New function.
34    
35    2003-06-02  Bernhard Herzog  <[email protected]>
36    
37            * Thuban/UI/mainwindow.py (layer_rename command, table_rename command):
38            New commands.
39            (main_menu): Add the new commands.
40            (MainWindow.TableRename): New. Implementation of the table_rename
41            command.
42            (MainWindow.RenameLayer): New. Implementation of the layer_rename
43            command.
44    
45            * Thuban/Model/session.py (Session.AddTable): call self.changed to
46            set the modified flag
47    
48            * test/test_session.py (TestSessionSimple.test_add_table): Test
49            whether the modified flag is set properly
50    
51            * Thuban/Model/base.py (TitledObject.SetTitle): Call changed
52            instead of issue so that the modified flags get updated.
53    
54            * test/test_base.py (SomeTitledObject): Derive from Modifiable
55            instead of Publisher to reflect reality better and to accomodate
56            the fact that SetTitle now calls changed instead of issue
57    
58    2003-06-02  Bernhard Herzog  <[email protected]>
59    
60            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Resource
61            acquisition has to happen before the try in a try-finally.
62    
63    2003-06-02  Bernhard Herzog  <[email protected]>
64    
65            * Thuban/UI/legend.py (LegendTree._OnMsgMapLayersRemoved): It's
66            possible that a layer is removed that is not currently selected in
67            the legend so don't check for this.
68    
69    2003-05-30  Bernhard Herzog  <[email protected]>
70    
71            * Thuban/Model/layer.py (Layer.Destroy): Set all instance
72            variables to None that have direct or indirect references to
73            shapefiles or dbf files to make sure that they do go away and the
74            files are closed.
75    
76    2003-05-30  Bernhard Herzog  <[email protected]>
77    
78            * Thuban/UI/legend.py (LegendTree.GetRootItem): Reset
79            availImgListIndices when a new image list is created
80            
81    2003-05-30  Bernhard Herzog  <[email protected]>
82    
83            * Thuban/UI/legend.py (LegendTree.__init__): New instance variable
84            changing_selection to indicate whether the LegendTree code itself
85            is currently changing the selection
86            (LegendTree.normalize_selection): New method to normalize the
87            selection by selecting the layer item even if the user clicked on
88            the classification.
89            (LegendTree._OnSelChanged): normalize the selection. This works
90            around a bug in wx which doesn't keep track of the selection
91            properly when subtrees are deleted.
92    
93    2003-05-30  Bernhard Herzog  <[email protected]>
94    
95            * Thuban/UI/view.py (MapCanvas.set_view_transform): Limit the
96            maximum and minimum scale factors.
97    
98            * test/test_classgen.py (ClassGenTest.test): Update to reflect the
99            changes in classgen.py
100    
101    2003-05-30  Jonathan Coles   <[email protected]>
102    
103            * Thuban/Model/classgen.py: Remove ClassGenerator class but make
104            all the methods functions. Fixes RTBug #1903.
105    
106            * Thuban/Model/map.py (Map.TopLayer, Map.BottomLayer): Renamed
107            to MoveLayerToTop and MoveLayerToBottom respectively. Fixes
108            RTBug #1907.
109    
110            * Thuban/UI/classgen.py: Use classgen functions that were part
111            of the ClassGenerator class. Put try/finally blocks around
112            code that uses wxBeginBusyCursor()/wxEndBusyCursor(). Fixes
113            RTBug #1904.
114    
115            * Thuban/UI/classifier.py: Remove unused import of ClassGenerator.
116    
117            * Thuban/UI/legend.py: The legend was cleared and repopulated any
118            time something changed which caused some state to be lost such
119            as which children were expanded or collapsed. Fixes RTBug #1901.
120            (LegendTree._OnMsgMapLayersAdded): Add only new layers.
121            (LegendTree.__OnMsgMapLayersRemoved): Remove layers that exist in
122            the legend but not in the map.
123            (LegendTree.__FillTree): Move main functionality out into smaller
124            methods that can be used by other methods.
125            (LegendTree.__FillTreeLayer): Reuse old slots in the image list
126            if they are available.
127            (LegendTree.DeleteAllItems): Renamed from __DeleteAllItems so
128            that we override the wxTreeCtrl method. Iterate over children
129            and call __RemoveLayer.
130            (LegendTree.__AddLayer): New. Add a new layer to the legend.
131            (LegendTree.__RemoveLayer): Remove a layer from the legend.
132            (LegendTree.DeleteChildren): New, overrides wxTreeCtrl method.
133            Should only be called with the id of a layer branch.
134            (LegendTree.GetRootItem): New, overrides wxTreeCtrl method.
135            Returns the root item or creates one if necessary.
136    
137            * Thuban/UI/renderer.py (MapRenderer.draw_raster_layer): Call
138            ProjectRasterFile with tuple arguments instead of strings.
139    
140            * Thuban/UI/tableview.py (QueryTableFrame.OnQuery): Wrap code
141            with try/finally. Fixes RTBug #1904.
142    
143            * Thuban/UI/view.py (MapCanvas.OnPaint): Wrap code
144            with try/finally. Fixes RTBug #1904.
145            (MapCanvas.FitSelectedToWindow): If a single point is selected
146            simply center it on the display. Fixes RTBug #1849.
147    
148            * extensions/thuban/gdalwarp.cpp: Removed code that allowed gdalwarp
149            to be compiled as a standalone app. Now the code can only be
150            called from Python which simplifies the parameter passing.
151            (ProjectRasterFile): Handle Python arguments. Remove code that
152            checks for a destination dataset. Add more clean up code.
153    
154            * test/test_map.py (TestMapWithContents.test_raise_layer_top,
155            TestMapWithContents.test_lower_layer_bottom):
156            Test Map.MoveLayerToTop() and Map.MoveLayerToBottom() respectively.
157            Fixes RTBug #1907.
158    
159            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Apply a full
160            extent to the map when the legend is toggled. Fixes RTBug #1881.
161    
162    2003-05-29  Jan-Oliver Wagner <[email protected]>
163    
164            * Thuban/UI/tableview.py (LayerTableFrame.OnClose): Bug-fix: Now
165            unsubscribes all that is subcribed in __init__.
166    
167    2003-05-28  Bernhard Herzog  <[email protected]>
168    
169            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer)
170            (MainWindow.CanDuplicateLayer): New methods to implement the
171            Layer/Duplicate command.
172            (layer_duplicate command): New.
173            (main_menu): Add layer_duplicate to the Layer menu.
174    
175    2003-05-28  Bernhard Herzog  <[email protected]>
176    
177            * Thuban/UI/tableview.py (NullRenderer.Draw): New. Our own
178            renderer so that NULL/None values get displayed differently (by a
179            gray rectangle).
180            (TableGrid.__init__): Override the default renderers
181    
182    2003-05-28  Bernhard Herzog  <[email protected]>
183    
184            * Thuban/Model/layer.py (Layer.SetShapeStore): Set the
185            classification to "None" if the type of the field has changed.
186    
187            * test/test_layer.py (SetShapeStoreTests): New. Class with a few
188            test for the Layer.SetShapeStore method
189    
190    2003-05-28  Jan-Oliver Wagner <[email protected]>
191    
192            * Thuban/Model/layer.py (Layer.TreeInfo): Fixed a bug (a layer
193            does not necessarily have a filename).
194    
195    2003-05-28  Jan-Oliver Wagner <[email protected]>
196    
197            * Thuban/UI/mainwindow.py (MainWindow.TableClose, MainWindow.TableShow):
198            sort the selection list for the dialog.
199    
200  2003-05-28  Frank Koormann  <[email protected]>  2003-05-28  Frank Koormann  <[email protected]>
201    
202          * extensions/thuban/wxproj.cpp          * extensions/thuban/wxproj.cpp

Legend:
Removed from v.1083  
changed lines
  Added in v.1134

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26