/[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 647 by jonathan, Fri Apr 11 14:26:41 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]>
128    
129            First stab at internationalized messages:
130    
131            * Thuban/__init__.py (_): Implement the translation function for
132            real using the python gettext module.
133    
134            * Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't
135            translate empty strings.
136    
137            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
138            Add a missing space to a warning message
139    
140            * po/README: New. Notes about the management of the translation
141            files.
142    
143            * po/Makefile: New. Makefile to help manage the translation files.
144    
145            * po/es.po: New. Spanish translation by Daniel Calvelo Aros
146    
147            * MANIFEST.in: Include the *.mo files in Resources/Locale and the
148            translations and support files in po/
149    
150            * setup.py (data_files): Add the *.mo files to the data_files too
151    
152            * README: Add note about the translations when building from CVS
153    
154    2003-04-14  Jonathan Coles   <[email protected]>
155    
156            * Thuban/UI/dock.py: Fixes some window resizing problems most
157            noticable under windows. Always assume the button bitmaps will
158            be there. Code clean up.
159            (DockabelWindow.Dock, DockableWindow.UnDock): Force all the
160            images for the dock/undock button to the same images.
161            Work around for RTbug #1801.
162    
163            * Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should
164            be allowed to grow within the sizer. Fixes a bug under Windows
165            where the toolbar wasn't being drawn.
166    
167    2003-04-14  Frank Koormann   <[email protected]>
168    
169            * Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm:
170            Updated design to try to make the button functionality more
171            transparent.
172    
173    2003-04-14  Jonathan Coles   <[email protected]>
174    
175            * Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to
176            finalize the intialization of the panel.
177    
178            * Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the
179            creation of the panel. Should be the last thing called in the
180            initializer of a subclass.
181    
182            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively
183            set the current selections in the combo boxes. This is needed
184            under Windows.
185    
186            * Thuban/UI/classifier.py (Classifier.__init__): Add a top
187            level panel to the dialog so that the background colors are
188            consistent under Windows.
189    
190    2003-04-11  Jonathan Coles   <[email protected]>
191    
192            * Thuban/UI/classgen.py: Change color ramps to start at white
193            not black.
194    
195            * Thuban/UI/legend.py: Enable/disable the legend buttons when
196            the legend changes. Fixes RTbug #1793.
197    
198            * test/test_classification.py: Added test for copying of
199            classifications.
200    
201  2003-04-11  Jonathan Coles   <[email protected]>  2003-04-11  Jonathan Coles   <[email protected]>
202    
203          * Thuban/UI/resource.py: New. Centralize the loading of resources          * Thuban/UI/resource.py: New. Centralize the loading of resources

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26