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

Legend:
Removed from v.586  
changed lines
  Added in v.721

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26