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

Legend:
Removed from v.447  
changed lines
  Added in v.608

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26