1 |
|
2003-03-06 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__) |
4 |
|
(ClassGrid.CreateTable): Move the SetSelectionMode call to |
5 |
|
CreateTable because otherwise it triggers an assertion in |
6 |
|
wxPython/wxGTK 2.4. |
7 |
|
|
8 |
|
2003-03-05 Jonathan Coles <[email protected]> |
9 |
|
|
10 |
|
* Thuban/common.py: Move FIELDTYPE constants back to table.py. |
11 |
|
|
12 |
|
* Thuban/Model/load.py: import FIELDTYPE constants from table. |
13 |
|
|
14 |
|
* Thuban/UI/classifier.py: import FIELDTYPE constants from table. |
15 |
|
|
16 |
|
* Thuban/Model/table.py: Put FIELDTYPE constants back. |
17 |
|
|
18 |
|
2003-03-05 Jonathan Coles <[email protected]> |
19 |
|
|
20 |
|
* Thuban/UI/classifier.py: Added class documentation. |
21 |
|
Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons. |
22 |
|
Store just the groups in the table and generate the other |
23 |
|
column information when it is requested. Add "None" field |
24 |
|
to pull-down to select no classification. |
25 |
|
|
26 |
|
* Thuban/common.py: Moved FIELDTYPE constants from table.py |
27 |
|
(Str2Num): Only catch ValueError exceptions. |
28 |
|
|
29 |
|
* Thuban/Model/classification.py: Class documentation. Renaming |
30 |
|
of methods with Stroke to Line. Groups are stored in a single |
31 |
|
list with the default as the first element. Groups are searched |
32 |
|
in the order they appear in the list. |
33 |
|
|
34 |
|
* Thuban/Model/color.py: Documentation. |
35 |
|
|
36 |
|
* Thuban/Model/layer.py (Layer): Add GetFieldType to retreive |
37 |
|
the kind of data represented by a field. |
38 |
|
|
39 |
|
* Thuban/Model/load.py (ProcessSession): Use proper string |
40 |
|
conversion function; fixes RTbug #1713. |
41 |
|
|
42 |
|
* Thuban/Model/save.py (Saver): Store field type information. |
43 |
|
|
44 |
|
* Thuban/Model/table.py: Put FIELDTYPE constants in common.py. |
45 |
|
(Table): Add field_info_by_name() to retrieve field information |
46 |
|
by specifying the field name, not the number. |
47 |
|
|
48 |
|
* Thuban/UI/mainwindow.py: Function name changes. |
49 |
|
|
50 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
51 |
|
get the layer classification once. Don't try to classify |
52 |
|
values when the field is None: just use the default properties. |
53 |
|
|
54 |
|
* Thuban/UI/view.py: Function name changes. |
55 |
|
|
56 |
|
* Doc/thuban.dtd: Add field_type attribute to a classification. |
57 |
|
|
58 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
59 |
|
|
60 |
|
* Doc/thuban.dtd: Use correct syntax for optional attributes. Make |
61 |
|
the fill and stroke layer attributes optional with suitable |
62 |
|
default values. Add the stroke_width layer attribute. Use correct |
63 |
|
syntax for empty elements. Make the attribute list for labels |
64 |
|
refer to the label element. |
65 |
|
|
66 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
67 |
|
|
68 |
|
* setup.py (thuban_build_py.build): Add a comment about distutils in |
69 |
|
Python 2.3 containing some of the functionality we implement in |
70 |
|
setup.py ourselves. |
71 |
|
|
72 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__): Set the table |
73 |
|
before the selection mode. Doing it the other way round triggers |
74 |
|
an assertion in wxWindows. |
75 |
|
|
76 |
|
* Thuban/Model/save.py (escape): Fix typo in doc-string |
77 |
|
|
78 |
|
* Thuban/Model/classification.py: Remove unnecessary wxPython |
79 |
|
import |
80 |
|
|
81 |
|
2003-03-04 Jonathan Coles <[email protected]> |
82 |
|
|
83 |
|
* Thuban/Model/classification.py (ClassGroupRange.GetProperties): |
84 |
|
Parameter 'value' should default to None. |
85 |
|
|
86 |
|
* Thuban/UI/mainwindow.py: Use Layer.GetClassification() since |
87 |
|
the class attribute __classification is now private. |
88 |
|
|
89 |
|
* Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from |
90 |
|
Classifier to ClassGrid. Added support for removing selected rows, |
91 |
|
which including code for keeping track of when cells are selected, |
92 |
|
and deselected. |
93 |
|
(ClassTable): Support for added/removing rows. Fixed a problem |
94 |
|
with __ParseInput whereby it would not allow strings (only numbers) |
95 |
|
to be entered. |
96 |
|
(Classifier): Added button and supporting code for removing |
97 |
|
selected rows. |
98 |
|
|
99 |
|
2003-02-27 Jonathan Coles <[email protected]> |
100 |
|
|
101 |
|
* Thuban/common.py: Moved color conversion functions into |
102 |
|
Thuban/UI/common.py. |
103 |
|
(Str2Num): Now converts the float (not the string) to a long/int |
104 |
|
so that an exception isn't thrown. |
105 |
|
|
106 |
|
* Thuban/UI/common.py: Common functions used in several UI modules |
107 |
|
|
108 |
|
* Thuban/Model/classification.py: Changed the class hierarchy |
109 |
|
so that a Classification consists of Groups which return |
110 |
|
Properties when a value matches a Group. |
111 |
|
|
112 |
|
* Thuban/Model/layer.py: Fixed name resolution problem. |
113 |
|
|
114 |
|
* Thuban/Model/load.py: Use new Classification and Group functions. |
115 |
|
|
116 |
|
* Thuban/Model/save.py (Saver.write_attribs): Fixes a test case |
117 |
|
failure. |
118 |
|
(Saver.write_classification): Use new Classification and Group |
119 |
|
functions. |
120 |
|
|
121 |
|
* Thuban/UI/classifier.py: Changes to use new Classification and Group |
122 |
|
functions. Fix to create a tuple with a single value instead of |
123 |
|
simply returning the value. |
124 |
|
|
125 |
|
* Thuban/UI/renderer.py: Use new Classification and Group functions. |
126 |
|
Use common.py functions. |
127 |
|
|
128 |
|
* Thuban/UI/tree.py: Use common.py functions. |
129 |
|
|
130 |
|
* test/test_classification.py: Use new Classification and Group |
131 |
|
classes. |
132 |
|
|
133 |
|
2003-02-24 Jonathan Coles <[email protected]> |
134 |
|
|
135 |
|
* Thuban/common.py (Color2wxColour, wxColour2Color): Conversion |
136 |
|
functions from Thuban color objects to wxWindow colour objects. |
137 |
|
|
138 |
|
* Thuban/Model/classification.py (Classification): Renamed |
139 |
|
GetProperties() to GetClassData(). Used the new iterator |
140 |
|
in TreeInfo(). |
141 |
|
(ClassIterator): Iterator implementation to iterate over the |
142 |
|
ClassData objects in a classification object. |
143 |
|
|
144 |
|
* Thuban/Model/save.py (Saver.write_classificaton): Uses |
145 |
|
the new iterator to save the classification information. |
146 |
|
|
147 |
|
* Thuban/UI/classifier.py (SelectPropertiesDialog): Support |
148 |
|
for changing the stroke and fill colors and previewing the |
149 |
|
changes. |
150 |
|
|
151 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenSession, |
152 |
|
MainWindow.SaveSessionAs): Text string changes so the dialogs |
153 |
|
have more meaningful titles. |
154 |
|
|
155 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change |
156 |
|
Classification method name from GetProperties to GetClassData. |
157 |
|
|
158 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls |
159 |
|
instead of accessing now non-existent class variables. |
160 |
|
|
161 |
|
2003-02-24 Bernhard Herzog <[email protected]> |
162 |
|
|
163 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove |
164 |
|
unneeded Shape() call. Rendering is substantially faster without |
165 |
|
it and it avoids some problems with broken shape files. |
166 |
|
|
167 |
|
2003-02-20 Frank Koormann <[email protected]> |
168 |
|
|
169 |
|
Force minimal size of identify and label dialogs. The autosizing |
170 |
|
looked too ugly. |
171 |
|
|
172 |
|
* Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns. |
173 |
|
* Thuban/UI/labeldialog.py (LabelDialog.dialog_layout): |
174 |
|
Set size of listctrl. |
175 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): |
176 |
|
Set size of dialog. |
177 |
|
|
178 |
2003-02-19 Jonathan Coles <[email protected]> |
2003-02-19 Jonathan Coles <[email protected]> |
179 |
|
|
180 |
* test/test_classification.py, test/test_layer.py, |
* test/test_classification.py, test/test_layer.py, |