/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1380 by bh, Tue Jul 8 13:23:31 2003 UTC revision 1418 by bh, Tue Jul 15 08:44:20 2003 UTC
# Line 1  Line 1 
1    2003-07-15  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/save.py (SessionSaver.write_classification): Encode
4            string values (in addition to the labels) as UTF 8
5    
6            * Thuban/Model/load.py (SessionLoader.start_clpoint): Decode the
7            values if the field type is string
8    
9            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Test
10            saving a session with non-ascii string classification values.
11    
12            * test/test_load.py (TestClassification.file_contents)
13            (TestClassification.test): Check for non-ascii values in string
14            classifications
15    
16    2003-07-14  Jonathan Coles   <[email protected]>
17    
18            * test/test_view.py: New. Tests for ViewPort.
19    
20    2003-07-14  Frank Koormann   <[email protected]>
21    
22            * Thuban/Model/load.py (SessionLoader.start_map): Encode map
23            title to latin1.  Fixes https://intevation.de/rt/webrt?serial_num=2013
24    
25            * test/test_load_0_8.py (TestUnicodeStrings): New, test load of
26            unicode strings from session file: session title, map title and
27            projection name.
28            
29    2003-07-10  Jonathan Coles   <[email protected]>
30    
31            * Thuban/UI/viewport.py (Tool.MouseUp): Should have called
32            drag_stop, not drag_move when the mouse is released.
33    
34    2003-07-10  Jonathan Coles   <[email protected]>
35    
36            The most important part of this is the seperation of view.py into
37            two pieces. viewport.py now has a class called ViewPort which
38            contains all the non-wx parts of view.py and can therefore be
39            tested. view.py contains only the wx-specific parts and is fairly
40            simple.
41    
42            * Thuban/UI/view.py: Stripped out all non-wx functionality. Fixes
43            RTTbug #1992.
44            * Thuban/UI/viewport.py: New. Contains non-wx view functionality.
45            RTTbug #1992.
46    
47            * Thuban/Model/classgen.py (generate_singletons,
48            generate_uniform_distribution, generate_quantiles):
49            Added 'fixes' parameter so that property attributes can
50            be held constant over the generated classification groups.
51            (CustomRamp.GetProperties): Remove unused variables.
52    
53            * Thuban/Model/map.py (Map.SetProjection): Send the old
54            projection as an argument to listeners of the MAP_PROJECTION_CHANGED
55            event.
56    
57            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Added 'records'
58            parameter which is a list of records that restricts which
59            records are saved. Fixes RTbug #1997.
60    
61            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
62            Port exception dialog from GREAT-ER. Fixes RTbug #1993.
63    
64            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Add controls
65            to allow the user to fix line color/width on generated groups.
66            (ClassGenDialog.OnOK): Use new 'fixes' parameter of the generate_*
67            functions to optionally fix group properties.
68    
69            * Thuban/UI/main.py (main): Set exception hook to the
70            ShowExceptionDialog. Fixes RTbug #1993.
71    
72            * Thuban/UI/mainwindow.py (MainWindow.ShowTableView): Raise
73            the table window when it is selectd to be shown.
74    
75            * Thuban/UI/tableview.py (QueryTableFrame.__init__): Add an
76            Export Selection button and move the export buttons underneath
77            the table.
78            (QueryTableFrame.UpdateStatusText): Added event argument so
79            that it can respond to grid selection events. The status text
80            is now updated even when the table is not associated with a
81            layer as was previously assumed.
82            (QueryTableFrame.OnGridSelectRange, OnGridSelectCell): Removed.
83            UpdateStatusText responds to these events.
84            (QueryTableFrame.OnSaveAs): Renamed to doExport.
85            (QueryTableFrame.doExport): Helper function that saves the
86            entire table, or selected rows, to a file.
87            (QueryTableFrame.OnExport, QueryTableFrame.OnExportSel): New.
88            Respond to export button events and call doExport.
89    
90            * extensions/thuban/gdalwarp.cpp (ProjectRasterFile): Make sure
91            the function doesn't return NULL without first setting a Python
92            Error.
93    
94            * test/runtests.py (main): Only print "Unknown option" for
95            unsupported options.
96    
97            * test/support.py (FloatComparisonMixin.assertFloatEqual): Take
98            optional epsilon argument to specify floating point accuracy.
99            (FloatComparisonMixin.assertFloatSeqEqual): Call assertFloatEqual
100            for each item test.
101    
102            * test/test_csv_table.py (TestCSVTable.test_table_to_cvs): Add
103            tests for saving selected records.
104    
105            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
106            tests for saving selected records.
107    
108            * test/test_map.py (TestMapWithContents.test_set_projection):
109            MAP_PROJECTION_CHANGED events send the old projection.
110    
111            * test/test_session.py
112            (TestSessionWithContent.test_forward_map_projection):
113            MAP_PROJECTION_CHANGED events send the old projection.
114    
115            * test/test_table.py (TableTest): Update tests to use non-deprecated
116            functions.
117    
118    2003-07-08  Bernhard Herzog  <[email protected]>
119    
120            * Thuban/Model/transientdb.py (TransientTableBase.Width): The type
121            constants in the column objects are the standard ones defined in
122            the table module.
123    
124            * test/test_transientdb.py
125            (TestTransientTable.test_transienttable_to_dbf): New. Test whether
126            exporting transient tables as DBF works. This should catch the bug
127            just fixed in TransientTableBase.Width.
128    
129  2003-07-08  Bernhard Herzog  <[email protected]>  2003-07-08  Bernhard Herzog  <[email protected]>
130    
131          * Thuban/Model/classgen.py (CustomRamp.GetProperties): Compute the          * Thuban/Model/classgen.py (CustomRamp.GetProperties): Compute the

Legend:
Removed from v.1380  
changed lines
  Added in v.1418

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26