/[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 672 by bh, Tue Apr 15 18:20:53 2003 UTC revision 705 by bh, Tue Apr 22 16:55:58 2003 UTC
# Line 1  Line 1 
1    2003-04-22  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/mainwindow.py: Remove some unused imports and global
4            constants
5    
6            * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape)
7            (IdentifyGridCtrl.selected_shape): Use table, not shapetable.
8    
9    2003-04-17  Bernhard Herzog  <[email protected]>
10    
11            * Thuban/Model/layer.py: Don't import LAYER_LEGEND_CHANGED.
12            (Layer): Update doc-string since LAYER_LEGEND_CHANGED is not used
13            anymore.
14            (Layer.BoundingBox, Layer.GetFieldType, Layer.NumShapes)
15            (Layer.ShapeType, Layer.Shape): No need to call
16            self.open_shapefile since it's always called in __init__
17    
18            * Thuban/UI/application.py (ThubanApplication.MainLoop): Removed.
19            In wxPython 2.4 there's no need to extend MainLoop anymore since
20            wxPython itself makes sure OnExit is called.
21    
22    2003-04-16  Jonathan Coles   <[email protected]>
23    
24            Initial putback of projection management code. Includes new
25            classes to read and write projection files. The current load
26            and save classes were abstracted a bit so they could be reused.
27            The Projection class was extended to provide new methods and
28            have a name.
29    
30            * Thuban/Model/load.py (XMLProcessor): New. Contains all the
31            general XML reading methods that were part of ProcessSession.
32    
33            * Thuban/Model/proj.py (Projection.__init__): Accepts an optional
34            name.
35            (ProjFile): New. Represents a file that contains projection
36            information.
37    
38            * Thuban/Model/resource.py: New. Contains general utilities
39            for read and writing projection files.
40    
41            * Thuban/Model/save.py (XMLSaver): New. Contains all the
42            general XML writing methods that were part of SessionSaver.
43            (SessionSaver): Renamed from Saver.
44    
45            * test/test_proj.py: New test cases for the projection
46            file read and write functions.
47    
48    2003-04-16  Jonathan Coles   <[email protected]>
49    
50            * Thuban/Model/classification.py: Use repr() around values
51            in the ClassGroup*.__repr__() methods so it is clearer when
52            a value is a string and when it is a number.
53    
54            * test/test_load.py: Rework the classification test to test
55            that we can load old files.
56            (testLabels): Test a file where the groups have labels.
57    
58    2003-04-16  Bernhard Herzog  <[email protected]>
59    
60            Safer implementation of the performance enhancements of the
61            low-level renderer:
62            
63            * extensions/thuban/wxproj.cpp (extract_projection)
64            (extract_pointer): Rename extract_projection to extract_pointer
65            and redefine its purpose to return the pointer stored in a CObject
66            returned by the object's cobject method. Update all callers.
67            (s_draw_info, free_draw_info, draw_polygon_init): Implement the
68            handling of these low-level parameters so that each s_draw_info
69            instance is handled as a CObject at python level that also
70            contains real references to the actual python objects which
71            contain the values in the struct. Add free_draw_info as the
72            destructor.
73            (draw_polygon_shape): Add the py_draw_info parameter which must a
74            cobject containing an s_draw_info pointer.
75    
76            * Thuban/UI/renderer.py (MapRenderer.polygon_render_param): New
77            method to instantiat the low-level render parameter
78            (MapRenderer.draw_shape_layer): Use the new method. Remove some
79            commented out code.
80            (MapRenderer.draw_polygon_shape): Make the first parameter not the
81            layer but the low-level render parameter
82            (ScreenRenderer.draw_shape_layer): Use the low-level render
83            parameter.
84    
85    2003-04-15  Jonathan Coles   <[email protected]>
86    
87            * Thuban/Model/classification.py: Implemented __repr__ for
88            the ClassGroup* classes to make debugging a bit easier.
89            (ClassGroup.SetLabel): Check that the string is an instance
90            of StringTypes not StringType. Accounts for Unicode strings.
91    
92            * Thuban/Model/color.py: Implemented __repr__ to make
93            debugging a bit easier.
94    
95            * Thuban/Model/save.py (Saver.write_classification): Need to
96            save the group label.
97    
98            * test/test_load.py (testClassification): New. Loads the
99            iceland_sample_test.thuban file and checks if it was loaded
100            correctly.
101    
102    2003-04-15  Jonathan Coles   <[email protected]>
103    
104            * extensions/thuban/wxproj.cpp (draw_polygon_init): New. Used
105            to improve rendering performance by initializing the variables
106            that are not change each time draw_polygon_shape() is called.
107            The values are stored in a global struct draw_info.
108            (draw_polygon_shape): Removed initialization code that is
109            now in draw_polygon_init().
110    
111            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Make
112            drawing initialization call to draw_polygon_init()
113            (MapRenderer.draw_polygon_shape): Use new signature of
114            draw_polygon_shape.
115    
116            * Thuban/UI/classgen.py (GenUniformPanel): Fix spin control
117            weirdness by setting the range to (1, maxint).
118    
119            * Thuban/Model/classification.py (ClassGroupProperties): Make
120            instance variables private and optimize comparison operator
121            by first checking if the color references are the same.
122            (ClassGroupSingleton): Make instance variables private.
123            (ClassGroupRange): Make instance variables private.
124    
125            * HOWTO-Release: Filled in missing steps for releasing packages.
126    
127  2003-04-15  Bernhard Herzog  <[email protected]>  2003-04-15  Bernhard Herzog  <[email protected]>
128    
129          First stab at internationalized messages:          First stab at internationalized messages:

Legend:
Removed from v.672  
changed lines
  Added in v.705

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26