/[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 669 by jonathan, Mon Apr 14 17:13:08 2003 UTC revision 688 by jonathan, Wed Apr 16 13:46:48 2003 UTC
# Line 1  Line 1 
1    2003-04-16  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/classification.py: Use repr() around values
4            in the ClassGroup*.__repr__() methods so it is clearer when
5            a value is a string and when it is a number.
6    
7            * test/test_load.py: Rework the classification test to test
8            that we can load old files.
9            (testLabels): Test a file where the groups have labels.
10    
11    2003-04-16  Bernhard Herzog  <[email protected]>
12    
13            Safer implementation of the performance enhancements of the
14            low-level renderer:
15            
16            * extensions/thuban/wxproj.cpp (extract_projection)
17            (extract_pointer): Rename extract_projection to extract_pointer
18            and redefine its purpose to return the pointer stored in a CObject
19            returned by the object's cobject method. Update all callers.
20            (s_draw_info, free_draw_info, draw_polygon_init): Implement the
21            handling of these low-level parameters so that each s_draw_info
22            instance is handled as a CObject at python level that also
23            contains real references to the actual python objects which
24            contain the values in the struct. Add free_draw_info as the
25            destructor.
26            (draw_polygon_shape): Add the py_draw_info parameter which must a
27            cobject containing an s_draw_info pointer.
28    
29            * Thuban/UI/renderer.py (MapRenderer.polygon_render_param): New
30            method to instantiat the low-level render parameter
31            (MapRenderer.draw_shape_layer): Use the new method. Remove some
32            commented out code.
33            (MapRenderer.draw_polygon_shape): Make the first parameter not the
34            layer but the low-level render parameter
35            (ScreenRenderer.draw_shape_layer): Use the low-level render
36            parameter.
37    
38    2003-04-15  Jonathan Coles   <[email protected]>
39    
40            * Thuban/Model/classification.py: Implemented __repr__ for
41            the ClassGroup* classes to make debugging a bit easier.
42            (ClassGroup.SetLabel): Check that the string is an instance
43            of StringTypes not StringType. Accounts for Unicode strings.
44    
45            * Thuban/Model/color.py: Implemented __repr__ to make
46            debugging a bit easier.
47    
48            * Thuban/Model/save.py (Saver.write_classification): Need to
49            save the group label.
50    
51            * test/test_load.py (testClassification): New. Loads the
52            iceland_sample_test.thuban file and checks if it was loaded
53            correctly.
54    
55    2003-04-15  Jonathan Coles   <[email protected]>
56    
57            * extensions/thuban/wxproj.cpp (draw_polygon_init): New. Used
58            to improve rendering performance by initializing the variables
59            that are not change each time draw_polygon_shape() is called.
60            The values are stored in a global struct draw_info.
61            (draw_polygon_shape): Removed initialization code that is
62            now in draw_polygon_init().
63    
64            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Make
65            drawing initialization call to draw_polygon_init()
66            (MapRenderer.draw_polygon_shape): Use new signature of
67            draw_polygon_shape.
68    
69            * Thuban/UI/classgen.py (GenUniformPanel): Fix spin control
70            weirdness by setting the range to (1, maxint).
71    
72            * Thuban/Model/classification.py (ClassGroupProperties): Make
73            instance variables private and optimize comparison operator
74            by first checking if the color references are the same.
75            (ClassGroupSingleton): Make instance variables private.
76            (ClassGroupRange): Make instance variables private.
77    
78            * HOWTO-Release: Filled in missing steps for releasing packages.
79    
80    2003-04-15  Bernhard Herzog  <[email protected]>
81    
82            First stab at internationalized messages:
83    
84            * Thuban/__init__.py (_): Implement the translation function for
85            real using the python gettext module.
86    
87            * Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't
88            translate empty strings.
89    
90            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
91            Add a missing space to a warning message
92    
93            * po/README: New. Notes about the management of the translation
94            files.
95    
96            * po/Makefile: New. Makefile to help manage the translation files.
97    
98            * po/es.po: New. Spanish translation by Daniel Calvelo Aros
99    
100            * MANIFEST.in: Include the *.mo files in Resources/Locale and the
101            translations and support files in po/
102    
103            * setup.py (data_files): Add the *.mo files to the data_files too
104    
105            * README: Add note about the translations when building from CVS
106    
107  2003-04-14  Jonathan Coles   <[email protected]>  2003-04-14  Jonathan Coles   <[email protected]>
108    
109          * Thuban/UI/dock.py: Fixes some window resizing problems most          * Thuban/UI/dock.py: Fixes some window resizing problems most

Legend:
Removed from v.669  
changed lines
  Added in v.688

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26