/[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 634 by jonathan, Wed Apr 9 15:41:58 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]>
108    
109            * Thuban/UI/dock.py: Fixes some window resizing problems most
110            noticable under windows. Always assume the button bitmaps will
111            be there. Code clean up.
112            (DockabelWindow.Dock, DockableWindow.UnDock): Force all the
113            images for the dock/undock button to the same images.
114            Work around for RTbug #1801.
115    
116            * Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should
117            be allowed to grow within the sizer. Fixes a bug under Windows
118            where the toolbar wasn't being drawn.
119    
120    2003-04-14  Frank Koormann   <[email protected]>
121    
122            * Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm:
123            Updated design to try to make the button functionality more
124            transparent.
125    
126    2003-04-14  Jonathan Coles   <[email protected]>
127    
128            * Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to
129            finalize the intialization of the panel.
130    
131            * Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the
132            creation of the panel. Should be the last thing called in the
133            initializer of a subclass.
134    
135            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively
136            set the current selections in the combo boxes. This is needed
137            under Windows.
138    
139            * Thuban/UI/classifier.py (Classifier.__init__): Add a top
140            level panel to the dialog so that the background colors are
141            consistent under Windows.
142    
143    2003-04-11  Jonathan Coles   <[email protected]>
144    
145            * Thuban/UI/classgen.py: Change color ramps to start at white
146            not black.
147    
148            * Thuban/UI/legend.py: Enable/disable the legend buttons when
149            the legend changes. Fixes RTbug #1793.
150    
151            * test/test_classification.py: Added test for copying of
152            classifications.
153    
154    2003-04-11  Jonathan Coles   <[email protected]>
155    
156            * Thuban/UI/resource.py: New. Centralize the loading of resources
157            such as bitmaps.
158    
159            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons,
160            added images to the move buttons, added 'reverse' button.
161            (CustomRampPanel.__init__): Added images to the move buttons.
162            (GreyRamp): New. Generates a ramp from white to black.
163            (HotToColdRamp): New. Generates a ramp from cold to hot colors.
164    
165            * Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to
166            ID_PROPERTY_*.
167            (Classifier.__init__): Minor changes to the layout.
168            (Classifier._OnTitleChanged): Listen for when the user edits the
169            title and update the dialog's title and the layer's title.
170    
171            * Thuban/UI/dock.py: Use new bitmaps for the control buttons.
172    
173            * Thuban/UI/legend.py: Use new bitmaps for the control buttons.
174            (LegendTree._OnMsgLayerTitleChanged): Change the displayed title
175            if the layer's title changes.
176    
177            * Thuban/UI/mainwindow.py: Added new menu item and associated code
178            to open a dialog to rename the map.
179            (MainWindow): Use new resource class to import bitmaps.
180    
181    2003-04-11  Jonathan Coles   <[email protected]>
182    
183            * Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm,
184            Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm,
185            Resources/Bitmaps/group_use_none.xpm,
186            Resources/Bitmaps/group_use_not.xpm,
187            Resources/Bitmaps/hide_layer.xpm,
188            Resources/Bitmaps/layer_properties.xpm,
189            Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm,
190            Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm:
191            New.
192    
193    2003-04-10  Jonathan Coles   <[email protected]>
194    
195            * Thuban/Model/classification.py: (ClassGroupRange.__init__):
196            Should pass group to ClassGroup constructor.
197    
198    2003-04-10  Jonathan Coles   <[email protected]>
199    
200            * Thuban/Model/classification.py: (ClassGroup): Move all the common
201            methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__)
202            here. Implement SetVisible(), IsVisible().
203            (ClassGroup.__init__): Add group parameter which acts as a copy
204            constructor.
205    
206            * Thuban/UI/classifier.py (ClassTable): Add a new column for the
207            "Visible" check boxes.
208            (Classifier): Rename the buttons and refactor the code to match
209            the new labels.
210    
211            * Thuban/UI/legend.py: Classify button is now called "Properties".
212            Refactored the code to change variable names.
213            (LegendTree.__FillTreeLayer): Only list a group if it is visible.
214    
215            * Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to
216            MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties
217            renamed to MainWindow.LayerEditProperties.
218            (MainWindow.ToggleLegend): Don't include map name in legend title.
219            (MainWindow.SetMap): Added the map name to the window title.
220            (MainWindow.LayerFillColor, MainWindow.LayerTransparentFill,
221            MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed.
222            Functionality is found in the layer properties dialog.
223    
224            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
225            draw visible groups.
226    
227  2003-04-09  Jonathan Coles   <[email protected]>  2003-04-09  Jonathan Coles   <[email protected]>
228    
229          * 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.688

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26