/[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 434 by jonathan, Thu Feb 27 15:51:55 2003 UTC revision 497 by jonathan, Mon Mar 10 11:02:26 2003 UTC
# Line 1  Line 1 
1  2003-02-26  Jonathan Coles   <[email protected]>  2003-03-10  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/classifier.py (Classifier): SelectField() needed
4            to know the old field index as well as the new one.
5    
6    2003-03-10  Jonathan Coles   <[email protected]>
7    
8            * Thuban/UI/classifier.py (Classifier): Use __SelectField()
9            to correctly set the table information and call this from
10            __init__ and from _OnFieldSelect so that all the information
11            is up to date when the dialog opens and when a field is changed.
12    
13    2003-03-10  Jonathan Coles   <[email protected]>
14    
15            * Thuban/Model/classification.py (Classification): Don't use
16            layer's message function directly, use the ClassChanged() method
17            when then classification changes. SetField/SetFieldType/SetLayer
18            must keep the information about field name and field type in
19            sync when an owning layer is set or removed.
20    
21            * Thuban/Model/layer.py: Added ClassChanged() so that the
22            classification can tell the layer when its data has changed.
23            (Layer.SetClassification): Accepts None as an arguement to
24            remove the current classification and correctly handles
25            adding a new classification.
26    
27            * Thuban/Model/load.py: Comment out print statement
28    
29            * test/test_classification.py, test/test_save.py: New and
30            improved tests.
31    
32    2003-03-07  Jonathan Coles   <[email protected]>
33    
34            * Thuban/Model/classification.py: Implemented __copy__ and
35            __deepcopy__ for ClassGroup* and ClassGroupProperites so
36            they can easily be copied by the classifier dialog.
37            (ClassGroupProperites.__init__): The default line color should
38            have been Color.Black.
39    
40            * Thuban/UI/classifier.py: Setting and Getting table values now
41            uses a consistent set of functions.
42            (Classifier): Now non-modal. Has field type label which changes
43            as the field changes. Keep track of buttons in a list so that
44            we can enable/disable the buttons when the None field is selected.
45            (SelectPropertiesDialog): Add buttons to make the colors transparent.
46    
47            * Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which
48            does what OnClose did, but can be called by the application to
49            close a window. Needed when a session changes, and we have to
50            close the classifier windows.
51    
52            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
53            Shuts down open dialogs. Used when a new session is created
54            or a session is opened.
55            (MainWindow.SaveSession): Should only call application.SaveSession()
56            if we don't call SaveSessionAs first.
57            (MainWindow.Classify): Allow different classifier dialogs for
58            different layers.
59    
60            * Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let
61            the parent class handle it. Add Shutdown() to unsubscibe from
62            event notification and call the parent Shutdown(). This was
63            necessary so the application can close the tree window.
64    
65    2003-03-06  Jonathan Coles   <[email protected]>
66    
67            * Thuban/Model/classification.py: Minor documentation changes,
68            Addition of __eq__ and __ne__ methods.
69            (Classification.SetLayer): prevent recursion between this method
70            and Layer.SetClassification().
71    
72            * Thuban/Model/color.py: Addition of __eq__ and __ne__ methods.
73    
74            * Thuban/Model/layer.py (SetClassification): prevent recursion
75            between this method and Classification.SetLayer().
76    
77            * test/test_classification.py, test/test_load.py,
78            test/test_session.py: Fixed and added tests for the classification
79            classes.
80    
81    2003-03-06  Bernhard Herzog  <[email protected]>
82    
83            * Thuban/UI/classifier.py (ClassGrid.__init__)
84            (ClassGrid.CreateTable): Move the SetSelectionMode call to
85            CreateTable because otherwise it triggers an assertion in
86            wxPython/wxGTK 2.4.
87    
88    2003-03-05  Jonathan Coles   <[email protected]>
89    
90            * Thuban/common.py: Move FIELDTYPE constants back to table.py.
91    
92            * Thuban/Model/load.py: import FIELDTYPE constants from table.
93    
94            * Thuban/UI/classifier.py: import FIELDTYPE constants from table.
95    
96            * Thuban/Model/table.py: Put FIELDTYPE constants back.
97    
98    2003-03-05  Jonathan Coles   <[email protected]>
99    
100            * Thuban/UI/classifier.py: Added class documentation.
101            Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons.
102            Store just the groups in the table and generate the other
103            column information when it is requested. Add "None" field
104            to pull-down to select no classification.
105    
106            * Thuban/common.py: Moved FIELDTYPE constants from table.py
107            (Str2Num): Only catch ValueError exceptions.
108    
109            * Thuban/Model/classification.py: Class documentation. Renaming
110            of methods with Stroke to Line. Groups are stored in a single
111            list with the default as the first element. Groups are searched
112            in the order they appear in the list.
113    
114            * Thuban/Model/color.py: Documentation.
115    
116            * Thuban/Model/layer.py (Layer): Add GetFieldType to retreive
117            the kind of data represented by a field.
118    
119            * Thuban/Model/load.py (ProcessSession): Use proper string
120            conversion function; fixes RTbug #1713.
121    
122            * Thuban/Model/save.py (Saver): Store field type information.
123    
124            * Thuban/Model/table.py: Put FIELDTYPE constants in common.py.
125            (Table): Add field_info_by_name() to retrieve field information
126            by specifying the field name, not the number.
127    
128            * Thuban/UI/mainwindow.py: Function name changes.
129    
130            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
131            get the layer classification once. Don't try to classify
132            values when the field is None: just use the default properties.
133    
134            * Thuban/UI/view.py: Function name changes.
135    
136            * Doc/thuban.dtd: Add field_type attribute to a classification.
137    
138    2003-03-04  Bernhard Herzog  <[email protected]>
139    
140            * Doc/thuban.dtd: Use correct syntax for optional attributes. Make
141            the fill and stroke layer attributes optional with suitable
142            default values. Add the stroke_width layer attribute. Use correct
143            syntax for empty elements. Make the attribute list for labels
144            refer to the label element.
145    
146    2003-03-04  Bernhard Herzog  <[email protected]>
147    
148            * setup.py (thuban_build_py.build): Add a comment about distutils in
149            Python 2.3 containing some of the functionality we implement in
150            setup.py ourselves.
151    
152            * Thuban/UI/classifier.py (ClassGrid.__init__): Set the table
153            before the selection mode. Doing it the other way round triggers
154            an assertion in wxWindows.
155    
156            * Thuban/Model/save.py (escape): Fix typo in doc-string
157    
158            * Thuban/Model/classification.py: Remove unnecessary wxPython
159            import
160    
161    2003-03-04  Jonathan Coles   <[email protected]>
162    
163            * Thuban/Model/classification.py (ClassGroupRange.GetProperties):
164            Parameter 'value' should default to None.
165    
166            * Thuban/UI/mainwindow.py: Use Layer.GetClassification() since
167            the class attribute __classification is now private.
168    
169            * Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from
170            Classifier to ClassGrid. Added support for removing selected rows,
171            which including code for keeping track of when cells are selected,
172            and deselected.
173            (ClassTable): Support for added/removing rows. Fixed a problem
174            with __ParseInput whereby it would not allow strings (only numbers)
175            to be entered.
176            (Classifier): Added button and supporting code for removing
177            selected rows.
178    
179    2003-02-27  Jonathan Coles   <[email protected]>
180    
181          * Thuban/common.py: Moved color conversion functions into          * Thuban/common.py: Moved color conversion functions into
182          Thuban/UI/common.py.          Thuban/UI/common.py.
# Line 21  Line 199 
199          functions.          functions.
200    
201          * Thuban/UI/classifier.py: Changes to use new Classification and Group          * Thuban/UI/classifier.py: Changes to use new Classification and Group
202          functions          functions. Fix to create a tuple with a single value instead of
203            simply returning the value.
204    
205          * Thuban/UI/renderer.py: Use new Classification and Group functions.          * Thuban/UI/renderer.py: Use new Classification and Group functions.
206          Use common.py functions.          Use common.py functions.
207    
208          * Thuban/UI/tree.py: Use common.py functions          * Thuban/UI/tree.py: Use common.py functions.
209            
210            * test/test_classification.py: Use new Classification and Group
211            classes.
212    
213  2003-02-24  Jonathan Coles   <[email protected]>  2003-02-24  Jonathan Coles   <[email protected]>
214    

Legend:
Removed from v.434  
changed lines
  Added in v.497

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26