/[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 646 by jonathan, Fri Apr 11 09:15:32 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]>
82    
83            * extensions/thuban/wxproj.cpp (draw_polygon_init): New. Used
84            to improve rendering performance by initializing the variables
85            that are not change each time draw_polygon_shape() is called.
86            The values are stored in a global struct draw_info.
87            (draw_polygon_shape): Removed initialization code that is
88            now in draw_polygon_init().
89    
90            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Make
91            drawing initialization call to draw_polygon_init()
92            (MapRenderer.draw_polygon_shape): Use new signature of
93            draw_polygon_shape.
94    
95            * Thuban/UI/classgen.py (GenUniformPanel): Fix spin control
96            weirdness by setting the range to (1, maxint).
97    
98            * Thuban/Model/classification.py (ClassGroupProperties): Make
99            instance variables private and optimize comparison operator
100            by first checking if the color references are the same.
101            (ClassGroupSingleton): Make instance variables private.
102            (ClassGroupRange): Make instance variables private.
103    
104            * HOWTO-Release: Filled in missing steps for releasing packages.
105    
106    2003-04-15  Bernhard Herzog  <[email protected]>
107    
108            First stab at internationalized messages:
109    
110            * Thuban/__init__.py (_): Implement the translation function for
111            real using the python gettext module.
112    
113            * Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't
114            translate empty strings.
115    
116            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
117            Add a missing space to a warning message
118    
119            * po/README: New. Notes about the management of the translation
120            files.
121    
122            * po/Makefile: New. Makefile to help manage the translation files.
123    
124            * po/es.po: New. Spanish translation by Daniel Calvelo Aros
125    
126            * MANIFEST.in: Include the *.mo files in Resources/Locale and the
127            translations and support files in po/
128    
129            * setup.py (data_files): Add the *.mo files to the data_files too
130    
131            * README: Add note about the translations when building from CVS
132    
133    2003-04-14  Jonathan Coles   <[email protected]>
134    
135            * Thuban/UI/dock.py: Fixes some window resizing problems most
136            noticable under windows. Always assume the button bitmaps will
137            be there. Code clean up.
138            (DockabelWindow.Dock, DockableWindow.UnDock): Force all the
139            images for the dock/undock button to the same images.
140            Work around for RTbug #1801.
141    
142            * Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should
143            be allowed to grow within the sizer. Fixes a bug under Windows
144            where the toolbar wasn't being drawn.
145    
146    2003-04-14  Frank Koormann   <[email protected]>
147    
148            * Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm:
149            Updated design to try to make the button functionality more
150            transparent.
151    
152    2003-04-14  Jonathan Coles   <[email protected]>
153    
154            * Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to
155            finalize the intialization of the panel.
156    
157            * Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the
158            creation of the panel. Should be the last thing called in the
159            initializer of a subclass.
160    
161            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively
162            set the current selections in the combo boxes. This is needed
163            under Windows.
164    
165            * Thuban/UI/classifier.py (Classifier.__init__): Add a top
166            level panel to the dialog so that the background colors are
167            consistent under Windows.
168    
169    2003-04-11  Jonathan Coles   <[email protected]>
170    
171            * Thuban/UI/classgen.py: Change color ramps to start at white
172            not black.
173    
174            * Thuban/UI/legend.py: Enable/disable the legend buttons when
175            the legend changes. Fixes RTbug #1793.
176    
177            * test/test_classification.py: Added test for copying of
178            classifications.
179    
180    2003-04-11  Jonathan Coles   <[email protected]>
181    
182            * Thuban/UI/resource.py: New. Centralize the loading of resources
183            such as bitmaps.
184    
185            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons,
186            added images to the move buttons, added 'reverse' button.
187            (CustomRampPanel.__init__): Added images to the move buttons.
188            (GreyRamp): New. Generates a ramp from white to black.
189            (HotToColdRamp): New. Generates a ramp from cold to hot colors.
190    
191            * Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to
192            ID_PROPERTY_*.
193            (Classifier.__init__): Minor changes to the layout.
194            (Classifier._OnTitleChanged): Listen for when the user edits the
195            title and update the dialog's title and the layer's title.
196    
197            * Thuban/UI/dock.py: Use new bitmaps for the control buttons.
198    
199            * Thuban/UI/legend.py: Use new bitmaps for the control buttons.
200            (LegendTree._OnMsgLayerTitleChanged): Change the displayed title
201            if the layer's title changes.
202    
203            * Thuban/UI/mainwindow.py: Added new menu item and associated code
204            to open a dialog to rename the map.
205            (MainWindow): Use new resource class to import bitmaps.
206    
207  2003-04-11  Jonathan Coles   <[email protected]>  2003-04-11  Jonathan Coles   <[email protected]>
208    
209          * Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm,          * Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm,
210      Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm,          Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm,
211      Resources/Bitmaps/group_use_none.xpm, Resources/Bitmaps/group_use_not.xpm,          Resources/Bitmaps/group_use_none.xpm,
212      Resources/Bitmaps/hide_layer.xpm, Resources/Bitmaps/layer_properties.xpm,          Resources/Bitmaps/group_use_not.xpm,
213      Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm,          Resources/Bitmaps/hide_layer.xpm,
214      Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm:          Resources/Bitmaps/layer_properties.xpm,
215      New.          Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm,
216            Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm:
217            New.
218    
219  2003-04-10  Jonathan Coles   <[email protected]>  2003-04-10  Jonathan Coles   <[email protected]>
220    

Legend:
Removed from v.646  
changed lines
  Added in v.693

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26