1 |
|
2003-02-10 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/save.py (Saver.open_element, Saver.close_element): |
4 |
|
Added element_open variable to track opening and closing of tags |
5 |
|
so that tags that don't span more than one line are closed with |
6 |
|
/> instead of </tag_name>. Use the GetDefault*() methods of |
7 |
|
the Classification class. |
8 |
|
|
9 |
|
* Thuban/Model/classification.py (Classificaton): Added set and |
10 |
|
get methods for the default data. The class also takes a layer |
11 |
|
reference so that modification messages can be sent. Fixed the |
12 |
|
methods to use the new ClassData class. |
13 |
|
(ClassData): New class to encapsulate the classification data |
14 |
|
|
15 |
|
* Thuban/Model/layer.py (Layer): Remove the |
16 |
|
Set[Fill|Stroke|StrokeWidth]() methods. Code should call the |
17 |
|
SetDefault*() methods on the layer's classification object. |
18 |
|
(Layer.__init__): Use the new SetDefault*() methods in the |
19 |
|
Classification class. |
20 |
|
|
21 |
|
* Thuban/Model/load.py (ProcessSession): Use the new ClassData |
22 |
|
object instead of a dictionary. |
23 |
|
|
24 |
|
* Thuban/UI/classifier.py (ClassRenderer): New class to |
25 |
|
draw the classifications in the dialog box's table. |
26 |
|
(Classifier): Modified to use the ClassRenderer class. |
27 |
|
|
28 |
|
* Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*() |
29 |
|
methods of the Classification class. |
30 |
|
|
31 |
|
* Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods |
32 |
|
of the ClassData class. |
33 |
|
|
34 |
|
* test/test_classification.py, test/test_layer.py, |
35 |
|
test/test_map.py, test/test_session.py: Fix the tests to work |
36 |
|
with the above code changes. |
37 |
|
|
38 |
|
2003-02-03 Jonathan Coles <[email protected]> |
39 |
|
|
40 |
|
* Thuban/Model/classification.py (Classification): Added getNull() |
41 |
|
to return the NullData reference |
42 |
|
|
43 |
|
* Thuban/Model/layer.py (Layer.SetFill, Layer.SetStroke, |
44 |
|
Layer.SetStrokeWidth): Modified these functions to change the |
45 |
|
null data in the classification rather than keep these values |
46 |
|
directly in the Layer class. Menu options to change these values |
47 |
|
work again. |
48 |
|
|
49 |
|
2003-01-28 Jonathan Coles <[email protected]> |
50 |
|
|
51 |
|
* Thuban/UI/classifier.py (Classifier): Resolved merging conflicts. |
52 |
|
Fixed crashing problem on some systems. Dialog box shows |
53 |
|
classification data. |
54 |
|
|
55 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing |
56 |
|
Colors in the tree view. |
57 |
|
|
58 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build |
59 |
|
the tree info for classifications. Commented out unnecessary lines. |
60 |
|
|
61 |
|
* Thuban/Model/classification.py (Classification.TreeInfo): New |
62 |
|
function to add information about the classification into the |
63 |
|
tree view. |
64 |
|
|
65 |
|
2003-01-27 Jan-Oliver Wagner <[email protected]> |
66 |
|
|
67 |
|
* Thuban/__init__.py (_): New. |
68 |
|
|
69 |
|
* Thuban/Model/classification.py, Thuban/Model/extension.py, |
70 |
|
Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py, |
71 |
|
Thuban/Model/session.py, Thuban/UI/application.py, Thuban/UI/classifier.py, |
72 |
|
Thuban/UI/context.py, Thuban/UI/controls.py, Thuban/UI/identifyview.py, |
73 |
|
Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py, Thuban/UI/menu.py, |
74 |
|
Thuban/UI/proj4dialog.py, Thuban/UI/renderer.py, Thuban/UI/tree.py, |
75 |
|
Thuban/Lib/connector.py, Thuban/Lib/fileutil.py: |
76 |
|
Replace user string by _() for i18n. |
77 |
|
|
78 |
|
2003-01-27 Jonathan Coles <[email protected]> |
79 |
|
|
80 |
|
* Thuban/Model/layer.py: Classification initialization calls. |
81 |
|
|
82 |
|
* Thuban/Model/classification.py: Created class to encapsulate |
83 |
|
a layer classification. Supports specific data points and |
84 |
|
ranges. |
85 |
|
|
86 |
|
* Thuban/Model/load.py: Added support for loading classification |
87 |
|
information. |
88 |
|
|
89 |
|
* Thuban/Model/save.py: Added support for saving classification |
90 |
|
information. |
91 |
|
|
92 |
|
* Thuban/UI/classifier.py: Initial class for a dialog box for |
93 |
|
specifying classification information. |
94 |
|
|
95 |
|
* Thuban/UI/mainwindows.py: Support for opening the classifier |
96 |
|
dialog. |
97 |
|
|
98 |
|
* Thuban/UI/renderer.py: Support for drawing a layer with the |
99 |
|
classification information. |
100 |
|
|
101 |
|
* Data/iceland_sample_class.thuban: iceland_sample with |
102 |
|
classification data. |
103 |
|
|
104 |
|
* test/test_classification: Tests for the Classification class. |
105 |
|
|
106 |
|
2002-12-09 Bernhard Herzog <[email protected]> |
107 |
|
|
108 |
|
* test/test_command.py: New. Tests for the command classes. |
109 |
|
|
110 |
|
* Thuban/UI/command.py (ToolCommand): New class for tool commands. |
111 |
|
(Command.IsTool): New method to distinguish between command |
112 |
|
switching tools and other commands. |
113 |
|
|
114 |
|
* Thuban/UI/view.py (MapCanvas.SelectTool): New method to select |
115 |
|
the tool to avoid direct assignments to instance variables |
116 |
|
(MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool) |
117 |
|
(MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to |
118 |
|
change the tool |
119 |
|
|
120 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an |
121 |
|
active tool's command turns insensitive, disable the tool. |
122 |
|
(_tool_command): Use the new ToolCommand class |
123 |
|
|
124 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Use the |
125 |
|
SelectTool method to change the tool |
126 |
|
(iconfile): Use the ToolCommand class |
127 |
|
|
128 |
|
2002-12-03 Bernhard Herzog <[email protected]> |
129 |
|
|
130 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle |
131 |
|
the case of selected items that are not children of Layers or Maps |
132 |
|
properly. Previously this bug would trigger an assertion in |
133 |
|
wxWindows. |
134 |
|
|
135 |
|
2002-11-06 Frank Koormann <[email protected]> |
136 |
|
|
137 |
|
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
138 |
|
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
139 |
|
Full Extent). |
140 |
|
|
141 |
|
2002-10-23 Bernhard Herzog <[email protected]> |
142 |
|
|
143 |
|
* setup.py (setup call): version now 0.1.3 |
144 |
|
|
145 |
|
* MANIFEST.in: Add the files in test/ |
146 |
|
|
147 |
|
* test/README: Add note about tests requiring the iceland data |
148 |
|
|
149 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to |
150 |
|
copyright notice. |
151 |
|
|
152 |
2002-10-18 Bernhard Herzog <[email protected]> |
2002-10-18 Bernhard Herzog <[email protected]> |
153 |
|
|
154 |
* test/test_map.py |
* test/test_map.py |