/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

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

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

Legend:
Removed from v.674  
changed lines
  Added in v.703

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26