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