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