1 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
4 |
|
(TestVirtualDC.test_clippath): Remove a debug print |
5 |
|
|
6 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
7 |
|
|
8 |
|
* Extensions/svgexport/__init__.py: New. Turn |
9 |
|
Extensions/svgexport into a package. |
10 |
|
|
11 |
|
* Extensions/svgexport/svgmapwriter.py: Reorder the imports and |
12 |
|
doc-string a bit. The doc-string must come first, otherwise it's |
13 |
|
not a doc-string. The __future__ import must be the first thing |
14 |
|
after the doc-string. Use only double quotes in doc-strings. |
15 |
|
Single quotes trip up emacs syntax highlighting if the text |
16 |
|
contains apostrophes. |
17 |
|
|
18 |
|
2004-02-20 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* Extensions/svgexport/test/__init__.py, |
21 |
|
Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test |
22 |
|
suite for svgexport |
23 |
|
|
24 |
|
* test/runtests.py (find_test_modules): New. Function with the |
25 |
|
module finding code from main. |
26 |
|
(main): Use find_test_modules to figure out the default test |
27 |
|
modules and take modules from Extensions.svgexport.test too. |
28 |
|
|
29 |
|
2004-02-19 Bernhard Herzog <[email protected]> |
30 |
|
|
31 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Make sure |
32 |
|
the mainwindow has a reference to the map of the initial session. |
33 |
|
This fixes a bug introduced with the fix for RT#2245 |
34 |
|
|
35 |
|
2004-02-19 Bernhard Herzog <[email protected]> |
36 |
|
|
37 |
|
* Extensions/svgexport/svgsaver.py, |
38 |
|
Extensions/svgexport/svgmapwriter.py, |
39 |
|
Extensions/svgexport/maplegend.py: Added again. This time in the |
40 |
|
correct place. |
41 |
|
|
42 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
43 |
|
|
44 |
|
Fix for RT#2245 |
45 |
|
|
46 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Initialize |
47 |
|
instance variables before trying to create any windows. Creating |
48 |
|
windows can start an event loop if e.g. message boxes are popped |
49 |
|
up for some reason, and event handlers, especially EVT_UPDATE_UI |
50 |
|
may want to access things from the application. |
51 |
|
(ThubanApplication.maps_changed): The mainwindow may not have been |
52 |
|
created yet, so check whether it has been created before calling |
53 |
|
its methods |
54 |
|
|
55 |
|
* Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we |
56 |
|
have a map |
57 |
|
|
58 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
59 |
|
|
60 |
|
* test/test_svgmapwriter.py, Extensions/svgsaver.py, |
61 |
|
Extensions/svgmapwriter.py, Extensions/maplegend.py, |
62 |
|
extensions/svgexport/svgsaver.py, |
63 |
|
extensions/svgexport/svgmapwriter.py, |
64 |
|
extensions/svgexport/maplegend.py: Removed. These files were in |
65 |
|
the wrong places or didn't work at all. |
66 |
|
|
67 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
68 |
|
|
69 |
|
* Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added |
70 |
|
line |
71 |
|
|
72 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
73 |
|
|
74 |
|
* Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError. |
75 |
|
|
76 |
|
2004-02-15 Markus Rechtien <[email protected]> |
77 |
|
|
78 |
|
* Extensions/svgexport/svgmapwriter.py: New. Adds the capability |
79 |
|
to write a session to a file in SVG format. |
80 |
|
* Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py |
81 |
|
to write a SVG map of a session. |
82 |
|
* Extensions/svgexport/maplegend: New. Writes a basic maplegend |
83 |
|
in SVG format for the current session. |
84 |
|
|
85 |
|
2004-02-13 Bernhard Herzog <[email protected]> |
86 |
|
|
87 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer |
88 |
|
can't be created, return immediately after displaying the error |
89 |
|
message. |
90 |
|
|
91 |
|
2004-02-11 Bernhard Herzog <[email protected]> |
92 |
|
|
93 |
|
Handle postgis tables with more than one geometry column. |
94 |
|
|
95 |
|
* Thuban/Model/postgisdb.py |
96 |
|
(PostGISTable._fetch_table_information): Delegate the creation of |
97 |
|
column objects to a different method so that we can extend that in |
98 |
|
derived classes |
99 |
|
(PostGISTable._create_col_from_description): New. Column object |
100 |
|
creation part of _fetch_table_information |
101 |
|
(PostGISShapeStore._create_col_from_description): New. Extend |
102 |
|
inherited method to handle geometry columns |
103 |
|
(PostGISShapeStore.__init__): New parameter geometry_column to |
104 |
|
specify which geometry column to use. Optional but mandatory for |
105 |
|
tables with more than one geometry column |
106 |
|
(PostGISShapeStore._fetch_table_information): Also use the name of |
107 |
|
the geometry column when looking for the srid |
108 |
|
(PostGISShapeStore.ShapeType): Also use the name of the geometry |
109 |
|
column when looking for the shape type |
110 |
|
|
111 |
|
* test/test_save.py (SaveSessionTest.test_save_postgis): Adapt |
112 |
|
NonConnectionStore to changes in the PostGISShapeStore |
113 |
|
|
114 |
|
* test/test_postgis_db.py |
115 |
|
(TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test |
116 |
|
PostGISShapeStore with tables having two geometry columns. |
117 |
|
|
118 |
|
2004-02-10 Bernhard Herzog <[email protected]> |
119 |
|
|
120 |
|
Fix some postgis problems. What remains to be done is real |
121 |
|
handling of SRIDs as they affect how reprojection is done |
122 |
|
|
123 |
|
* Thuban/Model/postgisdb.py (quote_identifier): Fix typo in |
124 |
|
doc-string |
125 |
|
(PostGISShapeStore._fetch_table_information): New. Extend |
126 |
|
inherited method to retrieve srid |
127 |
|
(PostGISShapeStore.BoundingBox): Handle tables without data. |
128 |
|
extent yields NULL for those |
129 |
|
(PostGISShapeStore.ShapesInRegion): Use the srid of the table. |
130 |
|
|
131 |
|
* test/test_postgis_db.py |
132 |
|
(TestPostGISSpecialCases.test_shapestore_empty_table): New test |
133 |
|
for the special case of a table without any data |
134 |
|
(TestPostGISShapestorePointSRID): New class with tests for a table |
135 |
|
that uses srids |
136 |
|
(PolygonTests): Fix a doc-string typo |
137 |
|
|
138 |
|
* test/postgissupport.py (PostGISDatabase.__init__): New parameter |
139 |
|
reference_systems with a specification of spacial reference |
140 |
|
systems to create in the new db. |
141 |
|
(PostgreSQLServer.new_postgis_db) |
142 |
|
(PostgreSQLServer.get_static_data_db): New parameter |
143 |
|
reference_systems to be passed through ultimately to |
144 |
|
PostGISDatabase. In new_postgis_db also check whether an existing |
145 |
|
db already has the right srids |
146 |
|
(PostgreSQLServer.get_default_static_data_db): Add srids and a |
147 |
|
table that uses srids |
148 |
|
(PostGISDatabase.initdb): Create the entries for the reference |
149 |
|
systems |
150 |
|
(PostGISDatabase.has_data): Add reference_systems parameter to |
151 |
|
check for those too |
152 |
|
(upload_shapefile): New parameter srid to create tables with a |
153 |
|
specific srid |
154 |
|
|
155 |
|
2004-02-06 Frank Koormann <[email protected]> |
156 |
|
|
157 |
|
* po/pt_BR.po: Fixed charset |
158 |
|
|
159 |
|
2004-02-05 Frank Koormann <[email protected]> |
160 |
|
|
161 |
|
* po/pt_BR.po: Fixed format string for error message, missing %s |
162 |
|
added (Thuban/UI/application.py:273) |
163 |
|
|
164 |
|
2004-02-03 Frank Koormann <[email protected]> |
165 |
|
|
166 |
|
First version of Portuguese (Brazilian) translation |
167 |
|
|
168 |
|
* po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for |
169 |
|
Brazilian Portuguese by Eduardo Patto Kanegae. |
170 |
|
|
171 |
|
* Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of |
172 |
|
translators. |
173 |
|
|
174 |
|
|
175 |
|
2004-01-22 Frank Koormann <[email protected]> |
176 |
|
|
177 |
|
* Doc/manual/thuban-manual.xml: Added section on installation of |
178 |
|
Thuban under Win32 systems. Fixed image path references in the postgis |
179 |
|
section. Some minor source formattings. |
180 |
|
|
181 |
|
2004-01-21 Frank Koormann <[email protected]> |
182 |
|
|
183 |
|
Make Thuban remember path selections (at least for one application run). |
184 |
|
|
185 |
|
* Thuban/UI/application.py (Application.OnInit): Initialize path as a |
186 |
|
attribute of application object. Path is a dictionary of |
187 |
|
strings, currently with the items "data" and "projection". |
188 |
|
(Application.SetPath): New, stores path for the specified item. |
189 |
|
(Application.Path): New, return path for the specified item. |
190 |
|
|
191 |
|
* Thuban/UI/mainwindow.py |
192 |
|
(MainWindow.OpenSession, MainWindow.SaveSessionAs, |
193 |
|
MainWindow.AddLayer, MainWindow.AddRasterLayer, |
194 |
|
MainWindow.TableOpen): Access "data" path information of the |
195 |
|
application. |
196 |
|
|
197 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport): |
198 |
|
Access "projection" path information of the application. |
199 |
|
|
200 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
201 |
|
|
202 |
|
* po/ru.po: Updated translations from Alex Shevlakov |
203 |
|
|
204 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
205 |
|
|
206 |
|
* po/Makefile, po/README: Move the description of how to generate |
207 |
|
the translation statistics to the README. |
208 |
|
|
209 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
210 |
|
|
211 |
|
* NEWS: Update for 1.0.0 |
212 |
|
|
213 |
|
* po/it.po: Another update from Maurizio Napolitano |
214 |
|
|
215 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
216 |
|
|
217 |
|
* po/it.po: Updated translation from Maurizio Napolitano |
218 |
|
|
219 |
|
2003-12-23 Bernhard Herzog <[email protected]> |
220 |
|
|
221 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Mark one more string |
222 |
|
for translation |
223 |
|
|
224 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableRename) |
225 |
|
(MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more |
226 |
|
strings for translation |
227 |
|
|
228 |
|
* po/de.po: Update with the newly marked strings. |
229 |
|
|
230 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
231 |
|
|
232 |
|
* HOWTO-Release: Fix the places where version numbers have to be |
233 |
|
updated |
234 |
|
|
235 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
236 |
|
|
237 |
|
* setup.py (setup call): 1.0.0, yeah! |
238 |
|
|
239 |
|
* Thuban/version.py (longversion): 1.0.0, yeah! |
240 |
|
|
241 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Accept the |
242 |
|
1.0.0 namespace too |
243 |
|
|
244 |
|
* Thuban/Model/save.py (SessionSaver.write_session): Save with |
245 |
|
1.0.0 namespace |
246 |
|
|
247 |
|
* test/test_load.py (LoadSessionTest.dtd) |
248 |
|
(TestSingleLayer.file_contents) |
249 |
|
(TestNonAsciiColumnName.file_contents) |
250 |
|
(TestLayerVisibility.file_contents) |
251 |
|
(TestClassification.file_contents, TestLabels.file_contents) |
252 |
|
(TestLayerProjection.file_contents) |
253 |
|
(TestRasterLayer.file_contents, TestJoinedTable.file_contents) |
254 |
|
(TestLabelLayer.file_contents, TestPostGISLayer.file_contents) |
255 |
|
(TestPostGISLayerPassword.file_contents) |
256 |
|
(TestLoadError.file_contents, TestLoadError.test): Update for |
257 |
|
1.0.0 namespace |
258 |
|
|
259 |
|
* test/test_save.py (SaveSessionTest.dtd) |
260 |
|
(SaveSessionTest.testEmptySession) |
261 |
|
(SaveSessionTest.testSingleLayer) |
262 |
|
(SaveSessionTest.testLayerProjection) |
263 |
|
(SaveSessionTest.testRasterLayer) |
264 |
|
(SaveSessionTest.testClassifiedLayer) |
265 |
|
(SaveSessionTest.test_dbf_table) |
266 |
|
(SaveSessionTest.test_joined_table) |
267 |
|
(SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace |
268 |
|
|
269 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
270 |
|
|
271 |
|
* Thuban/Model/load.py (SessionLoader.start_label): Make sure the |
272 |
|
alignment flags are byte strings not unicode and that they have |
273 |
|
valid values |
274 |
|
|
275 |
|
* test/test_load.py (TestLabelLayer): New. Test loading (and |
276 |
|
indirectly saving) of maps with labels. |
277 |
|
|
278 |
|
2003-12-22 Bernhard Herzog <[email protected]> |
279 |
|
|
280 |
|
* Thuban/UI/tableview.py (TableGrid.OnDestroy) |
281 |
|
(TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to |
282 |
|
unsubscribe all subscribers. |
283 |
|
(LayerTableFrame.OnDestroy): Do not unsubscribe any messages from |
284 |
|
self.grid since it may already have been destroyed. |
285 |
|
Fixes RT #2256 |
286 |
|
|
287 |
2003-12-19 Bernhard Herzog <[email protected]> |
2003-12-19 Bernhard Herzog <[email protected]> |
288 |
|
|
289 |
* po/fr.po, po/es.po: Updated translations from Daniel Calvelo |
* po/fr.po, po/es.po: Updated translations from Daniel Calvelo |