1 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
2 |
|
|
3 |
|
* test/test_stringrepresentation.py: New file, for now testing |
4 |
|
that set_internal_coding() is throwing an exception for bad exceptions. |
5 |
|
|
6 |
|
* Thuban/__init__.py (set_internal_encoding): added a forwards |
7 |
|
and backward translation, so that we fail early if the |
8 |
|
internal_encoding is bad. |
9 |
|
|
10 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
11 |
|
|
12 |
|
svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done. |
13 |
|
You could actually get polylines with filling in between, |
14 |
|
when the classification for the lines had a fill color. |
15 |
|
E.g. this happens when you generate a classification from a ramp. |
16 |
|
|
17 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
18 |
|
New test_export_arc_no_fill(). Extend copyright notice to 2005. |
19 |
|
|
20 |
|
* Extensions/svgexport/svgmapwriter.py |
21 |
|
(SVGRenderer.draw_shape_layer_incrementally()): |
22 |
|
Setting TRANSPARENT_BRUSH for shaptype ARC. |
23 |
|
Extend copyright notice to 2005. |
24 |
|
|
25 |
|
* Extensions/svgexport/__init__.py: Extend copyright notice to 2005. |
26 |
|
|
27 |
|
2005-09-08 Frank Koormann <[email protected]> |
28 |
|
|
29 |
|
* Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported |
30 |
|
by Erik (sigra.at.home.se) |
31 |
|
|
32 |
|
2005-08-18 Jan-Oliver Wagner <[email protected]> |
33 |
|
|
34 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
35 |
|
Call the right method for the default size. |
36 |
|
|
37 |
|
2005-08-11 Jan-Oliver Wagner <[email protected]> |
38 |
|
|
39 |
|
* Extensions/export_shapefile: New. |
40 |
|
|
41 |
|
* Extensions/export_shapefile/__init__.py: New. Initialize |
42 |
|
the export_shapefile extension. |
43 |
|
|
44 |
|
* Extensions/export_shapefile/export_shapefile.py: New. |
45 |
|
Exports a layer as a Shapefile. |
46 |
|
|
47 |
|
2005-08-08 Jan-Oliver Wagner <[email protected]> |
48 |
|
|
49 |
|
* po/de.po: String fixes. This fixes Debian bug #313843. |
50 |
|
|
51 |
|
2005-07-27 Jan-Oliver Wagner <[email protected]> |
52 |
|
|
53 |
|
Remove the attributes from the layer element in |
54 |
|
.thuban files for the save routine. |
55 |
|
This also solves RT bug #3149, |
56 |
|
https://intevation.de/rt/webrt?serial_num=3149 |
57 |
|
|
58 |
|
* test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName, |
59 |
|
TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels, |
60 |
|
TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed |
61 |
|
attributes from layer element to classification clnull element. |
62 |
|
|
63 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer, |
64 |
|
SaveSessionTest.testLayerProjection, |
65 |
|
SaveSessionTest.testClassifiedLayer, |
66 |
|
SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis): |
67 |
|
Removed attributes from layer element to classification clnull element. |
68 |
|
(test_save_postgis.NonConnectionStore._fetch_table_information): |
69 |
|
added pretending to have a shape_type. |
70 |
|
|
71 |
|
* Resources/XML/thuban-1.1.dtd: Make the attributes field |
72 |
|
and field_type of classification optional. |
73 |
|
|
74 |
|
* Thuban/Model/classification.py (Classification.TreeItem.build_info): |
75 |
|
Added output of size. |
76 |
|
|
77 |
|
* Thuban/Model/load.py (SessionLoader.start_classification): |
78 |
|
Change attribute 'field' and 'field_type' from obligatory to |
79 |
|
optional to allow empty classes (ie. only with a default=clnull). |
80 |
|
|
81 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Don't write |
82 |
|
any attributes anymore for the layer element. |
83 |
|
(SessionSaver.write_classification): Even if there is no |
84 |
|
classification field, still write the classification because |
85 |
|
the clnull (default) symbol will not be defined anymore as |
86 |
|
part of the layer element. |
87 |
|
|
88 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
89 |
|
|
90 |
|
* setup.py (setup call): Version 1.1.0 |
91 |
|
|
92 |
|
* NEWS: Update for 1.1.0 |
93 |
|
|
94 |
|
* MANIFEST.in: Add *.txt to files taken from Doc. Otherwise the |
95 |
|
technores won't be included |
96 |
|
|
97 |
|
* Thuban/UI/about.py (About.__init__): Extend copyright notice to |
98 |
|
2005 |
99 |
|
|
100 |
|
* po/de.po: Updated. |
101 |
|
|
102 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
103 |
|
|
104 |
|
* README: gdal 1.1.8 is too old. 1.2.5 works. |
105 |
|
|
106 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
107 |
|
|
108 |
|
* Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and |
109 |
|
masktype attributes. |
110 |
|
|
111 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
112 |
|
|
113 |
|
* Thuban/Model/layer.py (Layer.__mangle_bounding_box) |
114 |
|
(Layer.ClipBoundingBox): Rename ClipBoundingBox to |
115 |
|
__mangle_bounding_box. See the comments in the code and RT #2845 |
116 |
|
|
117 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
118 |
|
Remove the explicit test of ClipBoundingBox. The method isn't |
119 |
|
public anymore and the direct call in the test wasn't necessary in |
120 |
|
the first place. If ClipBoundingBox (now __mangle_bounding_box) |
121 |
|
isn't called, the return value of ShapesInRegion will be |
122 |
|
different. |
123 |
|
|
124 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
125 |
|
|
126 |
|
* Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle |
127 |
|
ZeroDivisionError exceptions. I don't know when they happen |
128 |
|
exactly. It probably happens when the projections aren't set |
129 |
|
properly. |
130 |
|
|
131 |
|
2005-07-01 Bernhard Herzog <[email protected]> |
132 |
|
|
133 |
|
First step towards unicode. With this roughly we're at step 1 |
134 |
|
string_representation.txt |
135 |
|
|
136 |
|
* Doc/technotes/string_representation.txt: New. Document how |
137 |
|
strings are represented in Thuban and how to get to a Unicode |
138 |
|
Thuban. |
139 |
|
|
140 |
|
* Thuban/__init__.py (set_internal_encoding) |
141 |
|
(unicode_from_internal, internal_from_unicode): New. The first few |
142 |
|
functions for the internal string representation |
143 |
|
|
144 |
|
* Thuban/UI/about.py (unicodeToLocale): Removed. Use |
145 |
|
internal_from_unicode instead. |
146 |
|
|
147 |
|
* Thuban/UI/__init__.py (install_wx_translation): Determine the |
148 |
|
encoding to use for the internal string representation. Also, |
149 |
|
change the translation function to return strings in internal |
150 |
|
representation even on unicode builds of wxPython |
151 |
|
|
152 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Decode |
153 |
|
filenames too. |
154 |
|
(SessionLoader.start_clrange): Use check_attrs to decode and check |
155 |
|
the attributes. |
156 |
|
|
157 |
|
* Thuban/Model/xmlreader.py (XMLReader.encode): Use |
158 |
|
internal_from_unicode to convert unicode strings. |
159 |
|
|
160 |
|
* Thuban/Model/xmlwriter.py (XMLWriter.encode): Use |
161 |
|
unicode_from_internal when applicable |
162 |
|
|
163 |
|
* test/runtests.py (main): New command line option: |
164 |
|
internal-encoding to specify the internal string encoding to use |
165 |
|
in the tests. |
166 |
|
|
167 |
|
* test/support.py (initthuban): Set the internal encoding to |
168 |
|
latin-1 |
169 |
|
|
170 |
|
* test/test_load.py (TestSingleLayer.test, TestClassification.test) |
171 |
|
(TestLabelLayer.test): Use the internal string representation when |
172 |
|
dealing with non-ascii characters |
173 |
|
|
174 |
|
* test/test_load_1_0.py (TestSingleLayer.test) |
175 |
|
(TestClassification.test, TestLabelLayer.test): Use the internal |
176 |
|
string representation when dealing with non-ascii characters |
177 |
|
|
178 |
|
* test/test_load_0_9.py (TestSingleLayer.test) |
179 |
|
(TestClassification.test): Use the internal string representation |
180 |
|
when dealing with non-ascii characters |
181 |
|
|
182 |
|
* test/test_load_0_8.py (TestUnicodeStrings.test): Use the |
183 |
|
internal string representation when dealing with non-ascii |
184 |
|
characters |
185 |
|
|
186 |
|
* test/test_save.py (XMLWriterTest.testEncode) |
187 |
|
(SaveSessionTest.testClassifiedLayer): Use the internal string |
188 |
|
representation when dealing with non-ascii characters where |
189 |
|
applicable |
190 |
|
|
191 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
192 |
|
|
193 |
|
* test/runtests.py: Untabify. |
194 |
|
|
195 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
196 |
|
|
197 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
198 |
|
untabify. |
199 |
|
|
200 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
201 |
|
|
202 |
|
* Extensions/ogr/test/__init__.py: Add missing coding directive |
203 |
|
|
204 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
205 |
|
|
206 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
207 |
|
Use the default size for rendering selected items of default type. |
208 |
|
Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149 |
209 |
|
|
210 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
211 |
|
|
212 |
|
* Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'. |
213 |
|
(APR_TClr.GetThubanColor): Fix bug in color interpretation. |
214 |
|
Thanks to Frank Koormann who identified this problem. |
215 |
|
|
216 |
|
* Extensions/importAPR/importAPR.py (APR_VShSym): New. Just |
217 |
|
another symbol identified. |
218 |
|
|
219 |
|
2005-06-27 Jan-Oliver Wagner <[email protected]> |
220 |
|
|
221 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
222 |
|
|
223 |
|
2005-05-12 Jonathan Coles <[email protected]> |
224 |
|
|
225 |
|
* Thuban/UI/projdialog.py: Add missing import, which led to an |
226 |
|
exception when opening a layer's projection. |
227 |
|
|
228 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
229 |
|
|
230 |
|
* test/support.py (FileLoadTestCase.filename): Fix doc-string. |
231 |
|
|
232 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
233 |
|
|
234 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the |
235 |
|
connection to autoconnect. Fixes RT#3148. |
236 |
|
|
237 |
|
* test/test_postgis_db.py |
238 |
|
(TestPostGISSpecialCases.test_simple_error_handling): New test |
239 |
|
that attempts to reproduce RT#3148. |
240 |
|
|
241 |
|
2005-05-06 Jonathan Coles <[email protected]> |
242 |
|
|
243 |
|
Add support for saving and loading the opacity and mask type |
244 |
|
properties of RasterLayers. Also add support for proper use |
245 |
|
of alpha information while drawing images not in 'RAW' format. |
246 |
|
If transparency in an image format (e.g, PNG) is supported by |
247 |
|
wxWidgets then the image would previously have been draw with |
248 |
|
transparent regions, but the opaque regions would have been |
249 |
|
unaffected by a change in the layer's opacity. This patch |
250 |
|
corrects the problem. |
251 |
|
|
252 |
|
* Thuban/Model/layer.py (RasterLayer): Added opacity and |
253 |
|
masktype parameters to the constructor, and set the |
254 |
|
appropriate variables to those values. |
255 |
|
|
256 |
|
* Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added |
257 |
|
code to read the opacity and mask type of the layer and construct |
258 |
|
a new layer with the additional parameters. |
259 |
|
|
260 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Added code |
261 |
|
to save the opacity and mask type of a layer. |
262 |
|
|
263 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass |
264 |
|
the opacity of the layer to draw_raster_data rather than the layer. |
265 |
|
(BaseRenderer.draw_raster_data): Remove the layer parameter because |
266 |
|
the function doesn't need to know about the layer. Add the optional |
267 |
|
opacity parameter whose default is 1.0. Add 'PNG' as a supported |
268 |
|
graphics format. |
269 |
|
|
270 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed |
271 |
|
signature to match that in BaseRenderer. Use the new opacity argument |
272 |
|
in place of calling layer.Opacity(). In the case where the |
273 |
|
format is not 'RAW', alpha_data is None and the loaded image has |
274 |
|
alpha information, use the file's alpha information. This is |
275 |
|
still subject to the layer's opacity setting. |
276 |
|
|
277 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
278 |
|
Fixed signature to match that in BaseRenderer. |
279 |
|
|
280 |
|
* test/test_load.py (TestRasterLayer): Change file_contents to |
281 |
|
include opacity and masktype variables. |
282 |
|
(TestRasterLayer.test): Include tests for opacity and masktype |
283 |
|
changes. |
284 |
|
|
285 |
|
* test/test_save.py (SaveSessionTest.testRasterLayer): Restructure |
286 |
|
test to cover a variety of combinations of masktype and opacity |
287 |
|
settings. |
288 |
|
|
289 |
2005-05-02 Jan-Oliver Wagner <[email protected]> |
2005-05-02 Jan-Oliver Wagner <[email protected]> |
290 |
|
|
291 |
* debian/rules: add --use-wx-python-swig-hack |
* debian/rules: add --use-wx-python-swig-hack |
351 |
|
|
352 |
2005-04-23 Russell Nelson <[email protected]> |
2005-04-23 Russell Nelson <[email protected]> |
353 |
|
|
354 |
* Changed the way the previous tool is remembered, so that |
* Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the |
355 |
middle-button panning works even if you haven't selected a tool. |
way the previous tool is remembered, so that middle-button |
356 |
|
panning works even if you haven't selected a tool. |
357 |
|
|
358 |
2005-04-11 Bernhard Herzog <[email protected]> |
2005-04-11 Bernhard Herzog <[email protected]> |
359 |
|
|