/[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 554 by jonathan, Tue Mar 25 16:20:51 2003 UTC revision 608 by jonathan, Fri Apr 4 13:55:36 2003 UTC
# Line 1  Line 1 
1    2003-04-04  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/classification.py: Rename Color.None to
4            Color.Transparent.
5            (ClassGroupProperties.SetLineColori, ClassGroupProperties.SetFill):
6            Don't bother copying the color, since Colors are immutable.
7    
8            * Thuban/Model/color.py, Thuban/Model/layer.py, Thuban/Model/load.py,
9            Thuban/UI/classifier.py, Thuban/UI/mainwindow.py,
10            Thuban/UI/renderer.py, Thuban/UI/view.py:
11            Rename Color.None to Color.Transparent.
12        
13            * test/test_classification.py, test/test_load.py: Rename Color.None
14            to Color.Transparent.
15    
16    2003-04-04  Jonathan Coles   <[email protected]>
17    
18            * Thuban/Model/classification.py: Fix assert calls.
19            (ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill):
20            Copy the color parameter rather than hold onto a reference.
21    
22            * Thuban/Model/color.py (Color.__copy__, Color.__deepcopy): Copy
23            the color object.
24            (NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we
25            are sure there exists only one refernce to Color.None in the system.
26            This allows us to use 'is' rather than the comparision functions.
27            
28            * Thuban/Model/save.py: Fix assert calls.
29            
30            * Thuban/UI/classifier.py: Fix assert calls.
31            (ClassGrid._OnCellDClick): Call up to the classifier to open the
32            dialog to edit the groups properties.
33            (ClassGrid._OnCellResize): Make sure that the scollbars are drawn
34            correctly if a cell is resized.
35            (ClassTable.SetClassification): New. Changes the classification
36            that is in the table.
37            (ClassTable.__SetRow): Allow groups to be prepended.
38            (Classifier): New code for opening the EditProperties and
39            GenerateRanges dialogs.
40            (SelectPropertiesDialog.__GetColor): Only set the color in the
41            color dialog if the current color is not None.
42            
43            * Thuban/UI/dock.py: Fix assert calls.
44            
45            * Thuban/UI/legend.py: Fix assert calls.
46            
47            * Thuban/UI/renderer.py: Fix assert calls.
48            
49            * Thuban/UI/classgen.py (ClassGenDialog): Dialog for generating
50            classifications.
51            (GenRangePanel): Panel specific to range generation.
52            (GenSingletonPanel): Panel specific to singleton generation.
53            (ClassGenerator): Class responsible for actually generating
54            the classification from the data gathered in the dialog box.
55            (PropertyRamp): Generates properties whose values range from
56            a starting property to an ending property.
57    
58    2003-04-03  Bernhard Herzog  <[email protected]>
59    
60            * test/support.py (print_garbage_information): New function that
61            prints information about still connected messages and memory
62            leaks.
63            (run_suite): Removed.
64            (run_tests): New function for use as a replacement of
65            unittest.main in the test_* files. This one calls
66            print_garbage_information at the end.
67    
68            * test/runtests.py (main): Use support.print_garbage_information
69    
70            * test/test_layer.py: Use support.run_tests instead of
71            unittest.main so we get memory leak information
72            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
73            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
74            (TestLayerLegend.test_visibility): Call the layer's Destroy method
75            to fix a memory leak.
76    
77            * test/test_classification.py: Use support.run_tests instead of
78            unittest.main so we get memory leak information
79            (TestClassification.test_classification): Call the layer's Destroy
80            method to fix a memory leak.
81    
82    2003-04-02  Bernhard Herzog  <[email protected]>
83    
84            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
85            Handle the reference counts of the return value and errors in
86            PyArg_ParseTuple correctly.
87    
88            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
89            sure the filename is absolute to avoid problems when saving the
90            session again
91    
92            * Thuban/Model/table.py: Remove unnecessary import. Fix a typo.
93    
94    2003-04-01  Jonathan Coles   <[email protected]>
95    
96            *  Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check
97            that there actually are points in the returned list of points
98            before trying to index into the list. The list may be empty if
99            the shape is a Null Shape.
100    
101    2003-04-01  Bernhard Herzog  <[email protected]>
102    
103            * test/test_map.py: Don't use from <module> import *
104    
105    2003-04-01  Jonathan Coles   <[email protected]>
106    
107            * Thuban/Model/session.py: Use LAYER_CHANGED instead of
108            LAYER_LEGEND_CHANGED
109    
110            * Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call
111            self.Destroy() to close the window after yesterday's changes.
112    
113            * test/test_map.py, test/test_session.py: Fix messages that
114            are sent from maps and layers.
115    
116    2003-03-31  Jonathan Coles   <[email protected]>
117    
118            * Thuban/UI/classifier.py: Commented out some debugging statements.
119            (ClassDataPreviewer.Draw): Draw rectangles for polygon layers per
120            RTbug #1769.
121    
122            * Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and
123            position (although position doesn't work yet under GTK).
124            (DockableWindow.Destroy): New. Called when the window must be
125            closed. Namely needed when the DockFrame closes and must close
126            its children.
127            (DockFrame): Listen for EVT_CLOSE and destroy all children.
128    
129            * Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up
130            when then window is told to close.
131            (LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See
132            comment in source for more info.
133    
134            * Thuban/UI/main.py: Show the legend by default when Thuban starts.
135    
136            * Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for
137            symmetry with other such methods.
138            (MainWindow.ShowLegend): Show the legend docked by default.
139    
140    2003-03-28  Jonathan Coles   <[email protected]>
141    
142            * Thuban/UI/classifier.py: Support for highlighting a specific
143            group within the grid when the classification dialog is opened.
144            Also contains a lot of debugging printouts which will later
145            be removed.
146    
147            * Thuban/UI/dock.py: Complete rework on the dock code so that
148            that it is fairly removed from the rest of the Thuban application.
149            It is easy to add new docks which the rest of the program having
150            to be aware of them.
151    
152            * Thuban/UI/legend.py: Modifications to support selecting a
153            specific group in the classification dialog. Changed how layers
154            are drawn when the layer is visible/invisible.
155    
156            * Thuban/UI/mainwindow.py: Removed legend specific code and
157            replaced it with calls to the new dock code.
158    
159            * Thuban/UI/renderer.py (MapRenderer.__init__): Added assert
160            to check if scale > 0. Trying to track down a divide by zero.
161    
162    2003-03-26  Jonathan Coles   <[email protected]>
163    
164            * Thuban/UI/legend.py: Removed unnecessary LegendDialog class.
165            (LegendPanel): Removed _OnDock()/_OnUnDock() methods which are
166            now part of DockableWindow.
167            (LegendPanel.DoOnSelChanged): Select the current layer in the
168            map.
169            (LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged()
170            with the selected layer and/or group.
171    
172    2003-03-26  Jonathan Coles   <[email protected]>
173    
174            This putback contains the code for dockable windows. There is
175            no support in wxWindows as of this date for windows that can
176            attach themselves to other windows.
177    
178            The current model contains a DockableWindow which has a parent
179            window for when it is detached and a dock window that it puts
180            its contents in when it is docked. The contents of a DockableWindow
181            must be a DockPanel. DockPanel itself derives from wxPanel.
182    
183            * Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED
184            message, not a LAYER_LEGEND_CHANGED message.
185    
186            * Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages.
187    
188            * Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE
189            as one of the style properties for the fieldTypeText item to
190            be sure that its size is correct when the text changes.
191    
192            * Thuban/UI/dock.py: New. Classes for the DockPanel and
193            DockableWindow.
194    
195            * Thuban/UI/legend.py: Added some more buttons and made the
196            LegendPanel a DockPanel.
197    
198            * Thuban/UI/mainwindow.py: Added sash windows to the main window
199            and supporting functions for manipulating the sashes.
200            (MainWindow.ShowLegend): Create a DockableWindow with the
201            LegendPanel as the contents.
202    
203            * Thuban/UI/messages.py: Added DOCKABLE_* messages
204    
205            * Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED,
206            not LAYER_LEGEND_CHANGED, messages.
207    
208  2003-03-25  Jonathan Coles   <[email protected]>  2003-03-25  Jonathan Coles   <[email protected]>
209    
210          * setup.py: Added custom script bdist_rpm_build_script so that          * setup.py: Added custom script bdist_rpm_build_script so that

Legend:
Removed from v.554  
changed lines
  Added in v.608

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26