/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 403 by tkoester, Fri Feb 14 11:20:19 2003 UTC revision 575 by jonathan, Mon Mar 31 18:30:51 2003 UTC
# Line 1  Line 1 
1    2003-03-31  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/classifier.py: Commented out some debugging statements.
4            (ClassDataPreviewer.Draw): Draw rectangles for polygon layers per
5            RTbug #1769.
6    
7            * Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and
8            position (although position doesn't work yet under GTK).
9            (DockableWindow.Destroy): New. Called when the window must be
10            closed. Namely needed when the DockFrame closes and must close
11            its children.
12            (DockFrame): Listen for EVT_CLOSE and destroy all children.
13    
14            * Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up
15            when then window is told to close.
16            (LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See
17            comment in source for more info.
18    
19            * Thuban/UI/main.py: Show the legend by default when Thuban starts.
20    
21            * Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for
22            symmetry with other such methods.
23            (MainWindow.ShowLegend): Show the legend docked by default.
24    
25    2003-03-28  Jonathan Coles   <[email protected]>
26    
27            * Thuban/UI/classifier.py: Support for highlighting a specific
28            group within the grid when the classification dialog is opened.
29            Also contains a lot of debugging printouts which will later
30            be removed.
31    
32            * Thuban/UI/dock.py: Complete rework on the dock code so that
33            that it is fairly removed from the rest of the Thuban application.
34            It is easy to add new docks which the rest of the program having
35            to be aware of them.
36    
37            * Thuban/UI/legend.py: Modifications to support selecting a
38            specific group in the classification dialog. Changed how layers
39            are drawn when the layer is visible/invisible.
40    
41            * Thuban/UI/mainwindow.py: Removed legend specific code and
42            replaced it with calls to the new dock code.
43    
44            * Thuban/UI/renderer.py (MapRenderer.__init__): Added assert
45            to check if scale > 0. Trying to track down a divide by zero.
46    
47    2003-03-26  Jonathan Coles   <[email protected]>
48    
49            * Thuban/UI/legend.py: Removed unnecessary LegendDialog class.
50            (LegendPanel): Removed _OnDock()/_OnUnDock() methods which are
51            now part of DockableWindow.
52            (LegendPanel.DoOnSelChanged): Select the current layer in the
53            map.
54            (LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged()
55            with the selected layer and/or group.
56    
57    2003-03-26  Jonathan Coles   <[email protected]>
58    
59            This putback contains the code for dockable windows. There is
60            no support in wxWindows as of this date for windows that can
61            attach themselves to other windows.
62    
63            The current model contains a DockableWindow which has a parent
64            window for when it is detached and a dock window that it puts
65            its contents in when it is docked. The contents of a DockableWindow
66            must be a DockPanel. DockPanel itself derives from wxPanel.
67    
68            * Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED
69            message, not a LAYER_LEGEND_CHANGED message.
70    
71            * Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages.
72    
73            * Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE
74            as one of the style properties for the fieldTypeText item to
75            be sure that its size is correct when the text changes.
76    
77            * Thuban/UI/dock.py: New. Classes for the DockPanel and
78            DockableWindow.
79    
80            * Thuban/UI/legend.py: Added some more buttons and made the
81            LegendPanel a DockPanel.
82    
83            * Thuban/UI/mainwindow.py: Added sash windows to the main window
84            and supporting functions for manipulating the sashes.
85            (MainWindow.ShowLegend): Create a DockableWindow with the
86            LegendPanel as the contents.
87    
88            * Thuban/UI/messages.py: Added DOCKABLE_* messages
89    
90            * Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED,
91            not LAYER_LEGEND_CHANGED, messages.
92    
93    2003-03-25  Jonathan Coles   <[email protected]>
94    
95            * setup.py: Added custom script bdist_rpm_build_script so that
96            when the rpm is built the path to wx-config is correct.
97    
98            * setup.cfg: Added line saying to use the custom build script
99    
100    2003-03-20  Jonathan Coles   <[email protected]>
101    
102            Initial implementation of the Legend.
103    
104            * Thuban/UI/legend.py: New. Creates a window that shows the map's
105            Legend information and allows the user to add/modify classifications
106            and how the layers are drawn on the map.
107    
108            * setup.py: New command 'build_docs' which currently uses
109            happydoc to generate html documentation for Thuban.
110    
111            * Thuban/Model/classification.py (ClassGroup.GetDisplayText): New.
112            Returns a string which is appropriately describes the group.
113    
114            * Thuban/Model/layer.py (Layer.SetClassification): Generate a
115            LAYER_CHANGED event instead of a LAYER_LEGEND_CHANGED event.
116    
117            * Thuban/Model/map.py (Map): Rename messages and use new, more
118            specific, messages.
119    
120            * Thuban/Model/messages.py: New message to indicate that a layer's
121            data has changed (LAYER_CHANGED). New map messages to indicate
122            when layers have been added/removed/changed or if the stacking order
123            of the layers has changed.
124    
125            * Thuban/Model/session.py: Rename and use new messages.
126    
127            * Thuban/UI/classifier.py: Remember if any changes have actually
128            been applied so that if the dialog is cancelled without an application
129            of changes we don't have to set a new classification.
130            (ClassDataPreviewer): Pulled out the window specific code and put it
131            ClassDataPreviewWindow. ClassDataPreviewer can then be used to draw
132            symbols on any DC.
133            
134            * Thuban/UI/mainwindow.py: New code to open the legend.
135    
136            * Thuban/UI/view.py: Use new message names.
137    
138    2003-03-19  Jonathan Coles   <[email protected]>
139    
140            * Thuban/UI/main.py (verify_versions): New. Checks the versions
141            of Python, wxPython, and some other libraries.
142    
143            * extensions/thuban/wxproj.cpp (check_version): Checks the given
144            version against what wxproj was compiled with.
145            (check_version_gtk): If wxproj was compiled with gtk then check
146            the given version against the version of the gtk library
147            currently being used.
148    
149    2003-03-14  Bernhard Herzog  <[email protected]>
150    
151            * test/test_command.py: Run the tests when the module is run as a
152            script
153    
154    2003-03-14  Bernhard Herzog  <[email protected]>
155    
156            Implement selection of multiple selected shapes in the same layer:
157    
158            - Introduce a new class to hold the selection. This basically
159              replaces the interactor which was nothing more than the
160              selection anyway. A major difference is of course that the new
161              selection class supports multiple selected shapes in one layer
162            
163            - Move the object that represents the selection from the
164              application to the canvas. The canvas is a better place than the
165              application because the selection represents which shapes and
166              layer of the map displayed by the canvas are selected and
167              affects how the map is drawn.
168    
169            - Make the selection and its messages publicly available through
170              the mainwindow.
171    
172            - The non-modal dialogs do not get a reference to the interactor
173              anymore as they can simply refer to their parent, the
174              mainwindow, for the what the interactor had to offer.
175    
176            * Thuban/UI/selection.py: New module with a class to represent the
177            selection.
178    
179            * Thuban/UI/messages.py (SELECTED_TABLE, SELECTED_MAP): Remove
180            these unused messages
181    
182            * Thuban/UI/application.py (ThubanApplication.OnInit)
183            (ThubanApplication.OnExit, ThubanApplication.SetSession): The
184            interactor is gone now.
185            (ThubanApplication.CreateMainWindow): There is no interactor
186            anymore so we pass None as the interactor argument for now for
187            compatibility.
188    
189            * Thuban/UI/view.py (MapCanvas.delegated_messages)
190            (MapCanvas.Subscribe, MapCanvas.Unsubscribe): In Subscribe and
191            Unsubscribe, delegate messages according to the delegated_messages
192            class variable.
193            (MapCanvas.__getattr__, MapCanvas.delegated_methods): Get some
194            attributes from instance variables as described with the
195            delegated_methods class variable.
196            (MapCanvas.__init__): New instance variable selection holding the
197            current selection
198            (MapCanvas.do_redraw): Deal with multiple selected shapes. Simply
199            pass them on to the renderer
200            (MapCanvas.SetMap): Clear the selection when a different map is
201            selected.
202            (MapCanvas.shape_selected): Simple force a complete redraw. The
203            selection class now takes care of only issueing SHAPES_SELECTED
204            messages when the set of selected shapes actually does change.
205            (MapCanvas.SelectShapeAt): The selection is now managed in
206            self.selection
207    
208            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages)
209            (MainWindow.Subscribe, MainWindow.Unsubscribe): In Subscribe and
210            Unsubscribe, delegate messages according to the delegated_messages
211            class variable.
212            (MainWindow.delegated_methods, MainWindow.__getattr__): Get some
213            attributes from instance variables as described with the
214            delegated_methods class variable.
215            (MainWindow.__init__): The interactor as ivar is gone. The
216            parameter is still there for compatibility. The selection messages
217            now come from the canvas.
218            (MainWindow.current_layer, MainWindow.has_selected_layer):
219            Delegate to the the canvas.
220            (MainWindow.LayerShowTable, MainWindow.Classify)
221            (MainWindow.identify_view_on_demand): The dialogs don't need the
222            interactor parameter anymore.
223    
224            * Thuban/UI/tableview.py (TableFrame.__init__)
225            (LayerTableFrame.__init__, LayerTableFrame.OnClose)
226            (LayerTableFrame.row_selected): The interactor is gone. It's job
227            from the dialog's point of view is now done by the mainwindow,
228            i.e. the parent. Subscribe to SHAPES_SELECTED instead
229            of SELECTED_SHAPE
230            
231            * Thuban/UI/dialogs.py (NonModalDialog.__init__): The interactor
232            is gone. It's job from the dialog's point of view is now done by
233            the mainwindow, i.e. the parent.
234            
235            * Thuban/UI/classifier.py (Classifier.__init__): The interactor is
236            gone. It's job from the dialog's point of view is now done by the
237            mainwindow, i.e. the parent.
238    
239            * Thuban/UI/tree.py (SessionTreeView.__init__): The interactor is
240            gone. It's job from the dialog's point of view is now done by the
241            mainwindow, i.e. the parent.
242            (SessionTreeCtrl.__init__): New parameter mainwindow which is
243            stored as self.mainwindow. The mainwindow is need so that the tree
244            can still subscribe to the selection messages.
245            (SessionTreeCtrl.__init__, SessionTreeCtrl.unsubscribe_all)
246            (SessionTreeCtrl.update_tree, SessionTreeCtrl.OnSelChanged): The
247            selection is now accessible through the mainwindow. Subscribe to
248            SHAPES_SELECTED instead of SELECTED_SHAPE
249    
250            * Thuban/UI/identifyview.py (IdentifyView.__init__): Use the
251            SHAPES_SELECTED message now.
252            (IdentifyView.selected_shape): Now subscribed to SHAPES_SELECTED,
253            so deal with multiple shapes
254            (IdentifyView.__init__, IdentifyView.OnClose): The interactor is
255            gone. It's job from the dialog's point of view is now done by the
256            mainwindow, i.e. the parent.
257    
258            * Thuban/UI/controls.py (RecordListCtrl.fill_list): The second
259            parameter is now a list of shape ids.
260            (RecordTable.SetTable): The second parameter is now a list of
261            indices.
262    
263            * Thuban/UI/renderer.py (ScreenRenderer.RenderMap): Rename the
264            selected_shape parameter and ivar to selected_shapes. It's now a
265            list of shape ids.
266            (MapRenderer.draw_label_layer): Deal with multiple selected
267            shapes. Rearrange the code a bit so that the setup and shape type
268            distinctions are only executed once.
269    
270            * test/test_selection.py: Test cases for the selection class
271    
272    2003-03-11  Jonathan Coles   <[email protected]>
273    
274            * Thuban/Model/load.py: Temporary fix so that the xml reader
275            doesn't cause Thuban to crash.
276    
277            * Thuban/Model/layer.py: Handle the cyclic references between
278            a layer and its classification better, and be sure to disconnect
279            the classification from the layer when the layer is destroyed
280            so that we don't maintain a cyclic reference that may not be
281            garbage collected.
282    
283            * Thuban/Model/classification.py: See comment for layer.py.
284    
285    2003-03-12  Jan-Oliver Wagner <[email protected]>
286    
287            * HOWTO-Release: New. Information on the steps for releasing
288            a new version of Thuban.
289    
290    2003-03-11  Jonathan Coles   <[email protected]>
291    
292            * Thuban/UI/classifier.py: Add normal border to SelectPropertiesDialog.
293            Use True instead of true.
294            (Classifier): Should have a single panel in which all the controls lie.
295    
296            * Thuban/UI/proj4dialog.py: Add normal border.
297    
298            * Thuban/UI/tree.py: Fixed problem with bad item images under Windows.
299    
300            * Thuban/UI/mainwindow.py: Use True instead of true.
301    
302            * setup.py: Update some definitions to use wxWindows2.4 files
303    
304            * Data/iceland_sample_class.thuban: Fixed file so that the
305            field_type information is present.
306    
307    2003-03-10  Jonathan Coles   <[email protected]>
308    
309            * Thuban/UI/classifier.py (Classifier.__init__): Make the
310            field type label grow so that when the text changes the
311            size is updated correctly. This may be a wxWindows bug.
312    
313    2003-03-10  Jonathan Coles   <[email protected]>
314    
315            * Thuban/UI/application.py: Changed SESSION_CHANGED to
316            SESSION_REPLACED.
317    
318            * Thuban/UI/classifier.py: Wrap text with _().
319            (ClassGrid.CreateTable): Set dimensions and size hints here,
320            instead of in Reset, so we only set the size once.
321    
322            * Thuban/UI/dialogs.py: Don't need Shutdown(); just use Close()!
323    
324            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
325            Call Close() instead of Shutdown().
326    
327            * Thuban/UI/messages.py: Changed SESSION_CHANGED to SESSION_REPLACED.
328    
329            * Thuban/UI/tree.py: Changed SESSION_CHANGED to SESSION_REPLACED.
330            Go back to using OnClose() instead of Shutdown().
331    
332    2003-03-10  Jonathan Coles   <[email protected]>
333    
334            * Thuban/UI/classifier.py (Classifier): SelectField() needed
335            to know the old field index as well as the new one.
336    
337    2003-03-10  Jonathan Coles   <[email protected]>
338    
339            * Thuban/UI/classifier.py (Classifier): Use __SelectField()
340            to correctly set the table information and call this from
341            __init__ and from _OnFieldSelect so that all the information
342            is up to date when the dialog opens and when a field is changed.
343    
344    2003-03-10  Jonathan Coles   <[email protected]>
345    
346            * Thuban/Model/classification.py (Classification): Don't use
347            layer's message function directly, use the ClassChanged() method
348            when then classification changes. SetField/SetFieldType/SetLayer
349            must keep the information about field name and field type in
350            sync when an owning layer is set or removed.
351    
352            * Thuban/Model/layer.py: Added ClassChanged() so that the
353            classification can tell the layer when its data has changed.
354            (Layer.SetClassification): Accepts None as an arguement to
355            remove the current classification and correctly handles
356            adding a new classification.
357    
358            * Thuban/Model/load.py: Comment out print statement
359    
360            * test/test_classification.py, test/test_save.py: New and
361            improved tests.
362    
363    2003-03-07  Jonathan Coles   <[email protected]>
364    
365            * Thuban/Model/classification.py: Implemented __copy__ and
366            __deepcopy__ for ClassGroup* and ClassGroupProperites so
367            they can easily be copied by the classifier dialog.
368            (ClassGroupProperites.__init__): The default line color should
369            have been Color.Black.
370    
371            * Thuban/UI/classifier.py: Setting and Getting table values now
372            uses a consistent set of functions.
373            (Classifier): Now non-modal. Has field type label which changes
374            as the field changes. Keep track of buttons in a list so that
375            we can enable/disable the buttons when the None field is selected.
376            (SelectPropertiesDialog): Add buttons to make the colors transparent.
377    
378            * Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which
379            does what OnClose did, but can be called by the application to
380            close a window. Needed when a session changes, and we have to
381            close the classifier windows.
382    
383            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
384            Shuts down open dialogs. Used when a new session is created
385            or a session is opened.
386            (MainWindow.SaveSession): Should only call application.SaveSession()
387            if we don't call SaveSessionAs first.
388            (MainWindow.Classify): Allow different classifier dialogs for
389            different layers.
390    
391            * Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let
392            the parent class handle it. Add Shutdown() to unsubscibe from
393            event notification and call the parent Shutdown(). This was
394            necessary so the application can close the tree window.
395    
396    2003-03-06  Jonathan Coles   <[email protected]>
397    
398            * Thuban/Model/classification.py: Minor documentation changes,
399            Addition of __eq__ and __ne__ methods.
400            (Classification.SetLayer): prevent recursion between this method
401            and Layer.SetClassification().
402    
403            * Thuban/Model/color.py: Addition of __eq__ and __ne__ methods.
404    
405            * Thuban/Model/layer.py (SetClassification): prevent recursion
406            between this method and Classification.SetLayer().
407    
408            * test/test_classification.py, test/test_load.py,
409            test/test_session.py: Fixed and added tests for the classification
410            classes.
411    
412    2003-03-06  Bernhard Herzog  <[email protected]>
413    
414            * Thuban/UI/classifier.py (ClassGrid.__init__)
415            (ClassGrid.CreateTable): Move the SetSelectionMode call to
416            CreateTable because otherwise it triggers an assertion in
417            wxPython/wxGTK 2.4.
418    
419    2003-03-05  Jonathan Coles   <[email protected]>
420    
421            * Thuban/common.py: Move FIELDTYPE constants back to table.py.
422    
423            * Thuban/Model/load.py: import FIELDTYPE constants from table.
424    
425            * Thuban/UI/classifier.py: import FIELDTYPE constants from table.
426    
427            * Thuban/Model/table.py: Put FIELDTYPE constants back.
428    
429    2003-03-05  Jonathan Coles   <[email protected]>
430    
431            * Thuban/UI/classifier.py: Added class documentation.
432            Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons.
433            Store just the groups in the table and generate the other
434            column information when it is requested. Add "None" field
435            to pull-down to select no classification.
436    
437            * Thuban/common.py: Moved FIELDTYPE constants from table.py
438            (Str2Num): Only catch ValueError exceptions.
439    
440            * Thuban/Model/classification.py: Class documentation. Renaming
441            of methods with Stroke to Line. Groups are stored in a single
442            list with the default as the first element. Groups are searched
443            in the order they appear in the list.
444    
445            * Thuban/Model/color.py: Documentation.
446    
447            * Thuban/Model/layer.py (Layer): Add GetFieldType to retreive
448            the kind of data represented by a field.
449    
450            * Thuban/Model/load.py (ProcessSession): Use proper string
451            conversion function; fixes RTbug #1713.
452    
453            * Thuban/Model/save.py (Saver): Store field type information.
454    
455            * Thuban/Model/table.py: Put FIELDTYPE constants in common.py.
456            (Table): Add field_info_by_name() to retrieve field information
457            by specifying the field name, not the number.
458    
459            * Thuban/UI/mainwindow.py: Function name changes.
460    
461            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
462            get the layer classification once. Don't try to classify
463            values when the field is None: just use the default properties.
464    
465            * Thuban/UI/view.py: Function name changes.
466    
467            * Doc/thuban.dtd: Add field_type attribute to a classification.
468    
469    2003-03-04  Bernhard Herzog  <[email protected]>
470    
471            * Doc/thuban.dtd: Use correct syntax for optional attributes. Make
472            the fill and stroke layer attributes optional with suitable
473            default values. Add the stroke_width layer attribute. Use correct
474            syntax for empty elements. Make the attribute list for labels
475            refer to the label element.
476    
477    2003-03-04  Bernhard Herzog  <[email protected]>
478    
479            * setup.py (thuban_build_py.build): Add a comment about distutils in
480            Python 2.3 containing some of the functionality we implement in
481            setup.py ourselves.
482    
483            * Thuban/UI/classifier.py (ClassGrid.__init__): Set the table
484            before the selection mode. Doing it the other way round triggers
485            an assertion in wxWindows.
486    
487            * Thuban/Model/save.py (escape): Fix typo in doc-string
488    
489            * Thuban/Model/classification.py: Remove unnecessary wxPython
490            import
491    
492    2003-03-04  Jonathan Coles   <[email protected]>
493    
494            * Thuban/Model/classification.py (ClassGroupRange.GetProperties):
495            Parameter 'value' should default to None.
496    
497            * Thuban/UI/mainwindow.py: Use Layer.GetClassification() since
498            the class attribute __classification is now private.
499    
500            * Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from
501            Classifier to ClassGrid. Added support for removing selected rows,
502            which including code for keeping track of when cells are selected,
503            and deselected.
504            (ClassTable): Support for added/removing rows. Fixed a problem
505            with __ParseInput whereby it would not allow strings (only numbers)
506            to be entered.
507            (Classifier): Added button and supporting code for removing
508            selected rows.
509    
510    2003-02-27  Jonathan Coles   <[email protected]>
511    
512            * Thuban/common.py: Moved color conversion functions into
513            Thuban/UI/common.py.
514            (Str2Num): Now converts the float (not the string) to a long/int
515            so that an exception isn't thrown.
516    
517            * Thuban/UI/common.py: Common functions used in several UI modules
518    
519            * Thuban/Model/classification.py: Changed the class hierarchy
520            so that a Classification consists of Groups which return
521            Properties when a value matches a Group.
522    
523            * Thuban/Model/layer.py: Fixed name resolution problem.
524    
525            * Thuban/Model/load.py: Use new Classification and Group functions.
526    
527            * Thuban/Model/save.py (Saver.write_attribs): Fixes a test case
528            failure.
529            (Saver.write_classification): Use new Classification and Group
530            functions.
531    
532            * Thuban/UI/classifier.py: Changes to use new Classification and Group
533            functions. Fix to create a tuple with a single value instead of
534            simply returning the value.
535    
536            * Thuban/UI/renderer.py: Use new Classification and Group functions.
537            Use common.py functions.
538    
539            * Thuban/UI/tree.py: Use common.py functions.
540            
541            * test/test_classification.py: Use new Classification and Group
542            classes.
543    
544    2003-02-24  Jonathan Coles   <[email protected]>
545    
546            * Thuban/common.py (Color2wxColour, wxColour2Color): Conversion
547            functions from Thuban color objects to wxWindow colour objects.
548    
549            * Thuban/Model/classification.py (Classification): Renamed
550            GetProperties() to GetClassData(). Used the new iterator
551            in TreeInfo().
552            (ClassIterator): Iterator implementation to iterate over the
553            ClassData objects in a classification object.
554    
555            * Thuban/Model/save.py (Saver.write_classificaton): Uses
556            the new iterator to save the classification information.
557    
558            * Thuban/UI/classifier.py (SelectPropertiesDialog): Support
559            for changing the stroke and fill colors and previewing the
560            changes.
561    
562            * Thuban/UI/mainwindow.py (MainWindow.OpenSession,
563            MainWindow.SaveSessionAs): Text string changes so the dialogs
564            have more meaningful titles.
565    
566            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change
567            Classification method name from GetProperties to GetClassData.
568    
569            * Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls
570            instead of accessing now non-existent class variables.
571    
572    2003-02-24  Bernhard Herzog  <[email protected]>
573    
574            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove
575            unneeded Shape() call. Rendering is substantially faster without
576            it and it avoids some problems with broken shape files.
577    
578    2003-02-20  Frank Koormann   <[email protected]>
579    
580            Force minimal size of identify and label dialogs. The autosizing
581            looked too ugly.
582    
583            * Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns.
584            * Thuban/UI/labeldialog.py (LabelDialog.dialog_layout):
585            Set size of listctrl.
586            * Thuban/UI/identifyview.py (IdentifyView.__init__):
587            Set size of dialog.
588    
589    2003-02-19  Jonathan Coles   <[email protected]>
590    
591            * test/test_classification.py, test/test_layer.py,
592            test/test_load.py, test/test_map.py, test/test_session.py:
593            Updated the tests to use the new functions that are in the
594            respective classes.
595    
596            * Thuban/Model/classification.py (Classification):
597            Uses the new ClassData* classes. Modification messages are
598            passed up to the parent layer (if it exists).
599            (ClassData): New class to encapsulate the common data in each
600            classification property.
601            (ClassDataDefault): Represents the Default class. data.
602            (ClassDataPoint): Represents a single class. data point
603            (ClassDataRange): Represents a class. range
604            (ClassDataMap): Represents a class. map (unused).
605    
606            * Thuban/Model/color.py: Added Color.None to represent something
607            with no color. Color.Black represents the color black.
608            (NoColor): Helper class derived from Color to represent something
609            with no color.
610    
611            * Thuban/Model/layer.py (Layer): Removed references to fill, stroke,
612            stroke_width attributes. Made the 'classification' attribute private.
613            New methods for setting/getting the classification.
614    
615            * Thuban/Model/load.py (ProcessSession): Use new methods on Layer
616            to get the classifcation and use the new ClassData* classes to
617            hold the classification data. Use Str2Num to convert numbers
618            properly.
619    
620            * Thuban/Model/save.py (Saver): Use new Color and Classification
621            methods
622    
623            * Thuban/UI/classifier.py (ClassGrid): New class to represent a
624            custom grid.
625            (ClassTable): Support for editing Values and Labels and for
626            changing what type (point or range) of data is stored in each
627            property based on how the user enters the data.
628            (Classifier): Support for saving the new classifications and
629            launching the dialog to edit a property.
630            (SelectPropertiesDialog): New class for editing the visual
631            properties of a classification (stroke color, width, and fill color)
632            (ClassPreviewer): Took the Draw method from ClassRenderer and
633            made most of it into this new class. Intend to use this class in
634            the SelectPropertiesDialog for previewing changes.
635    
636            * Thuban/UI/renderer.py: Use new Color and Classification methods.
637    
638            * Thuban/UI/tree.py: Formatting changes.
639    
640            * Doc/thuban.dtd: Add 'label' element
641    
642            * Thuban/common.py: New. Contains common routines used throughout
643            the code.
644            (Str2Num): Takes a string and converts it to the "best" type of
645            number.
646    
647    2003-02-14  Bernhard Herzog  <[email protected]>
648    
649            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the
650            dragging flag is always set to 0 even when the tool implementation
651            raises an exception
652    
653  2003-02-11  Bernhard Herzog  <[email protected]>  2003-02-11  Bernhard Herzog  <[email protected]>
654    
655          * Thuban/UI/application.py (ThubanApplication.splash_screen): New          * Thuban/UI/application.py (ThubanApplication.splash_screen): New

Legend:
Removed from v.403  
changed lines
  Added in v.575

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26