/[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 1859 by jan, Fri Oct 24 15:13:40 2003 UTC revision 1899 by bh, Fri Oct 31 14:38:30 2003 UTC
# Line 1  Line 1 
1    2003-10-31  Bernhard Herzog  <[email protected]>
2    
3            * test/test_classification.py (TestClassGroupProperties)
4            (TestClassGroup, TestClassGroupDefault, TestClassGroupRange)
5            (TestClassGroupSingleton, TestClassIterator, TestClassification):
6            Split TestClassification into several classes, one for each class
7            being tested. TestClassification itself now only tests
8            Classification. This split makes changes to the tests a bit easier
9    
10    2003-10-31  Bernhard Herzog  <[email protected]>
11    
12            * Extensions/profiling/profiling.py: New. Extension to measure
13            Thuban performance
14    
15    2003-10-31  Frank Koormann <[email protected]>
16    
17            Added two items to legend popup menu: Remove Layer and Show Layer Table
18    
19            * Thuban/UI/legend.py (LegendPanel._OnRemoveLayer,
20            LegendPanel._OnShowTable): New event handlers, call the corresponding
21            mainwindow methods.
22            (LegendTree._OnRightClick): Added items to popup menu.
23    
24    2003-10-30  Bernhard Herzog  <[email protected]>
25    
26            * Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle
27            EVT_WINDOW_DESTROY
28            (ThubanFrame.OnDestroy): New. Handler for EVT_WINDOW_DESTROY. Does
29            nothing but is convenient for the derived classes.
30    
31            * Thuban/UI/tableview.py
32            (TableFrame.OnDestroy, LayerTableFrame.OnDestroy): New.
33            Unsubscribe the messages here not in OnClose because that might
34            get called multiple times. Fixes RT #2196
35            (TableFrame.OnClose, LayerTableFrame.OnClose): Removed. Not needed
36            anymore.
37    
38            * README: Update the minimum requirement for wxPython. Since we
39            now use the EVT_WINDOW_DESTROY event, we need at least 2.4.0.4,
40            the version in which that was introduced for all platforms
41    
42    2003-10-30  Frank Koormann <[email protected]>
43    
44            * Thuban/UI/join.py (JoinDialog.OnJoin): Wrapped the major parts of
45            the join process in a ThubanBeginBusyCursor, ThubanEndBusyCursor
46            frame.
47    
48    2003-10-30  Jan-Oliver Wagner <[email protected]>
49    
50            Improved APR import extension, added further EPSG definitions
51            and some cleanup regarding string class.
52    
53            * test/test_proj.py (TestProjection.test_get_projection_units_geo):
54            Added test for alias 'longlat'.
55    
56            * Resources/Projections/epsg-deprecated.proj: New. Contains
57            deprecated EPSG definitions.
58    
59            * Extensions/importAPR/odb.py (ODBBaseObject.TreeInfo): Added
60            the variable names for objects.
61    
62            * Extensions/importAPR/apr.py (APR_BLnSym, APR_BMkSym, APR_BShSym): New.
63            Copied from importAPR and provided with documentation.
64    
65            * Extensions/importAPR/importAPR.py (APR_BLnSym, APR_BMkSym, APR_BShSym):
66            Moved to apr.py.
67            (APR_View): Added object ref 'ITheme'.
68    
69            * Thuban/Lib/fileutil.py, Thuban/UI/proj4dialog.py: Replaced string
70            split function by corresponding use of the string class method.
71    
72            * Thuban/Model/xmlwriter.py: Replaced string replace function by
73            corresponding string method.
74    
75    2003-10-29  Bernhard Herzog  <[email protected]>
76    
77            * Thuban/UI/baserenderer.py
78            (BaseRenderer.draw_shape_layer_incrementally): Speed up the
79            special case of a classification that only has the default group
80    
81    2003-10-27  Bernhard Herzog  <[email protected]>
82    
83            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
84    
85            * po/de.po: Update.
86    
87            * Thuban/UI/application.py
88            (ThubanApplication.ShowExceptionDialog): Handle translation of the
89            dialog message properly
90    
91    2003-10-27  Bernhard Herzog  <[email protected]>
92    
93            Rework how localization works so that we use wx's translation
94            functions when running Thuban as a normal application but not when
95            we don't need any UI, such as in the test suite. See the comment
96            in Thuban/__init__.py for details
97    
98            * Thuban/__init__.py (_): Add one level of indirection to make the
99            translation handling more flexible and to make it possible to use
100            either wx's translation services or not.
101            (gettext_identity, translation_function_installed)
102            (install_translation_function): New function to help with this
103    
104            * Thuban/UI/__init__.py: Install the wx specific translation
105            function if it's OK to do that
106    
107            * test/support.py (initthuban): Install a dummy translation
108            function so that importing Thuban.UI doesn't install a wx specific
109            one for which would need to import wxPython
110    
111    2003-10-27  Bernhard Herzog  <[email protected]>
112    
113            * HOWTO-Release: Source archives should be created first and the
114            binary packages should be created from the source archives.
115            There's an official debian package now so there's no need to test
116            the rpm on debian anymore
117    
118    2003-10-27  Bernhard Herzog  <[email protected]>
119    
120            Several rendering changes:
121    
122             - Render the selection into a separate bitmap so that only that
123               bitmap needs to be redrawn when the selection changes
124    
125             - Render incrementally showing previews and allowing interaction
126               before rendering is complete
127    
128             - Update the renderer interface a bit. Most parameters of
129               RenderMap are now parameters of the constructor
130    
131            * Thuban/UI/baserenderer.py (BaseRenderer.__init__): Add the map
132            and the update region as parameters. Update the doc-string
133            (BaseRenderer.render_map_incrementally): New. Generator function
134            to renders the map incrementally
135            (BaseRenderer.render_map): Remove the map argument (it's now in
136            the constructor) and simply iterate over the
137            render_map_incrementally generator to draw the map.
138            (BaseRenderer.draw_shape_layer_incrementally)
139            (BaseRenderer.draw_shape_layer): Renamed to
140            draw_shape_layer_incrementally and changed into a generator that
141            yields True every 500 shapes. Used by render_map_incrementally to
142            render shape layers incrementally
143    
144            * Thuban/UI/renderer.py (ScreenRenderer.RenderMap): Removed the
145            map and region parameters which are now in the constructor
146            (ScreenRenderer.RenderMapIncrementally): New. Public frontend for
147            the inherited render_map_incrementally.
148            (BaseRenderer.draw_shape_layer): Removed.
149            (ScreenRenderer.draw_selection_incrementally): New. The selection
150            drawing part of the removed draw_shape_layer as a generator
151            (ScreenRenderer.layer_shapes): Update because of the region
152            parameter change
153            (ExportRenderer.__init__): New. Extend the inherited constructor
154            with the destination region for the drawing
155            (ExportRenderer.RenderMap): Removed the map and region parameters
156            which are now in the constructor
157    
158            * Thuban/UI/view.py (MapCanvas.PreviewBitmap): New. Return a
159            bitmap suitable for a preview in a tool
160            (CanvasPanTool.MouseMove): Use the PreviewBitmap method to get the
161            bitmap
162            (MapPrintout.draw_on_dc): Adapt to new renderer interface
163            (MapCanvas.OnPaint): Handle drawing the selection bitmap if it
164            exists
165            (MapCanvas.OnIdle): Update the logic to deal with incremental
166            rendering and the selection bitmap
167            (MapCanvas._do_redraw): Handle the instantiation of the render
168            iterator and the redraws during rendering
169            (MapCanvas._render_iterator): New. Generator to incrementally
170            redraw both bitmaps
171            (MapCanvas.Export): Adapt to new renderer interface.
172            (MapCanvas.full_redraw): Reset the selection bitmap and the
173            renderer iterator too
174            (MapCanvas.redraw_selection): New. Force a redraw of the selection
175            bitmap
176            (MapCanvas.shape_selected): Only redraw the selection bitmap
177    
178            * test/test_baserenderer.py
179            (TestBaseRenderer.test_polygon_no_projection)
180            (TestBaseRenderer.test_raster_no_projection)
181            (TestBaseRenderer.test_point_map_projection)
182            (TestBaseRenderer.test_point_layer_and_map_projection)
183            (TestBaseRenderer.test_point_layer_projection)
184            (TestBaseRenderer.test_point_with_classification): Adapt to new
185            renderer interface
186    
187    2003-10-24  Bernhard Herzog  <[email protected]>
188    
189            * libraries/thuban/wxproj.cpp (draw_polygon_shape)
190            (point_in_polygon_shape, shape_centroid): Raise an exception if
191            the shape can't be read. Previously invalid shape ids would lead
192            to a segfault.
193    
194            * test/test_wxproj.py (TestShapeCentroid.test_invalid_shape_id):
195            New. test whether an exception is raised for invalid shape ids
196    
197    2003-10-24  Jan-Oliver Wagner <[email protected]>
198    
199            * Thuban/Model/proj.py (Projection.GetProjectedUnits): Added 'longlat'
200            as alias for 'latlong'.
201    
202            * Thuban/UI/projdialog.py (ProjFrame.__init__): Added 'longlat'
203            as alias for 'latlong'.
204    
205  2003-10-24  Jan-Oliver Wagner <[email protected]>  2003-10-24  Jan-Oliver Wagner <[email protected]>
206    
207          * Thuban/UI/projdialog.py (ProjFrame.proj_selection_changed): Set          * Thuban/UI/projdialog.py (ProjFrame.proj_selection_changed): Set

Legend:
Removed from v.1859  
changed lines
  Added in v.1899

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26