1 |
|
2006-09-18 Bernhard Reiter <[email protected]> |
2 |
|
* test/test_proj.py: new test_lc_numeric_robustness() |
3 |
|
|
4 |
|
2006-09-15 Bernhard Reiter <[email protected]> |
5 |
|
|
6 |
|
* README: added RXP and pyRXP as optional for tests. |
7 |
|
* test/localessupport.py: New. Contains a helper function |
8 |
|
to find a locale with comma used as decimal_point. |
9 |
|
|
10 |
|
2006-08-31 Bernhard Reiter <[email protected]> |
11 |
|
|
12 |
|
* README: fixed URLs to sqlite and pysqlite. |
13 |
|
* Thuban/UI/about.py: Added Didrik Pinte as contributor. Extended |
14 |
|
copyright range to include 2006. |
15 |
|
|
16 |
|
|
17 |
|
2006-06-29 Didrik Pinte <[email protected]> |
18 |
|
|
19 |
|
* Thuban/UI/main.py: circular import fix. |
20 |
|
|
21 |
|
2006-06-27 Frank Koormann <[email protected]> |
22 |
|
|
23 |
|
New Classification "Pattern": Classify text attributes by regexp. |
24 |
|
|
25 |
|
* Thuban/Model/classification.py (class ClassGroupPattern): |
26 |
|
New, group is associated with a regular expression. |
27 |
|
(Classification._compile_classification): Store compiled regexp and |
28 |
|
original group for pattern. |
29 |
|
(Classification.FindGroup): Added pattern. |
30 |
|
|
31 |
|
* Thuban/UI/classifier.py |
32 |
|
(ClassGrid._OnLabelRightClicked, ClassGrid.labelPopup): |
33 |
|
New, add popup to select singleton/pattern. |
34 |
|
(ClassTable.GetRowLabelValue, ClassTable.GetValueAsCustom, |
35 |
|
ClassTable.SetValueAsCustom): Added pattern. |
36 |
|
(ClassTable.__ParseInput): Autodetect singleton/pattern. |
37 |
|
|
38 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): |
39 |
|
Added pattern. |
40 |
|
|
41 |
|
* Thuban/Model/load.py (SessionLoader.start_clpattern, |
42 |
|
SessionLoader.end_clpattern): New, process pattern elements. |
43 |
|
|
44 |
|
* test/test_classification.py (class TestClassGroupPattern): New. |
45 |
|
(TestClassification.test_add_pattern, |
46 |
|
TestClassification.test_multiple_groups_textual, |
47 |
|
TestClassification.test_deepcopy_textual): New. |
48 |
|
(TestClassification.test_multiple_groups_numerical): |
49 |
|
Renamed test_multiple_groups. |
50 |
|
(TestClassification.test_deepcopy_numerical): Renamed test_deepcopy. |
51 |
|
|
52 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer): |
53 |
|
Added pattern. |
54 |
|
|
55 |
|
* test/test_load.py (ClassificationTest.TestLayers, TestClassification): |
56 |
|
Added pattern. |
57 |
|
|
58 |
|
* test/test_layer.py |
59 |
|
(TestLayerModification.test_set_classification_textual): New |
60 |
|
(TestLayerModification.test_set_classification_numerical): |
61 |
|
Renamed test_set_classification. |
62 |
|
|
63 |
|
* Doc/manual/thuban-manual.xml: Added pattern to layer classification |
64 |
|
description. |
65 |
|
|
66 |
|
* Resources/XML/thuban-1.1.dtd: Added clpattern element and attribs. |
67 |
|
|
68 |
|
2006-06-29 Didrik Pinte <[email protected]> |
69 |
|
|
70 |
|
* Thuban/version.py: Bugfix determination of SQLite, the wright one ! |
71 |
|
|
72 |
|
2006-06-28 Didrik Pinte <[email protected]> |
73 |
|
|
74 |
|
* packaging/windows/thubanstart.py: sample file loading all the stable |
75 |
|
extensions |
76 |
|
|
77 |
|
2006-06-28 Didrik Pinte <[email protected]> |
78 |
|
|
79 |
|
* Thuban/version.py: Bugfix determination of SQLite on old and recent |
80 |
|
systems (support pysqlite1 and pysqlite2) |
81 |
|
|
82 |
|
2006-06-27 Frank Koormann <[email protected]> |
83 |
|
|
84 |
|
* Thuban/version.py: Bugfix determination of SQLite on old systems. |
85 |
|
|
86 |
|
2006-05-17 Didrik Pinte <[email protected]> |
87 |
|
* Extensions/ogr/__init__.py : updated test for win32 and correct |
88 |
|
imports |
89 |
|
|
90 |
|
2006-05-15 Didrik Pinte <[email protected]> |
91 |
|
Ashamed ... still some tabs in the files |
92 |
|
|
93 |
|
* Thuban/version.py : tabs removed |
94 |
|
* Thuban/Model/transientdb.py : tabs removed |
95 |
|
|
96 |
|
2006-05-15 Didrik Pinte <[email protected]> |
97 |
|
|
98 |
|
* Thuban/version.py : coding style correction |
99 |
|
* Thuban/Model/transientdb.py : coding style correction |
100 |
|
|
101 |
|
2006-05-15 Didrik Pinte <[email protected]> |
102 |
|
|
103 |
|
* Thuban/version.py : Updated imports to support pysqlite2 |
104 |
|
|
105 |
|
* Thuban/Model/transientdb.py : Updated imports to support pysqlite2 |
106 |
|
Patched the querying system to support the param style of pysqlite2 |
107 |
|
|
108 |
|
>>>>>>> .r2689 |
109 |
|
2006-04-24 Didrik Pinte <[email protected]> |
110 |
|
* Extensions/svgexport/__init__.py: The extension now works on win32 |
111 |
|
architecture. Bug #87 corrected. |
112 |
|
|
113 |
|
2006-04-20 Bernhard Reiter <[email protected]> |
114 |
|
* Doc/technotes/coding_guidelines.txt: Changed text from CVS to SVN. |
115 |
|
Removed emacs specific hint and replaced it with a general hint |
116 |
|
that editors might support writing changelogs. |
117 |
|
|
118 |
|
2006-04-12 Bernhard Reiter <[email protected]> |
119 |
|
|
120 |
|
* Thuban/version.py: Changed thuban_release mechanism to use "svn" |
121 |
|
instead of "cvs". |
122 |
|
|
123 |
|
2006-03-31 Bernhard Reiter <[email protected]> |
124 |
|
|
125 |
|
* libraries/thuban/wxproj.cpp: including proj_api.h instead of |
126 |
|
projects.h now. According the Frank Warmerdam and man pj_init |
127 |
|
this is the public interface to proj. Thus I have changed PJ to projPJ. |
128 |
|
And I could remove the hack to avoid clashes with typedef PVALUE |
129 |
|
and #define LP in projects.h clashing with symbols when trying to |
130 |
|
build on windows. The file is cleaner and nicer now. |
131 |
|
|
132 |
|
2006-03-29 Bernhard Reiter <[email protected]> |
133 |
|
|
134 |
|
* libraries/thuban/wxproj.cpp: undef LP to avoid clash when |
135 |
|
trying to build with mingw. |
136 |
|
|
137 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
138 |
|
|
139 |
|
* Thuban/UI/about.py: remove unused import of getdefaultlocale. |
140 |
|
Added display of internal encoding to the about dialog text. |
141 |
|
|
142 |
|
* Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs". |
143 |
|
|
144 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
145 |
|
|
146 |
|
Startup improved: We fail right away if the internal encoding could |
147 |
|
not be determined. |
148 |
|
|
149 |
|
* Thuban/__init__.py (get_internal_encoding): new. |
150 |
|
|
151 |
|
* test/test_stringrepresentation.py (class TestInternalEncoding): |
152 |
|
Preserve the internal encoding for the tests in this class. |
153 |
|
|
154 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
155 |
|
|
156 |
|
* test/test_stringrepresentation.py: New file, for now testing |
157 |
|
that set_internal_coding() is throwing an exception for bad exceptions. |
158 |
|
|
159 |
|
* Thuban/__init__.py (set_internal_encoding): added a forwards |
160 |
|
and backward translation, so that we fail early if the |
161 |
|
internal_encoding is bad. |
162 |
|
|
163 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
164 |
|
|
165 |
|
svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done. |
166 |
|
You could actually get polylines with filling in between, |
167 |
|
when the classification for the lines had a fill color. |
168 |
|
E.g. this happens when you generate a classification from a ramp. |
169 |
|
|
170 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
171 |
|
New test_export_arc_no_fill(). Extend copyright notice to 2005. |
172 |
|
|
173 |
|
* Extensions/svgexport/svgmapwriter.py |
174 |
|
(SVGRenderer.draw_shape_layer_incrementally()): |
175 |
|
Setting TRANSPARENT_BRUSH for shaptype ARC. |
176 |
|
Extend copyright notice to 2005. |
177 |
|
|
178 |
|
* Extensions/svgexport/__init__.py: Extend copyright notice to 2005. |
179 |
|
|
180 |
|
2005-09-08 Frank Koormann <[email protected]> |
181 |
|
|
182 |
|
* Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported |
183 |
|
by Erik (sigra.at.home.se) |
184 |
|
|
185 |
|
2005-08-18 Jan-Oliver Wagner <[email protected]> |
186 |
|
|
187 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
188 |
|
Call the right method for the default size. |
189 |
|
|
190 |
|
2005-08-11 Jan-Oliver Wagner <[email protected]> |
191 |
|
|
192 |
|
* Extensions/export_shapefile: New. |
193 |
|
|
194 |
|
* Extensions/export_shapefile/__init__.py: New. Initialize |
195 |
|
the export_shapefile extension. |
196 |
|
|
197 |
|
* Extensions/export_shapefile/export_shapefile.py: New. |
198 |
|
Exports a layer as a Shapefile. |
199 |
|
|
200 |
|
2005-08-08 Jan-Oliver Wagner <[email protected]> |
201 |
|
|
202 |
|
* po/de.po: String fixes. This fixes Debian bug #313843. |
203 |
|
|
204 |
|
2005-07-27 Jan-Oliver Wagner <[email protected]> |
205 |
|
|
206 |
|
Remove the attributes from the layer element in |
207 |
|
.thuban files for the save routine. |
208 |
|
This also solves RT bug #3149, |
209 |
|
https://intevation.de/rt/webrt?serial_num=3149 |
210 |
|
|
211 |
|
* test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName, |
212 |
|
TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels, |
213 |
|
TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed |
214 |
|
attributes from layer element to classification clnull element. |
215 |
|
|
216 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer, |
217 |
|
SaveSessionTest.testLayerProjection, |
218 |
|
SaveSessionTest.testClassifiedLayer, |
219 |
|
SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis): |
220 |
|
Removed attributes from layer element to classification clnull element. |
221 |
|
(test_save_postgis.NonConnectionStore._fetch_table_information): |
222 |
|
added pretending to have a shape_type. |
223 |
|
|
224 |
|
* Resources/XML/thuban-1.1.dtd: Make the attributes field |
225 |
|
and field_type of classification optional. |
226 |
|
|
227 |
|
* Thuban/Model/classification.py (Classification.TreeItem.build_info): |
228 |
|
Added output of size. |
229 |
|
|
230 |
|
* Thuban/Model/load.py (SessionLoader.start_classification): |
231 |
|
Change attribute 'field' and 'field_type' from obligatory to |
232 |
|
optional to allow empty classes (ie. only with a default=clnull). |
233 |
|
|
234 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Don't write |
235 |
|
any attributes anymore for the layer element. |
236 |
|
(SessionSaver.write_classification): Even if there is no |
237 |
|
classification field, still write the classification because |
238 |
|
the clnull (default) symbol will not be defined anymore as |
239 |
|
part of the layer element. |
240 |
|
|
241 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
242 |
|
|
243 |
|
* setup.py (setup call): Version 1.1.0 |
244 |
|
|
245 |
|
* NEWS: Update for 1.1.0 |
246 |
|
|
247 |
|
* MANIFEST.in: Add *.txt to files taken from Doc. Otherwise the |
248 |
|
technores won't be included |
249 |
|
|
250 |
|
* Thuban/UI/about.py (About.__init__): Extend copyright notice to |
251 |
|
2005 |
252 |
|
|
253 |
|
* po/de.po: Updated. |
254 |
|
|
255 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
256 |
|
|
257 |
|
* README: gdal 1.1.8 is too old. 1.2.5 works. |
258 |
|
|
259 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
260 |
|
|
261 |
|
* Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and |
262 |
|
masktype attributes. |
263 |
|
|
264 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
265 |
|
|
266 |
|
* Thuban/Model/layer.py (Layer.__mangle_bounding_box) |
267 |
|
(Layer.ClipBoundingBox): Rename ClipBoundingBox to |
268 |
|
__mangle_bounding_box. See the comments in the code and RT #2845 |
269 |
|
|
270 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
271 |
|
Remove the explicit test of ClipBoundingBox. The method isn't |
272 |
|
public anymore and the direct call in the test wasn't necessary in |
273 |
|
the first place. If ClipBoundingBox (now __mangle_bounding_box) |
274 |
|
isn't called, the return value of ShapesInRegion will be |
275 |
|
different. |
276 |
|
|
277 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
278 |
|
|
279 |
|
* Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle |
280 |
|
ZeroDivisionError exceptions. I don't know when they happen |
281 |
|
exactly. It probably happens when the projections aren't set |
282 |
|
properly. |
283 |
|
|
284 |
|
2005-07-01 Bernhard Herzog <[email protected]> |
285 |
|
|
286 |
|
First step towards unicode. With this roughly we're at step 1 |
287 |
|
string_representation.txt |
288 |
|
|
289 |
|
* Doc/technotes/string_representation.txt: New. Document how |
290 |
|
strings are represented in Thuban and how to get to a Unicode |
291 |
|
Thuban. |
292 |
|
|
293 |
|
* Thuban/__init__.py (set_internal_encoding) |
294 |
|
(unicode_from_internal, internal_from_unicode): New. The first few |
295 |
|
functions for the internal string representation |
296 |
|
|
297 |
|
* Thuban/UI/about.py (unicodeToLocale): Removed. Use |
298 |
|
internal_from_unicode instead. |
299 |
|
|
300 |
|
* Thuban/UI/__init__.py (install_wx_translation): Determine the |
301 |
|
encoding to use for the internal string representation. Also, |
302 |
|
change the translation function to return strings in internal |
303 |
|
representation even on unicode builds of wxPython |
304 |
|
|
305 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Decode |
306 |
|
filenames too. |
307 |
|
(SessionLoader.start_clrange): Use check_attrs to decode and check |
308 |
|
the attributes. |
309 |
|
|
310 |
|
* Thuban/Model/xmlreader.py (XMLReader.encode): Use |
311 |
|
internal_from_unicode to convert unicode strings. |
312 |
|
|
313 |
|
* Thuban/Model/xmlwriter.py (XMLWriter.encode): Use |
314 |
|
unicode_from_internal when applicable |
315 |
|
|
316 |
|
* test/runtests.py (main): New command line option: |
317 |
|
internal-encoding to specify the internal string encoding to use |
318 |
|
in the tests. |
319 |
|
|
320 |
|
* test/support.py (initthuban): Set the internal encoding to |
321 |
|
latin-1 |
322 |
|
|
323 |
|
* test/test_load.py (TestSingleLayer.test, TestClassification.test) |
324 |
|
(TestLabelLayer.test): Use the internal string representation when |
325 |
|
dealing with non-ascii characters |
326 |
|
|
327 |
|
* test/test_load_1_0.py (TestSingleLayer.test) |
328 |
|
(TestClassification.test, TestLabelLayer.test): Use the internal |
329 |
|
string representation when dealing with non-ascii characters |
330 |
|
|
331 |
|
* test/test_load_0_9.py (TestSingleLayer.test) |
332 |
|
(TestClassification.test): Use the internal string representation |
333 |
|
when dealing with non-ascii characters |
334 |
|
|
335 |
|
* test/test_load_0_8.py (TestUnicodeStrings.test): Use the |
336 |
|
internal string representation when dealing with non-ascii |
337 |
|
characters |
338 |
|
|
339 |
|
* test/test_save.py (XMLWriterTest.testEncode) |
340 |
|
(SaveSessionTest.testClassifiedLayer): Use the internal string |
341 |
|
representation when dealing with non-ascii characters where |
342 |
|
applicable |
343 |
|
|
344 |
2005-06-30 Bernhard Herzog <[email protected]> |
2005-06-30 Bernhard Herzog <[email protected]> |
345 |
|
|
346 |
* test/runtests.py: Untabify. |
* test/runtests.py: Untabify. |