/[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 1707 by jan, Wed Sep 3 08:31:50 2003 UTC revision 1794 by bh, Wed Oct 8 16:04:12 2003 UTC
# Line 1  Line 1 
1    2003-10-08  Bernhard Herzog  <[email protected]>
2    
3            * test/test_proj.py (TestProjection.test_get_projection_units_geo)
4            (TestProjection.test_get_projection_units_normal): New. Tests for
5            the Projection.GetProjectedUnits method
6    
7    2003-10-08  Jan-Oliver Wagner <[email protected]>
8    
9            * Thuban/Model/resource.py (get_user_proj_file): small bug-fix:
10            Added missing 'val' parameter.
11    
12    2003-10-08  Bernhard Herzog  <[email protected]>
13    
14            * Thuban/UI/projdialog.py (ProjFrame.__DoOnProjAvail): When the
15            projection type of the currently selected projection is not known,
16            i.e. there's no panel for it, use the UnknownProjPanel
17            (ProjFrame.__DoOnProjChoice, ProjFrame._show_proj_panel): Split
18            the actual replacing of the proj panel into the new method
19            _show_proj_panel.
20            (UnknownProjPanel): Add doc-string.
21            (UnknownProjPanel._DoLayout): Insert a newline into the text so
22            that the panel is not so wide.
23    
24    2003-10-08  Bernhard Herzog  <[email protected]>
25    
26            * Thuban/Model/resource.py (read_proj_file): Return the warnings
27            too. Update the doc-string
28            (get_proj_files): Removed. It wasn't used anywhere
29            (get_system_proj_files, get_system_proj_file): Rename to
30            get_system_proj_file and return the ProjFile object and not a list
31            of ProjFile objects. Update the callers.
32            (get_user_proj_files, get_user_proj_file): Rename to
33            get_user_proj_file return the ProjFile object and not a list of
34            ProjFile objects. Update the callers.
35            (ProjFileReader.__init__): New instance variable for the warnings.
36            Rename the __pf ivar to projfile. Update the methods referring to
37            __pf
38            (ProjFileReader.end_projection): Catch any errors raised when
39            instantiating the projection and record that as an error. The
40            projection will not be in the final ProjFile object.
41            (ProjFileReader.GetWarnings): New method to return the warnings.
42    
43            * Thuban/UI/projdialog.py (ProjFrame.show_warnings): New method to
44            show the warnings from the projfile reader
45            (ProjFrame._OnImport): Deal with any warnings returned by
46            read_proj_file
47            (ProjFrame.__FillAvailList): Deal with any warnings returned by
48            get_system_proj_file or get_user_proj_file.
49    
50            * test/test_proj.py (TestProjFile.doTestRead): Check the warnings.
51            (TestProjFileWithInvalidParameters.file_contents): New test cases
52            to test whether read_proj_file handles invalid projection
53            parameters correctly
54            (TestProjFile.test_get_system_proj_file): New. Simple test for
55            resource.get_system_proj_file
56    
57    2003-10-07  Bernhard Herzog  <[email protected]>
58    
59            * test/test_derivedshapestore.py
60            (TestDerivedShapeStoreExceptions.tearDown): Clear the session
61            properly so that the temporary directories get deleted correctly
62    
63    2003-10-06  Bernhard Herzog  <[email protected]>
64    
65            Handle the title changes in a proper MVC way.
66    
67            * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
68            canvas' TITLE_CHANGED messages
69            (MainWindow.update_title): New. Update the main window's title
70            (MainWindow.__SetTitle): Removed. Use update_title instead.
71            (MainWindow.SetMap): Use update_title instead of __SetTitle
72            (MainWindow.RenameMap): Do change the window title explicitly
73            here. That's handled in a proper MVC way now.
74            (MainWindow.title_changed): New. Subscriber for the TITLE_CHANGED
75            messages
76    
77            * Thuban/Lib/connector.py (Conduit): New class to help classes
78            that forward messages
79    
80            * Thuban/UI/viewport.py: Forward the map's TITLE_CHANGED messages
81            (ViewPort): Derive from Conduit instead of Publisher
82            (ViewPort.Subscribe, ViewPort.Unsubscribe): Use the new base class
83            when calling the inherited versions
84            (ViewPort._subscribe_map, ViewPort._unsubscribe_map): New helper
85            methods to subscribe and unsubscribe map messages
86            (ViewPort.SetMap, ViewPort.Destroy): Use the new helper methods to
87            handle the map subscriptions
88            (ViewPort.Map, ViewPort.map_projection_changed)
89            (ViewPort.layer_projection_changed): Add or update doc-strings
90    
91            * test/test_connector.py (TestPublisher.test_issue_simple): Fix
92            typo
93            (MyConduit): Helper class for the Conduit test.
94            (TestConduit): Test cases for Conduit
95    
96            * test/test_connector.py: Use support.run_tests as main.
97    
98            * test/test_viewport.py (ViewPortTest.setUp): Also subscribe to
99            the TITLE_CHANGED messages
100            (ViewPortTest.test_forwarding_title_changed): New test to check
101            whether the viewport forwards the map's TITLE_CHANGED messages
102            (TestViewportWithPostGIS.tearDown): Call the map's Destroy method
103            after the port's because the latter may require a still functional
104            map.
105    
106    2003-10-06  Bernhard Herzog  <[email protected]>
107    
108            * Thuban/UI/application.py (ThubanApplication.maps_changed): Add
109            doc-string
110    
111    2003-10-06  Bernhard Herzog  <[email protected]>
112    
113            * test/test_viewport.py (ViewPortTest.setUp)
114            (SimpleViewPortTest.test_init_with_size): Move the test for the
115            initial size as a constructor parameter from ViewPortTest.setUp
116            method to a new separate test in SimpleViewPortTest.
117    
118    2003-10-06  Bernhard Herzog  <[email protected]>
119    
120            * test/test_viewport.py (MockView): New class derived from
121            ViewPort with a mock implementation of GetTextExtent to be used in
122            the test cases
123            (ViewPortTest.setUp): Use MockView instead of ViewPort
124    
125            * Thuban/UI/viewport.py (ViewPort.GetTextExtent): Turn this method
126            into what would be a "pure virtual function" in C++: always raise
127            NotImplementedError. Mock implementations for test cases don't
128            belong into the real code
129    
130    2003-10-02  Bernhard Herzog  <[email protected]>
131    
132            * test/test_layer.py (TestLayer.test_empty_layer): Explicitly
133            close the dbf file we create so that it's contents have been
134            written properly.
135    
136            * libraries/shapelib/shptree.c, libraries/shapelib/shpopen.c,
137            libraries/shapelib/shapefil.h, libraries/shapelib/dbfopen.c:
138            Update to shapelib 1.2.10
139    
140    2003-10-01  Jan-Oliver Wagner <[email protected]>
141    
142            * Thuban/UI/tree.py, Thuban/UI/main.py: Remove the #! line as
143            it annoys lintian which warns about these files not being
144            executable. The #! isn't necessary here since if you absolutely
145            must execute them you can always say "python <filename>".
146    
147    2003-09-26  Bernhard Herzog  <[email protected]>
148    
149            * Thuban/Model/classgen.py (GenQuantiles0): Removed since it's
150            only used in GREAT-ER but not used in Thuban itself. When GREAT-ER
151            is ported to a newer the import will fail, so it should be noticed
152            immediately that this function is gone.
153            Fixes RT#1919
154    
155    2003-09-26  Bernhard Herzog  <[email protected]>
156    
157            Add a DTD for the projection files and make thuban write valid
158            projection files
159    
160            * Resources/XML/projfile.dtd: New. DTD for thuban's projection
161            files
162    
163            * Thuban/Model/resource.py (ProjFileSaver.write): Use
164            'projectionlist' as the name in the document type declaration so
165            that it matches the element type of the root element.
166    
167            * test/test_proj.py (sample_projfile, sample_projfile2): Use
168            'projectionlist' as the name in the document type declaration just
169            as it is done now in the files thuban would write
170            (sample_projfile, sample_projfile_data): Fix spelling of
171            "Mercator"
172            (TestProjFile.doTestWrite): Validate the written and the expected
173            XML data
174            (TestProjFile): Derive from ValidationTest so that we can run xml
175            validation tests
176    
177    2003-09-24  Bernhard Herzog  <[email protected]>
178    
179            * Thuban/UI/renderer.py (ExportRenderer.render_legend): Do not
180            modify the list returned by map.Layers() in place since it is the
181            actual list of layers used by the map.
182    
183    2003-09-23  Jan-Oliver Wagner <[email protected]>
184    
185            * Doc/manual/thuban-manual.xml: Added subsection to chapter
186            Extensions to describe the extensions coming with the Thuban
187            standard package (gns2shp and importAPR).
188    
189    2003-09-23  Bernhard Herzog  <[email protected]>
190    
191            * libraries/thuban/wxproj.cpp (project_point): if there's an
192            inverse but no forward projection, convert to degrees after
193            applying the inverse projection. Fixes RT#2096
194    
195            * test/test_wxproj.py: New. Test cases for wxproj.so. One test
196            implicitly tests for the fix to RT#2096
197    
198            * test/support.py (FloatComparisonMixin.assertFloatSeqEqual):
199            Check that the sequences have the same lengths
200    
201            * Resources/Projections/defaults.proj (Geographic projection): Use
202            a much more precise value for the to_meter attribute.
203    
204    2003-09-22  Bernhard Herzog  <[email protected]>
205    
206            * test/support.py (initthuban): Make sure to unset the LANG env.
207            var. so that tests that compare translated strings work. Solves RT
208            #2094
209    
210    2003-09-22  Jan-Oliver Wagner <[email protected]>
211    
212            Small improvement of APR import.
213    
214            * Extensions/importAPR/test/test_apr.py (aprTest.test_LClass):
215            Added tests for text-ranges.
216    
217            * Extensions/importAPR/apr.py (APR_LClass.GetThubanRange): Now
218            returns a string object if the range is based on text.
219    
220            * Extensions/importAPR/importAPR.py (import_apr_dialog): Unified
221            range retrieval.
222    
223    2003-09-22  Jan-Oliver Wagner <[email protected]>
224    
225            Initial version of the importAPR extension which is in
226            experimental state.
227    
228            * /Extensions/importAPR/, /Extensions/importAPR/samples/,
229            /Extensions/importAPR/test/: New directories.
230    
231            * /Extensions/importAPR/samples/README: New: Howto load the samples.
232    
233            * /Extensions/importAPR/samples/iceland.apr: New: A sample APR
234            file which refers to the Thuban Iceland demo data.
235    
236            * /Extensions/importAPR/test/README: New: Howto execute the tests.
237    
238            * /Extensions/importAPR/test/test_apr.py: New: Tests for APR classes.
239    
240            * /Extensions/importAPR/apr.py: New: Classes for ArcView Objects
241            as in '.apr'-files.
242    
243            * /Extensions/importAPR/odb.py: New: Classes for generic ArcView
244            ODB Objects as in '.apr', '.avl' and other files.
245    
246            * /Extensions/importAPR/__init__.py: New: Init to make this
247            directory a package.
248    
249            * /Extensions/importAPR/importAPR.py: New: Import a ArcView
250            project file (.apr) and convert it to Thuban.
251    
252    2003-09-22  Jan-Oliver Wagner <[email protected]>
253    
254            * Extensions/gns2shp.gns2shp.py: The main module of gns2shp.
255    
256    2003-09-19  Jan-Oliver Wagner <[email protected]>
257    
258            * Doc/manual/thuban-manual.xml: Extended section 'Installation'
259            with description on RPM installation and RPM binary package
260            creation.
261    
262    2003-09-18  Bernhard Herzog  <[email protected]>
263    
264            * setup.py (data_files): Only add the mo files if the Locales
265            directory actually exists, so that setup.py works with a fresh CVS
266            checkout
267    
268    2003-09-12  Jan-Oliver Wagner <[email protected]>
269    
270            * Examples/simple_extensions/simple_tool.py: bugfix: Tool is now
271            in viewport, not anymore in view
272    
273    2003-09-04  Jan-Oliver Wagner <[email protected]>
274    
275            Introducing first Extension (gns2shp).
276    
277            * Extensions, Extensions/gns2shp, Extensions/gns2shp/test: New.
278    
279            * Extensions/__init__.py: New. init to make this dir a package.
280    
281            * Extensions/gns2shp/__init__.py: New. init to make this dir a package.
282    
283            * Extensions/gns2shp/test/README: New. some info on this test directory.
284    
285            * Extensions/gns2shp/test/ls.txt: New. test data set (Liechtenstein).
286    
287            * Extensions/gns2shp/test/test_gns2shp.py: New. Test for correct creation
288            of Shapefile from GNS text file format
289    
290  2003-09-03  Jan-Oliver Wagner <[email protected]>  2003-09-03  Jan-Oliver Wagner <[email protected]>
291    
292          Fix/workaround for bug #2019:          Fix/workaround for bug #2019:
# Line 1278  Line 1567 
1567    
1568          * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as          * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
1569          it annoys lintian which warns about these files not being          it annoys lintian which warns about these files not being
1570          executable. The #1 isn't necessary here since if you absolutely          executable. The #! isn't necessary here since if you absolutely
1571          must execute them you can always say "python <filename>".          must execute them you can always say "python <filename>".
1572    
1573          * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove          * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove

Legend:
Removed from v.1707  
changed lines
  Added in v.1794

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26