/[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 1760 by bh, Fri Sep 26 18:36:12 2003 UTC revision 1799 by bh, Thu Oct 9 10:17:59 2003 UTC
# Line 1  Line 1 
1    2003-10-09  Bernhard Herzog  <[email protected]>
2    
3            * test/test_proj.py
4            (TestProjection.test_get_parameter_without_equals_sign): New. Test
5            whether GetParameter handles parameters without "=" sign correctly
6    
7            * Thuban/Model/proj.py (Projection.GetParameter): Handle
8            parameters that do not contain a "=". Update the doc-string
9    
10    2003-10-08  Bernhard Herzog  <[email protected]>
11    
12            * Thuban/UI/projdialog.py (ProjFrame.__set_properties): Remove the
13            length limit on the projname text control
14    
15    2003-10-08  Bernhard Herzog  <[email protected]>
16    
17            * test/test_proj.py (TestProjection.test_get_projection_units_geo)
18            (TestProjection.test_get_projection_units_normal): New. Tests for
19            the Projection.GetProjectedUnits method
20    
21    2003-10-08  Jan-Oliver Wagner <[email protected]>
22    
23            * Thuban/Model/resource.py (get_user_proj_file): small bug-fix:
24            Added missing 'val' parameter.
25    
26    2003-10-08  Bernhard Herzog  <[email protected]>
27    
28            * Thuban/UI/projdialog.py (ProjFrame.__DoOnProjAvail): When the
29            projection type of the currently selected projection is not known,
30            i.e. there's no panel for it, use the UnknownProjPanel
31            (ProjFrame.__DoOnProjChoice, ProjFrame._show_proj_panel): Split
32            the actual replacing of the proj panel into the new method
33            _show_proj_panel.
34            (UnknownProjPanel): Add doc-string.
35            (UnknownProjPanel._DoLayout): Insert a newline into the text so
36            that the panel is not so wide.
37    
38    2003-10-08  Bernhard Herzog  <[email protected]>
39    
40            * Thuban/Model/resource.py (read_proj_file): Return the warnings
41            too. Update the doc-string
42            (get_proj_files): Removed. It wasn't used anywhere
43            (get_system_proj_files, get_system_proj_file): Rename to
44            get_system_proj_file and return the ProjFile object and not a list
45            of ProjFile objects. Update the callers.
46            (get_user_proj_files, get_user_proj_file): Rename to
47            get_user_proj_file return the ProjFile object and not a list of
48            ProjFile objects. Update the callers.
49            (ProjFileReader.__init__): New instance variable for the warnings.
50            Rename the __pf ivar to projfile. Update the methods referring to
51            __pf
52            (ProjFileReader.end_projection): Catch any errors raised when
53            instantiating the projection and record that as an error. The
54            projection will not be in the final ProjFile object.
55            (ProjFileReader.GetWarnings): New method to return the warnings.
56    
57            * Thuban/UI/projdialog.py (ProjFrame.show_warnings): New method to
58            show the warnings from the projfile reader
59            (ProjFrame._OnImport): Deal with any warnings returned by
60            read_proj_file
61            (ProjFrame.__FillAvailList): Deal with any warnings returned by
62            get_system_proj_file or get_user_proj_file.
63    
64            * test/test_proj.py (TestProjFile.doTestRead): Check the warnings.
65            (TestProjFileWithInvalidParameters.file_contents): New test cases
66            to test whether read_proj_file handles invalid projection
67            parameters correctly
68            (TestProjFile.test_get_system_proj_file): New. Simple test for
69            resource.get_system_proj_file
70    
71    2003-10-07  Bernhard Herzog  <[email protected]>
72    
73            * test/test_derivedshapestore.py
74            (TestDerivedShapeStoreExceptions.tearDown): Clear the session
75            properly so that the temporary directories get deleted correctly
76    
77    2003-10-06  Bernhard Herzog  <[email protected]>
78    
79            Handle the title changes in a proper MVC way.
80    
81            * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
82            canvas' TITLE_CHANGED messages
83            (MainWindow.update_title): New. Update the main window's title
84            (MainWindow.__SetTitle): Removed. Use update_title instead.
85            (MainWindow.SetMap): Use update_title instead of __SetTitle
86            (MainWindow.RenameMap): Do change the window title explicitly
87            here. That's handled in a proper MVC way now.
88            (MainWindow.title_changed): New. Subscriber for the TITLE_CHANGED
89            messages
90    
91            * Thuban/Lib/connector.py (Conduit): New class to help classes
92            that forward messages
93    
94            * Thuban/UI/viewport.py: Forward the map's TITLE_CHANGED messages
95            (ViewPort): Derive from Conduit instead of Publisher
96            (ViewPort.Subscribe, ViewPort.Unsubscribe): Use the new base class
97            when calling the inherited versions
98            (ViewPort._subscribe_map, ViewPort._unsubscribe_map): New helper
99            methods to subscribe and unsubscribe map messages
100            (ViewPort.SetMap, ViewPort.Destroy): Use the new helper methods to
101            handle the map subscriptions
102            (ViewPort.Map, ViewPort.map_projection_changed)
103            (ViewPort.layer_projection_changed): Add or update doc-strings
104    
105            * test/test_connector.py (TestPublisher.test_issue_simple): Fix
106            typo
107            (MyConduit): Helper class for the Conduit test.
108            (TestConduit): Test cases for Conduit
109    
110            * test/test_connector.py: Use support.run_tests as main.
111    
112            * test/test_viewport.py (ViewPortTest.setUp): Also subscribe to
113            the TITLE_CHANGED messages
114            (ViewPortTest.test_forwarding_title_changed): New test to check
115            whether the viewport forwards the map's TITLE_CHANGED messages
116            (TestViewportWithPostGIS.tearDown): Call the map's Destroy method
117            after the port's because the latter may require a still functional
118            map.
119    
120    2003-10-06  Bernhard Herzog  <[email protected]>
121    
122            * Thuban/UI/application.py (ThubanApplication.maps_changed): Add
123            doc-string
124    
125    2003-10-06  Bernhard Herzog  <[email protected]>
126    
127            * test/test_viewport.py (ViewPortTest.setUp)
128            (SimpleViewPortTest.test_init_with_size): Move the test for the
129            initial size as a constructor parameter from ViewPortTest.setUp
130            method to a new separate test in SimpleViewPortTest.
131    
132    2003-10-06  Bernhard Herzog  <[email protected]>
133    
134            * test/test_viewport.py (MockView): New class derived from
135            ViewPort with a mock implementation of GetTextExtent to be used in
136            the test cases
137            (ViewPortTest.setUp): Use MockView instead of ViewPort
138    
139            * Thuban/UI/viewport.py (ViewPort.GetTextExtent): Turn this method
140            into what would be a "pure virtual function" in C++: always raise
141            NotImplementedError. Mock implementations for test cases don't
142            belong into the real code
143    
144    2003-10-02  Bernhard Herzog  <[email protected]>
145    
146            * test/test_layer.py (TestLayer.test_empty_layer): Explicitly
147            close the dbf file we create so that it's contents have been
148            written properly.
149    
150            * libraries/shapelib/shptree.c, libraries/shapelib/shpopen.c,
151            libraries/shapelib/shapefil.h, libraries/shapelib/dbfopen.c:
152            Update to shapelib 1.2.10
153    
154    2003-10-01  Jan-Oliver Wagner <[email protected]>
155    
156            * Thuban/UI/tree.py, Thuban/UI/main.py: Remove the #! line as
157            it annoys lintian which warns about these files not being
158            executable. The #! isn't necessary here since if you absolutely
159            must execute them you can always say "python <filename>".
160    
161  2003-09-26  Bernhard Herzog  <[email protected]>  2003-09-26  Bernhard Herzog  <[email protected]>
162    
163          * Thuban/Model/classgen.py (GenQuantiles0): Removed since it's          * Thuban/Model/classgen.py (GenQuantiles0): Removed since it's
# Line 1421  Line 1581 
1581    
1582          * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as          * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
1583          it annoys lintian which warns about these files not being          it annoys lintian which warns about these files not being
1584          executable. The #1 isn't necessary here since if you absolutely          executable. The #! isn't necessary here since if you absolutely
1585          must execute them you can always say "python <filename>".          must execute them you can always say "python <filename>".
1586    
1587          * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove          * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove

Legend:
Removed from v.1760  
changed lines
  Added in v.1799

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26