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