/[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 538 by bh, Fri Mar 14 20:45:39 2003 UTC revision 591 by bh, Wed Apr 2 15:03:30 2003 UTC
# Line 1  Line 1 
1    2003-04-02  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/table.py: Remove unnecessary import. Fix a typo.
4    
5    2003-04-01  Jonathan Coles   <[email protected]>
6    
7            *  Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check
8            that there actually are points in the returned list of points
9            before trying to index into the list. The list may be empty if
10            the shape is a Null Shape.
11    
12    2003-04-01  Bernhard Herzog  <[email protected]>
13    
14            * test/test_map.py: Don't use from <module> import *
15    
16    2003-04-01  Jonathan Coles   <[email protected]>
17    
18            * Thuban/Model/session.py: Use LAYER_CHANGED instead of
19            LAYER_LEGEND_CHANGED
20    
21            * Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call
22            self.Destroy() to close the window after yesterday's changes.
23    
24            * test/test_map.py, test/test_session.py: Fix messages that
25            are sent from maps and layers.
26    
27    2003-03-31  Jonathan Coles   <[email protected]>
28    
29            * Thuban/UI/classifier.py: Commented out some debugging statements.
30            (ClassDataPreviewer.Draw): Draw rectangles for polygon layers per
31            RTbug #1769.
32    
33            * Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and
34            position (although position doesn't work yet under GTK).
35            (DockableWindow.Destroy): New. Called when the window must be
36            closed. Namely needed when the DockFrame closes and must close
37            its children.
38            (DockFrame): Listen for EVT_CLOSE and destroy all children.
39    
40            * Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up
41            when then window is told to close.
42            (LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See
43            comment in source for more info.
44    
45            * Thuban/UI/main.py: Show the legend by default when Thuban starts.
46    
47            * Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for
48            symmetry with other such methods.
49            (MainWindow.ShowLegend): Show the legend docked by default.
50    
51    2003-03-28  Jonathan Coles   <[email protected]>
52    
53            * Thuban/UI/classifier.py: Support for highlighting a specific
54            group within the grid when the classification dialog is opened.
55            Also contains a lot of debugging printouts which will later
56            be removed.
57    
58            * Thuban/UI/dock.py: Complete rework on the dock code so that
59            that it is fairly removed from the rest of the Thuban application.
60            It is easy to add new docks which the rest of the program having
61            to be aware of them.
62    
63            * Thuban/UI/legend.py: Modifications to support selecting a
64            specific group in the classification dialog. Changed how layers
65            are drawn when the layer is visible/invisible.
66    
67            * Thuban/UI/mainwindow.py: Removed legend specific code and
68            replaced it with calls to the new dock code.
69    
70            * Thuban/UI/renderer.py (MapRenderer.__init__): Added assert
71            to check if scale > 0. Trying to track down a divide by zero.
72    
73    2003-03-26  Jonathan Coles   <[email protected]>
74    
75            * Thuban/UI/legend.py: Removed unnecessary LegendDialog class.
76            (LegendPanel): Removed _OnDock()/_OnUnDock() methods which are
77            now part of DockableWindow.
78            (LegendPanel.DoOnSelChanged): Select the current layer in the
79            map.
80            (LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged()
81            with the selected layer and/or group.
82    
83    2003-03-26  Jonathan Coles   <[email protected]>
84    
85            This putback contains the code for dockable windows. There is
86            no support in wxWindows as of this date for windows that can
87            attach themselves to other windows.
88    
89            The current model contains a DockableWindow which has a parent
90            window for when it is detached and a dock window that it puts
91            its contents in when it is docked. The contents of a DockableWindow
92            must be a DockPanel. DockPanel itself derives from wxPanel.
93    
94            * Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED
95            message, not a LAYER_LEGEND_CHANGED message.
96    
97            * Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages.
98    
99            * Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE
100            as one of the style properties for the fieldTypeText item to
101            be sure that its size is correct when the text changes.
102    
103            * Thuban/UI/dock.py: New. Classes for the DockPanel and
104            DockableWindow.
105    
106            * Thuban/UI/legend.py: Added some more buttons and made the
107            LegendPanel a DockPanel.
108    
109            * Thuban/UI/mainwindow.py: Added sash windows to the main window
110            and supporting functions for manipulating the sashes.
111            (MainWindow.ShowLegend): Create a DockableWindow with the
112            LegendPanel as the contents.
113    
114            * Thuban/UI/messages.py: Added DOCKABLE_* messages
115    
116            * Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED,
117            not LAYER_LEGEND_CHANGED, messages.
118    
119    2003-03-25  Jonathan Coles   <[email protected]>
120    
121            * setup.py: Added custom script bdist_rpm_build_script so that
122            when the rpm is built the path to wx-config is correct.
123    
124            * setup.cfg: Added line saying to use the custom build script
125    
126    2003-03-20  Jonathan Coles   <[email protected]>
127    
128            Initial implementation of the Legend.
129    
130            * Thuban/UI/legend.py: New. Creates a window that shows the map's
131            Legend information and allows the user to add/modify classifications
132            and how the layers are drawn on the map.
133    
134            * setup.py: New command 'build_docs' which currently uses
135            happydoc to generate html documentation for Thuban.
136    
137            * Thuban/Model/classification.py (ClassGroup.GetDisplayText): New.
138            Returns a string which is appropriately describes the group.
139    
140            * Thuban/Model/layer.py (Layer.SetClassification): Generate a
141            LAYER_CHANGED event instead of a LAYER_LEGEND_CHANGED event.
142    
143            * Thuban/Model/map.py (Map): Rename messages and use new, more
144            specific, messages.
145    
146            * Thuban/Model/messages.py: New message to indicate that a layer's
147            data has changed (LAYER_CHANGED). New map messages to indicate
148            when layers have been added/removed/changed or if the stacking order
149            of the layers has changed.
150    
151            * Thuban/Model/session.py: Rename and use new messages.
152    
153            * Thuban/UI/classifier.py: Remember if any changes have actually
154            been applied so that if the dialog is cancelled without an application
155            of changes we don't have to set a new classification.
156            (ClassDataPreviewer): Pulled out the window specific code and put it
157            ClassDataPreviewWindow. ClassDataPreviewer can then be used to draw
158            symbols on any DC.
159            
160            * Thuban/UI/mainwindow.py: New code to open the legend.
161    
162            * Thuban/UI/view.py: Use new message names.
163    
164    2003-03-19  Jonathan Coles   <[email protected]>
165    
166            * Thuban/UI/main.py (verify_versions): New. Checks the versions
167            of Python, wxPython, and some other libraries.
168    
169            * extensions/thuban/wxproj.cpp (check_version): Checks the given
170            version against what wxproj was compiled with.
171            (check_version_gtk): If wxproj was compiled with gtk then check
172            the given version against the version of the gtk library
173            currently being used.
174    
175  2003-03-14  Bernhard Herzog  <[email protected]>  2003-03-14  Bernhard Herzog  <[email protected]>
176    
177          * test/test_command.py: Run the tests when the module is run as a          * test/test_command.py: Run the tests when the module is run as a

Legend:
Removed from v.538  
changed lines
  Added in v.591

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26