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

Legend:
Removed from v.1705  
changed lines
  Added in v.1807

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26