1 |
|
2003-07-10 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
The most important part of this is the seperation of view.py into |
4 |
|
two pieces. viewport.py now has a class called ViewPort which |
5 |
|
contains all the non-wx parts of view.py and can therefore be |
6 |
|
tested. view.py contains only the wx-specific parts and is fairly |
7 |
|
simple. |
8 |
|
|
9 |
|
* Thuban/UI/view.py: Stripped out all non-wx functionality. Fixes |
10 |
|
RTTbug #1992. |
11 |
|
* Thuban/UI/viewport.py: New. Contains non-wx view functionality. |
12 |
|
RTTbug #1992. |
13 |
|
|
14 |
|
* Thuban/Model/classgen.py (generate_singletons, |
15 |
|
generate_uniform_distribution, generate_quantiles): |
16 |
|
Added 'fixes' parameter so that property attributes can |
17 |
|
be held constant over the generated classification groups. |
18 |
|
(CustomRamp.GetProperties): Remove unused variables. |
19 |
|
|
20 |
|
* Thuban/Model/map.py (Map.SetProjection): Send the old |
21 |
|
projection as an argument to listeners of the MAP_PROJECTION_CHANGED |
22 |
|
event. |
23 |
|
|
24 |
|
* Thuban/Model/table.py (table_to_dbf, table_to_csv): Added 'records' |
25 |
|
parameter which is a list of records that restricts which |
26 |
|
records are saved. Fixes RTbug #1997. |
27 |
|
|
28 |
|
* Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog): |
29 |
|
Port exception dialog from GREAT-ER. Fixes RTbug #1993. |
30 |
|
|
31 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__): Add controls |
32 |
|
to allow the user to fix line color/width on generated groups. |
33 |
|
(ClassGenDialog.OnOK): Use new 'fixes' parameter of the generate_* |
34 |
|
functions to optionally fix group properties. |
35 |
|
|
36 |
|
* Thuban/UI/main.py (main): Set exception hook to the |
37 |
|
ShowExceptionDialog. Fixes RTbug #1993. |
38 |
|
|
39 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowTableView): Raise |
40 |
|
the table window when it is selectd to be shown. |
41 |
|
|
42 |
|
* Thuban/UI/tableview.py (QueryTableFrame.__init__): Add an |
43 |
|
Export Selection button and move the export buttons underneath |
44 |
|
the table. |
45 |
|
(QueryTableFrame.UpdateStatusText): Added event argument so |
46 |
|
that it can respond to grid selection events. The status text |
47 |
|
is now updated even when the table is not associated with a |
48 |
|
layer as was previously assumed. |
49 |
|
(QueryTableFrame.OnGridSelectRange, OnGridSelectCell): Removed. |
50 |
|
UpdateStatusText responds to these events. |
51 |
|
(QueryTableFrame.OnSaveAs): Renamed to doExport. |
52 |
|
(QueryTableFrame.doExport): Helper function that saves the |
53 |
|
entire table, or selected rows, to a file. |
54 |
|
(QueryTableFrame.OnExport, QueryTableFrame.OnExportSel): New. |
55 |
|
Respond to export button events and call doExport. |
56 |
|
|
57 |
|
* extensions/thuban/gdalwarp.cpp (ProjectRasterFile): Make sure |
58 |
|
the function doesn't return NULL without first setting a Python |
59 |
|
Error. |
60 |
|
|
61 |
|
* test/runtests.py (main): Only print "Unknown option" for |
62 |
|
unsupported options. |
63 |
|
|
64 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual): Take |
65 |
|
optional epsilon argument to specify floating point accuracy. |
66 |
|
(FloatComparisonMixin.assertFloatSeqEqual): Call assertFloatEqual |
67 |
|
for each item test. |
68 |
|
|
69 |
|
* test/test_csv_table.py (TestCSVTable.test_table_to_cvs): Add |
70 |
|
tests for saving selected records. |
71 |
|
|
72 |
|
* test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add |
73 |
|
tests for saving selected records. |
74 |
|
|
75 |
|
* test/test_map.py (TestMapWithContents.test_set_projection): |
76 |
|
MAP_PROJECTION_CHANGED events send the old projection. |
77 |
|
|
78 |
|
* test/test_session.py |
79 |
|
(TestSessionWithContent.test_forward_map_projection): |
80 |
|
MAP_PROJECTION_CHANGED events send the old projection. |
81 |
|
|
82 |
|
* test/test_table.py (TableTest): Update tests to use non-deprecated |
83 |
|
functions. |
84 |
|
|
85 |
2003-07-08 Bernhard Herzog <[email protected]> |
2003-07-08 Bernhard Herzog <[email protected]> |
86 |
|
|
87 |
* Thuban/Model/transientdb.py (TransientTableBase.Width): The type |
* Thuban/Model/transientdb.py (TransientTableBase.Width): The type |