/[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 567 by jonathan, Wed Mar 26 11:51:01 2003 UTC revision 715 by jonathan, Wed Apr 23 08:47:18 2003 UTC
# Line 1  Line 1 
1    2003-04-23  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/load.py (XMLReader): Renamed from XMLProcessor to
4            promote symmetry. There now exists XMLReader and XMLWriter.
5            (XMLReader.read): New. Call to read the given file descriptor or
6            filename.
7            (XMLReader.close): New. Make sure the file is closed.
8            (XMLReader.GetFileName): New. Return just the file name that is being
9            read from.
10            (XMLReader.GetDirectory): New. Return just the directory of the file
11            that is being read.
12            (XMLReader.AddDispatchers): New. Take a dictionary which contains
13            the names of functions to call as the XML tree is parsed.
14            (XMLReader.startElementNS): Updated to use new dispatcher dictionary.
15            (XMLReader.endElementNS): Updated to use new dispatcher dictionary.
16            (SessionLoader): Removed class variables start_dispatcher and
17            end_dispatcher since this functionality is now part of a class
18            instance. Fixes RTbug #1808.
19            (SessionLoader.__init__): Add dispatcher functions.
20            (load_xmlfile): Code was moved into the XMLReader.read().
21            (load_session): Use modified SessionLoader.
22    
23            * Thuban/Model/map.py (Map.GetProjection): New. Returns the
24            map's projection.
25    
26            * Thuban/Model/proj.py (Projection.GetParameters): Renamed to
27            GetAllParameters.
28            (Projection.GetParameter): Returns the value for the given parameter.
29    
30            * Thuban/Model/resource.py: Use XMLReader and XMLWriter.
31            (GetProjFiles): Renamed from GetProjections. Now returns a list
32            of ProjFile objects.
33            (GetSystemProjFiles): Renamed from GetSuppliedProjections. Returns
34            a list of ProjFile objects whose files are not user defined.
35            (GetUserProjFiles): Renamed from GetUserProjections. Returns a
36            list of ProjFile objects whose files are user defined.
37            (ProjFileReader): Extend new XMLReader.
38    
39            * Thuban/Model/save.py (XMLWriter): Renamed from XMLSaver to
40            promote symmetry.
41    
42            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Use a wxChoice
43            control instead of a wxComboBox. wxChoice controls do not generate
44            events as the uses highlights possible choices which fixes problems
45            with resizing the dialog when the use selects an option.
46    
47            * Thuban/UI/classifier.py (Classifier.__init__): Use a wxChoice
48            control instead of a wxComboBox.
49    
50            * Thuban/UI/mainwindow.py (MainWindow.Projection): Use new projection
51            dialog.
52    
53            * test/test_proj.py (TestProjection.test): New tests for GetParameter
54            method.
55    
56    2003-04-22  Bernhard Herzog  <[email protected]>
57    
58            * Thuban/UI/mainwindow.py: Remove some unused imports and global
59            constants
60    
61            * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape)
62            (IdentifyGridCtrl.selected_shape): Use table, not shapetable.
63    
64    2003-04-17  Bernhard Herzog  <[email protected]>
65    
66            * Thuban/Model/layer.py: Don't import LAYER_LEGEND_CHANGED.
67            (Layer): Update doc-string since LAYER_LEGEND_CHANGED is not used
68            anymore.
69            (Layer.BoundingBox, Layer.GetFieldType, Layer.NumShapes)
70            (Layer.ShapeType, Layer.Shape): No need to call
71            self.open_shapefile since it's always called in __init__
72    
73            * Thuban/UI/application.py (ThubanApplication.MainLoop): Removed.
74            In wxPython 2.4 there's no need to extend MainLoop anymore since
75            wxPython itself makes sure OnExit is called.
76    
77    2003-04-16  Jonathan Coles   <[email protected]>
78    
79            Initial putback of projection management code. Includes new
80            classes to read and write projection files. The current load
81            and save classes were abstracted a bit so they could be reused.
82            The Projection class was extended to provide new methods and
83            have a name.
84    
85            * Thuban/Model/load.py (XMLProcessor): New. Contains all the
86            general XML reading methods that were part of ProcessSession.
87    
88            * Thuban/Model/proj.py (Projection.__init__): Accepts an optional
89            name.
90            (ProjFile): New. Represents a file that contains projection
91            information.
92    
93            * Thuban/Model/resource.py: New. Contains general utilities
94            for read and writing projection files.
95    
96            * Thuban/Model/save.py (XMLSaver): New. Contains all the
97            general XML writing methods that were part of SessionSaver.
98            (SessionSaver): Renamed from Saver.
99    
100            * test/test_proj.py: New test cases for the projection
101            file read and write functions.
102    
103    2003-04-16  Jonathan Coles   <[email protected]>
104    
105            * Thuban/Model/classification.py: Use repr() around values
106            in the ClassGroup*.__repr__() methods so it is clearer when
107            a value is a string and when it is a number.
108    
109            * test/test_load.py: Rework the classification test to test
110            that we can load old files.
111            (testLabels): Test a file where the groups have labels.
112    
113    2003-04-16  Bernhard Herzog  <[email protected]>
114    
115            Safer implementation of the performance enhancements of the
116            low-level renderer:
117            
118            * extensions/thuban/wxproj.cpp (extract_projection)
119            (extract_pointer): Rename extract_projection to extract_pointer
120            and redefine its purpose to return the pointer stored in a CObject
121            returned by the object's cobject method. Update all callers.
122            (s_draw_info, free_draw_info, draw_polygon_init): Implement the
123            handling of these low-level parameters so that each s_draw_info
124            instance is handled as a CObject at python level that also
125            contains real references to the actual python objects which
126            contain the values in the struct. Add free_draw_info as the
127            destructor.
128            (draw_polygon_shape): Add the py_draw_info parameter which must a
129            cobject containing an s_draw_info pointer.
130    
131            * Thuban/UI/renderer.py (MapRenderer.polygon_render_param): New
132            method to instantiat the low-level render parameter
133            (MapRenderer.draw_shape_layer): Use the new method. Remove some
134            commented out code.
135            (MapRenderer.draw_polygon_shape): Make the first parameter not the
136            layer but the low-level render parameter
137            (ScreenRenderer.draw_shape_layer): Use the low-level render
138            parameter.
139    
140    2003-04-15  Jonathan Coles   <[email protected]>
141    
142            * Thuban/Model/classification.py: Implemented __repr__ for
143            the ClassGroup* classes to make debugging a bit easier.
144            (ClassGroup.SetLabel): Check that the string is an instance
145            of StringTypes not StringType. Accounts for Unicode strings.
146    
147            * Thuban/Model/color.py: Implemented __repr__ to make
148            debugging a bit easier.
149    
150            * Thuban/Model/save.py (Saver.write_classification): Need to
151            save the group label.
152    
153            * test/test_load.py (testClassification): New. Loads the
154            iceland_sample_test.thuban file and checks if it was loaded
155            correctly.
156    
157    2003-04-15  Jonathan Coles   <[email protected]>
158    
159            * extensions/thuban/wxproj.cpp (draw_polygon_init): New. Used
160            to improve rendering performance by initializing the variables
161            that are not change each time draw_polygon_shape() is called.
162            The values are stored in a global struct draw_info.
163            (draw_polygon_shape): Removed initialization code that is
164            now in draw_polygon_init().
165    
166            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Make
167            drawing initialization call to draw_polygon_init()
168            (MapRenderer.draw_polygon_shape): Use new signature of
169            draw_polygon_shape.
170    
171            * Thuban/UI/classgen.py (GenUniformPanel): Fix spin control
172            weirdness by setting the range to (1, maxint).
173    
174            * Thuban/Model/classification.py (ClassGroupProperties): Make
175            instance variables private and optimize comparison operator
176            by first checking if the color references are the same.
177            (ClassGroupSingleton): Make instance variables private.
178            (ClassGroupRange): Make instance variables private.
179    
180            * HOWTO-Release: Filled in missing steps for releasing packages.
181    
182    2003-04-15  Bernhard Herzog  <[email protected]>
183    
184            First stab at internationalized messages:
185    
186            * Thuban/__init__.py (_): Implement the translation function for
187            real using the python gettext module.
188    
189            * Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't
190            translate empty strings.
191    
192            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
193            Add a missing space to a warning message
194    
195            * po/README: New. Notes about the management of the translation
196            files.
197    
198            * po/Makefile: New. Makefile to help manage the translation files.
199    
200            * po/es.po: New. Spanish translation by Daniel Calvelo Aros
201    
202            * MANIFEST.in: Include the *.mo files in Resources/Locale and the
203            translations and support files in po/
204    
205            * setup.py (data_files): Add the *.mo files to the data_files too
206    
207            * README: Add note about the translations when building from CVS
208    
209    2003-04-14  Jonathan Coles   <[email protected]>
210    
211            * Thuban/UI/dock.py: Fixes some window resizing problems most
212            noticable under windows. Always assume the button bitmaps will
213            be there. Code clean up.
214            (DockabelWindow.Dock, DockableWindow.UnDock): Force all the
215            images for the dock/undock button to the same images.
216            Work around for RTbug #1801.
217    
218            * Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should
219            be allowed to grow within the sizer. Fixes a bug under Windows
220            where the toolbar wasn't being drawn.
221    
222    2003-04-14  Frank Koormann   <[email protected]>
223    
224            * Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm:
225            Updated design to try to make the button functionality more
226            transparent.
227    
228    2003-04-14  Jonathan Coles   <[email protected]>
229    
230            * Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to
231            finalize the intialization of the panel.
232    
233            * Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the
234            creation of the panel. Should be the last thing called in the
235            initializer of a subclass.
236    
237            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively
238            set the current selections in the combo boxes. This is needed
239            under Windows.
240    
241            * Thuban/UI/classifier.py (Classifier.__init__): Add a top
242            level panel to the dialog so that the background colors are
243            consistent under Windows.
244    
245    2003-04-11  Jonathan Coles   <[email protected]>
246    
247            * Thuban/UI/classgen.py: Change color ramps to start at white
248            not black.
249    
250            * Thuban/UI/legend.py: Enable/disable the legend buttons when
251            the legend changes. Fixes RTbug #1793.
252    
253            * test/test_classification.py: Added test for copying of
254            classifications.
255    
256    2003-04-11  Jonathan Coles   <[email protected]>
257    
258            * Thuban/UI/resource.py: New. Centralize the loading of resources
259            such as bitmaps.
260    
261            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons,
262            added images to the move buttons, added 'reverse' button.
263            (CustomRampPanel.__init__): Added images to the move buttons.
264            (GreyRamp): New. Generates a ramp from white to black.
265            (HotToColdRamp): New. Generates a ramp from cold to hot colors.
266    
267            * Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to
268            ID_PROPERTY_*.
269            (Classifier.__init__): Minor changes to the layout.
270            (Classifier._OnTitleChanged): Listen for when the user edits the
271            title and update the dialog's title and the layer's title.
272    
273            * Thuban/UI/dock.py: Use new bitmaps for the control buttons.
274    
275            * Thuban/UI/legend.py: Use new bitmaps for the control buttons.
276            (LegendTree._OnMsgLayerTitleChanged): Change the displayed title
277            if the layer's title changes.
278    
279            * Thuban/UI/mainwindow.py: Added new menu item and associated code
280            to open a dialog to rename the map.
281            (MainWindow): Use new resource class to import bitmaps.
282    
283    2003-04-11  Jonathan Coles   <[email protected]>
284    
285            * Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm,
286            Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm,
287            Resources/Bitmaps/group_use_none.xpm,
288            Resources/Bitmaps/group_use_not.xpm,
289            Resources/Bitmaps/hide_layer.xpm,
290            Resources/Bitmaps/layer_properties.xpm,
291            Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm,
292            Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm:
293            New.
294    
295    2003-04-10  Jonathan Coles   <[email protected]>
296    
297            * Thuban/Model/classification.py: (ClassGroupRange.__init__):
298            Should pass group to ClassGroup constructor.
299    
300    2003-04-10  Jonathan Coles   <[email protected]>
301    
302            * Thuban/Model/classification.py: (ClassGroup): Move all the common
303            methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__)
304            here. Implement SetVisible(), IsVisible().
305            (ClassGroup.__init__): Add group parameter which acts as a copy
306            constructor.
307    
308            * Thuban/UI/classifier.py (ClassTable): Add a new column for the
309            "Visible" check boxes.
310            (Classifier): Rename the buttons and refactor the code to match
311            the new labels.
312    
313            * Thuban/UI/legend.py: Classify button is now called "Properties".
314            Refactored the code to change variable names.
315            (LegendTree.__FillTreeLayer): Only list a group if it is visible.
316    
317            * Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to
318            MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties
319            renamed to MainWindow.LayerEditProperties.
320            (MainWindow.ToggleLegend): Don't include map name in legend title.
321            (MainWindow.SetMap): Added the map name to the window title.
322            (MainWindow.LayerFillColor, MainWindow.LayerTransparentFill,
323            MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed.
324            Functionality is found in the layer properties dialog.
325    
326            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
327            draw visible groups.
328    
329    2003-04-09  Jonathan Coles   <[email protected]>
330    
331            * Thuban/UI/classgen.py: Modifications to allow simple
332            addition and selection of new color schemes.
333            (MonochromaticRamp): New. Generates a ramp between two colors.
334            (RedRamp): New. Generates a ramp of all red.
335            (GreenRamp): New. Generates a ramp of all green.
336            (BlueRamp): New. Generates a ramp of all blue.
337    
338    2003-04-09  Jonathan Coles   <[email protected]>
339    
340            * Thuban/Model/classification.py (Classification.__deepcopy__):
341            Need to copy over field and fieldType attributes.
342    
343            * Thuban/Model/table.py (Table.field_range): New. Retrive the
344            maximum and minimum values over the entire table for a given
345            field.
346            (Table.GetUniqueValues): New. Retrieve all the unique values
347            in the table for a given field.
348    
349            * Thuban/UI/classgen.py: Renamed GenRangePanel to GenUniformPanel.
350            (GenUniquePanel): New. Controls to allow the user to select
351            which unique field values they would like in the classification.
352            (CustomRampPanel): Code that was in ClassGenDialog that allows
353            the user to select the properties for a custom ramp.
354            (ClassGenerator.GenUniformDistribution): Was called GenerateRanges.
355    
356            * Thuban/UI/classifier.py: Removed a lot of debugging code.
357            (Classifier._SetClassification): Callback method so that the
358            class generator can set the classification in the grid.
359            (ClassGroupPropertiesCtrl): New. Encapsulates the drawing and
360            editing of a group properties class into a wxWindows control.
361    
362            * Thuban/UI/dock.py: It was decided that if the user closes
363            a dockable window the window should simply hide itself. That
364            way if the user wants to show the dock again it appears in the
365            same place as it was when it was closed.
366            (DockableWindow.Destroy): Call renamed method OnDockDestroy().
367            (DockableWindow._OnButtonClose): Hide the window instead of
368            destroying it.
369            (DockableWindow._OnClose): Hide the window instead of
370            destroying it.
371    
372            * Thuban/UI/legend.py (LegendTree): Use a private method to
373            consistently set the font and style of the text. Fixes RTbug #1786.
374    
375            * Thuban/UI/mainwindow.py: Import just the Classifier class.
376    
377    2003-04-07  Bernhard Herzog  <[email protected]>
378    
379            * Thuban/UI/mainwindow.py (main_menu): Move the toggle_legend item
380            to the map module
381    
382    2003-04-07  Bernhard Herzog  <[email protected]>
383    
384            * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): Removed in
385            favor of ToggleSessionTree
386            (MainWindow.ToggleSessionTree): New method to toggle visibility of
387            the session tree.
388            (MainWindow.SessionTreeShown): New method to return whether the
389            session tree is currently shown.
390            (MainWindow.ToggleLegend): New method to toggle visibility of the
391            legend
392            (MainWindow.ShowLegend): Implement in terms of ToggleLegend and
393            LegendShown
394            (MainWindow.LegendShown): New method to return whether the legend
395            is currently shown.
396            (_method_command): Add checked parameter so we can define check
397            menu items
398            (_has_tree_window_shown, _has_legend_shown): Use the appropriate
399            mainwindow methods.
400            (show_session_tree, show_legend commands): Removed.
401            (toggle_session_tree, toggle_legend commands): New commands to
402            toggle the visibility of the dialogs
403    
404    2003-04-07  Jonathan Coles   <[email protected]>
405    
406            * Thuban/UI/classgen.py: Fix Windows problem.
407    
408            * Thuban/UI/dock.py: Fix Windows problem.
409    
410            * Thuban/UI/mainwindow.py: Use False instead of false.
411            (MainWindow.ShowLegend): Remove unnecessary switch parameter.
412    
413    2003-04-07  Jonathan Coles   <[email protected]>
414    
415            Since we now say that the order of the groups in a classification
416            matters, it makes sense to be able to manipulate that order. Most
417            of the changes to Thuban/Model/classification.py are to that end.
418    
419            * Thuban/Model/classification.py (Classification.AppendGroup,
420            Classification.InsertGroup, Classification.ReplaceGroup,
421            Classification.RemoveGroup, Classification.GetGroup): Do as the
422            names imply.
423            (Classification.FindGroup): This was called GetGroup, but GetGroup
424            takes an index, while FindGroup takes a value.
425            (Classification.__deepcopy__): Copy all the groups, BUT NOT THE LAYER
426            REFERENCE. Currently there is a cyclic reference between the layer
427            and its classification. If the classification doesn't need to know
428            its owning layer we can change this, since it may make sense to be
429            able to use the same classification with different layers.
430    
431            * Thuban/Model/load.py: Use Classification.AppendGroup(), not AddGroup()
432    
433            * Thuban/UI/classgen.py: Use Classification.AppendGroup(),
434            not AddGroup()
435    
436            * Thuban/UI/classifier.py: Now that we can depend on the order in
437            a Classification and have methods to manipulate that order we don't
438            need to use our own data structures in the grid. We can simply make
439            the grid/table access the information they need from a copy of
440            the classification object.
441            (Classifier._OnCloseBtn): Event handler for when the user clicks
442            'Close'. This is needed so if the user applies changes and then
443            continues to change the table the user has the option of discarding
444            the most recent changes and keeping what they applied.
445    
446            * Thuban/UI/mainwindow.py: Put "Show Legend" and "Show Session Tree"
447            into the same group.
448    
449            * extensions/thuban/wxproj.cpp (check_version): If Thuban is compiled
450            with a really old version of proj, PJ_VERSION won't even be defined.
451            If it isn't defined then just compile so that the function always
452            returns Py_False.
453    
454            * test/test_classification.py: Fix tests to use the renamed methods.
455            Still need to write tests for the new methods.
456    
457    2003-04-04  Jonathan Coles   <[email protected]>
458    
459            * Thuban/UI/classifier.py (Classifier.__SelectField): Move the
460            call to SetSelection out of the method and before the call
461            to __SelectField in __init__. This prevents a recursion of events
462            when _OnFieldSelect is triggered by the user.
463    
464    2003-04-04  Jonathan Coles   <[email protected]>
465    
466            * Thuban/Model/classification.py: Rename Color.None to
467            Color.Transparent.
468            (ClassGroupProperties.SetLineColori, ClassGroupProperties.SetFill):
469            Don't bother copying the color, since Colors are immutable.
470    
471            * Thuban/Model/color.py, Thuban/Model/layer.py, Thuban/Model/load.py,
472            Thuban/UI/classifier.py, Thuban/UI/mainwindow.py,
473            Thuban/UI/renderer.py, Thuban/UI/view.py:
474            Rename Color.None to Color.Transparent.
475        
476            * test/test_classification.py, test/test_load.py: Rename Color.None
477            to Color.Transparent.
478    
479    2003-04-04  Jonathan Coles   <[email protected]>
480    
481            * Thuban/Model/classification.py: Fix assert calls.
482            (ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill):
483            Copy the color parameter rather than hold onto a reference.
484    
485            * Thuban/Model/color.py (Color.__copy__, Color.__deepcopy): Copy
486            the color object.
487            (NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we
488            are sure there exists only one refernce to Color.None in the system.
489            This allows us to use 'is' rather than the comparision functions.
490            
491            * Thuban/Model/save.py: Fix assert calls.
492            
493            * Thuban/UI/classifier.py: Fix assert calls.
494            (ClassGrid._OnCellDClick): Call up to the classifier to open the
495            dialog to edit the groups properties.
496            (ClassGrid._OnCellResize): Make sure that the scollbars are drawn
497            correctly if a cell is resized.
498            (ClassTable.SetClassification): New. Changes the classification
499            that is in the table.
500            (ClassTable.__SetRow): Allow groups to be prepended.
501            (Classifier): New code for opening the EditProperties and
502            GenerateRanges dialogs.
503            (SelectPropertiesDialog.__GetColor): Only set the color in the
504            color dialog if the current color is not None.
505            
506            * Thuban/UI/dock.py: Fix assert calls.
507            
508            * Thuban/UI/legend.py: Fix assert calls.
509            
510            * Thuban/UI/renderer.py: Fix assert calls.
511            
512            * Thuban/UI/classgen.py (ClassGenDialog): Dialog for generating
513            classifications.
514            (GenRangePanel): Panel specific to range generation.
515            (GenSingletonPanel): Panel specific to singleton generation.
516            (ClassGenerator): Class responsible for actually generating
517            the classification from the data gathered in the dialog box.
518            (PropertyRamp): Generates properties whose values range from
519            a starting property to an ending property.
520    
521    2003-04-03  Bernhard Herzog  <[email protected]>
522    
523            * test/support.py (print_garbage_information): New function that
524            prints information about still connected messages and memory
525            leaks.
526            (run_suite): Removed.
527            (run_tests): New function for use as a replacement of
528            unittest.main in the test_* files. This one calls
529            print_garbage_information at the end.
530    
531            * test/runtests.py (main): Use support.print_garbage_information
532    
533            * test/test_layer.py: Use support.run_tests instead of
534            unittest.main so we get memory leak information
535            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
536            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
537            (TestLayerLegend.test_visibility): Call the layer's Destroy method
538            to fix a memory leak.
539    
540            * test/test_classification.py: Use support.run_tests instead of
541            unittest.main so we get memory leak information
542            (TestClassification.test_classification): Call the layer's Destroy
543            method to fix a memory leak.
544    
545    2003-04-02  Bernhard Herzog  <[email protected]>
546    
547            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
548            Handle the reference counts of the return value and errors in
549            PyArg_ParseTuple correctly.
550    
551            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
552            sure the filename is absolute to avoid problems when saving the
553            session again
554    
555            * Thuban/Model/table.py: Remove unnecessary import. Fix a typo.
556    
557    2003-04-01  Jonathan Coles   <[email protected]>
558    
559            *  Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check
560            that there actually are points in the returned list of points
561            before trying to index into the list. The list may be empty if
562            the shape is a Null Shape.
563    
564    2003-04-01  Bernhard Herzog  <[email protected]>
565    
566            * test/test_map.py: Don't use from <module> import *
567    
568    2003-04-01  Jonathan Coles   <[email protected]>
569    
570            * Thuban/Model/session.py: Use LAYER_CHANGED instead of
571            LAYER_LEGEND_CHANGED
572    
573            * Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call
574            self.Destroy() to close the window after yesterday's changes.
575    
576            * test/test_map.py, test/test_session.py: Fix messages that
577            are sent from maps and layers.
578    
579    2003-03-31  Jonathan Coles   <[email protected]>
580    
581            * Thuban/UI/classifier.py: Commented out some debugging statements.
582            (ClassDataPreviewer.Draw): Draw rectangles for polygon layers per
583            RTbug #1769.
584    
585            * Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and
586            position (although position doesn't work yet under GTK).
587            (DockableWindow.Destroy): New. Called when the window must be
588            closed. Namely needed when the DockFrame closes and must close
589            its children.
590            (DockFrame): Listen for EVT_CLOSE and destroy all children.
591    
592            * Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up
593            when then window is told to close.
594            (LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See
595            comment in source for more info.
596    
597            * Thuban/UI/main.py: Show the legend by default when Thuban starts.
598    
599            * Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for
600            symmetry with other such methods.
601            (MainWindow.ShowLegend): Show the legend docked by default.
602    
603    2003-03-28  Jonathan Coles   <[email protected]>
604    
605            * Thuban/UI/classifier.py: Support for highlighting a specific
606            group within the grid when the classification dialog is opened.
607            Also contains a lot of debugging printouts which will later
608            be removed.
609    
610            * Thuban/UI/dock.py: Complete rework on the dock code so that
611            that it is fairly removed from the rest of the Thuban application.
612            It is easy to add new docks which the rest of the program having
613            to be aware of them.
614    
615            * Thuban/UI/legend.py: Modifications to support selecting a
616            specific group in the classification dialog. Changed how layers
617            are drawn when the layer is visible/invisible.
618    
619            * Thuban/UI/mainwindow.py: Removed legend specific code and
620            replaced it with calls to the new dock code.
621    
622            * Thuban/UI/renderer.py (MapRenderer.__init__): Added assert
623            to check if scale > 0. Trying to track down a divide by zero.
624    
625  2003-03-26  Jonathan Coles   <[email protected]>  2003-03-26  Jonathan Coles   <[email protected]>
626    
627          * Thuban/UI/legend.py: Removed unnecessary LegendDialog class.          * Thuban/UI/legend.py: Removed unnecessary LegendDialog class.

Legend:
Removed from v.567  
changed lines
  Added in v.715

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26