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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26