/[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 1852 by bh, Tue Oct 21 14:17:40 2003 UTC revision 1904 by bh, Fri Oct 31 16:52:41 2003 UTC
# Line 1  Line 1 
1    2003-10-31  Bernhard Herzog  <[email protected]>
2    
3            * test/test_classification.py (red, green, blue): New. These
4            constants were used in several cases. Update the relevant methods.
5            (TestClassification.test_defaults)
6            (TestClassification.test_set_default_properties)
7            (TestClassification.test_add_singleton)
8            (TestClassification.test_add_range)
9            (TestClassification.test_multiple_groups)
10            (TestClassification.test_deepcopy): New. These were formerly all
11            part of the single method test.
12            (TestClassification.test_deepcopy): Removed.
13            (TestClassIterator): Removed. The test case is now a method of
14            TestClassification since it tests part of the public interface of
15            Classification
16            (TestClassification.test_iterator): New. Used to be
17            TestClassIterator effectively
18    
19    2003-10-31  Jan-Oliver Wagner <[email protected]>
20    
21            GUIfied the functions of the profiling extension.
22    
23            * /Extensions/profiling/__init__.py: New: Init to make this
24            directory a package.
25    
26            * Extensions/profiling/profiling.py: Moved menu entries to
27            the Extensions menu. Applied _() for strings.
28            (profile_screen_renderer): Catch the detailed printout and present
29            it in a dialog.
30            (time_screen_renderer): Raise a dialog to present the result instead
31            of printing it to stdout.
32    
33    2003-10-31  Bernhard Herzog  <[email protected]>
34    
35            * test/test_classification.py (TestClassGroupProperties)
36            (TestClassGroup, TestClassGroupDefault, TestClassGroupRange)
37            (TestClassGroupSingleton, TestClassIterator, TestClassification):
38            Split TestClassification into several classes, one for each class
39            being tested. TestClassification itself now only tests
40            Classification. This split makes changes to the tests a bit easier
41    
42    2003-10-31  Bernhard Herzog  <[email protected]>
43    
44            * Extensions/profiling/profiling.py: New. Extension to measure
45            Thuban performance
46    
47    2003-10-31  Frank Koormann <[email protected]>
48    
49            Added two items to legend popup menu: Remove Layer and Show Layer Table
50    
51            * Thuban/UI/legend.py (LegendPanel._OnRemoveLayer,
52            LegendPanel._OnShowTable): New event handlers, call the corresponding
53            mainwindow methods.
54            (LegendTree._OnRightClick): Added items to popup menu.
55    
56    2003-10-30  Bernhard Herzog  <[email protected]>
57    
58            * Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle
59            EVT_WINDOW_DESTROY
60            (ThubanFrame.OnDestroy): New. Handler for EVT_WINDOW_DESTROY. Does
61            nothing but is convenient for the derived classes.
62    
63            * Thuban/UI/tableview.py
64            (TableFrame.OnDestroy, LayerTableFrame.OnDestroy): New.
65            Unsubscribe the messages here not in OnClose because that might
66            get called multiple times. Fixes RT #2196
67            (TableFrame.OnClose, LayerTableFrame.OnClose): Removed. Not needed
68            anymore.
69    
70            * README: Update the minimum requirement for wxPython. Since we
71            now use the EVT_WINDOW_DESTROY event, we need at least 2.4.0.4,
72            the version in which that was introduced for all platforms
73    
74    2003-10-30  Frank Koormann <[email protected]>
75    
76            * Thuban/UI/join.py (JoinDialog.OnJoin): Wrapped the major parts of
77            the join process in a ThubanBeginBusyCursor, ThubanEndBusyCursor
78            frame.
79    
80    2003-10-30  Jan-Oliver Wagner <[email protected]>
81    
82            Improved APR import extension, added further EPSG definitions
83            and some cleanup regarding string class.
84    
85            * test/test_proj.py (TestProjection.test_get_projection_units_geo):
86            Added test for alias 'longlat'.
87    
88            * Resources/Projections/epsg-deprecated.proj: New. Contains
89            deprecated EPSG definitions.
90    
91            * Extensions/importAPR/odb.py (ODBBaseObject.TreeInfo): Added
92            the variable names for objects.
93    
94            * Extensions/importAPR/apr.py (APR_BLnSym, APR_BMkSym, APR_BShSym): New.
95            Copied from importAPR and provided with documentation.
96    
97            * Extensions/importAPR/importAPR.py (APR_BLnSym, APR_BMkSym, APR_BShSym):
98            Moved to apr.py.
99            (APR_View): Added object ref 'ITheme'.
100    
101            * Thuban/Lib/fileutil.py, Thuban/UI/proj4dialog.py: Replaced string
102            split function by corresponding use of the string class method.
103    
104            * Thuban/Model/xmlwriter.py: Replaced string replace function by
105            corresponding string method.
106    
107    2003-10-29  Bernhard Herzog  <[email protected]>
108    
109            * Thuban/UI/baserenderer.py
110            (BaseRenderer.draw_shape_layer_incrementally): Speed up the
111            special case of a classification that only has the default group
112    
113    2003-10-27  Bernhard Herzog  <[email protected]>
114    
115            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
116    
117            * po/de.po: Update.
118    
119            * Thuban/UI/application.py
120            (ThubanApplication.ShowExceptionDialog): Handle translation of the
121            dialog message properly
122    
123    2003-10-27  Bernhard Herzog  <[email protected]>
124    
125            Rework how localization works so that we use wx's translation
126            functions when running Thuban as a normal application but not when
127            we don't need any UI, such as in the test suite. See the comment
128            in Thuban/__init__.py for details
129    
130            * Thuban/__init__.py (_): Add one level of indirection to make the
131            translation handling more flexible and to make it possible to use
132            either wx's translation services or not.
133            (gettext_identity, translation_function_installed)
134            (install_translation_function): New function to help with this
135    
136            * Thuban/UI/__init__.py: Install the wx specific translation
137            function if it's OK to do that
138    
139            * test/support.py (initthuban): Install a dummy translation
140            function so that importing Thuban.UI doesn't install a wx specific
141            one for which would need to import wxPython
142    
143    2003-10-27  Bernhard Herzog  <[email protected]>
144    
145            * HOWTO-Release: Source archives should be created first and the
146            binary packages should be created from the source archives.
147            There's an official debian package now so there's no need to test
148            the rpm on debian anymore
149    
150    2003-10-27  Bernhard Herzog  <[email protected]>
151    
152            Several rendering changes:
153    
154             - Render the selection into a separate bitmap so that only that
155               bitmap needs to be redrawn when the selection changes
156    
157             - Render incrementally showing previews and allowing interaction
158               before rendering is complete
159    
160             - Update the renderer interface a bit. Most parameters of
161               RenderMap are now parameters of the constructor
162    
163            * Thuban/UI/baserenderer.py (BaseRenderer.__init__): Add the map
164            and the update region as parameters. Update the doc-string
165            (BaseRenderer.render_map_incrementally): New. Generator function
166            to renders the map incrementally
167            (BaseRenderer.render_map): Remove the map argument (it's now in
168            the constructor) and simply iterate over the
169            render_map_incrementally generator to draw the map.
170            (BaseRenderer.draw_shape_layer_incrementally)
171            (BaseRenderer.draw_shape_layer): Renamed to
172            draw_shape_layer_incrementally and changed into a generator that
173            yields True every 500 shapes. Used by render_map_incrementally to
174            render shape layers incrementally
175    
176            * Thuban/UI/renderer.py (ScreenRenderer.RenderMap): Removed the
177            map and region parameters which are now in the constructor
178            (ScreenRenderer.RenderMapIncrementally): New. Public frontend for
179            the inherited render_map_incrementally.
180            (BaseRenderer.draw_shape_layer): Removed.
181            (ScreenRenderer.draw_selection_incrementally): New. The selection
182            drawing part of the removed draw_shape_layer as a generator
183            (ScreenRenderer.layer_shapes): Update because of the region
184            parameter change
185            (ExportRenderer.__init__): New. Extend the inherited constructor
186            with the destination region for the drawing
187            (ExportRenderer.RenderMap): Removed the map and region parameters
188            which are now in the constructor
189    
190            * Thuban/UI/view.py (MapCanvas.PreviewBitmap): New. Return a
191            bitmap suitable for a preview in a tool
192            (CanvasPanTool.MouseMove): Use the PreviewBitmap method to get the
193            bitmap
194            (MapPrintout.draw_on_dc): Adapt to new renderer interface
195            (MapCanvas.OnPaint): Handle drawing the selection bitmap if it
196            exists
197            (MapCanvas.OnIdle): Update the logic to deal with incremental
198            rendering and the selection bitmap
199            (MapCanvas._do_redraw): Handle the instantiation of the render
200            iterator and the redraws during rendering
201            (MapCanvas._render_iterator): New. Generator to incrementally
202            redraw both bitmaps
203            (MapCanvas.Export): Adapt to new renderer interface.
204            (MapCanvas.full_redraw): Reset the selection bitmap and the
205            renderer iterator too
206            (MapCanvas.redraw_selection): New. Force a redraw of the selection
207            bitmap
208            (MapCanvas.shape_selected): Only redraw the selection bitmap
209    
210            * test/test_baserenderer.py
211            (TestBaseRenderer.test_polygon_no_projection)
212            (TestBaseRenderer.test_raster_no_projection)
213            (TestBaseRenderer.test_point_map_projection)
214            (TestBaseRenderer.test_point_layer_and_map_projection)
215            (TestBaseRenderer.test_point_layer_projection)
216            (TestBaseRenderer.test_point_with_classification): Adapt to new
217            renderer interface
218    
219    2003-10-24  Bernhard Herzog  <[email protected]>
220    
221            * libraries/thuban/wxproj.cpp (draw_polygon_shape)
222            (point_in_polygon_shape, shape_centroid): Raise an exception if
223            the shape can't be read. Previously invalid shape ids would lead
224            to a segfault.
225    
226            * test/test_wxproj.py (TestShapeCentroid.test_invalid_shape_id):
227            New. test whether an exception is raised for invalid shape ids
228    
229    2003-10-24  Jan-Oliver Wagner <[email protected]>
230    
231            * Thuban/Model/proj.py (Projection.GetProjectedUnits): Added 'longlat'
232            as alias for 'latlong'.
233    
234            * Thuban/UI/projdialog.py (ProjFrame.__init__): Added 'longlat'
235            as alias for 'latlong'.
236    
237    2003-10-24  Jan-Oliver Wagner <[email protected]>
238    
239            * Thuban/UI/projdialog.py (ProjFrame.proj_selection_changed): Set
240            the projection even for the UnknownPanel.
241            (UnknownProjPanel.__init__): Define the text and create the textctrl
242            widget.
243            (UnknownProjPanel._DoLayout): Replaced static text widget by the
244            textctrl created in __init__.
245            (UnknownProjPanel.SetProjection): Set the text for the text ctrl
246            including the parameters of the projection.
247            
248    2003-10-24  Jan-Oliver Wagner <[email protected]>
249    
250            * Resources/Projections/epsg.proj: New. This is a list of
251            EPSG codes with parameters for proj. The list has been
252            generated using devtools/create_epsg.py based on the
253            file nad/epsg of the proj 4.4.7 package. Four projection
254            definitions have been deleted as they are not accepted by proj:
255            "CH1903+ / LV95", "Bern 1898 (Bern) / LV03C", "CH1903 / LV03"
256            and "HD72 / EOV".
257    
258    2003-10-22  Bernhard Herzog  <[email protected]>
259    
260            Some more tweaks to the projection dialog which should fix RT
261            #1886.
262    
263            * Thuban/UI/projlist.py (ProjectionList.Destroy): Unsubscribe from
264            the ProjFile's messages and call the base class methods correctly
265            (ProjectionList.SelectProjection): Set the wxLIST_STATE_FOCUSED
266            flag on the newly selected item too. Otherwise some other item is
267            focused and the first time the focus is moved with the keyboard
268            the selection moves in unexpected ways.
269    
270            * Thuban/UI/projdialog.py (ProjFrame.__init__): Do not set the
271            focus on the OK button, only on the projection list. That way the
272            list really has the focus initially
273            (ProjFrame.OnClose): Call the projection list's Destroy method to
274            make it unsubscribe all messages
275    
276  2003-10-21  Bernhard Herzog  <[email protected]>  2003-10-21  Bernhard Herzog  <[email protected]>
277    
278          Rework the projection dialog to fix a few bugs, including RT 2166          Rework the projection dialog to fix a few bugs, including RT 2166

Legend:
Removed from v.1852  
changed lines
  Added in v.1904

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26