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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26