/[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 634 by jonathan, Wed Apr 9 15:41:58 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]>
100    
101            * extensions/thuban/wxproj.cpp (draw_polygon_init): New. Used
102            to improve rendering performance by initializing the variables
103            that are not change each time draw_polygon_shape() is called.
104            The values are stored in a global struct draw_info.
105            (draw_polygon_shape): Removed initialization code that is
106            now in draw_polygon_init().
107    
108            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Make
109            drawing initialization call to draw_polygon_init()
110            (MapRenderer.draw_polygon_shape): Use new signature of
111            draw_polygon_shape.
112    
113            * Thuban/UI/classgen.py (GenUniformPanel): Fix spin control
114            weirdness by setting the range to (1, maxint).
115    
116            * Thuban/Model/classification.py (ClassGroupProperties): Make
117            instance variables private and optimize comparison operator
118            by first checking if the color references are the same.
119            (ClassGroupSingleton): Make instance variables private.
120            (ClassGroupRange): Make instance variables private.
121    
122            * HOWTO-Release: Filled in missing steps for releasing packages.
123    
124    2003-04-15  Bernhard Herzog  <[email protected]>
125    
126            First stab at internationalized messages:
127    
128            * Thuban/__init__.py (_): Implement the translation function for
129            real using the python gettext module.
130    
131            * Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't
132            translate empty strings.
133    
134            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
135            Add a missing space to a warning message
136    
137            * po/README: New. Notes about the management of the translation
138            files.
139    
140            * po/Makefile: New. Makefile to help manage the translation files.
141    
142            * po/es.po: New. Spanish translation by Daniel Calvelo Aros
143    
144            * MANIFEST.in: Include the *.mo files in Resources/Locale and the
145            translations and support files in po/
146    
147            * setup.py (data_files): Add the *.mo files to the data_files too
148    
149            * README: Add note about the translations when building from CVS
150    
151    2003-04-14  Jonathan Coles   <[email protected]>
152    
153            * Thuban/UI/dock.py: Fixes some window resizing problems most
154            noticable under windows. Always assume the button bitmaps will
155            be there. Code clean up.
156            (DockabelWindow.Dock, DockableWindow.UnDock): Force all the
157            images for the dock/undock button to the same images.
158            Work around for RTbug #1801.
159    
160            * Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should
161            be allowed to grow within the sizer. Fixes a bug under Windows
162            where the toolbar wasn't being drawn.
163    
164    2003-04-14  Frank Koormann   <[email protected]>
165    
166            * Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm:
167            Updated design to try to make the button functionality more
168            transparent.
169    
170    2003-04-14  Jonathan Coles   <[email protected]>
171    
172            * Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to
173            finalize the intialization of the panel.
174    
175            * Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the
176            creation of the panel. Should be the last thing called in the
177            initializer of a subclass.
178    
179            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively
180            set the current selections in the combo boxes. This is needed
181            under Windows.
182    
183            * Thuban/UI/classifier.py (Classifier.__init__): Add a top
184            level panel to the dialog so that the background colors are
185            consistent under Windows.
186    
187    2003-04-11  Jonathan Coles   <[email protected]>
188    
189            * Thuban/UI/classgen.py: Change color ramps to start at white
190            not black.
191    
192            * Thuban/UI/legend.py: Enable/disable the legend buttons when
193            the legend changes. Fixes RTbug #1793.
194    
195            * test/test_classification.py: Added test for copying of
196            classifications.
197    
198    2003-04-11  Jonathan Coles   <[email protected]>
199    
200            * Thuban/UI/resource.py: New. Centralize the loading of resources
201            such as bitmaps.
202    
203            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons,
204            added images to the move buttons, added 'reverse' button.
205            (CustomRampPanel.__init__): Added images to the move buttons.
206            (GreyRamp): New. Generates a ramp from white to black.
207            (HotToColdRamp): New. Generates a ramp from cold to hot colors.
208    
209            * Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to
210            ID_PROPERTY_*.
211            (Classifier.__init__): Minor changes to the layout.
212            (Classifier._OnTitleChanged): Listen for when the user edits the
213            title and update the dialog's title and the layer's title.
214    
215            * Thuban/UI/dock.py: Use new bitmaps for the control buttons.
216    
217            * Thuban/UI/legend.py: Use new bitmaps for the control buttons.
218            (LegendTree._OnMsgLayerTitleChanged): Change the displayed title
219            if the layer's title changes.
220    
221            * Thuban/UI/mainwindow.py: Added new menu item and associated code
222            to open a dialog to rename the map.
223            (MainWindow): Use new resource class to import bitmaps.
224    
225    2003-04-11  Jonathan Coles   <[email protected]>
226    
227            * Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm,
228            Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm,
229            Resources/Bitmaps/group_use_none.xpm,
230            Resources/Bitmaps/group_use_not.xpm,
231            Resources/Bitmaps/hide_layer.xpm,
232            Resources/Bitmaps/layer_properties.xpm,
233            Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm,
234            Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm:
235            New.
236    
237    2003-04-10  Jonathan Coles   <[email protected]>
238    
239            * Thuban/Model/classification.py: (ClassGroupRange.__init__):
240            Should pass group to ClassGroup constructor.
241    
242    2003-04-10  Jonathan Coles   <[email protected]>
243    
244            * Thuban/Model/classification.py: (ClassGroup): Move all the common
245            methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__)
246            here. Implement SetVisible(), IsVisible().
247            (ClassGroup.__init__): Add group parameter which acts as a copy
248            constructor.
249    
250            * Thuban/UI/classifier.py (ClassTable): Add a new column for the
251            "Visible" check boxes.
252            (Classifier): Rename the buttons and refactor the code to match
253            the new labels.
254    
255            * Thuban/UI/legend.py: Classify button is now called "Properties".
256            Refactored the code to change variable names.
257            (LegendTree.__FillTreeLayer): Only list a group if it is visible.
258    
259            * Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to
260            MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties
261            renamed to MainWindow.LayerEditProperties.
262            (MainWindow.ToggleLegend): Don't include map name in legend title.
263            (MainWindow.SetMap): Added the map name to the window title.
264            (MainWindow.LayerFillColor, MainWindow.LayerTransparentFill,
265            MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed.
266            Functionality is found in the layer properties dialog.
267    
268            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
269            draw visible groups.
270    
271  2003-04-09  Jonathan Coles   <[email protected]>  2003-04-09  Jonathan Coles   <[email protected]>
272    
273          * Thuban/UI/classgen.py: Modifications to allow simple          * Thuban/UI/classgen.py: Modifications to allow simple

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26