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