1 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the |
4 |
|
minimum number of classes to 2. The calculate_quantiles needs at |
5 |
|
least two and raises an exception otherwise. |
6 |
|
Fixes RT#2549 |
7 |
|
|
8 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
9 |
|
|
10 |
|
* test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to |
11 |
|
so that it returns a result for select statements. |
12 |
|
(PostgreSQLServer.server_version): New. Return the version of the |
13 |
|
server software. |
14 |
|
(PostgreSQLServer.require_authentication): The format of |
15 |
|
pg_hba.conf has changed between PostgrSQL 7.2 and 7.3. Check the |
16 |
|
server version and generate the file in the correct format |
17 |
|
|
18 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* test/postgissupport.py (PostgreSQLServer.is_running): Fix typo |
21 |
|
in the doc string and rephrase it a little. |
22 |
|
|
23 |
|
2004-12-15 Frank Koormann <[email protected]> |
24 |
|
|
25 |
|
* test/test_load.py (TestAltPath.checkSession): New, extended checks if |
26 |
|
session has been loaded successfully. The check is called by the relevant |
27 |
|
tests after executing load_session(). |
28 |
|
|
29 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
30 |
|
|
31 |
|
Make sure the region used to determine which shapes are visible |
32 |
|
actually matches the region on the printed page. If this isn't |
33 |
|
done properly some shapes might not be printed. |
34 |
|
Fixes RT #2692 |
35 |
|
|
36 |
|
* Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the |
37 |
|
renderer has to be at the same position as the mapregion |
38 |
|
|
39 |
|
* Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region |
40 |
|
has to be moved by (self.shiftx, self.shifty) too. |
41 |
|
|
42 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
43 |
|
|
44 |
|
* libraries/pyprojection/Projection.i: Work around a bug in the |
45 |
|
generated python code which leads to exception in the __del__ |
46 |
|
method when the constructor fails. See the comments in the code |
47 |
|
for more details. |
48 |
|
|
49 |
|
* libraries/pyprojection/Projection.py: Updated from Projection.i |
50 |
|
with SWIG. |
51 |
|
|
52 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
53 |
|
|
54 |
|
* test/test_load.py (TestAltPath.test_01_single_path_error_fix) |
55 |
|
(TestAltPath.test_02_path_error_fix_from_list) |
56 |
|
(TestAltPath.test_05_path_error_fix_from_list_changed) |
57 |
|
(TestAltPath.test_06_path_error_fix_from_list_fails): self.session |
58 |
|
is destroyed in tearDown, so there's no need to do it in a test |
59 |
|
case. |
60 |
|
|
61 |
|
* Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a |
62 |
|
debug print |
63 |
|
|
64 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
65 |
|
|
66 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
67 |
|
(TestDrawSplines.setUp): Do not use super with the unittest |
68 |
|
classes because in Python 2.2 they're still old-style classes. |
69 |
|
|
70 |
|
2004-12-13 Frank Koormann <[email protected]> |
71 |
|
|
72 |
|
Alternative Path feature: When loading a (moved) session where |
73 |
|
shapefiles cannot be found, ask the user. Use the specified path |
74 |
|
if further shapefiles are missing. However, ask the usr for confirmation |
75 |
|
in such cases. |
76 |
|
|
77 |
|
* test/test_load.py (TestAltPath): New, tests for alternative path feature |
78 |
|
in load_session() |
79 |
|
(Shapefile_CallBack): Helper, implements controllable callback. |
80 |
|
|
81 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
82 |
|
Added "alt_path" to self.path |
83 |
|
(ThubanApplication.OpenSession): Added shapefile_callback as second |
84 |
|
callback similar to db_connection_callback. |
85 |
|
(ThubanApplication.run_alt_path_dialog): New, implementaion of |
86 |
|
shapefile_callback. In addition to raising the dialog the control of |
87 |
|
self.path('alt_path') is implemented here. |
88 |
|
|
89 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback. |
90 |
|
(SessionLoader.open_shapefile): Open shapefile, eventually with |
91 |
|
alternative path. This wrapps the "theSession.OpenShapefile(filename)" |
92 |
|
formerly used in start_fileshapesource()/start_layer(). |
93 |
|
(SessionLoader.start_fileshapesource): Call open_shapefile(). |
94 |
|
(SessionLoader.start_layer): Call open_shapefile(). |
95 |
|
(load_session): Added shapefile_callback. |
96 |
|
|
97 |
|
* Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path |
98 |
|
feature (search / check). |
99 |
|
|
100 |
|
* Doc/manual/thuban-manual.xml: Added documentation of new feature. |
101 |
|
|
102 |
2004-12-11 Bernhard Reiter <[email protected]> |
2004-12-11 Bernhard Reiter <[email protected]> |
103 |
|
|
104 |
svgexport 0.9.2: Point size supports for maps. |
svgexport 0.9.2: Point size supports for maps. |