1 |
|
2003-03-05 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/classifier.py: Added class documentation. |
4 |
|
Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons. |
5 |
|
Store just the groups in the table and generate the other |
6 |
|
column information when it is requested. Add "None" field |
7 |
|
to pull-down to select no classification. |
8 |
|
|
9 |
|
* Thuban/common.py: Moved FIELDTYPE constants from table.py |
10 |
|
(Str2Num): Only catch ValueError exceptions. |
11 |
|
|
12 |
|
* Thuban/Model/classification.py: Class documentation. Renaming |
13 |
|
of methods with Stroke to Line. Groups are stored in a single |
14 |
|
list with the default as the first element. Groups are searched |
15 |
|
in the order they appear in the list. |
16 |
|
|
17 |
|
* Thuban/Model/color.py: Documentation. |
18 |
|
|
19 |
|
* Thuban/Model/layer.py (Layer): Add GetFieldType to retreive |
20 |
|
the kind of data represented by a field. |
21 |
|
|
22 |
|
* Thuban/Model/load.py (ProcessSession): Use proper string |
23 |
|
conversion function; fixes RTbug #1713. |
24 |
|
|
25 |
|
* Thuban/Model/save.py (Saver): Store field type information. |
26 |
|
|
27 |
|
* Thuban/Model/table.py: Put FIELDTYPE constants in common.py. |
28 |
|
(Table): Add field_info_by_name() to retrieve field information |
29 |
|
by specifying the field name, not the number. |
30 |
|
|
31 |
|
* Thuban/UI/mainwindow.py: Function name changes. |
32 |
|
|
33 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
34 |
|
get the layer classification once. Don't try to classify |
35 |
|
values when the field is None: just use the default properties. |
36 |
|
|
37 |
|
* Thuban/UI/view.py: Function name changes. |
38 |
|
|
39 |
|
* Doc/thuban.dtd: Add field_type attribute to a classification. |
40 |
|
|
41 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
42 |
|
|
43 |
|
* Doc/thuban.dtd: Use correct syntax for optional attributes. Make |
44 |
|
the fill and stroke layer attributes optional with suitable |
45 |
|
default values. Add the stroke_width layer attribute. Use correct |
46 |
|
syntax for empty elements. Make the attribute list for labels |
47 |
|
refer to the label element. |
48 |
|
|
49 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
50 |
|
|
51 |
|
* setup.py (thuban_build_py.build): Add a comment about distutils in |
52 |
|
Python 2.3 containing some of the functionality we implement in |
53 |
|
setup.py ourselves. |
54 |
|
|
55 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__): Set the table |
56 |
|
before the selection mode. Doing it the other way round triggers |
57 |
|
an assertion in wxWindows. |
58 |
|
|
59 |
|
* Thuban/Model/save.py (escape): Fix typo in doc-string |
60 |
|
|
61 |
|
* Thuban/Model/classification.py: Remove unnecessary wxPython |
62 |
|
import |
63 |
|
|
64 |
|
2003-03-04 Jonathan Coles <[email protected]> |
65 |
|
|
66 |
|
* Thuban/Model/classification.py (ClassGroupRange.GetProperties): |
67 |
|
Parameter 'value' should default to None. |
68 |
|
|
69 |
|
* Thuban/UI/mainwindow.py: Use Layer.GetClassification() since |
70 |
|
the class attribute __classification is now private. |
71 |
|
|
72 |
|
* Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from |
73 |
|
Classifier to ClassGrid. Added support for removing selected rows, |
74 |
|
which including code for keeping track of when cells are selected, |
75 |
|
and deselected. |
76 |
|
(ClassTable): Support for added/removing rows. Fixed a problem |
77 |
|
with __ParseInput whereby it would not allow strings (only numbers) |
78 |
|
to be entered. |
79 |
|
(Classifier): Added button and supporting code for removing |
80 |
|
selected rows. |
81 |
|
|
82 |
2003-02-27 Jonathan Coles <[email protected]> |
2003-02-27 Jonathan Coles <[email protected]> |
83 |
|
|
84 |
* Thuban/common.py: Moved color conversion functions into |
* Thuban/common.py: Moved color conversion functions into |
109 |
Use common.py functions. |
Use common.py functions. |
110 |
|
|
111 |
* Thuban/UI/tree.py: Use common.py functions. |
* Thuban/UI/tree.py: Use common.py functions. |
112 |
|
|
113 |
|
* test/test_classification.py: Use new Classification and Group |
114 |
|
classes. |
115 |
|
|
116 |
2003-02-24 Jonathan Coles <[email protected]> |
2003-02-24 Jonathan Coles <[email protected]> |
117 |
|
|