1 |
|
2003-06-26 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
New About box with lots more information including library |
4 |
|
versions and credits. More/better version checking before |
5 |
|
Thuban starts. |
6 |
|
|
7 |
|
* Thuban/UI/about.py: New. New About box that displays |
8 |
|
library version information and credits. |
9 |
|
|
10 |
|
* Thuban/version.py: Added new 'versions' dictionary which |
11 |
|
contains the verions of various libraries which are checked |
12 |
|
when the module loads. |
13 |
|
(verify_versions): Check all version numbers and returns |
14 |
|
a list of errors. |
15 |
|
|
16 |
|
* Thuban/UI/classifier.py (Classifier.__EnableButtons): |
17 |
|
Reset the status of the buttons as the situation warrants, |
18 |
|
but in a better more reliable way by not relying on the |
19 |
|
current status to determine what needs to change. |
20 |
|
|
21 |
|
* Thuban/UI/main.py (wxCHECK_VERSION): Removed. Not needed. |
22 |
|
(verify_versions): Remove most of the code since it is |
23 |
|
now in Thuban.version.verify_versions.o |
24 |
|
|
25 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Call new |
26 |
|
About box in Thuban.UI.about. |
27 |
|
|
28 |
|
* extensions/thuban/gdalwarp.cpp (get_gdal_version): New. |
29 |
|
Returns the version of gdal library being used as a string. |
30 |
|
|
31 |
|
* extensions/thuban/wxproj.cpp (check_version, check_version_gtk): |
32 |
|
Removed. |
33 |
|
(get_proj_version): Return the version of PROJ that the file |
34 |
|
was compiled with. |
35 |
|
(get_gtk_version): Return th version of GTK that the file |
36 |
|
was compiled with. |
37 |
|
|
38 |
|
2003-06-25 Jonathan Coles <[email protected]> |
39 |
|
|
40 |
|
* Thuban/UI/classifier.py (Classifier.EditSymbol): The parent |
41 |
|
of the SelectPropertiesDialog should be self so the window |
42 |
|
appears on top. |
43 |
|
(ClassGroupPropertiesCtrl.DoEdit): The parent |
44 |
|
of the SelectPropertiesDialog should be self so the window |
45 |
|
appears on top. |
46 |
|
|
47 |
|
* Thuban/UI/resource.py: Cleaned up how we determine file |
48 |
|
extensions. |
49 |
|
(GetImageResource): Return an wxImage from our Resources. |
50 |
|
|
51 |
|
2003-06-24 Jonathan Coles <[email protected]> |
52 |
|
|
53 |
|
* Thuban/UI/renderer.py (ExportRenderer.render_legend): |
54 |
|
Check that a layer has a classification before trying |
55 |
|
to get it. Raster layers don't have classifications. |
56 |
|
|
57 |
|
2003-06-23 Jonathan Coles <[email protected]> |
58 |
|
|
59 |
|
* setup.py: Add Resources/XML to resource list. |
60 |
|
|
61 |
|
2003-06-23 Jonathan Coles <[email protected]> |
62 |
|
|
63 |
|
* setup.cfg: Fix copyright dates |
64 |
|
|
65 |
|
2003-06-23 Jonathan Coles <[email protected]> |
66 |
|
|
67 |
|
* MANIFEST.in: Update with Resources/XML |
68 |
|
|
69 |
|
* setup.py: Don't include Locale resources yet as we don't |
70 |
|
have any and it causes problems building the distribution |
71 |
|
for Windows. Update version to 0.8.0. |
72 |
|
|
73 |
|
* Doc/thuban.dtd: Removed since it is now in Resources/XML. |
74 |
|
|
75 |
|
* Thuban/UI/mainwindow.py: Add blank line at the end because |
76 |
|
file was not being read correctly building the Windows |
77 |
|
distribution. |
78 |
|
|
79 |
|
2003-06-23 Jonathan Coles <[email protected]> |
80 |
|
|
81 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Fix text. |
82 |
|
|
83 |
|
* Thuban/version.py: Temporarily update longversion for |
84 |
|
the 0.8 release so that it doesn't have the cvs revision. |
85 |
|
|
86 |
|
2003-06-23 Jonathan Coles <[email protected]> |
87 |
|
|
88 |
|
* Thuban/UI/common.py (ThubanBeginBusyCursor): Call wxSafeYield |
89 |
|
to make sure that we don't create reentrant possibilities with |
90 |
|
wxYield. |
91 |
|
|
92 |
|
* Thuban/UI/view.py (MapCanvas.OnPaint): Call wxBeginBusyCursor() |
93 |
|
directly to avoid the wxSafeYield() call which generates an |
94 |
|
OnPaint event causing infinite recursion. Don't try to catch |
95 |
|
exception anymore. This was for before there were limits on map |
96 |
|
scaling. |
97 |
|
|
98 |
|
2003-06-23 Bernhard Herzog <[email protected]> |
99 |
|
|
100 |
|
Bug fix for RT #1961: |
101 |
|
|
102 |
|
* Thuban/Model/load.py (SessionLoader.start_derivedshapesource): |
103 |
|
Register DerivedShapestores with the session |
104 |
|
|
105 |
|
* Thuban/Model/session.py (Session.Tables): Make sure each table |
106 |
|
is only listed once. |
107 |
|
|
108 |
|
* test/test_load.py (TestJoinedTable.test): Add check_format call. |
109 |
|
Update file contents to match the one written out. |
110 |
|
|
111 |
|
2003-06-20 Bernhard Herzog <[email protected]> |
112 |
|
|
113 |
|
* test/xmlsupport.py (SaxEventLister.startElementNS) |
114 |
|
(SaxEventLister.endElementNS): Do not include the qname. Python |
115 |
|
2.2.1 and 2.2.2 and 2.2.3 differ in this regard. In 2.2.1 qname it |
116 |
|
is (presumably incorrectly) None, whereas it's a string with the |
117 |
|
element name in the later versions. |
118 |
|
|
119 |
|
* test/test_xmlsupport.py (TestEventList.test_even_list_simple) |
120 |
|
(TestEventList.test_even_list_namespace): Update tests to reflect |
121 |
|
the new behaviour |
122 |
|
(TestEventList.test_even_list_id_normalization): Fix doc-string |
123 |
|
|
124 |
|
2003-06-20 Jonathan Coles <[email protected]> |
125 |
|
|
126 |
|
* Thuban/Model/layer.py (BaseLayer.HasShapes): New. Overridden |
127 |
|
by deriving classes to determine if that layer supports shapes. |
128 |
|
(Layer): Override HasShapes and return true. |
129 |
|
|
130 |
|
* Thuban/UI/classgen.py: Use Thuban[Begin|End]BusyCursor() |
131 |
|
instead of a direct call to wx[Begin|End]CusyCursor(). |
132 |
|
(GenUniquePanel._OnRetrieve): Set busy cursor while retrieving |
133 |
|
table data. |
134 |
|
|
135 |
|
* Thuban/UI/common.py (ThubanBeginBusyCursor, ThubanEndBusyCursor): |
136 |
|
New. Wrappers around the wxWindows functions that allow us to |
137 |
|
make additional calls such as wxYield which gives the native |
138 |
|
system a chance to update the cursor correctly. |
139 |
|
|
140 |
|
* Thuban/UI/tableview.py: Use Thuban[Begin|End]BusyCursor() |
141 |
|
instead of a direct call to wx[Begin|End]CusyCursor(). |
142 |
|
|
143 |
|
* Thuban/UI/view.py: Use Thuban[Begin|End]BusyCursor() |
144 |
|
instead of a direct call to wx[Begin|End]CusyCursor(). |
145 |
|
(MapCanvas.find_shape_at): Check if the current search layer |
146 |
|
support shapes, otherwise go on to the next layer. |
147 |
|
|
148 |
|
* test/test_layer.py: Add tests in each type of layer for |
149 |
|
HasClassification() and HasShapes() |
150 |
|
|
151 |
2003-06-20 Jonathan Coles <[email protected]> |
2003-06-20 Jonathan Coles <[email protected]> |
152 |
|
|
153 |
* Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after |
* Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after |