/[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 552 by jonathan, Thu Mar 20 09:45:43 2003 UTC revision 600 by bh, Thu Apr 3 11:37:26 2003 UTC
# Line 1  Line 1 
1    2003-04-03  Bernhard Herzog  <[email protected]>
2    
3            * test/support.py (print_garbage_information): New function that
4            prints information about still connected messages and memory
5            leaks.
6            (run_suite): Removed.
7            (run_tests): New function for use as a replacement of
8            unittest.main in the test_* files. This one calls
9            print_garbage_information at the end.
10    
11            * test/runtests.py (main): Use support.print_garbage_information
12    
13            * test/test_layer.py: Use support.run_tests instead of
14            unittest.main so we get memory leak information
15            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
16            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
17            (TestLayerLegend.test_visibility): Call the layer's Destroy method
18            to fix a memory leak.
19    
20            * test/test_classification.py: Use support.run_tests instead of
21            unittest.main so we get memory leak information
22            (TestClassification.test_classification): Call the layer's Destroy
23            method to fix a memory leak.
24    
25    2003-04-02  Bernhard Herzog  <[email protected]>
26    
27            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
28            Handle the reference counts of the return value and errors in
29            PyArg_ParseTuple correctly.
30    
31            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
32            sure the filename is absolute to avoid problems when saving the
33            session again
34    
35            * Thuban/Model/table.py: Remove unnecessary import. Fix a typo.
36    
37    2003-04-01  Jonathan Coles   <[email protected]>
38    
39            *  Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check
40            that there actually are points in the returned list of points
41            before trying to index into the list. The list may be empty if
42            the shape is a Null Shape.
43    
44    2003-04-01  Bernhard Herzog  <[email protected]>
45    
46            * test/test_map.py: Don't use from <module> import *
47    
48    2003-04-01  Jonathan Coles   <[email protected]>
49    
50            * Thuban/Model/session.py: Use LAYER_CHANGED instead of
51            LAYER_LEGEND_CHANGED
52    
53            * Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call
54            self.Destroy() to close the window after yesterday's changes.
55    
56            * test/test_map.py, test/test_session.py: Fix messages that
57            are sent from maps and layers.
58    
59    2003-03-31  Jonathan Coles   <[email protected]>
60    
61            * Thuban/UI/classifier.py: Commented out some debugging statements.
62            (ClassDataPreviewer.Draw): Draw rectangles for polygon layers per
63            RTbug #1769.
64    
65            * Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and
66            position (although position doesn't work yet under GTK).
67            (DockableWindow.Destroy): New. Called when the window must be
68            closed. Namely needed when the DockFrame closes and must close
69            its children.
70            (DockFrame): Listen for EVT_CLOSE and destroy all children.
71    
72            * Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up
73            when then window is told to close.
74            (LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See
75            comment in source for more info.
76    
77            * Thuban/UI/main.py: Show the legend by default when Thuban starts.
78    
79            * Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for
80            symmetry with other such methods.
81            (MainWindow.ShowLegend): Show the legend docked by default.
82    
83    2003-03-28  Jonathan Coles   <[email protected]>
84    
85            * Thuban/UI/classifier.py: Support for highlighting a specific
86            group within the grid when the classification dialog is opened.
87            Also contains a lot of debugging printouts which will later
88            be removed.
89    
90            * Thuban/UI/dock.py: Complete rework on the dock code so that
91            that it is fairly removed from the rest of the Thuban application.
92            It is easy to add new docks which the rest of the program having
93            to be aware of them.
94    
95            * Thuban/UI/legend.py: Modifications to support selecting a
96            specific group in the classification dialog. Changed how layers
97            are drawn when the layer is visible/invisible.
98    
99            * Thuban/UI/mainwindow.py: Removed legend specific code and
100            replaced it with calls to the new dock code.
101    
102            * Thuban/UI/renderer.py (MapRenderer.__init__): Added assert
103            to check if scale > 0. Trying to track down a divide by zero.
104    
105    2003-03-26  Jonathan Coles   <[email protected]>
106    
107            * Thuban/UI/legend.py: Removed unnecessary LegendDialog class.
108            (LegendPanel): Removed _OnDock()/_OnUnDock() methods which are
109            now part of DockableWindow.
110            (LegendPanel.DoOnSelChanged): Select the current layer in the
111            map.
112            (LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged()
113            with the selected layer and/or group.
114    
115    2003-03-26  Jonathan Coles   <[email protected]>
116    
117            This putback contains the code for dockable windows. There is
118            no support in wxWindows as of this date for windows that can
119            attach themselves to other windows.
120    
121            The current model contains a DockableWindow which has a parent
122            window for when it is detached and a dock window that it puts
123            its contents in when it is docked. The contents of a DockableWindow
124            must be a DockPanel. DockPanel itself derives from wxPanel.
125    
126            * Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED
127            message, not a LAYER_LEGEND_CHANGED message.
128    
129            * Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages.
130    
131            * Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE
132            as one of the style properties for the fieldTypeText item to
133            be sure that its size is correct when the text changes.
134    
135            * Thuban/UI/dock.py: New. Classes for the DockPanel and
136            DockableWindow.
137    
138            * Thuban/UI/legend.py: Added some more buttons and made the
139            LegendPanel a DockPanel.
140    
141            * Thuban/UI/mainwindow.py: Added sash windows to the main window
142            and supporting functions for manipulating the sashes.
143            (MainWindow.ShowLegend): Create a DockableWindow with the
144            LegendPanel as the contents.
145    
146            * Thuban/UI/messages.py: Added DOCKABLE_* messages
147    
148            * Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED,
149            not LAYER_LEGEND_CHANGED, messages.
150    
151    2003-03-25  Jonathan Coles   <[email protected]>
152    
153            * setup.py: Added custom script bdist_rpm_build_script so that
154            when the rpm is built the path to wx-config is correct.
155    
156            * setup.cfg: Added line saying to use the custom build script
157    
158  2003-03-20  Jonathan Coles   <[email protected]>  2003-03-20  Jonathan Coles   <[email protected]>
159    
160          Initial implementation of the Legend.          Initial implementation of the Legend.

Legend:
Removed from v.552  
changed lines
  Added in v.600

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26