1 |
|
2003-04-23 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
Projection dialog. Allows the user to select from a list |
4 |
|
of projection templates and optionally edit them and save new ones. |
5 |
|
|
6 |
|
* Thuban/UI/projdialog.py (ProjFrame): New. Main dialog. |
7 |
|
(ProjPanel): Base class for projection specific panels. |
8 |
|
(TMPanel): Projection panel for Transverse Mercartor. |
9 |
|
(UTMPanel): Projection panel for Universal Transverse Mercartor. |
10 |
|
(LCCPanel): Projection panel for Lambert Conic Conformal. |
11 |
|
(GeoPanel): Projetion panel for Geographic Projection. |
12 |
|
|
13 |
|
2003-04-23 Jonathan Coles <[email protected]> |
14 |
|
|
15 |
|
* Thuban/Model/load.py (XMLReader): Renamed from XMLProcessor to |
16 |
|
promote symmetry. There now exists XMLReader and XMLWriter. |
17 |
|
(XMLReader.read): New. Call to read the given file descriptor or |
18 |
|
filename. |
19 |
|
(XMLReader.close): New. Make sure the file is closed. |
20 |
|
(XMLReader.GetFileName): New. Return just the file name that is being |
21 |
|
read from. |
22 |
|
(XMLReader.GetDirectory): New. Return just the directory of the file |
23 |
|
that is being read. |
24 |
|
(XMLReader.AddDispatchers): New. Take a dictionary which contains |
25 |
|
the names of functions to call as the XML tree is parsed. |
26 |
|
(XMLReader.startElementNS): Updated to use new dispatcher dictionary. |
27 |
|
(XMLReader.endElementNS): Updated to use new dispatcher dictionary. |
28 |
|
(SessionLoader): Removed class variables start_dispatcher and |
29 |
|
end_dispatcher since this functionality is now part of a class |
30 |
|
instance. Fixes RTbug #1808. |
31 |
|
(SessionLoader.__init__): Add dispatcher functions. |
32 |
|
(load_xmlfile): Code was moved into the XMLReader.read(). |
33 |
|
(load_session): Use modified SessionLoader. |
34 |
|
|
35 |
|
* Thuban/Model/map.py (Map.GetProjection): New. Returns the |
36 |
|
map's projection. |
37 |
|
|
38 |
|
* Thuban/Model/proj.py (Projection.GetParameters): Renamed to |
39 |
|
GetAllParameters. |
40 |
|
(Projection.GetParameter): Returns the value for the given parameter. |
41 |
|
|
42 |
|
* Thuban/Model/resource.py: Use XMLReader and XMLWriter. |
43 |
|
(GetProjFiles): Renamed from GetProjections. Now returns a list |
44 |
|
of ProjFile objects. |
45 |
|
(GetSystemProjFiles): Renamed from GetSuppliedProjections. Returns |
46 |
|
a list of ProjFile objects whose files are not user defined. |
47 |
|
(GetUserProjFiles): Renamed from GetUserProjections. Returns a |
48 |
|
list of ProjFile objects whose files are user defined. |
49 |
|
(ProjFileReader): Extend new XMLReader. |
50 |
|
|
51 |
|
* Thuban/Model/save.py (XMLWriter): Renamed from XMLSaver to |
52 |
|
promote symmetry. |
53 |
|
|
54 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__): Use a wxChoice |
55 |
|
control instead of a wxComboBox. wxChoice controls do not generate |
56 |
|
events as the uses highlights possible choices which fixes problems |
57 |
|
with resizing the dialog when the use selects an option. |
58 |
|
|
59 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Use a wxChoice |
60 |
|
control instead of a wxComboBox. |
61 |
|
|
62 |
|
* Thuban/UI/mainwindow.py (MainWindow.Projection): Use new projection |
63 |
|
dialog. |
64 |
|
|
65 |
|
* test/test_proj.py (TestProjection.test): New tests for GetParameter |
66 |
|
method. |
67 |
|
|
68 |
|
2003-04-22 Bernhard Herzog <[email protected]> |
69 |
|
|
70 |
|
* Thuban/UI/mainwindow.py: Remove some unused imports and global |
71 |
|
constants |
72 |
|
|
73 |
|
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape) |
74 |
|
(IdentifyGridCtrl.selected_shape): Use table, not shapetable. |
75 |
|
|
76 |
|
2003-04-17 Bernhard Herzog <[email protected]> |
77 |
|
|
78 |
|
* Thuban/Model/layer.py: Don't import LAYER_LEGEND_CHANGED. |
79 |
|
(Layer): Update doc-string since LAYER_LEGEND_CHANGED is not used |
80 |
|
anymore. |
81 |
|
(Layer.BoundingBox, Layer.GetFieldType, Layer.NumShapes) |
82 |
|
(Layer.ShapeType, Layer.Shape): No need to call |
83 |
|
self.open_shapefile since it's always called in __init__ |
84 |
|
|
85 |
|
* Thuban/UI/application.py (ThubanApplication.MainLoop): Removed. |
86 |
|
In wxPython 2.4 there's no need to extend MainLoop anymore since |
87 |
|
wxPython itself makes sure OnExit is called. |
88 |
|
|
89 |
|
2003-04-16 Jonathan Coles <[email protected]> |
90 |
|
|
91 |
|
Initial putback of projection management code. Includes new |
92 |
|
classes to read and write projection files. The current load |
93 |
|
and save classes were abstracted a bit so they could be reused. |
94 |
|
The Projection class was extended to provide new methods and |
95 |
|
have a name. |
96 |
|
|
97 |
|
* Thuban/Model/load.py (XMLProcessor): New. Contains all the |
98 |
|
general XML reading methods that were part of ProcessSession. |
99 |
|
|
100 |
|
* Thuban/Model/proj.py (Projection.__init__): Accepts an optional |
101 |
|
name. |
102 |
|
(ProjFile): New. Represents a file that contains projection |
103 |
|
information. |
104 |
|
|
105 |
|
* Thuban/Model/resource.py: New. Contains general utilities |
106 |
|
for read and writing projection files. |
107 |
|
|
108 |
|
* Thuban/Model/save.py (XMLSaver): New. Contains all the |
109 |
|
general XML writing methods that were part of SessionSaver. |
110 |
|
(SessionSaver): Renamed from Saver. |
111 |
|
|
112 |
|
* test/test_proj.py: New test cases for the projection |
113 |
|
file read and write functions. |
114 |
|
|
115 |
|
2003-04-16 Jonathan Coles <[email protected]> |
116 |
|
|
117 |
|
* Thuban/Model/classification.py: Use repr() around values |
118 |
|
in the ClassGroup*.__repr__() methods so it is clearer when |
119 |
|
a value is a string and when it is a number. |
120 |
|
|
121 |
|
* test/test_load.py: Rework the classification test to test |
122 |
|
that we can load old files. |
123 |
|
(testLabels): Test a file where the groups have labels. |
124 |
|
|
125 |
|
2003-04-16 Bernhard Herzog <[email protected]> |
126 |
|
|
127 |
|
Safer implementation of the performance enhancements of the |
128 |
|
low-level renderer: |
129 |
|
|
130 |
|
* extensions/thuban/wxproj.cpp (extract_projection) |
131 |
|
(extract_pointer): Rename extract_projection to extract_pointer |
132 |
|
and redefine its purpose to return the pointer stored in a CObject |
133 |
|
returned by the object's cobject method. Update all callers. |
134 |
|
(s_draw_info, free_draw_info, draw_polygon_init): Implement the |
135 |
|
handling of these low-level parameters so that each s_draw_info |
136 |
|
instance is handled as a CObject at python level that also |
137 |
|
contains real references to the actual python objects which |
138 |
|
contain the values in the struct. Add free_draw_info as the |
139 |
|
destructor. |
140 |
|
(draw_polygon_shape): Add the py_draw_info parameter which must a |
141 |
|
cobject containing an s_draw_info pointer. |
142 |
|
|
143 |
|
* Thuban/UI/renderer.py (MapRenderer.polygon_render_param): New |
144 |
|
method to instantiat the low-level render parameter |
145 |
|
(MapRenderer.draw_shape_layer): Use the new method. Remove some |
146 |
|
commented out code. |
147 |
|
(MapRenderer.draw_polygon_shape): Make the first parameter not the |
148 |
|
layer but the low-level render parameter |
149 |
|
(ScreenRenderer.draw_shape_layer): Use the low-level render |
150 |
|
parameter. |
151 |
|
|
152 |
|
2003-04-15 Jonathan Coles <[email protected]> |
153 |
|
|
154 |
|
* Thuban/Model/classification.py: Implemented __repr__ for |
155 |
|
the ClassGroup* classes to make debugging a bit easier. |
156 |
|
(ClassGroup.SetLabel): Check that the string is an instance |
157 |
|
of StringTypes not StringType. Accounts for Unicode strings. |
158 |
|
|
159 |
|
* Thuban/Model/color.py: Implemented __repr__ to make |
160 |
|
debugging a bit easier. |
161 |
|
|
162 |
|
* Thuban/Model/save.py (Saver.write_classification): Need to |
163 |
|
save the group label. |
164 |
|
|
165 |
|
* test/test_load.py (testClassification): New. Loads the |
166 |
|
iceland_sample_test.thuban file and checks if it was loaded |
167 |
|
correctly. |
168 |
|
|
169 |
|
2003-04-15 Jonathan Coles <[email protected]> |
170 |
|
|
171 |
|
* extensions/thuban/wxproj.cpp (draw_polygon_init): New. Used |
172 |
|
to improve rendering performance by initializing the variables |
173 |
|
that are not change each time draw_polygon_shape() is called. |
174 |
|
The values are stored in a global struct draw_info. |
175 |
|
(draw_polygon_shape): Removed initialization code that is |
176 |
|
now in draw_polygon_init(). |
177 |
|
|
178 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Make |
179 |
|
drawing initialization call to draw_polygon_init() |
180 |
|
(MapRenderer.draw_polygon_shape): Use new signature of |
181 |
|
draw_polygon_shape. |
182 |
|
|
183 |
|
* Thuban/UI/classgen.py (GenUniformPanel): Fix spin control |
184 |
|
weirdness by setting the range to (1, maxint). |
185 |
|
|
186 |
|
* Thuban/Model/classification.py (ClassGroupProperties): Make |
187 |
|
instance variables private and optimize comparison operator |
188 |
|
by first checking if the color references are the same. |
189 |
|
(ClassGroupSingleton): Make instance variables private. |
190 |
|
(ClassGroupRange): Make instance variables private. |
191 |
|
|
192 |
|
* HOWTO-Release: Filled in missing steps for releasing packages. |
193 |
|
|
194 |
|
2003-04-15 Bernhard Herzog <[email protected]> |
195 |
|
|
196 |
|
First stab at internationalized messages: |
197 |
|
|
198 |
|
* Thuban/__init__.py (_): Implement the translation function for |
199 |
|
real using the python gettext module. |
200 |
|
|
201 |
|
* Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't |
202 |
|
translate empty strings. |
203 |
|
|
204 |
|
* Thuban/UI/application.py (ThubanApplication.read_startup_files): |
205 |
|
Add a missing space to a warning message |
206 |
|
|
207 |
|
* po/README: New. Notes about the management of the translation |
208 |
|
files. |
209 |
|
|
210 |
|
* po/Makefile: New. Makefile to help manage the translation files. |
211 |
|
|
212 |
|
* po/es.po: New. Spanish translation by Daniel Calvelo Aros |
213 |
|
|
214 |
|
* MANIFEST.in: Include the *.mo files in Resources/Locale and the |
215 |
|
translations and support files in po/ |
216 |
|
|
217 |
|
* setup.py (data_files): Add the *.mo files to the data_files too |
218 |
|
|
219 |
|
* README: Add note about the translations when building from CVS |
220 |
|
|
221 |
|
2003-04-14 Jonathan Coles <[email protected]> |
222 |
|
|
223 |
|
* Thuban/UI/dock.py: Fixes some window resizing problems most |
224 |
|
noticable under windows. Always assume the button bitmaps will |
225 |
|
be there. Code clean up. |
226 |
|
(DockabelWindow.Dock, DockableWindow.UnDock): Force all the |
227 |
|
images for the dock/undock button to the same images. |
228 |
|
Work around for RTbug #1801. |
229 |
|
|
230 |
|
* Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should |
231 |
|
be allowed to grow within the sizer. Fixes a bug under Windows |
232 |
|
where the toolbar wasn't being drawn. |
233 |
|
|
234 |
|
2003-04-14 Frank Koormann <[email protected]> |
235 |
|
|
236 |
|
* Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm: |
237 |
|
Updated design to try to make the button functionality more |
238 |
|
transparent. |
239 |
|
|
240 |
|
2003-04-14 Jonathan Coles <[email protected]> |
241 |
|
|
242 |
|
* Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to |
243 |
|
finalize the intialization of the panel. |
244 |
|
|
245 |
|
* Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the |
246 |
|
creation of the panel. Should be the last thing called in the |
247 |
|
initializer of a subclass. |
248 |
|
|
249 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively |
250 |
|
set the current selections in the combo boxes. This is needed |
251 |
|
under Windows. |
252 |
|
|
253 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Add a top |
254 |
|
level panel to the dialog so that the background colors are |
255 |
|
consistent under Windows. |
256 |
|
|
257 |
|
2003-04-11 Jonathan Coles <[email protected]> |
258 |
|
|
259 |
|
* Thuban/UI/classgen.py: Change color ramps to start at white |
260 |
|
not black. |
261 |
|
|
262 |
|
* Thuban/UI/legend.py: Enable/disable the legend buttons when |
263 |
|
the legend changes. Fixes RTbug #1793. |
264 |
|
|
265 |
|
* test/test_classification.py: Added test for copying of |
266 |
|
classifications. |
267 |
|
|
268 |
|
2003-04-11 Jonathan Coles <[email protected]> |
269 |
|
|
270 |
|
* Thuban/UI/resource.py: New. Centralize the loading of resources |
271 |
|
such as bitmaps. |
272 |
|
|
273 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons, |
274 |
|
added images to the move buttons, added 'reverse' button. |
275 |
|
(CustomRampPanel.__init__): Added images to the move buttons. |
276 |
|
(GreyRamp): New. Generates a ramp from white to black. |
277 |
|
(HotToColdRamp): New. Generates a ramp from cold to hot colors. |
278 |
|
|
279 |
|
* Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to |
280 |
|
ID_PROPERTY_*. |
281 |
|
(Classifier.__init__): Minor changes to the layout. |
282 |
|
(Classifier._OnTitleChanged): Listen for when the user edits the |
283 |
|
title and update the dialog's title and the layer's title. |
284 |
|
|
285 |
|
* Thuban/UI/dock.py: Use new bitmaps for the control buttons. |
286 |
|
|
287 |
|
* Thuban/UI/legend.py: Use new bitmaps for the control buttons. |
288 |
|
(LegendTree._OnMsgLayerTitleChanged): Change the displayed title |
289 |
|
if the layer's title changes. |
290 |
|
|
291 |
|
* Thuban/UI/mainwindow.py: Added new menu item and associated code |
292 |
|
to open a dialog to rename the map. |
293 |
|
(MainWindow): Use new resource class to import bitmaps. |
294 |
|
|
295 |
|
2003-04-11 Jonathan Coles <[email protected]> |
296 |
|
|
297 |
|
* Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm, |
298 |
|
Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm, |
299 |
|
Resources/Bitmaps/group_use_none.xpm, |
300 |
|
Resources/Bitmaps/group_use_not.xpm, |
301 |
|
Resources/Bitmaps/hide_layer.xpm, |
302 |
|
Resources/Bitmaps/layer_properties.xpm, |
303 |
|
Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm, |
304 |
|
Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm: |
305 |
|
New. |
306 |
|
|
307 |
|
2003-04-10 Jonathan Coles <[email protected]> |
308 |
|
|
309 |
|
* Thuban/Model/classification.py: (ClassGroupRange.__init__): |
310 |
|
Should pass group to ClassGroup constructor. |
311 |
|
|
312 |
|
2003-04-10 Jonathan Coles <[email protected]> |
313 |
|
|
314 |
|
* Thuban/Model/classification.py: (ClassGroup): Move all the common |
315 |
|
methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__) |
316 |
|
here. Implement SetVisible(), IsVisible(). |
317 |
|
(ClassGroup.__init__): Add group parameter which acts as a copy |
318 |
|
constructor. |
319 |
|
|
320 |
|
* Thuban/UI/classifier.py (ClassTable): Add a new column for the |
321 |
|
"Visible" check boxes. |
322 |
|
(Classifier): Rename the buttons and refactor the code to match |
323 |
|
the new labels. |
324 |
|
|
325 |
|
* Thuban/UI/legend.py: Classify button is now called "Properties". |
326 |
|
Refactored the code to change variable names. |
327 |
|
(LegendTree.__FillTreeLayer): Only list a group if it is visible. |
328 |
|
|
329 |
|
* Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to |
330 |
|
MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties |
331 |
|
renamed to MainWindow.LayerEditProperties. |
332 |
|
(MainWindow.ToggleLegend): Don't include map name in legend title. |
333 |
|
(MainWindow.SetMap): Added the map name to the window title. |
334 |
|
(MainWindow.LayerFillColor, MainWindow.LayerTransparentFill, |
335 |
|
MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed. |
336 |
|
Functionality is found in the layer properties dialog. |
337 |
|
|
338 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
339 |
|
draw visible groups. |
340 |
|
|
341 |
|
2003-04-09 Jonathan Coles <[email protected]> |
342 |
|
|
343 |
|
* Thuban/UI/classgen.py: Modifications to allow simple |
344 |
|
addition and selection of new color schemes. |
345 |
|
(MonochromaticRamp): New. Generates a ramp between two colors. |
346 |
|
(RedRamp): New. Generates a ramp of all red. |
347 |
|
(GreenRamp): New. Generates a ramp of all green. |
348 |
|
(BlueRamp): New. Generates a ramp of all blue. |
349 |
|
|
350 |
|
2003-04-09 Jonathan Coles <[email protected]> |
351 |
|
|
352 |
|
* Thuban/Model/classification.py (Classification.__deepcopy__): |
353 |
|
Need to copy over field and fieldType attributes. |
354 |
|
|
355 |
|
* Thuban/Model/table.py (Table.field_range): New. Retrive the |
356 |
|
maximum and minimum values over the entire table for a given |
357 |
|
field. |
358 |
|
(Table.GetUniqueValues): New. Retrieve all the unique values |
359 |
|
in the table for a given field. |
360 |
|
|
361 |
|
* Thuban/UI/classgen.py: Renamed GenRangePanel to GenUniformPanel. |
362 |
|
(GenUniquePanel): New. Controls to allow the user to select |
363 |
|
which unique field values they would like in the classification. |
364 |
|
(CustomRampPanel): Code that was in ClassGenDialog that allows |
365 |
|
the user to select the properties for a custom ramp. |
366 |
|
(ClassGenerator.GenUniformDistribution): Was called GenerateRanges. |
367 |
|
|
368 |
|
* Thuban/UI/classifier.py: Removed a lot of debugging code. |
369 |
|
(Classifier._SetClassification): Callback method so that the |
370 |
|
class generator can set the classification in the grid. |
371 |
|
(ClassGroupPropertiesCtrl): New. Encapsulates the drawing and |
372 |
|
editing of a group properties class into a wxWindows control. |
373 |
|
|
374 |
|
* Thuban/UI/dock.py: It was decided that if the user closes |
375 |
|
a dockable window the window should simply hide itself. That |
376 |
|
way if the user wants to show the dock again it appears in the |
377 |
|
same place as it was when it was closed. |
378 |
|
(DockableWindow.Destroy): Call renamed method OnDockDestroy(). |
379 |
|
(DockableWindow._OnButtonClose): Hide the window instead of |
380 |
|
destroying it. |
381 |
|
(DockableWindow._OnClose): Hide the window instead of |
382 |
|
destroying it. |
383 |
|
|
384 |
|
* Thuban/UI/legend.py (LegendTree): Use a private method to |
385 |
|
consistently set the font and style of the text. Fixes RTbug #1786. |
386 |
|
|
387 |
|
* Thuban/UI/mainwindow.py: Import just the Classifier class. |
388 |
|
|
389 |
|
2003-04-07 Bernhard Herzog <[email protected]> |
390 |
|
|
391 |
|
* Thuban/UI/mainwindow.py (main_menu): Move the toggle_legend item |
392 |
|
to the map module |
393 |
|
|
394 |
|
2003-04-07 Bernhard Herzog <[email protected]> |
395 |
|
|
396 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): Removed in |
397 |
|
favor of ToggleSessionTree |
398 |
|
(MainWindow.ToggleSessionTree): New method to toggle visibility of |
399 |
|
the session tree. |
400 |
|
(MainWindow.SessionTreeShown): New method to return whether the |
401 |
|
session tree is currently shown. |
402 |
|
(MainWindow.ToggleLegend): New method to toggle visibility of the |
403 |
|
legend |
404 |
|
(MainWindow.ShowLegend): Implement in terms of ToggleLegend and |
405 |
|
LegendShown |
406 |
|
(MainWindow.LegendShown): New method to return whether the legend |
407 |
|
is currently shown. |
408 |
|
(_method_command): Add checked parameter so we can define check |
409 |
|
menu items |
410 |
|
(_has_tree_window_shown, _has_legend_shown): Use the appropriate |
411 |
|
mainwindow methods. |
412 |
|
(show_session_tree, show_legend commands): Removed. |
413 |
|
(toggle_session_tree, toggle_legend commands): New commands to |
414 |
|
toggle the visibility of the dialogs |
415 |
|
|
416 |
|
2003-04-07 Jonathan Coles <[email protected]> |
417 |
|
|
418 |
|
* Thuban/UI/classgen.py: Fix Windows problem. |
419 |
|
|
420 |
|
* Thuban/UI/dock.py: Fix Windows problem. |
421 |
|
|
422 |
|
* Thuban/UI/mainwindow.py: Use False instead of false. |
423 |
|
(MainWindow.ShowLegend): Remove unnecessary switch parameter. |
424 |
|
|
425 |
|
2003-04-07 Jonathan Coles <[email protected]> |
426 |
|
|
427 |
|
Since we now say that the order of the groups in a classification |
428 |
|
matters, it makes sense to be able to manipulate that order. Most |
429 |
|
of the changes to Thuban/Model/classification.py are to that end. |
430 |
|
|
431 |
|
* Thuban/Model/classification.py (Classification.AppendGroup, |
432 |
|
Classification.InsertGroup, Classification.ReplaceGroup, |
433 |
|
Classification.RemoveGroup, Classification.GetGroup): Do as the |
434 |
|
names imply. |
435 |
|
(Classification.FindGroup): This was called GetGroup, but GetGroup |
436 |
|
takes an index, while FindGroup takes a value. |
437 |
|
(Classification.__deepcopy__): Copy all the groups, BUT NOT THE LAYER |
438 |
|
REFERENCE. Currently there is a cyclic reference between the layer |
439 |
|
and its classification. If the classification doesn't need to know |
440 |
|
its owning layer we can change this, since it may make sense to be |
441 |
|
able to use the same classification with different layers. |
442 |
|
|
443 |
|
* Thuban/Model/load.py: Use Classification.AppendGroup(), not AddGroup() |
444 |
|
|
445 |
|
* Thuban/UI/classgen.py: Use Classification.AppendGroup(), |
446 |
|
not AddGroup() |
447 |
|
|
448 |
|
* Thuban/UI/classifier.py: Now that we can depend on the order in |
449 |
|
a Classification and have methods to manipulate that order we don't |
450 |
|
need to use our own data structures in the grid. We can simply make |
451 |
|
the grid/table access the information they need from a copy of |
452 |
|
the classification object. |
453 |
|
(Classifier._OnCloseBtn): Event handler for when the user clicks |
454 |
|
'Close'. This is needed so if the user applies changes and then |
455 |
|
continues to change the table the user has the option of discarding |
456 |
|
the most recent changes and keeping what they applied. |
457 |
|
|
458 |
|
* Thuban/UI/mainwindow.py: Put "Show Legend" and "Show Session Tree" |
459 |
|
into the same group. |
460 |
|
|
461 |
|
* extensions/thuban/wxproj.cpp (check_version): If Thuban is compiled |
462 |
|
with a really old version of proj, PJ_VERSION won't even be defined. |
463 |
|
If it isn't defined then just compile so that the function always |
464 |
|
returns Py_False. |
465 |
|
|
466 |
|
* test/test_classification.py: Fix tests to use the renamed methods. |
467 |
|
Still need to write tests for the new methods. |
468 |
|
|
469 |
|
2003-04-04 Jonathan Coles <[email protected]> |
470 |
|
|
471 |
|
* Thuban/UI/classifier.py (Classifier.__SelectField): Move the |
472 |
|
call to SetSelection out of the method and before the call |
473 |
|
to __SelectField in __init__. This prevents a recursion of events |
474 |
|
when _OnFieldSelect is triggered by the user. |
475 |
|
|
476 |
|
2003-04-04 Jonathan Coles <[email protected]> |
477 |
|
|
478 |
|
* Thuban/Model/classification.py: Rename Color.None to |
479 |
|
Color.Transparent. |
480 |
|
(ClassGroupProperties.SetLineColori, ClassGroupProperties.SetFill): |
481 |
|
Don't bother copying the color, since Colors are immutable. |
482 |
|
|
483 |
|
* Thuban/Model/color.py, Thuban/Model/layer.py, Thuban/Model/load.py, |
484 |
|
Thuban/UI/classifier.py, Thuban/UI/mainwindow.py, |
485 |
|
Thuban/UI/renderer.py, Thuban/UI/view.py: |
486 |
|
Rename Color.None to Color.Transparent. |
487 |
|
|
488 |
|
* test/test_classification.py, test/test_load.py: Rename Color.None |
489 |
|
to Color.Transparent. |
490 |
|
|
491 |
|
2003-04-04 Jonathan Coles <[email protected]> |
492 |
|
|
493 |
|
* Thuban/Model/classification.py: Fix assert calls. |
494 |
|
(ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill): |
495 |
|
Copy the color parameter rather than hold onto a reference. |
496 |
|
|
497 |
|
* Thuban/Model/color.py (Color.__copy__, Color.__deepcopy): Copy |
498 |
|
the color object. |
499 |
|
(NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we |
500 |
|
are sure there exists only one refernce to Color.None in the system. |
501 |
|
This allows us to use 'is' rather than the comparision functions. |
502 |
|
|
503 |
|
* Thuban/Model/save.py: Fix assert calls. |
504 |
|
|
505 |
|
* Thuban/UI/classifier.py: Fix assert calls. |
506 |
|
(ClassGrid._OnCellDClick): Call up to the classifier to open the |
507 |
|
dialog to edit the groups properties. |
508 |
|
(ClassGrid._OnCellResize): Make sure that the scollbars are drawn |
509 |
|
correctly if a cell is resized. |
510 |
|
(ClassTable.SetClassification): New. Changes the classification |
511 |
|
that is in the table. |
512 |
|
(ClassTable.__SetRow): Allow groups to be prepended. |
513 |
|
(Classifier): New code for opening the EditProperties and |
514 |
|
GenerateRanges dialogs. |
515 |
|
(SelectPropertiesDialog.__GetColor): Only set the color in the |
516 |
|
color dialog if the current color is not None. |
517 |
|
|
518 |
|
* Thuban/UI/dock.py: Fix assert calls. |
519 |
|
|
520 |
|
* Thuban/UI/legend.py: Fix assert calls. |
521 |
|
|
522 |
|
* Thuban/UI/renderer.py: Fix assert calls. |
523 |
|
|
524 |
|
* Thuban/UI/classgen.py (ClassGenDialog): Dialog for generating |
525 |
|
classifications. |
526 |
|
(GenRangePanel): Panel specific to range generation. |
527 |
|
(GenSingletonPanel): Panel specific to singleton generation. |
528 |
|
(ClassGenerator): Class responsible for actually generating |
529 |
|
the classification from the data gathered in the dialog box. |
530 |
|
(PropertyRamp): Generates properties whose values range from |
531 |
|
a starting property to an ending property. |
532 |
|
|
533 |
|
2003-04-03 Bernhard Herzog <[email protected]> |
534 |
|
|
535 |
|
* test/support.py (print_garbage_information): New function that |
536 |
|
prints information about still connected messages and memory |
537 |
|
leaks. |
538 |
|
(run_suite): Removed. |
539 |
|
(run_tests): New function for use as a replacement of |
540 |
|
unittest.main in the test_* files. This one calls |
541 |
|
print_garbage_information at the end. |
542 |
|
|
543 |
|
* test/runtests.py (main): Use support.print_garbage_information |
544 |
|
|
545 |
|
* test/test_layer.py: Use support.run_tests instead of |
546 |
|
unittest.main so we get memory leak information |
547 |
|
(TestLayer.test_arc_layer, TestLayer.test_polygon_layer) |
548 |
|
(TestLayer.test_point_layer, TestLayer.test_empty_layer) |
549 |
|
(TestLayerLegend.test_visibility): Call the layer's Destroy method |
550 |
|
to fix a memory leak. |
551 |
|
|
552 |
|
* test/test_classification.py: Use support.run_tests instead of |
553 |
|
unittest.main so we get memory leak information |
554 |
|
(TestClassification.test_classification): Call the layer's Destroy |
555 |
|
method to fix a memory leak. |
556 |
|
|
557 |
|
2003-04-02 Bernhard Herzog <[email protected]> |
558 |
|
|
559 |
|
* extensions/thuban/wxproj.cpp (check_version, check_version_gtk): |
560 |
|
Handle the reference counts of the return value and errors in |
561 |
|
PyArg_ParseTuple correctly. |
562 |
|
|
563 |
|
* Thuban/UI/application.py (ThubanApplication.OpenSession): Make |
564 |
|
sure the filename is absolute to avoid problems when saving the |
565 |
|
session again |
566 |
|
|
567 |
|
* Thuban/Model/table.py: Remove unnecessary import. Fix a typo. |
568 |
|
|
569 |
|
2003-04-01 Jonathan Coles <[email protected]> |
570 |
|
|
571 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check |
572 |
|
that there actually are points in the returned list of points |
573 |
|
before trying to index into the list. The list may be empty if |
574 |
|
the shape is a Null Shape. |
575 |
|
|
576 |
|
2003-04-01 Bernhard Herzog <[email protected]> |
577 |
|
|
578 |
|
* test/test_map.py: Don't use from <module> import * |
579 |
|
|
580 |
|
2003-04-01 Jonathan Coles <[email protected]> |
581 |
|
|
582 |
|
* Thuban/Model/session.py: Use LAYER_CHANGED instead of |
583 |
|
LAYER_LEGEND_CHANGED |
584 |
|
|
585 |
|
* Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call |
586 |
|
self.Destroy() to close the window after yesterday's changes. |
587 |
|
|
588 |
|
* test/test_map.py, test/test_session.py: Fix messages that |
589 |
|
are sent from maps and layers. |
590 |
|
|
591 |
|
2003-03-31 Jonathan Coles <[email protected]> |
592 |
|
|
593 |
|
* Thuban/UI/classifier.py: Commented out some debugging statements. |
594 |
|
(ClassDataPreviewer.Draw): Draw rectangles for polygon layers per |
595 |
|
RTbug #1769. |
596 |
|
|
597 |
|
* Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and |
598 |
|
position (although position doesn't work yet under GTK). |
599 |
|
(DockableWindow.Destroy): New. Called when the window must be |
600 |
|
closed. Namely needed when the DockFrame closes and must close |
601 |
|
its children. |
602 |
|
(DockFrame): Listen for EVT_CLOSE and destroy all children. |
603 |
|
|
604 |
|
* Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up |
605 |
|
when then window is told to close. |
606 |
|
(LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See |
607 |
|
comment in source for more info. |
608 |
|
|
609 |
|
* Thuban/UI/main.py: Show the legend by default when Thuban starts. |
610 |
|
|
611 |
|
* Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for |
612 |
|
symmetry with other such methods. |
613 |
|
(MainWindow.ShowLegend): Show the legend docked by default. |
614 |
|
|
615 |
|
2003-03-28 Jonathan Coles <[email protected]> |
616 |
|
|
617 |
|
* Thuban/UI/classifier.py: Support for highlighting a specific |
618 |
|
group within the grid when the classification dialog is opened. |
619 |
|
Also contains a lot of debugging printouts which will later |
620 |
|
be removed. |
621 |
|
|
622 |
|
* Thuban/UI/dock.py: Complete rework on the dock code so that |
623 |
|
that it is fairly removed from the rest of the Thuban application. |
624 |
|
It is easy to add new docks which the rest of the program having |
625 |
|
to be aware of them. |
626 |
|
|
627 |
|
* Thuban/UI/legend.py: Modifications to support selecting a |
628 |
|
specific group in the classification dialog. Changed how layers |
629 |
|
are drawn when the layer is visible/invisible. |
630 |
|
|
631 |
|
* Thuban/UI/mainwindow.py: Removed legend specific code and |
632 |
|
replaced it with calls to the new dock code. |
633 |
|
|
634 |
|
* Thuban/UI/renderer.py (MapRenderer.__init__): Added assert |
635 |
|
to check if scale > 0. Trying to track down a divide by zero. |
636 |
|
|
637 |
|
2003-03-26 Jonathan Coles <[email protected]> |
638 |
|
|
639 |
|
* Thuban/UI/legend.py: Removed unnecessary LegendDialog class. |
640 |
|
(LegendPanel): Removed _OnDock()/_OnUnDock() methods which are |
641 |
|
now part of DockableWindow. |
642 |
|
(LegendPanel.DoOnSelChanged): Select the current layer in the |
643 |
|
map. |
644 |
|
(LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged() |
645 |
|
with the selected layer and/or group. |
646 |
|
|
647 |
|
2003-03-26 Jonathan Coles <[email protected]> |
648 |
|
|
649 |
|
This putback contains the code for dockable windows. There is |
650 |
|
no support in wxWindows as of this date for windows that can |
651 |
|
attach themselves to other windows. |
652 |
|
|
653 |
|
The current model contains a DockableWindow which has a parent |
654 |
|
window for when it is detached and a dock window that it puts |
655 |
|
its contents in when it is docked. The contents of a DockableWindow |
656 |
|
must be a DockPanel. DockPanel itself derives from wxPanel. |
657 |
|
|
658 |
|
* Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED |
659 |
|
message, not a LAYER_LEGEND_CHANGED message. |
660 |
|
|
661 |
|
* Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages. |
662 |
|
|
663 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE |
664 |
|
as one of the style properties for the fieldTypeText item to |
665 |
|
be sure that its size is correct when the text changes. |
666 |
|
|
667 |
|
* Thuban/UI/dock.py: New. Classes for the DockPanel and |
668 |
|
DockableWindow. |
669 |
|
|
670 |
|
* Thuban/UI/legend.py: Added some more buttons and made the |
671 |
|
LegendPanel a DockPanel. |
672 |
|
|
673 |
|
* Thuban/UI/mainwindow.py: Added sash windows to the main window |
674 |
|
and supporting functions for manipulating the sashes. |
675 |
|
(MainWindow.ShowLegend): Create a DockableWindow with the |
676 |
|
LegendPanel as the contents. |
677 |
|
|
678 |
|
* Thuban/UI/messages.py: Added DOCKABLE_* messages |
679 |
|
|
680 |
|
* Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED, |
681 |
|
not LAYER_LEGEND_CHANGED, messages. |
682 |
|
|
683 |
|
2003-03-25 Jonathan Coles <[email protected]> |
684 |
|
|
685 |
|
* setup.py: Added custom script bdist_rpm_build_script so that |
686 |
|
when the rpm is built the path to wx-config is correct. |
687 |
|
|
688 |
|
* setup.cfg: Added line saying to use the custom build script |
689 |
|
|
690 |
|
2003-03-20 Jonathan Coles <[email protected]> |
691 |
|
|
692 |
|
Initial implementation of the Legend. |
693 |
|
|
694 |
|
* Thuban/UI/legend.py: New. Creates a window that shows the map's |
695 |
|
Legend information and allows the user to add/modify classifications |
696 |
|
and how the layers are drawn on the map. |
697 |
|
|
698 |
|
* setup.py: New command 'build_docs' which currently uses |
699 |
|
happydoc to generate html documentation for Thuban. |
700 |
|
|
701 |
|
* Thuban/Model/classification.py (ClassGroup.GetDisplayText): New. |
702 |
|
Returns a string which is appropriately describes the group. |
703 |
|
|
704 |
|
* Thuban/Model/layer.py (Layer.SetClassification): Generate a |
705 |
|
LAYER_CHANGED event instead of a LAYER_LEGEND_CHANGED event. |
706 |
|
|
707 |
|
* Thuban/Model/map.py (Map): Rename messages and use new, more |
708 |
|
specific, messages. |
709 |
|
|
710 |
|
* Thuban/Model/messages.py: New message to indicate that a layer's |
711 |
|
data has changed (LAYER_CHANGED). New map messages to indicate |
712 |
|
when layers have been added/removed/changed or if the stacking order |
713 |
|
of the layers has changed. |
714 |
|
|
715 |
|
* Thuban/Model/session.py: Rename and use new messages. |
716 |
|
|
717 |
|
* Thuban/UI/classifier.py: Remember if any changes have actually |
718 |
|
been applied so that if the dialog is cancelled without an application |
719 |
|
of changes we don't have to set a new classification. |
720 |
|
(ClassDataPreviewer): Pulled out the window specific code and put it |
721 |
|
ClassDataPreviewWindow. ClassDataPreviewer can then be used to draw |
722 |
|
symbols on any DC. |
723 |
|
|
724 |
|
* Thuban/UI/mainwindow.py: New code to open the legend. |
725 |
|
|
726 |
|
* Thuban/UI/view.py: Use new message names. |
727 |
|
|
728 |
|
2003-03-19 Jonathan Coles <[email protected]> |
729 |
|
|
730 |
|
* Thuban/UI/main.py (verify_versions): New. Checks the versions |
731 |
|
of Python, wxPython, and some other libraries. |
732 |
|
|
733 |
|
* extensions/thuban/wxproj.cpp (check_version): Checks the given |
734 |
|
version against what wxproj was compiled with. |
735 |
|
(check_version_gtk): If wxproj was compiled with gtk then check |
736 |
|
the given version against the version of the gtk library |
737 |
|
currently being used. |
738 |
|
|
739 |
|
2003-03-14 Bernhard Herzog <[email protected]> |
740 |
|
|
741 |
|
* test/test_command.py: Run the tests when the module is run as a |
742 |
|
script |
743 |
|
|
744 |
|
2003-03-14 Bernhard Herzog <[email protected]> |
745 |
|
|
746 |
|
Implement selection of multiple selected shapes in the same layer: |
747 |
|
|
748 |
|
- Introduce a new class to hold the selection. This basically |
749 |
|
replaces the interactor which was nothing more than the |
750 |
|
selection anyway. A major difference is of course that the new |
751 |
|
selection class supports multiple selected shapes in one layer |
752 |
|
|
753 |
|
- Move the object that represents the selection from the |
754 |
|
application to the canvas. The canvas is a better place than the |
755 |
|
application because the selection represents which shapes and |
756 |
|
layer of the map displayed by the canvas are selected and |
757 |
|
affects how the map is drawn. |
758 |
|
|
759 |
|
- Make the selection and its messages publicly available through |
760 |
|
the mainwindow. |
761 |
|
|
762 |
|
- The non-modal dialogs do not get a reference to the interactor |
763 |
|
anymore as they can simply refer to their parent, the |
764 |
|
mainwindow, for the what the interactor had to offer. |
765 |
|
|
766 |
|
* Thuban/UI/selection.py: New module with a class to represent the |
767 |
|
selection. |
768 |
|
|
769 |
|
* Thuban/UI/messages.py (SELECTED_TABLE, SELECTED_MAP): Remove |
770 |
|
these unused messages |
771 |
|
|
772 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit) |
773 |
|
(ThubanApplication.OnExit, ThubanApplication.SetSession): The |
774 |
|
interactor is gone now. |
775 |
|
(ThubanApplication.CreateMainWindow): There is no interactor |
776 |
|
anymore so we pass None as the interactor argument for now for |
777 |
|
compatibility. |
778 |
|
|
779 |
|
* Thuban/UI/view.py (MapCanvas.delegated_messages) |
780 |
|
(MapCanvas.Subscribe, MapCanvas.Unsubscribe): In Subscribe and |
781 |
|
Unsubscribe, delegate messages according to the delegated_messages |
782 |
|
class variable. |
783 |
|
(MapCanvas.__getattr__, MapCanvas.delegated_methods): Get some |
784 |
|
attributes from instance variables as described with the |
785 |
|
delegated_methods class variable. |
786 |
|
(MapCanvas.__init__): New instance variable selection holding the |
787 |
|
current selection |
788 |
|
(MapCanvas.do_redraw): Deal with multiple selected shapes. Simply |
789 |
|
pass them on to the renderer |
790 |
|
(MapCanvas.SetMap): Clear the selection when a different map is |
791 |
|
selected. |
792 |
|
(MapCanvas.shape_selected): Simple force a complete redraw. The |
793 |
|
selection class now takes care of only issueing SHAPES_SELECTED |
794 |
|
messages when the set of selected shapes actually does change. |
795 |
|
(MapCanvas.SelectShapeAt): The selection is now managed in |
796 |
|
self.selection |
797 |
|
|
798 |
|
* Thuban/UI/mainwindow.py (MainWindow.delegated_messages) |
799 |
|
(MainWindow.Subscribe, MainWindow.Unsubscribe): In Subscribe and |
800 |
|
Unsubscribe, delegate messages according to the delegated_messages |
801 |
|
class variable. |
802 |
|
(MainWindow.delegated_methods, MainWindow.__getattr__): Get some |
803 |
|
attributes from instance variables as described with the |
804 |
|
delegated_methods class variable. |
805 |
|
(MainWindow.__init__): The interactor as ivar is gone. The |
806 |
|
parameter is still there for compatibility. The selection messages |
807 |
|
now come from the canvas. |
808 |
|
(MainWindow.current_layer, MainWindow.has_selected_layer): |
809 |
|
Delegate to the the canvas. |
810 |
|
(MainWindow.LayerShowTable, MainWindow.Classify) |
811 |
|
(MainWindow.identify_view_on_demand): The dialogs don't need the |
812 |
|
interactor parameter anymore. |
813 |
|
|
814 |
|
* Thuban/UI/tableview.py (TableFrame.__init__) |
815 |
|
(LayerTableFrame.__init__, LayerTableFrame.OnClose) |
816 |
|
(LayerTableFrame.row_selected): The interactor is gone. It's job |
817 |
|
from the dialog's point of view is now done by the mainwindow, |
818 |
|
i.e. the parent. Subscribe to SHAPES_SELECTED instead |
819 |
|
of SELECTED_SHAPE |
820 |
|
|
821 |
|
* Thuban/UI/dialogs.py (NonModalDialog.__init__): The interactor |
822 |
|
is gone. It's job from the dialog's point of view is now done by |
823 |
|
the mainwindow, i.e. the parent. |
824 |
|
|
825 |
|
* Thuban/UI/classifier.py (Classifier.__init__): The interactor is |
826 |
|
gone. It's job from the dialog's point of view is now done by the |
827 |
|
mainwindow, i.e. the parent. |
828 |
|
|
829 |
|
* Thuban/UI/tree.py (SessionTreeView.__init__): The interactor is |
830 |
|
gone. It's job from the dialog's point of view is now done by the |
831 |
|
mainwindow, i.e. the parent. |
832 |
|
(SessionTreeCtrl.__init__): New parameter mainwindow which is |
833 |
|
stored as self.mainwindow. The mainwindow is need so that the tree |
834 |
|
can still subscribe to the selection messages. |
835 |
|
(SessionTreeCtrl.__init__, SessionTreeCtrl.unsubscribe_all) |
836 |
|
(SessionTreeCtrl.update_tree, SessionTreeCtrl.OnSelChanged): The |
837 |
|
selection is now accessible through the mainwindow. Subscribe to |
838 |
|
SHAPES_SELECTED instead of SELECTED_SHAPE |
839 |
|
|
840 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): Use the |
841 |
|
SHAPES_SELECTED message now. |
842 |
|
(IdentifyView.selected_shape): Now subscribed to SHAPES_SELECTED, |
843 |
|
so deal with multiple shapes |
844 |
|
(IdentifyView.__init__, IdentifyView.OnClose): The interactor is |
845 |
|
gone. It's job from the dialog's point of view is now done by the |
846 |
|
mainwindow, i.e. the parent. |
847 |
|
|
848 |
|
* Thuban/UI/controls.py (RecordListCtrl.fill_list): The second |
849 |
|
parameter is now a list of shape ids. |
850 |
|
(RecordTable.SetTable): The second parameter is now a list of |
851 |
|
indices. |
852 |
|
|
853 |
|
* Thuban/UI/renderer.py (ScreenRenderer.RenderMap): Rename the |
854 |
|
selected_shape parameter and ivar to selected_shapes. It's now a |
855 |
|
list of shape ids. |
856 |
|
(MapRenderer.draw_label_layer): Deal with multiple selected |
857 |
|
shapes. Rearrange the code a bit so that the setup and shape type |
858 |
|
distinctions are only executed once. |
859 |
|
|
860 |
|
* test/test_selection.py: Test cases for the selection class |
861 |
|
|
862 |
|
2003-03-11 Jonathan Coles <[email protected]> |
863 |
|
|
864 |
|
* Thuban/Model/load.py: Temporary fix so that the xml reader |
865 |
|
doesn't cause Thuban to crash. |
866 |
|
|
867 |
|
* Thuban/Model/layer.py: Handle the cyclic references between |
868 |
|
a layer and its classification better, and be sure to disconnect |
869 |
|
the classification from the layer when the layer is destroyed |
870 |
|
so that we don't maintain a cyclic reference that may not be |
871 |
|
garbage collected. |
872 |
|
|
873 |
|
* Thuban/Model/classification.py: See comment for layer.py. |
874 |
|
|
875 |
|
2003-03-12 Jan-Oliver Wagner <[email protected]> |
876 |
|
|
877 |
|
* HOWTO-Release: New. Information on the steps for releasing |
878 |
|
a new version of Thuban. |
879 |
|
|
880 |
|
2003-03-11 Jonathan Coles <[email protected]> |
881 |
|
|
882 |
|
* Thuban/UI/classifier.py: Add normal border to SelectPropertiesDialog. |
883 |
|
Use True instead of true. |
884 |
|
(Classifier): Should have a single panel in which all the controls lie. |
885 |
|
|
886 |
|
* Thuban/UI/proj4dialog.py: Add normal border. |
887 |
|
|
888 |
|
* Thuban/UI/tree.py: Fixed problem with bad item images under Windows. |
889 |
|
|
890 |
|
* Thuban/UI/mainwindow.py: Use True instead of true. |
891 |
|
|
892 |
|
* setup.py: Update some definitions to use wxWindows2.4 files |
893 |
|
|
894 |
|
* Data/iceland_sample_class.thuban: Fixed file so that the |
895 |
|
field_type information is present. |
896 |
|
|
897 |
|
2003-03-10 Jonathan Coles <[email protected]> |
898 |
|
|
899 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Make the |
900 |
|
field type label grow so that when the text changes the |
901 |
|
size is updated correctly. This may be a wxWindows bug. |
902 |
|
|
903 |
|
2003-03-10 Jonathan Coles <[email protected]> |
904 |
|
|
905 |
|
* Thuban/UI/application.py: Changed SESSION_CHANGED to |
906 |
|
SESSION_REPLACED. |
907 |
|
|
908 |
|
* Thuban/UI/classifier.py: Wrap text with _(). |
909 |
|
(ClassGrid.CreateTable): Set dimensions and size hints here, |
910 |
|
instead of in Reset, so we only set the size once. |
911 |
|
|
912 |
|
* Thuban/UI/dialogs.py: Don't need Shutdown(); just use Close()! |
913 |
|
|
914 |
|
* Thuban/UI/mainwindow.py (MainWindow.prepare_new_session): |
915 |
|
Call Close() instead of Shutdown(). |
916 |
|
|
917 |
|
* Thuban/UI/messages.py: Changed SESSION_CHANGED to SESSION_REPLACED. |
918 |
|
|
919 |
|
* Thuban/UI/tree.py: Changed SESSION_CHANGED to SESSION_REPLACED. |
920 |
|
Go back to using OnClose() instead of Shutdown(). |
921 |
|
|
922 |
2003-03-10 Jonathan Coles <[email protected]> |
2003-03-10 Jonathan Coles <[email protected]> |
923 |
|
|
924 |
* Thuban/UI/classifier.py (Classifier): SelectField() needed |
* Thuban/UI/classifier.py (Classifier): SelectField() needed |