/[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 471 by jonathan, Wed Mar 5 18:37:55 2003 UTC revision 505 by jonathan, Mon Mar 10 15:48:17 2003 UTC
# Line 1  Line 1 
1    2003-03-10  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/classifier.py (Classifier.__init__): Make the
4            field type label grow so that when the text changes the
5            size is updated correctly. This may be a wxWindows bug.
6    
7    2003-03-10  Jonathan Coles   <[email protected]>
8    
9            * Thuban/UI/application.py: Changed SESSION_CHANGED to
10            SESSION_REPLACED.
11    
12            * Thuban/UI/classifier.py: Wrap text with _().
13            (ClassGrid.CreateTable): Set dimensions and size hints here,
14            instead of in Reset, so we only set the size once.
15    
16            * Thuban/UI/dialogs.py: Don't need Shutdown(); just use Close()!
17    
18            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
19            Call Close() instead of Shutdown().
20    
21            * Thuban/UI/messages.py: Changed SESSION_CHANGED to SESSION_REPLACED.
22    
23            * Thuban/UI/tree.py: Changed SESSION_CHANGED to SESSION_REPLACED.
24            Go back to using OnClose() instead of Shutdown().
25    
26    2003-03-10  Jonathan Coles   <[email protected]>
27    
28            * Thuban/UI/classifier.py (Classifier): SelectField() needed
29            to know the old field index as well as the new one.
30    
31    2003-03-10  Jonathan Coles   <[email protected]>
32    
33            * Thuban/UI/classifier.py (Classifier): Use __SelectField()
34            to correctly set the table information and call this from
35            __init__ and from _OnFieldSelect so that all the information
36            is up to date when the dialog opens and when a field is changed.
37    
38    2003-03-10  Jonathan Coles   <[email protected]>
39    
40            * Thuban/Model/classification.py (Classification): Don't use
41            layer's message function directly, use the ClassChanged() method
42            when then classification changes. SetField/SetFieldType/SetLayer
43            must keep the information about field name and field type in
44            sync when an owning layer is set or removed.
45    
46            * Thuban/Model/layer.py: Added ClassChanged() so that the
47            classification can tell the layer when its data has changed.
48            (Layer.SetClassification): Accepts None as an arguement to
49            remove the current classification and correctly handles
50            adding a new classification.
51    
52            * Thuban/Model/load.py: Comment out print statement
53    
54            * test/test_classification.py, test/test_save.py: New and
55            improved tests.
56    
57    2003-03-07  Jonathan Coles   <[email protected]>
58    
59            * Thuban/Model/classification.py: Implemented __copy__ and
60            __deepcopy__ for ClassGroup* and ClassGroupProperites so
61            they can easily be copied by the classifier dialog.
62            (ClassGroupProperites.__init__): The default line color should
63            have been Color.Black.
64    
65            * Thuban/UI/classifier.py: Setting and Getting table values now
66            uses a consistent set of functions.
67            (Classifier): Now non-modal. Has field type label which changes
68            as the field changes. Keep track of buttons in a list so that
69            we can enable/disable the buttons when the None field is selected.
70            (SelectPropertiesDialog): Add buttons to make the colors transparent.
71    
72            * Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which
73            does what OnClose did, but can be called by the application to
74            close a window. Needed when a session changes, and we have to
75            close the classifier windows.
76    
77            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
78            Shuts down open dialogs. Used when a new session is created
79            or a session is opened.
80            (MainWindow.SaveSession): Should only call application.SaveSession()
81            if we don't call SaveSessionAs first.
82            (MainWindow.Classify): Allow different classifier dialogs for
83            different layers.
84    
85            * Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let
86            the parent class handle it. Add Shutdown() to unsubscibe from
87            event notification and call the parent Shutdown(). This was
88            necessary so the application can close the tree window.
89    
90    2003-03-06  Jonathan Coles   <[email protected]>
91    
92            * Thuban/Model/classification.py: Minor documentation changes,
93            Addition of __eq__ and __ne__ methods.
94            (Classification.SetLayer): prevent recursion between this method
95            and Layer.SetClassification().
96    
97            * Thuban/Model/color.py: Addition of __eq__ and __ne__ methods.
98    
99            * Thuban/Model/layer.py (SetClassification): prevent recursion
100            between this method and Classification.SetLayer().
101    
102            * test/test_classification.py, test/test_load.py,
103            test/test_session.py: Fixed and added tests for the classification
104            classes.
105    
106    2003-03-06  Bernhard Herzog  <[email protected]>
107    
108            * Thuban/UI/classifier.py (ClassGrid.__init__)
109            (ClassGrid.CreateTable): Move the SetSelectionMode call to
110            CreateTable because otherwise it triggers an assertion in
111            wxPython/wxGTK 2.4.
112    
113  2003-03-05  Jonathan Coles   <[email protected]>  2003-03-05  Jonathan Coles   <[email protected]>
114    
115          * Thuban/common.py: Move FIELDTYPE constants back to table.py          * Thuban/common.py: Move FIELDTYPE constants back to table.py.
116    
117          * Thuban/Model/load.py: import FIELDTYPE constants from table          * Thuban/Model/load.py: import FIELDTYPE constants from table.
118    
119          * Thuban/UI/classifier.py: import FIELDTYPE constants from table.o          * Thuban/UI/classifier.py: import FIELDTYPE constants from table.
120    
121          * Thuban/Model/table.py: Put FIELDTYPE constants back          * Thuban/Model/table.py: Put FIELDTYPE constants back.
122    
123  2003-03-05  Jonathan Coles   <[email protected]>  2003-03-05  Jonathan Coles   <[email protected]>
124    

Legend:
Removed from v.471  
changed lines
  Added in v.505

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26