/[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 1699 by bh, Mon Sep 1 16:26:44 2003 UTC revision 1783 by bh, Mon Oct 6 17:32:31 2003 UTC
# Line 1  Line 1 
1    2003-10-06  Bernhard Herzog  <[email protected]>
2    
3            Handle the title changes in a proper MVC way.
4    
5            * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
6            canvas' TITLE_CHANGED messages
7            (MainWindow.update_title): New. Update the main window's title
8            (MainWindow.__SetTitle): Removed. Use update_title instead.
9            (MainWindow.SetMap): Use update_title instead of __SetTitle
10            (MainWindow.RenameMap): Do change the window title explicitly
11            here. That's handled in a proper MVC way now.
12            (MainWindow.title_changed): New. Subscriber for the TITLE_CHANGED
13            messages
14    
15            * Thuban/Lib/connector.py (Conduit): New class to help classes
16            that forward messages
17    
18            * Thuban/UI/viewport.py: Forward the map's TITLE_CHANGED messages
19            (ViewPort): Derive from Conduit instead of Publisher
20            (ViewPort.Subscribe, ViewPort.Unsubscribe): Use the new base class
21            when calling the inherited versions
22            (ViewPort._subscribe_map, ViewPort._unsubscribe_map): New helper
23            methods to subscribe and unsubscribe map messages
24            (ViewPort.SetMap, ViewPort.Destroy): Use the new helper methods to
25            handle the map subscriptions
26            (ViewPort.Map, ViewPort.map_projection_changed)
27            (ViewPort.layer_projection_changed): Add or update doc-strings
28    
29            * test/test_connector.py (TestPublisher.test_issue_simple): Fix
30            typo
31            (MyConduit): Helper class for the Conduit test.
32            (TestConduit): Test cases for Conduit
33    
34            * test/test_connector.py: Use support.run_tests as main.
35    
36            * test/test_viewport.py (ViewPortTest.setUp): Also subscribe to
37            the TITLE_CHANGED messages
38            (ViewPortTest.test_forwarding_title_changed): New test to check
39            whether the viewport forwards the map's TITLE_CHANGED messages
40            (TestViewportWithPostGIS.tearDown): Call the map's Destroy method
41            after the port's because the latter may require a still functional
42            map.
43    
44    2003-10-06  Bernhard Herzog  <[email protected]>
45    
46            * Thuban/UI/application.py (ThubanApplication.maps_changed): Add
47            doc-string
48    
49    2003-10-06  Bernhard Herzog  <[email protected]>
50    
51            * test/test_viewport.py (ViewPortTest.setUp)
52            (SimpleViewPortTest.test_init_with_size): Move the test for the
53            initial size as a constructor parameter from ViewPortTest.setUp
54            method to a new separate test in SimpleViewPortTest.
55    
56    2003-10-06  Bernhard Herzog  <[email protected]>
57    
58            * test/test_viewport.py (MockView): New class derived from
59            ViewPort with a mock implementation of GetTextExtent to be used in
60            the test cases
61            (ViewPortTest.setUp): Use MockView instead of ViewPort
62    
63            * Thuban/UI/viewport.py (ViewPort.GetTextExtent): Turn this method
64            into what would be a "pure virtual function" in C++: always raise
65            NotImplementedError. Mock implementations for test cases don't
66            belong into the real code
67    
68    2003-10-02  Bernhard Herzog  <[email protected]>
69    
70            * test/test_layer.py (TestLayer.test_empty_layer): Explicitly
71            close the dbf file we create so that it's contents have been
72            written properly.
73    
74            * libraries/shapelib/shptree.c, libraries/shapelib/shpopen.c,
75            libraries/shapelib/shapefil.h, libraries/shapelib/dbfopen.c:
76            Update to shapelib 1.2.10
77    
78    2003-10-01  Jan-Oliver Wagner <[email protected]>
79    
80            * Thuban/UI/tree.py, Thuban/UI/main.py: Remove the #! line as
81            it annoys lintian which warns about these files not being
82            executable. The #! isn't necessary here since if you absolutely
83            must execute them you can always say "python <filename>".
84    
85    2003-09-26  Bernhard Herzog  <[email protected]>
86    
87            * Thuban/Model/classgen.py (GenQuantiles0): Removed since it's
88            only used in GREAT-ER but not used in Thuban itself. When GREAT-ER
89            is ported to a newer the import will fail, so it should be noticed
90            immediately that this function is gone.
91            Fixes RT#1919
92    
93    2003-09-26  Bernhard Herzog  <[email protected]>
94    
95            Add a DTD for the projection files and make thuban write valid
96            projection files
97    
98            * Resources/XML/projfile.dtd: New. DTD for thuban's projection
99            files
100    
101            * Thuban/Model/resource.py (ProjFileSaver.write): Use
102            'projectionlist' as the name in the document type declaration so
103            that it matches the element type of the root element.
104    
105            * test/test_proj.py (sample_projfile, sample_projfile2): Use
106            'projectionlist' as the name in the document type declaration just
107            as it is done now in the files thuban would write
108            (sample_projfile, sample_projfile_data): Fix spelling of
109            "Mercator"
110            (TestProjFile.doTestWrite): Validate the written and the expected
111            XML data
112            (TestProjFile): Derive from ValidationTest so that we can run xml
113            validation tests
114    
115    2003-09-24  Bernhard Herzog  <[email protected]>
116    
117            * Thuban/UI/renderer.py (ExportRenderer.render_legend): Do not
118            modify the list returned by map.Layers() in place since it is the
119            actual list of layers used by the map.
120    
121    2003-09-23  Jan-Oliver Wagner <[email protected]>
122    
123            * Doc/manual/thuban-manual.xml: Added subsection to chapter
124            Extensions to describe the extensions coming with the Thuban
125            standard package (gns2shp and importAPR).
126    
127    2003-09-23  Bernhard Herzog  <[email protected]>
128    
129            * libraries/thuban/wxproj.cpp (project_point): if there's an
130            inverse but no forward projection, convert to degrees after
131            applying the inverse projection. Fixes RT#2096
132    
133            * test/test_wxproj.py: New. Test cases for wxproj.so. One test
134            implicitly tests for the fix to RT#2096
135    
136            * test/support.py (FloatComparisonMixin.assertFloatSeqEqual):
137            Check that the sequences have the same lengths
138    
139            * Resources/Projections/defaults.proj (Geographic projection): Use
140            a much more precise value for the to_meter attribute.
141    
142    2003-09-22  Bernhard Herzog  <[email protected]>
143    
144            * test/support.py (initthuban): Make sure to unset the LANG env.
145            var. so that tests that compare translated strings work. Solves RT
146            #2094
147    
148    2003-09-22  Jan-Oliver Wagner <[email protected]>
149    
150            Small improvement of APR import.
151    
152            * Extensions/importAPR/test/test_apr.py (aprTest.test_LClass):
153            Added tests for text-ranges.
154    
155            * Extensions/importAPR/apr.py (APR_LClass.GetThubanRange): Now
156            returns a string object if the range is based on text.
157    
158            * Extensions/importAPR/importAPR.py (import_apr_dialog): Unified
159            range retrieval.
160    
161    2003-09-22  Jan-Oliver Wagner <[email protected]>
162    
163            Initial version of the importAPR extension which is in
164            experimental state.
165    
166            * /Extensions/importAPR/, /Extensions/importAPR/samples/,
167            /Extensions/importAPR/test/: New directories.
168    
169            * /Extensions/importAPR/samples/README: New: Howto load the samples.
170    
171            * /Extensions/importAPR/samples/iceland.apr: New: A sample APR
172            file which refers to the Thuban Iceland demo data.
173    
174            * /Extensions/importAPR/test/README: New: Howto execute the tests.
175    
176            * /Extensions/importAPR/test/test_apr.py: New: Tests for APR classes.
177    
178            * /Extensions/importAPR/apr.py: New: Classes for ArcView Objects
179            as in '.apr'-files.
180    
181            * /Extensions/importAPR/odb.py: New: Classes for generic ArcView
182            ODB Objects as in '.apr', '.avl' and other files.
183    
184            * /Extensions/importAPR/__init__.py: New: Init to make this
185            directory a package.
186    
187            * /Extensions/importAPR/importAPR.py: New: Import a ArcView
188            project file (.apr) and convert it to Thuban.
189    
190    2003-09-22  Jan-Oliver Wagner <[email protected]>
191    
192            * Extensions/gns2shp.gns2shp.py: The main module of gns2shp.
193    
194    2003-09-19  Jan-Oliver Wagner <[email protected]>
195    
196            * Doc/manual/thuban-manual.xml: Extended section 'Installation'
197            with description on RPM installation and RPM binary package
198            creation.
199    
200    2003-09-18  Bernhard Herzog  <[email protected]>
201    
202            * setup.py (data_files): Only add the mo files if the Locales
203            directory actually exists, so that setup.py works with a fresh CVS
204            checkout
205    
206    2003-09-12  Jan-Oliver Wagner <[email protected]>
207    
208            * Examples/simple_extensions/simple_tool.py: bugfix: Tool is now
209            in viewport, not anymore in view
210    
211    2003-09-04  Jan-Oliver Wagner <[email protected]>
212    
213            Introducing first Extension (gns2shp).
214    
215            * Extensions, Extensions/gns2shp, Extensions/gns2shp/test: New.
216    
217            * Extensions/__init__.py: New. init to make this dir a package.
218    
219            * Extensions/gns2shp/__init__.py: New. init to make this dir a package.
220    
221            * Extensions/gns2shp/test/README: New. some info on this test directory.
222    
223            * Extensions/gns2shp/test/ls.txt: New. test data set (Liechtenstein).
224    
225            * Extensions/gns2shp/test/test_gns2shp.py: New. Test for correct creation
226            of Shapefile from GNS text file format
227    
228    2003-09-03  Jan-Oliver Wagner <[email protected]>
229    
230            Fix/workaround for bug #2019:
231            https://intevation.de/rt/webrt?serial_num=2019
232    
233            * Thuban/UI/identifyview.py (IdentifyView.ID_STOP): New.
234            (IdentifyView.__init__): Added another button that allows to
235            stop the identify mode.
236            (IdentifyView.OnStop): New. Stops the identify mode.
237    
238    2003-09-03  Jan-Oliver Wagner <[email protected]>
239    
240            Introducing a new exception dialog that allows to exit the
241            application immediately.
242            This fixes bug #2060: https://intevation.de/rt/webrt?serial_num=2060
243    
244            * Thuban/UI/exceptiondialog.py: New. A special exception dialog.
245    
246            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
247            Made strings available to translations. Exchanged the simple
248            ScrolledMessageDialog by the new ExceptionDialog.
249    
250    2003-09-01  Bernhard Herzog  <[email protected]>
251    
252            * NEWS: New. Summary of changes and release notes.
253    
254            * MANIFEST.in: Add NEWS
255    
256  2003-09-01  Bernhard Herzog  <[email protected]>  2003-09-01  Bernhard Herzog  <[email protected]>
257    
258          * MANIFEST.in: Correct the include statement for the mo-files and          * MANIFEST.in: Correct the include statement for the mo-files and
# Line 1250  Line 1505 
1505    
1506          * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as          * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
1507          it annoys lintian which warns about these files not being          it annoys lintian which warns about these files not being
1508          executable. The #1 isn't necessary here since if you absolutely          executable. The #! isn't necessary here since if you absolutely
1509          must execute them you can always say "python <filename>".          must execute them you can always say "python <filename>".
1510    
1511          * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove          * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove

Legend:
Removed from v.1699  
changed lines
  Added in v.1783

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26