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