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