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

Legend:
Removed from v.458  
changed lines
  Added in v.514

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26