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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26