1 |
|
2006-05-15 Didrik Pinte <[email protected]> |
2 |
|
* Thuban/version.py : coding style correction |
3 |
|
* Thuban/Model/transientdb.py : coding style correction |
4 |
|
|
5 |
|
2006-05-15 Didrik Pinte <[email protected]> |
6 |
|
* Thuban/version.py : Updated imports to support pysqlite2 |
7 |
|
|
8 |
|
* Thuban/Model/transientdb.py : Updated imports to support pysqlite2 |
9 |
|
Patched the querying system to support the param style of pysqlite2 |
10 |
|
|
11 |
|
2006-04-24 Didrik Pinte <[email protected]> |
12 |
|
* Extensions/svgexport/__init__.py: The extension now works on win32 |
13 |
|
architecture. Bug #87 corrected. |
14 |
|
|
15 |
|
2006-04-20 Bernhard Reiter <[email protected]> |
16 |
|
* Doc/technotes/coding_guidelines.txt: Changed text from CVS to SVN. |
17 |
|
Removed emacs specific hint and replaced it with a general hint |
18 |
|
that editors might support writing changelogs. |
19 |
|
|
20 |
|
2006-04-12 Bernhard Reiter <[email protected]> |
21 |
|
|
22 |
|
* Thuban/version.py: Changed thuban_release mechanism to use "svn" |
23 |
|
instead of "cvs". |
24 |
|
|
25 |
|
2006-03-31 Bernhard Reiter <[email protected]> |
26 |
|
|
27 |
|
* libraries/thuban/wxproj.cpp: including proj_api.h instead of |
28 |
|
projects.h now. According the Frank Warmerdam and man pj_init |
29 |
|
this is the public interface to proj. Thus I have changed PJ to projPJ. |
30 |
|
And I could remove the hack to avoid clashes with typedef PVALUE |
31 |
|
and #define LP in projects.h clashing with symbols when trying to |
32 |
|
build on windows. The file is cleaner and nicer now. |
33 |
|
|
34 |
|
2006-03-29 Bernhard Reiter <[email protected]> |
35 |
|
|
36 |
|
* libraries/thuban/wxproj.cpp: undef LP to avoid clash when |
37 |
|
trying to build with mingw. |
38 |
|
|
39 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
40 |
|
|
41 |
|
* Thuban/UI/about.py: remove unused import of getdefaultlocale. |
42 |
|
Added display of internal encoding to the about dialog text. |
43 |
|
|
44 |
|
* Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs". |
45 |
|
|
46 |
|
2005-10-18 Bernhard Reiter <[email protected]> |
47 |
|
|
48 |
|
Startup improved: We fail right away if the internal encoding could |
49 |
|
not be determined. |
50 |
|
|
51 |
|
* Thuban/__init__.py (get_internal_encoding): new. |
52 |
|
|
53 |
|
* test/test_stringrepresentation.py (class TestInternalEncoding): |
54 |
|
Preserve the internal encoding for the tests in this class. |
55 |
|
|
56 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
57 |
|
|
58 |
|
* test/test_stringrepresentation.py: New file, for now testing |
59 |
|
that set_internal_coding() is throwing an exception for bad exceptions. |
60 |
|
|
61 |
|
* Thuban/__init__.py (set_internal_encoding): added a forwards |
62 |
|
and backward translation, so that we fail early if the |
63 |
|
internal_encoding is bad. |
64 |
|
|
65 |
|
2005-10-17 Bernhard Reiter <[email protected]> |
66 |
|
|
67 |
|
svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done. |
68 |
|
You could actually get polylines with filling in between, |
69 |
|
when the classification for the lines had a fill color. |
70 |
|
E.g. this happens when you generate a classification from a ramp. |
71 |
|
|
72 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
73 |
|
New test_export_arc_no_fill(). Extend copyright notice to 2005. |
74 |
|
|
75 |
|
* Extensions/svgexport/svgmapwriter.py |
76 |
|
(SVGRenderer.draw_shape_layer_incrementally()): |
77 |
|
Setting TRANSPARENT_BRUSH for shaptype ARC. |
78 |
|
Extend copyright notice to 2005. |
79 |
|
|
80 |
|
* Extensions/svgexport/__init__.py: Extend copyright notice to 2005. |
81 |
|
|
82 |
|
2005-09-08 Frank Koormann <[email protected]> |
83 |
|
|
84 |
|
* Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported |
85 |
|
by Erik (sigra.at.home.se) |
86 |
|
|
87 |
|
2005-08-18 Jan-Oliver Wagner <[email protected]> |
88 |
|
|
89 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
90 |
|
Call the right method for the default size. |
91 |
|
|
92 |
|
2005-08-11 Jan-Oliver Wagner <[email protected]> |
93 |
|
|
94 |
|
* Extensions/export_shapefile: New. |
95 |
|
|
96 |
|
* Extensions/export_shapefile/__init__.py: New. Initialize |
97 |
|
the export_shapefile extension. |
98 |
|
|
99 |
|
* Extensions/export_shapefile/export_shapefile.py: New. |
100 |
|
Exports a layer as a Shapefile. |
101 |
|
|
102 |
|
2005-08-08 Jan-Oliver Wagner <[email protected]> |
103 |
|
|
104 |
|
* po/de.po: String fixes. This fixes Debian bug #313843. |
105 |
|
|
106 |
|
2005-07-27 Jan-Oliver Wagner <[email protected]> |
107 |
|
|
108 |
|
Remove the attributes from the layer element in |
109 |
|
.thuban files for the save routine. |
110 |
|
This also solves RT bug #3149, |
111 |
|
https://intevation.de/rt/webrt?serial_num=3149 |
112 |
|
|
113 |
|
* test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName, |
114 |
|
TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels, |
115 |
|
TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed |
116 |
|
attributes from layer element to classification clnull element. |
117 |
|
|
118 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer, |
119 |
|
SaveSessionTest.testLayerProjection, |
120 |
|
SaveSessionTest.testClassifiedLayer, |
121 |
|
SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis): |
122 |
|
Removed attributes from layer element to classification clnull element. |
123 |
|
(test_save_postgis.NonConnectionStore._fetch_table_information): |
124 |
|
added pretending to have a shape_type. |
125 |
|
|
126 |
|
* Resources/XML/thuban-1.1.dtd: Make the attributes field |
127 |
|
and field_type of classification optional. |
128 |
|
|
129 |
|
* Thuban/Model/classification.py (Classification.TreeItem.build_info): |
130 |
|
Added output of size. |
131 |
|
|
132 |
|
* Thuban/Model/load.py (SessionLoader.start_classification): |
133 |
|
Change attribute 'field' and 'field_type' from obligatory to |
134 |
|
optional to allow empty classes (ie. only with a default=clnull). |
135 |
|
|
136 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Don't write |
137 |
|
any attributes anymore for the layer element. |
138 |
|
(SessionSaver.write_classification): Even if there is no |
139 |
|
classification field, still write the classification because |
140 |
|
the clnull (default) symbol will not be defined anymore as |
141 |
|
part of the layer element. |
142 |
|
|
143 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
144 |
|
|
145 |
|
* setup.py (setup call): Version 1.1.0 |
146 |
|
|
147 |
|
* NEWS: Update for 1.1.0 |
148 |
|
|
149 |
|
* MANIFEST.in: Add *.txt to files taken from Doc. Otherwise the |
150 |
|
technores won't be included |
151 |
|
|
152 |
|
* Thuban/UI/about.py (About.__init__): Extend copyright notice to |
153 |
|
2005 |
154 |
|
|
155 |
|
* po/de.po: Updated. |
156 |
|
|
157 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
158 |
|
|
159 |
|
* README: gdal 1.1.8 is too old. 1.2.5 works. |
160 |
|
|
161 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
162 |
|
|
163 |
|
* Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and |
164 |
|
masktype attributes. |
165 |
|
|
166 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
167 |
|
|
168 |
|
* Thuban/Model/layer.py (Layer.__mangle_bounding_box) |
169 |
|
(Layer.ClipBoundingBox): Rename ClipBoundingBox to |
170 |
|
__mangle_bounding_box. See the comments in the code and RT #2845 |
171 |
|
|
172 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
173 |
|
Remove the explicit test of ClipBoundingBox. The method isn't |
174 |
|
public anymore and the direct call in the test wasn't necessary in |
175 |
|
the first place. If ClipBoundingBox (now __mangle_bounding_box) |
176 |
|
isn't called, the return value of ShapesInRegion will be |
177 |
|
different. |
178 |
|
|
179 |
|
2005-07-05 Bernhard Herzog <[email protected]> |
180 |
|
|
181 |
|
* Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle |
182 |
|
ZeroDivisionError exceptions. I don't know when they happen |
183 |
|
exactly. It probably happens when the projections aren't set |
184 |
|
properly. |
185 |
|
|
186 |
|
2005-07-01 Bernhard Herzog <[email protected]> |
187 |
|
|
188 |
|
First step towards unicode. With this roughly we're at step 1 |
189 |
|
string_representation.txt |
190 |
|
|
191 |
|
* Doc/technotes/string_representation.txt: New. Document how |
192 |
|
strings are represented in Thuban and how to get to a Unicode |
193 |
|
Thuban. |
194 |
|
|
195 |
|
* Thuban/__init__.py (set_internal_encoding) |
196 |
|
(unicode_from_internal, internal_from_unicode): New. The first few |
197 |
|
functions for the internal string representation |
198 |
|
|
199 |
|
* Thuban/UI/about.py (unicodeToLocale): Removed. Use |
200 |
|
internal_from_unicode instead. |
201 |
|
|
202 |
|
* Thuban/UI/__init__.py (install_wx_translation): Determine the |
203 |
|
encoding to use for the internal string representation. Also, |
204 |
|
change the translation function to return strings in internal |
205 |
|
representation even on unicode builds of wxPython |
206 |
|
|
207 |
|
* Thuban/Model/load.py (SessionLoader.check_attrs): Decode |
208 |
|
filenames too. |
209 |
|
(SessionLoader.start_clrange): Use check_attrs to decode and check |
210 |
|
the attributes. |
211 |
|
|
212 |
|
* Thuban/Model/xmlreader.py (XMLReader.encode): Use |
213 |
|
internal_from_unicode to convert unicode strings. |
214 |
|
|
215 |
|
* Thuban/Model/xmlwriter.py (XMLWriter.encode): Use |
216 |
|
unicode_from_internal when applicable |
217 |
|
|
218 |
|
* test/runtests.py (main): New command line option: |
219 |
|
internal-encoding to specify the internal string encoding to use |
220 |
|
in the tests. |
221 |
|
|
222 |
|
* test/support.py (initthuban): Set the internal encoding to |
223 |
|
latin-1 |
224 |
|
|
225 |
|
* test/test_load.py (TestSingleLayer.test, TestClassification.test) |
226 |
|
(TestLabelLayer.test): Use the internal string representation when |
227 |
|
dealing with non-ascii characters |
228 |
|
|
229 |
|
* test/test_load_1_0.py (TestSingleLayer.test) |
230 |
|
(TestClassification.test, TestLabelLayer.test): Use the internal |
231 |
|
string representation when dealing with non-ascii characters |
232 |
|
|
233 |
|
* test/test_load_0_9.py (TestSingleLayer.test) |
234 |
|
(TestClassification.test): Use the internal string representation |
235 |
|
when dealing with non-ascii characters |
236 |
|
|
237 |
|
* test/test_load_0_8.py (TestUnicodeStrings.test): Use the |
238 |
|
internal string representation when dealing with non-ascii |
239 |
|
characters |
240 |
|
|
241 |
|
* test/test_save.py (XMLWriterTest.testEncode) |
242 |
|
(SaveSessionTest.testClassifiedLayer): Use the internal string |
243 |
|
representation when dealing with non-ascii characters where |
244 |
|
applicable |
245 |
|
|
246 |
2005-06-30 Bernhard Herzog <[email protected]> |
2005-06-30 Bernhard Herzog <[email protected]> |
247 |
|
|
248 |
* test/runtests.py: Untabify. |
* test/runtests.py: Untabify. |