/[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 567 by jonathan, Wed Mar 26 11:51:01 2003 UTC revision 601 by jonathan, Fri Apr 4 12:11:59 2003 UTC
# Line 1  Line 1 
1    2003-04-04  Jonathan Coles   <[email protected]>
2    
3        * Thuban/Model/classification.py: Fix assert calls.
4        (ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill):
5        Copy the color parameter rather than hold onto a reference.
6    
7        * Thuban/Model/color.py (Color.__copy__, Color.__deepcopy): Copy
8        the color object.
9        (NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we
10        are sure there exists only one refernce to Color.None in the system.
11        This allows us to use 'is' rather than the comparision functions.
12    
13        * Thuban/Model/save.py: Fix assert calls.
14    
15        * Thuban/UI/classifier.py: Fix assert calls.
16        (ClassGrid._OnCellDClick): Call up to the classifier to open the
17        dialog to edit the groups properties.
18        (ClassGrid._OnCellResize): Make sure that the scollbars are drawn
19        correctly if a cell is resized.
20        (ClassTable.SetClassification): New. Changes the classification
21        that is in the table.
22        (ClassTable.__SetRow): Allow groups to be prepended.
23        (Classifier): New code for opening the EditProperties and
24        GenerateRanges dialogs.
25        (SelectPropertiesDialog.__GetColor): Only set the color in the
26        color dialog if the current color is not None.
27    
28        * Thuban/UI/dock.py: Fix assert calls.
29    
30        * Thuban/UI/legend.py: Fix assert calls.
31    
32        * Thuban/UI/renderer.py: Fix assert calls.
33    
34        * Thuban/UI/classgen.py (ClassGenDialog): Dialog for generating
35        classifications.
36        (GenRangePanel): Panel specific to range generation.
37        (GenSingletonPanel): Panel specific to singleton generation.
38        (ClassGenerator): Class responsible for actually generating
39        the classification from the data gathered in the dialog box.
40        (PropertyRamp): Generates properties whose values range from
41        a starting property to an ending property.
42    
43    2003-04-03  Bernhard Herzog  <[email protected]>
44    
45            * test/support.py (print_garbage_information): New function that
46            prints information about still connected messages and memory
47            leaks.
48            (run_suite): Removed.
49            (run_tests): New function for use as a replacement of
50            unittest.main in the test_* files. This one calls
51            print_garbage_information at the end.
52    
53            * test/runtests.py (main): Use support.print_garbage_information
54    
55            * test/test_layer.py: Use support.run_tests instead of
56            unittest.main so we get memory leak information
57            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
58            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
59            (TestLayerLegend.test_visibility): Call the layer's Destroy method
60            to fix a memory leak.
61    
62            * test/test_classification.py: Use support.run_tests instead of
63            unittest.main so we get memory leak information
64            (TestClassification.test_classification): Call the layer's Destroy
65            method to fix a memory leak.
66    
67    2003-04-02  Bernhard Herzog  <[email protected]>
68    
69            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
70            Handle the reference counts of the return value and errors in
71            PyArg_ParseTuple correctly.
72    
73            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
74            sure the filename is absolute to avoid problems when saving the
75            session again
76    
77            * Thuban/Model/table.py: Remove unnecessary import. Fix a typo.
78    
79    2003-04-01  Jonathan Coles   <[email protected]>
80    
81            *  Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check
82            that there actually are points in the returned list of points
83            before trying to index into the list. The list may be empty if
84            the shape is a Null Shape.
85    
86    2003-04-01  Bernhard Herzog  <[email protected]>
87    
88            * test/test_map.py: Don't use from <module> import *
89    
90    2003-04-01  Jonathan Coles   <[email protected]>
91    
92            * Thuban/Model/session.py: Use LAYER_CHANGED instead of
93            LAYER_LEGEND_CHANGED
94    
95            * Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call
96            self.Destroy() to close the window after yesterday's changes.
97    
98            * test/test_map.py, test/test_session.py: Fix messages that
99            are sent from maps and layers.
100    
101    2003-03-31  Jonathan Coles   <[email protected]>
102    
103            * Thuban/UI/classifier.py: Commented out some debugging statements.
104            (ClassDataPreviewer.Draw): Draw rectangles for polygon layers per
105            RTbug #1769.
106    
107            * Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and
108            position (although position doesn't work yet under GTK).
109            (DockableWindow.Destroy): New. Called when the window must be
110            closed. Namely needed when the DockFrame closes and must close
111            its children.
112            (DockFrame): Listen for EVT_CLOSE and destroy all children.
113    
114            * Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up
115            when then window is told to close.
116            (LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See
117            comment in source for more info.
118    
119            * Thuban/UI/main.py: Show the legend by default when Thuban starts.
120    
121            * Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for
122            symmetry with other such methods.
123            (MainWindow.ShowLegend): Show the legend docked by default.
124    
125    2003-03-28  Jonathan Coles   <[email protected]>
126    
127            * Thuban/UI/classifier.py: Support for highlighting a specific
128            group within the grid when the classification dialog is opened.
129            Also contains a lot of debugging printouts which will later
130            be removed.
131    
132            * Thuban/UI/dock.py: Complete rework on the dock code so that
133            that it is fairly removed from the rest of the Thuban application.
134            It is easy to add new docks which the rest of the program having
135            to be aware of them.
136    
137            * Thuban/UI/legend.py: Modifications to support selecting a
138            specific group in the classification dialog. Changed how layers
139            are drawn when the layer is visible/invisible.
140    
141            * Thuban/UI/mainwindow.py: Removed legend specific code and
142            replaced it with calls to the new dock code.
143    
144            * Thuban/UI/renderer.py (MapRenderer.__init__): Added assert
145            to check if scale > 0. Trying to track down a divide by zero.
146    
147  2003-03-26  Jonathan Coles   <[email protected]>  2003-03-26  Jonathan Coles   <[email protected]>
148    
149          * Thuban/UI/legend.py: Removed unnecessary LegendDialog class.          * Thuban/UI/legend.py: Removed unnecessary LegendDialog class.

Legend:
Removed from v.567  
changed lines
  Added in v.601

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26