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

Legend:
Removed from v.448  
changed lines
  Added in v.495

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26