1 |
|
2006-11-06 Didrik Pinte <[email protected]> |
2 |
|
|
3 |
|
* libraries/thuban/wxproj.cpp: bugfix - allow compilation with |
4 |
|
msvc++ toolkit 2003 |
5 |
|
|
6 |
|
2006-11-06 Bernhard Reiter <[email protected]> |
7 |
|
|
8 |
|
Made it easier to run PostGIS test on Debian Etch. Improving |
9 |
|
https://wald.intevation.org/tracker/index.php?func=detail&aid=173 . |
10 |
|
|
11 |
|
* test/postgissupport.py: Taking pg_ctl and initdb commands |
12 |
|
from internal variables now. Adding deactivated example values |
13 |
|
for Debian Etch. |
14 |
|
find_postgis_sql(): Added special line for Debian Etch postgresql-8.1. |
15 |
|
Added copyright year 2006. |
16 |
|
|
17 |
|
2006-10-25 Bernhard Reiter <[email protected]> |
18 |
|
|
19 |
|
Moved ogr Extension to Extension menu. |
20 |
|
|
21 |
|
* Extensions/ogr/ |
22 |
|
__init__.py, ogrstart.py, ogrshapes.py, ogrdialog.py |
23 |
|
test/test_OGRShapestore.py, test/__init__.py: |
24 |
|
adding encoding information and made sure Autor's names |
25 |
|
with an umlaut are actually written with an umlaut. |
26 |
|
|
27 |
|
* Extensions/ogr/ogrstrat.py: now registering in menu "Extensions", |
28 |
|
having a "(testing)" string before the submenu to prepare for 1.2.0 |
29 |
|
release. Bumped copyright year to 2006. |
30 |
|
|
31 |
|
2006-10-15 Bernhard Reiter <[email protected]> |
32 |
|
|
33 |
|
* Thuban/UI/renderer.py: Added module variable verbose and |
34 |
|
added verbose output before doing a raster projection. |
35 |
|
Minor: Added (c) year 2006. |
36 |
|
|
37 |
|
* test/test_baserenderer.py: Added new function |
38 |
|
test_projected_raster_decimalcommalocale() |
39 |
|
Added new author Bernhard Reiter and new copyright year 2006. |
40 |
|
|
41 |
|
* libraries/thuban/gdalwarp.cpp(ProjectRasterFile): Adding |
42 |
|
switching to LC_NUMERIC "C" and back before calling GDAL functions - |
43 |
|
only #if python >=2.4 . |
44 |
|
|
45 |
|
2006-10-10 Didrik Pinte <[email protected]> |
46 |
|
|
47 |
|
Win32 build updates |
48 |
|
|
49 |
|
* setup.py : |
50 |
|
- update to the latest libs for win32 setup tasks |
51 |
|
- added gdal and Lib content to the inno setup build task |
52 |
|
- added stable and experimental extensions to setup packages |
53 |
|
|
54 |
|
* thuban.py : |
55 |
|
- gdal support for win32 inno installation |
56 |
|
|
57 |
|
2006-10-10 Didrik Pinte <[email protected]> |
58 |
|
|
59 |
|
* Thuban/Model/layer.py (Layer.GetLabelPosFromShape): new method |
60 |
|
extracted from Thuban/UI/viewport.py |
61 |
|
* Thuban/UI/viewport.py (Viewport.LabelShapeAt): uses new method |
62 |
|
|
63 |
|
2006-09-28 Didrik Pinte <[email protected]> |
64 |
|
|
65 |
|
* Thuban/UI/classgen.py: bugfix due to wx2.6 update |
66 |
|
|
67 |
|
* Thuban/UI/view.py: removed non needed declaration |
68 |
|
|
69 |
|
* Thuban/UI/selection.py : typo correction |
70 |
|
|
71 |
|
2006-09-24 Bernhard Reiter <[email protected]> |
72 |
|
|
73 |
|
* Thuban/Model/proj.py(_do_we_have_to_work_around_broken_proj): |
74 |
|
Making the test more robust for observed python 2.3 problems |
75 |
|
with setlocale(). |
76 |
|
|
77 |
|
* test/runtests.py: Added new option ---setdecimalcommalocale |
78 |
|
to run all tests with an LC_NUMERIC that uses comma as decimal_point. |
79 |
|
Minor: Added (c) year 2006. Fixed typo in a docstring. |
80 |
|
|
81 |
|
* test/test_transientdb.py: Minor: Added (c) year 2006. Fixed typo in |
82 |
|
a docstring. |
83 |
|
|
84 |
|
2006-09-23 Bernhard Reiter <[email protected]> |
85 |
|
|
86 |
|
* Extensions/ogr/test/test_OGRShapestore.py: fixed skip_if_no_ogr() |
87 |
|
and added it to TestOGRTable.setUp() so that all tests get skipped |
88 |
|
if ogr cannot be imported. Added (c) year 2006. |
89 |
|
|
90 |
|
2006-09-18 Didrik Pinte <[email protected]> |
91 |
|
|
92 |
|
* wxPython 2.6 update : wx 2.4 syntax has been updated to 2.6 |
93 |
|
|
94 |
|
2006-09-18 Bernhard Reiter <[email protected]> |
95 |
|
|
96 |
|
Fixed proj behaviour with python >=2.4 when decimal_point != '.'. |
97 |
|
|
98 |
|
* Thuban/UI/application.py: Fixed warning dialog when gdal is missing. |
99 |
|
|
100 |
|
* test/test_proj.py: new test_lc_numeric_robustness(). Added author |
101 |
|
Bernhard Reiter and new copyright year 2006. |
102 |
|
|
103 |
|
* Thuban/Model/proj.py: New _do_we_have_to_work_around_broken_proj() |
104 |
|
and Projection.assuregoodlocale(), Projection.assureinitlocale(). |
105 |
|
Added author Bernhard Reiter and (c) 2006. |
106 |
|
|
107 |
|
2006-09-15 Bernhard Reiter <[email protected]> |
108 |
|
|
109 |
|
* README: added RXP and pyRXP as optional for tests. |
110 |
|
|
111 |
|
* test/localessupport.py: New. Contains a helper function |
112 |
|
to find a locale with comma used as decimal_point. |
113 |
|
|
114 |
|
2006-08-31 Bernhard Reiter <[email protected]> |
115 |
|
|
116 |
|
* README: fixed URLs to sqlite and pysqlite. |
117 |
|
|
118 |
|
* Thuban/UI/about.py: Added Didrik Pinte as contributor. Extended |
119 |
|
copyright range to include 2006. |
120 |
|
|
121 |
|
2006-06-29 Didrik Pinte <[email protected]> |
122 |
|
|
123 |
|
* Thuban/UI/main.py: circular import fix. |
124 |
|
|
125 |
|
2006-06-27 Frank Koormann <[email protected]> |
126 |
|
|
127 |
|
New Classification "Pattern": Classify text attributes by regexp. |
128 |
|
|
129 |
|
* Thuban/Model/classification.py (class ClassGroupPattern): |
130 |
|
New, group is associated with a regular expression. |
131 |
|
(Classification._compile_classification): Store compiled regexp and |
132 |
|
original group for pattern. |
133 |
|
(Classification.FindGroup): Added pattern. |
134 |
|
|
135 |
|
* Thuban/UI/classifier.py |
136 |
|
(ClassGrid._OnLabelRightClicked, ClassGrid.labelPopup): |
137 |
|
New, add popup to select singleton/pattern. |
138 |
|
(ClassTable.GetRowLabelValue, ClassTable.GetValueAsCustom, |
139 |
|
ClassTable.SetValueAsCustom): Added pattern. |
140 |
|
(ClassTable.__ParseInput): Autodetect singleton/pattern. |
141 |
|
|
142 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): |
143 |
|
Added pattern. |
144 |
|
|
145 |
|
* Thuban/Model/load.py (SessionLoader.start_clpattern, |
146 |
|
SessionLoader.end_clpattern): New, process pattern elements. |
147 |
|
|
148 |
|
* test/test_classification.py (class TestClassGroupPattern): New. |
149 |
|
(TestClassification.test_add_pattern, |
150 |
|
TestClassification.test_multiple_groups_textual, |
151 |
|
TestClassification.test_deepcopy_textual): New. |
152 |
|
(TestClassification.test_multiple_groups_numerical): |
153 |
|
Renamed test_multiple_groups. |
154 |
|
(TestClassification.test_deepcopy_numerical): Renamed test_deepcopy. |
155 |
|
|
156 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer): |
157 |
|
Added pattern. |
158 |
|
|
159 |
|
* test/test_load.py (ClassificationTest.TestLayers, TestClassification): |
160 |
|
Added pattern. |
161 |
|
|
162 |
|
* test/test_layer.py |
163 |
|
(TestLayerModification.test_set_classification_textual): New |
164 |
|
(TestLayerModification.test_set_classification_numerical): |
165 |
|
Renamed test_set_classification. |
166 |
|
|
167 |
|
* Doc/manual/thuban-manual.xml: Added pattern to layer classification |
168 |
|
description. |
169 |
|
|
170 |
|
* Resources/XML/thuban-1.1.dtd: Added clpattern element and attribs. |
171 |
|
|
172 |
|
2006-06-29 Didrik Pinte <[email protected]> |
173 |
|
|
174 |
|
* Thuban/version.py: Bugfix determination of SQLite, the wright one ! |
175 |
|
|
176 |
|
2006-06-28 Didrik Pinte <[email protected]> |
177 |
|
|
178 |
|
* packaging/windows/thubanstart.py: sample file loading all the stable |
179 |
|
extensions |
180 |
|
|
181 |
|
2006-06-28 Didrik Pinte <[email protected]> |
182 |
|
|
183 |
|
* Thuban/version.py: Bugfix determination of SQLite on old and recent |
184 |
|
systems (support pysqlite1 and pysqlite2) |
185 |
|
|
186 |
|
2006-06-27 Frank Koormann <[email protected]> |
187 |
|
|
188 |
|
* Thuban/version.py: Bugfix determination of SQLite on old systems. |
189 |
|
|
190 |
|
2006-05-17 Didrik Pinte <[email protected]> |
191 |
|
* Extensions/ogr/__init__.py : updated test for win32 and correct |
192 |
|
imports |
193 |
|
|
194 |
|
2006-05-15 Didrik Pinte <[email protected]> |
195 |
|
Ashamed ... still some tabs in the files |
196 |
|
|
197 |
|
* Thuban/version.py : tabs removed |
198 |
|
* Thuban/Model/transientdb.py : tabs removed |
199 |
|
|
200 |
|
2006-05-15 Didrik Pinte <[email protected]> |
201 |
|
|
202 |
|
* Thuban/version.py : coding style correction |
203 |
|
* Thuban/Model/transientdb.py : coding style correction |
204 |
|
|
205 |
|
2006-05-15 Didrik Pinte <[email protected]> |
206 |
|
|
207 |
|
* Thuban/version.py : Updated imports to support pysqlite2 |
208 |
|
|
209 |
|
* Thuban/Model/transientdb.py : Updated imports to support pysqlite2 |
210 |
|
Patched the querying system to support the param style of pysqlite2 |
211 |
|
|
212 |
|
2006-04-24 Didrik Pinte <[email protected]> |
213 |
|
* Extensions/svgexport/__init__.py: The extension now works on win32 |
214 |
|
architecture. Bug #87 corrected. |
215 |
|
|
216 |
|
2006-04-20 Bernhard Reiter <[email protected]> |
217 |
|
* Doc/technotes/coding_guidelines.txt: Changed text from CVS to SVN. |
218 |
|
Removed emacs specific hint and replaced it with a general hint |
219 |
|
that editors might support writing changelogs. |
220 |
|
|
221 |
|
2006-04-12 Bernhard Reiter <[email protected]> |
222 |
|
|
223 |
|
* Thuban/version.py: Changed thuban_release mechanism to use "svn" |
224 |
|
instead of "cvs". |
225 |
|
|
226 |
|
2006-03-31 Bernhard Reiter <[email protected]> |
227 |
|
|
228 |
|
* libraries/thuban/wxproj.cpp: including proj_api.h instead of |
229 |
|
projects.h now. According the Frank Warmerdam and man pj_init |
230 |
|
this is the public interface to proj. Thus I have changed PJ to projPJ. |
231 |
|
And I could remove the hack to avoid clashes with typedef PVALUE |
232 |
|
and #define LP in projects.h clashing with symbols when trying to |
233 |
|
build on windows. The file is cleaner and nicer now. |
234 |
|
|
235 |
|
2006-03-29 Bernhard Reiter <[email protected]> |
236 |
|
|
237 |
|
* libraries/thuban/wxproj.cpp: undef LP to avoid clash when |
238 |
|
trying to build with mingw. |
239 |
|
|
240 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
241 |
|
|
242 |
|
* Thuban/UI/about.py: remove unused import of getdefaultlocale. |
243 |
|
Added display of internal encoding to the about dialog text. |
244 |
|
|
245 |
|
* Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs". |
246 |
|
|
247 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
248 |
|
|
249 |
|
Startup improved: We fail right away if the internal encoding could |
250 |
|
not be determined. |
251 |
|
|
252 |
|
* Thuban/__init__.py (get_internal_encoding): new. |
253 |
|
|
254 |
|
* test/test_stringrepresentation.py (class TestInternalEncoding): |
255 |
|
Preserve the internal encoding for the tests in this class. |
256 |
|
|
257 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
258 |
|
|
259 |
|
* test/test_stringrepresentation.py: New file, for now testing |
260 |
|
that set_internal_coding() is throwing an exception for bad exceptions. |
261 |
|
|
262 |
|
* Thuban/__init__.py (set_internal_encoding): added a forwards |
263 |
|
and backward translation, so that we fail early if the |
264 |
|
internal_encoding is bad. |
265 |
|
|
266 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
267 |
|
|
268 |
|
svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done. |
269 |
|
You could actually get polylines with filling in between, |
270 |
|
when the classification for the lines had a fill color. |
271 |
|
E.g. this happens when you generate a classification from a ramp. |
272 |
|
|
273 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
274 |
|
New test_export_arc_no_fill(). Extend copyright notice to 2005. |
275 |
|
|
276 |
|
* Extensions/svgexport/svgmapwriter.py |
277 |
|
(SVGRenderer.draw_shape_layer_incrementally()): |
278 |
|
Setting TRANSPARENT_BRUSH for shaptype ARC. |
279 |
|
Extend copyright notice to 2005. |
280 |
|
|
281 |
|
* Extensions/svgexport/__init__.py: Extend copyright notice to 2005. |
282 |
|
|
283 |
|
2005-09-08 Frank Koormann <[email protected]> |
284 |
|
|
285 |
|
* Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported |
286 |
|
by Erik (sigra.at.home.se) |
287 |
|
|
288 |
|
2005-08-18 Jan-Oliver Wagner <[email protected]> |
289 |
|
|
290 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
291 |
|
Call the right method for the default size. |
292 |
|
|
293 |
|
2005-08-11 Jan-Oliver Wagner <[email protected]> |
294 |
|
|
295 |
|
* Extensions/export_shapefile: New. |
296 |
|
|
297 |
|
* Extensions/export_shapefile/__init__.py: New. Initialize |
298 |
|
the export_shapefile extension. |
299 |
|
|
300 |
|
* Extensions/export_shapefile/export_shapefile.py: New. |
301 |
|
Exports a layer as a Shapefile. |
302 |
|
|
303 |
|
2005-08-08 Jan-Oliver Wagner <[email protected]> |
304 |
|
|
305 |
|
* po/de.po: String fixes. This fixes Debian bug #313843. |
306 |
|
|
307 |
|
2005-07-27 Jan-Oliver Wagner <[email protected]> |
308 |
|
|
309 |
|
Remove the attributes from the layer element in |
310 |
|
.thuban files for the save routine. |
311 |
|
This also solves RT bug #3149, |
312 |
|
https://intevation.de/rt/webrt?serial_num=3149 |
313 |
|
|
314 |
|
* test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName, |
315 |
|
TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels, |
316 |
|
TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed |
317 |
|
attributes from layer element to classification clnull element. |
318 |
|
|
319 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer, |
320 |
|
SaveSessionTest.testLayerProjection, |
321 |
|
SaveSessionTest.testClassifiedLayer, |
322 |
|
SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis): |
323 |
|
Removed attributes from layer element to classification clnull element. |
324 |
|
(test_save_postgis.NonConnectionStore._fetch_table_information): |
325 |
|
added pretending to have a shape_type. |
326 |
|
|
327 |
|
* Resources/XML/thuban-1.1.dtd: Make the attributes field |
328 |
|
and field_type of classification optional. |
329 |
|
|
330 |
|
* Thuban/Model/classification.py (Classification.TreeItem.build_info): |
331 |
|
Added output of size. |
332 |
|
|
333 |
|
* Thuban/Model/load.py (SessionLoader.start_classification): |
334 |
|
Change attribute 'field' and 'field_type' from obligatory to |
335 |
|
optional to allow empty classes (ie. only with a default=clnull). |
336 |
|
|
337 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Don't write |
338 |
|
any attributes anymore for the layer element. |
339 |
|
(SessionSaver.write_classification): Even if there is no |
340 |
|
classification field, still write the classification because |
341 |
|
the clnull (default) symbol will not be defined anymore as |
342 |
|
part of the layer element. |
343 |
|
|
344 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
345 |
|
|
346 |
|
* setup.py (setup call): Version 1.1.0 |
347 |
|
|
348 |
|
* NEWS: Update for 1.1.0 |
349 |
|
|
350 |
|
* MANIFEST.in: Add *.txt to files taken from Doc. Otherwise the |
351 |
|
technores won't be included |
352 |
|
|
353 |
|
* Thuban/UI/about.py (About.__init__): Extend copyright notice to |
354 |
|
2005 |
355 |
|
|
356 |
|
* po/de.po: Updated. |
357 |
|
|
358 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
359 |
|
|
360 |
|
* README: gdal 1.1.8 is too old. 1.2.5 works. |
361 |
|
|
362 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
363 |
|
|
364 |
|
* Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and |
365 |
|
masktype attributes. |
366 |
|
|
367 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
368 |
|
|
369 |
|
* Thuban/Model/layer.py (Layer.__mangle_bounding_box) |
370 |
|
(Layer.ClipBoundingBox): Rename ClipBoundingBox to |
371 |
|
__mangle_bounding_box. See the comments in the code and RT #2845 |
372 |
|
|
373 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
374 |
|
Remove the explicit test of ClipBoundingBox. The method isn't |
375 |
|
public anymore and the direct call in the test wasn't necessary in |
376 |
|
the first place. If ClipBoundingBox (now __mangle_bounding_box) |
377 |
|
isn't called, the return value of ShapesInRegion will be |
378 |
|
different. |
379 |
|
|
380 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
381 |
|
|
382 |
|
* Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle |
383 |
|
ZeroDivisionError exceptions. I don't know when they happen |
384 |
|
exactly. It probably happens when the projections aren't set |
385 |
|
properly. |
386 |
|
|
387 |
|
2005-07-01 Bernhard Herzog <[email protected]> |
388 |
|
|
389 |
|
First step towards unicode. With this roughly we're at step 1 |
390 |
|
string_representation.txt |
391 |
|
|
392 |
|
* Doc/technotes/string_representation.txt: New. Document how |
393 |
|
strings are represented in Thuban and how to get to a Unicode |
394 |
|
Thuban. |
395 |
|
|
396 |
|
* Thuban/__init__.py (set_internal_encoding) |
397 |
|
(unicode_from_internal, internal_from_unicode): New. The first few |
398 |
|
functions for the internal string representation |
399 |
|
|
400 |
|
* Thuban/UI/about.py (unicodeToLocale): Removed. Use |
401 |
|
internal_from_unicode instead. |
402 |
|
|
403 |
|
* Thuban/UI/__init__.py (install_wx_translation): Determine the |
404 |
|
encoding to use for the internal string representation. Also, |
405 |
|
change the translation function to return strings in internal |
406 |
|
representation even on unicode builds of wxPython |
407 |
|
|
408 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Decode |
409 |
|
filenames too. |
410 |
|
(SessionLoader.start_clrange): Use check_attrs to decode and check |
411 |
|
the attributes. |
412 |
|
|
413 |
|
* Thuban/Model/xmlreader.py (XMLReader.encode): Use |
414 |
|
internal_from_unicode to convert unicode strings. |
415 |
|
|
416 |
|
* Thuban/Model/xmlwriter.py (XMLWriter.encode): Use |
417 |
|
unicode_from_internal when applicable |
418 |
|
|
419 |
|
* test/runtests.py (main): New command line option: |
420 |
|
internal-encoding to specify the internal string encoding to use |
421 |
|
in the tests. |
422 |
|
|
423 |
|
* test/support.py (initthuban): Set the internal encoding to |
424 |
|
latin-1 |
425 |
|
|
426 |
|
* test/test_load.py (TestSingleLayer.test, TestClassification.test) |
427 |
|
(TestLabelLayer.test): Use the internal string representation when |
428 |
|
dealing with non-ascii characters |
429 |
|
|
430 |
|
* test/test_load_1_0.py (TestSingleLayer.test) |
431 |
|
(TestClassification.test, TestLabelLayer.test): Use the internal |
432 |
|
string representation when dealing with non-ascii characters |
433 |
|
|
434 |
|
* test/test_load_0_9.py (TestSingleLayer.test) |
435 |
|
(TestClassification.test): Use the internal string representation |
436 |
|
when dealing with non-ascii characters |
437 |
|
|
438 |
|
* test/test_load_0_8.py (TestUnicodeStrings.test): Use the |
439 |
|
internal string representation when dealing with non-ascii |
440 |
|
characters |
441 |
|
|
442 |
|
* test/test_save.py (XMLWriterTest.testEncode) |
443 |
|
(SaveSessionTest.testClassifiedLayer): Use the internal string |
444 |
|
representation when dealing with non-ascii characters where |
445 |
|
applicable |
446 |
|
|
447 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
448 |
|
|
449 |
|
* test/runtests.py: Untabify. |
450 |
|
|
451 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
452 |
|
|
453 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
454 |
|
untabify. |
455 |
|
|
456 |
|
2005-06-30 Bernhard Herzog <[email protected]> |
457 |
|
|
458 |
|
* Extensions/ogr/test/__init__.py: Add missing coding directive |
459 |
|
|
460 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
461 |
|
|
462 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
463 |
|
Use the default size for rendering selected items of default type. |
464 |
|
Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149 |
465 |
|
|
466 |
|
2005-06-28 Jan-Oliver Wagner <[email protected]> |
467 |
|
|
468 |
|
* Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'. |
469 |
|
(APR_TClr.GetThubanColor): Fix bug in color interpretation. |
470 |
|
Thanks to Frank Koormann who identified this problem. |
471 |
|
|
472 |
|
* Extensions/importAPR/importAPR.py (APR_VShSym): New. Just |
473 |
|
another symbol identified. |
474 |
|
|
475 |
|
2005-06-27 Jan-Oliver Wagner <[email protected]> |
476 |
|
|
477 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
478 |
|
|
479 |
|
2005-05-12 Jonathan Coles <[email protected]> |
480 |
|
|
481 |
|
* Thuban/UI/projdialog.py: Add missing import, which led to an |
482 |
|
exception when opening a layer's projection. |
483 |
|
|
484 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
485 |
|
|
486 |
|
* test/support.py (FileLoadTestCase.filename): Fix doc-string. |
487 |
|
|
488 |
|
2005-05-09 Bernhard Herzog <[email protected]> |
489 |
|
|
490 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the |
491 |
|
connection to autoconnect. Fixes RT#3148. |
492 |
|
|
493 |
|
* test/test_postgis_db.py |
494 |
|
(TestPostGISSpecialCases.test_simple_error_handling): New test |
495 |
|
that attempts to reproduce RT#3148. |
496 |
|
|
497 |
|
2005-05-06 Jonathan Coles <[email protected]> |
498 |
|
|
499 |
|
Add support for saving and loading the opacity and mask type |
500 |
|
properties of RasterLayers. Also add support for proper use |
501 |
|
of alpha information while drawing images not in 'RAW' format. |
502 |
|
If transparency in an image format (e.g, PNG) is supported by |
503 |
|
wxWidgets then the image would previously have been draw with |
504 |
|
transparent regions, but the opaque regions would have been |
505 |
|
unaffected by a change in the layer's opacity. This patch |
506 |
|
corrects the problem. |
507 |
|
|
508 |
|
* Thuban/Model/layer.py (RasterLayer): Added opacity and |
509 |
|
masktype parameters to the constructor, and set the |
510 |
|
appropriate variables to those values. |
511 |
|
|
512 |
|
* Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added |
513 |
|
code to read the opacity and mask type of the layer and construct |
514 |
|
a new layer with the additional parameters. |
515 |
|
|
516 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Added code |
517 |
|
to save the opacity and mask type of a layer. |
518 |
|
|
519 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass |
520 |
|
the opacity of the layer to draw_raster_data rather than the layer. |
521 |
|
(BaseRenderer.draw_raster_data): Remove the layer parameter because |
522 |
|
the function doesn't need to know about the layer. Add the optional |
523 |
|
opacity parameter whose default is 1.0. Add 'PNG' as a supported |
524 |
|
graphics format. |
525 |
|
|
526 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed |
527 |
|
signature to match that in BaseRenderer. Use the new opacity argument |
528 |
|
in place of calling layer.Opacity(). In the case where the |
529 |
|
format is not 'RAW', alpha_data is None and the loaded image has |
530 |
|
alpha information, use the file's alpha information. This is |
531 |
|
still subject to the layer's opacity setting. |
532 |
|
|
533 |
|
* test/test_baserenderer.py (SimpleRenderer.draw_raster_data): |
534 |
|
Fixed signature to match that in BaseRenderer. |
535 |
|
|
536 |
|
* test/test_load.py (TestRasterLayer): Change file_contents to |
537 |
|
include opacity and masktype variables. |
538 |
|
(TestRasterLayer.test): Include tests for opacity and masktype |
539 |
|
changes. |
540 |
|
|
541 |
|
* test/test_save.py (SaveSessionTest.testRasterLayer): Restructure |
542 |
|
test to cover a variety of combinations of masktype and opacity |
543 |
|
settings. |
544 |
|
|
545 |
2005-05-02 Jan-Oliver Wagner <[email protected]> |
2005-05-02 Jan-Oliver Wagner <[email protected]> |
546 |
|
|
547 |
* debian/rules: add --use-wx-python-swig-hack |
* debian/rules: add --use-wx-python-swig-hack |
607 |
|
|
608 |
2005-04-23 Russell Nelson <[email protected]> |
2005-04-23 Russell Nelson <[email protected]> |
609 |
|
|
610 |
* Changed the way the previous tool is remembered, so that |
* Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the |
611 |
middle-button panning works even if you haven't selected a tool. |
way the previous tool is remembered, so that middle-button |
612 |
|
panning works even if you haven't selected a tool. |
613 |
|
|
614 |
2005-04-11 Bernhard Herzog <[email protected]> |
2005-04-11 Bernhard Herzog <[email protected]> |
615 |
|
|