1 |
|
2003-01-28 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/classifier.py (Classifier): Resolved merging conflicts. |
4 |
|
Fixed crashing problem on some systems. Dialog box shows |
5 |
|
classification data. |
6 |
|
|
7 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing |
8 |
|
Colors in the tree view. |
9 |
|
|
10 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build |
11 |
|
the tree info for classifications. Commented out unnecessary lines. |
12 |
|
|
13 |
|
* Thuban/Model/classification.py (Classification.TreeInfo): New |
14 |
|
function to add information about the classification into the |
15 |
|
tree view. |
16 |
|
|
17 |
|
2003-01-27 Jan-Oliver Wagner <[email protected]> |
18 |
|
|
19 |
|
* Thuban/__init__.py (_): New. |
20 |
|
|
21 |
|
* Thuban/Model/classification.py, Thuban/Model/extension.py, |
22 |
|
Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py, |
23 |
|
Thuban/Model/session.py, Thuban/UI/application.py, Thuban/UI/classifier.py, |
24 |
|
Thuban/UI/context.py, Thuban/UI/controls.py, Thuban/UI/identifyview.py, |
25 |
|
Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py, Thuban/UI/menu.py, |
26 |
|
Thuban/UI/proj4dialog.py, Thuban/UI/renderer.py, Thuban/UI/tree.py, |
27 |
|
Thuban/Lib/connector.py, Thuban/Lib/fileutil.py: |
28 |
|
Replace user string by _() for i18n. |
29 |
|
|
30 |
|
2003-01-27 Jonathan Coles <[email protected]> |
31 |
|
|
32 |
|
* Thuban/Model/layer.py: Classification initialization calls. |
33 |
|
|
34 |
|
* Thuban/Model/classification.py: Created class to encapsulate |
35 |
|
a layer classification. Supports specific data points and |
36 |
|
ranges. |
37 |
|
|
38 |
|
* Thuban/Model/load.py: Added support for loading classification |
39 |
|
information. |
40 |
|
|
41 |
|
* Thuban/Model/save.py: Added support for saving classification |
42 |
|
information. |
43 |
|
|
44 |
|
* Thuban/UI/classifier.py: Initial class for a dialog box for |
45 |
|
specifying classification information. |
46 |
|
|
47 |
|
* Thuban/UI/mainwindows.py: Support for opening the classifier |
48 |
|
dialog. |
49 |
|
|
50 |
|
* Thuban/UI/renderer.py: Support for drawing a layer with the |
51 |
|
classification information. |
52 |
|
|
53 |
|
* Data/iceland_sample_class.thuban: iceland_sample with |
54 |
|
classification data. |
55 |
|
|
56 |
|
* test/test_classification: Tests for the Classification class. |
57 |
|
|
58 |
|
2002-12-09 Bernhard Herzog <[email protected]> |
59 |
|
|
60 |
|
* test/test_command.py: New. Tests for the command classes. |
61 |
|
|
62 |
|
* Thuban/UI/command.py (ToolCommand): New class for tool commands. |
63 |
|
(Command.IsTool): New method to distinguish between command |
64 |
|
switching tools and other commands. |
65 |
|
|
66 |
|
* Thuban/UI/view.py (MapCanvas.SelectTool): New method to select |
67 |
|
the tool to avoid direct assignments to instance variables |
68 |
|
(MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool) |
69 |
|
(MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to |
70 |
|
change the tool |
71 |
|
|
72 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an |
73 |
|
active tool's command turns insensitive, disable the tool. |
74 |
|
(_tool_command): Use the new ToolCommand class |
75 |
|
|
76 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Use the |
77 |
|
SelectTool method to change the tool |
78 |
|
(iconfile): Use the ToolCommand class |
79 |
|
|
80 |
|
2002-12-03 Bernhard Herzog <[email protected]> |
81 |
|
|
82 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle |
83 |
|
the case of selected items that are not children of Layers or Maps |
84 |
|
properly. Previously this bug would trigger an assertion in |
85 |
|
wxWindows. |
86 |
|
|
87 |
|
2002-11-06 Frank Koormann <[email protected]> |
88 |
|
|
89 |
|
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
90 |
|
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
91 |
|
Full Extent). |
92 |
|
|
93 |
|
2002-10-23 Bernhard Herzog <[email protected]> |
94 |
|
|
95 |
|
* setup.py (setup call): version now 0.1.3 |
96 |
|
|
97 |
|
* MANIFEST.in: Add the files in test/ |
98 |
|
|
99 |
|
* test/README: Add note about tests requiring the iceland data |
100 |
|
|
101 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to |
102 |
|
copyright notice. |
103 |
|
|
104 |
|
2002-10-18 Bernhard Herzog <[email protected]> |
105 |
|
|
106 |
|
* test/test_map.py |
107 |
|
(TestMapWithContents.test_projected_bounding_box): Use an explicit |
108 |
|
epsilon. |
109 |
|
|
110 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual) |
111 |
|
(FloatComparisonMixin.assertFloatSeqEqual): give a more useful |
112 |
|
message if the assertion fails and don't return the return value |
113 |
|
of self.assert_. In assertFloatSeqEqual the return meant that not |
114 |
|
all items of the sequence were compared. |
115 |
|
|
116 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
117 |
|
|
118 |
|
* test/test_fileutil.py: New. Test cases for Thuban.Lib.fileutil |
119 |
|
|
120 |
|
* Thuban/Lib/fileutil.py: Fixup some whitespace and typos |
121 |
|
|
122 |
|
* test/test_map.py (TestMapWithContents.test_tree_info): Create |
123 |
|
the string with the bounding box on the fly because of platform |
124 |
|
differences in the way %g is handled. |
125 |
|
|
126 |
|
* test/test_layer.py (TestLayer.test_empty_layer): Create an empty |
127 |
|
DBFfile too because Thuban layers can't yet cope missing DBF |
128 |
|
files. |
129 |
|
|
130 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
131 |
|
|
132 |
|
* test/test_menu.py: Use initthuban instead of |
133 |
|
add_thuban_dir_to_path to initialize Thuban. |
134 |
|
|
135 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual): New. |
136 |
|
Mixin class for float comparisons |
137 |
|
(SubscriberMixin): New. Mixin class to test messages sent through |
138 |
|
the Connector class |
139 |
|
|
140 |
|
* test/README: Fix a typo and add the -v flag to the command for |
141 |
|
individual tests |
142 |
|
|
143 |
|
* test/test_session.py: New. Test cases for Thuban.Model.session |
144 |
|
|
145 |
|
* test/test_proj.py: New. Test cases for Thuban.Model.proj |
146 |
|
|
147 |
|
* test/test_map.py: New. Test cases for Thuban.Model.map |
148 |
|
|
149 |
|
* test/test_layer.py: New. Test cases for Thuban.Model.layer |
150 |
|
|
151 |
|
* test/test_label.py: New. Test cases for Thuban.Model.label |
152 |
|
|
153 |
|
* test/test_connector.py: New. Test cases for Thuban.Lib.connector |
154 |
|
|
155 |
|
* test/test_color.py: New. Test cases for Thuban.Model.color |
156 |
|
|
157 |
|
* test/test_base.py: New. Test cases for Thuban.Model.base |
158 |
|
|
159 |
|
2002-09-13 Bernhard Herzog <[email protected]> |
160 |
|
|
161 |
|
* Thuban/Model/session.py (Session.forwarded_channels): Forward |
162 |
|
the CHANGED channel too. |
163 |
|
|
164 |
|
* Thuban/Model/map.py (Map.forwarded_channels): Forward the |
165 |
|
CHANGED channel too. |
166 |
|
(Map.__init__): Call the Modifiable constructor as well. |
167 |
|
|
168 |
|
* Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED |
169 |
|
event if the modified flag changes. |
170 |
|
(Modifiable.changed): Tweak the doc-string. |
171 |
|
|
172 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed) |
173 |
|
(MainWindow.set_position_text): Put the code that puts the text |
174 |
|
with the mouse position into the status bar into the new method |
175 |
|
set_position_text so that it can overwritten in derived classes. |
176 |
|
|
177 |
|
2002-09-12 Bernhard Herzog <[email protected]> |
178 |
|
|
179 |
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the |
180 |
|
message box on the main window. |
181 |
|
|
182 |
|
2002-09-11 Bernhard Herzog <[email protected]> |
183 |
|
|
184 |
|
* Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of |
185 |
|
the 'E' because it's less likely to interfere with other menu |
186 |
|
entries. |
187 |
|
(MainWindow.build_menu): remove an incorrect comment. |
188 |
|
|
189 |
|
2002-09-10 Bernhard Herzog <[email protected]> |
190 |
|
|
191 |
|
* Thuban/UI/mainwindow.py (MainWindow.Map): New. |
192 |
|
(_tool_command): Add sensitive parameter |
193 |
|
(_has_visible_map): Sensitivity callback to tools and other |
194 |
|
commands that require a visible map. Use it in map_zoom_in_tool, |
195 |
|
map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool |
196 |
|
and map_full_extent |
197 |
|
|
198 |
2002-09-06 Bernhard Herzog <[email protected]> |
2002-09-06 Bernhard Herzog <[email protected]> |
199 |
|
|
200 |
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |