/[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 1822 by bh, Tue Oct 14 13:54:19 2003 UTC revision 2055 by frank, Fri Feb 6 08:42:03 2004 UTC
# Line 1  Line 1 
1    2004-02-06  Frank Koormann  <[email protected]>
2    
3            * po/pt_BR.po: Fixed charset
4    
5    2004-02-05  Frank Koormann  <[email protected]>
6    
7            * po/pt_BR.po: Fixed format string for error message, missing %s
8            added (Thuban/UI/application.py:273)
9    
10    2004-02-03  Frank Koormann  <[email protected]>
11            
12            First version of Portuguese (Brazilian) translation
13    
14            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
15            Brazilian Portuguese by Eduardo Patto Kanegae.
16    
17            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
18            translators.
19    
20    
21    2004-01-22  Frank Koormann  <[email protected]>
22    
23            * Doc/manual/thuban-manual.xml: Added section on installation of
24            Thuban under Win32 systems. Fixed image path references in the postgis
25            section. Some minor source formattings.
26    
27    2004-01-21  Frank Koormann  <[email protected]>
28    
29            Make Thuban remember path selections (at least for one application run).
30    
31            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
32            attribute of application object. Path is a dictionary of
33            strings, currently with the items "data" and "projection".  
34            (Application.SetPath): New, stores path for the specified item.
35            (Application.Path): New, return path for the specified item.
36    
37            * Thuban/UI/mainwindow.py
38            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
39            MainWindow.AddLayer, MainWindow.AddRasterLayer,
40            MainWindow.TableOpen): Access "data" path information of the
41            application.
42            
43            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
44            Access "projection" path information of the application.
45    
46    2004-01-05  Bernhard Herzog  <[email protected]>
47    
48            * po/ru.po: Updated translations from Alex Shevlakov
49    
50    2004-01-05  Bernhard Herzog  <[email protected]>
51    
52            * po/Makefile, po/README: Move the description of how to generate
53            the translation statistics to the README.
54    
55    2003-12-23  Bernhard Herzog  <[email protected]>
56    
57            * NEWS: Update for 1.0.0
58    
59            * po/it.po: Another update from Maurizio Napolitano
60    
61    2003-12-23  Bernhard Herzog  <[email protected]>
62    
63            * po/it.po: Updated translation from Maurizio Napolitano
64    
65    2003-12-23  Bernhard Herzog  <[email protected]>
66    
67            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
68            for translation
69    
70            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
71            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
72            strings for translation
73    
74            * po/de.po: Update with the newly marked strings.
75    
76    2003-12-22  Bernhard Herzog  <[email protected]>
77    
78            * HOWTO-Release: Fix the places where version numbers have to be
79            updated
80    
81    2003-12-22  Bernhard Herzog  <[email protected]>
82    
83            * setup.py (setup call): 1.0.0, yeah!
84    
85            * Thuban/version.py (longversion): 1.0.0, yeah!
86    
87            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
88            1.0.0 namespace too
89    
90            * Thuban/Model/save.py (SessionSaver.write_session): Save with
91            1.0.0 namespace
92    
93            * test/test_load.py (LoadSessionTest.dtd)
94            (TestSingleLayer.file_contents)
95            (TestNonAsciiColumnName.file_contents)
96            (TestLayerVisibility.file_contents)
97            (TestClassification.file_contents, TestLabels.file_contents)
98            (TestLayerProjection.file_contents)
99            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
100            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
101            (TestPostGISLayerPassword.file_contents)
102            (TestLoadError.file_contents, TestLoadError.test): Update for
103            1.0.0 namespace
104    
105            * test/test_save.py (SaveSessionTest.dtd)
106            (SaveSessionTest.testEmptySession)
107            (SaveSessionTest.testSingleLayer)
108            (SaveSessionTest.testLayerProjection)
109            (SaveSessionTest.testRasterLayer)
110            (SaveSessionTest.testClassifiedLayer)
111            (SaveSessionTest.test_dbf_table)
112            (SaveSessionTest.test_joined_table)
113            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
114    
115    2003-12-22  Bernhard Herzog  <[email protected]>
116    
117            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
118            alignment flags are byte strings not unicode and that they have
119            valid values
120    
121            * test/test_load.py (TestLabelLayer): New. Test loading (and
122            indirectly saving) of maps with labels.
123    
124    2003-12-22  Bernhard Herzog  <[email protected]>
125    
126            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
127            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
128            unsubscribe all subscribers.
129            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
130            self.grid since it may already have been destroyed.
131            Fixes RT #2256
132    
133    2003-12-19  Bernhard Herzog  <[email protected]>
134    
135            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
136    
137    2003-12-16  Bernhard Herzog  <[email protected]>
138            
139            * debian/bitmappath.patch, debian/setup.py.patch:
140                    added to ensure compliance with FHS for debian
141            * debian/rules, debian/changelog:
142                added patches in rules to ensure compliance with FHS for debian
143    
144    2003-12-16  Bernhard Herzog  <[email protected]>
145    
146            * po/Makefile (mo): Make the output a bit nicer so that it prints
147            statistics about the translations. Add a comment how produce even
148            nicer statistics with sed.
149    
150    2003-12-09  Frank Koormann   <[email protected]>
151    
152            * Resources/Projections/defaults.proj:
153            French projection sample with correct accents (UNICODE).
154    
155    2003-12-05  Bernhard Herzog  <[email protected]>
156    
157            * MANIFEST.in: Add the devtools directory
158    
159            * setup.py (setup call): Use license instead of licence. This
160            silences a deprecation warning on Python 2.3
161    
162    2003-12-05  Frank Koormann   <[email protected]>
163    
164            Documentation synced with 1.0rc1
165    
166            * Doc/manual/thuban-manual.xml:
167            Minor formatting changes and references to database layers .
168            Introduction.Internationalization: New section on i18n.
169            MapManagement.AddingandRemovingLayers: Added item on database layers.  
170            MapManagement.TheLegend: Added section and screenshot on popup menu.
171            ProjectionManagement: Updated screenshot and sentence on EPSG.
172            Appendix.SupportedDataSources: Added PostGIS.
173            Appendix.WorkingwithPostGIS: New section.
174    
175            * Doc/manual/images/6_projection.png: Updated screenshot including
176            EPSG checkboxes.
177    
178            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
179    
180            * Doc/manual/images/app_postgis_add_layer.png,
181            Doc/manual/images/app_postgis_db_add.png,
182            Doc/manual/images/app_postgis_db_management.png:
183            New screenshots focussing on database layers
184    
185    2003-12-05  Frank Koormann   <[email protected]>
186    
187            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
188            write warning to stderr instead of rising a warning dialog
189    
190    2003-12-03  Bernhard Herzog  <[email protected]>
191    
192            Fix for RT #2243
193    
194            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
195            New. Like has_selected_layer but for shape layers only
196            (_has_selected_shape_layer): New. Like _has_selected_layer but for
197            shape layers only
198            (layer_show_table command, layer_jointable command): Use these
199            commands should only be available for shape layers
200    
201    2003-12-03  Bernhard Herzog  <[email protected]>
202    
203            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
204            publishers that are wx objects and may have been destroyed by wx
205            already. Fixes RT #2242.
206    
207    2003-12-03  Bernhard Herzog  <[email protected]>
208    
209            * po/ru.po: Updates from Alex Shevlakov
210    
211    2003-12-03  Silke Reimer <silkeintevation.de>
212    
213            * debian/control, debian/changelog: Added gdal-support to
214                    debian package, updated to new thuban version
215    
216    
217    2003-12-03  Bernhard Herzog  <[email protected]>
218    
219            * Thuban/Lib/version.py: New. Module for version number
220            manipulations. The version of make_tuple here also deals better
221            with more unusual version number strings, such as e.g.
222            "1.2+cvs20031111"
223    
224            * Thuban/version.py (make_tuple): Removed. It's now in
225            Thuban.Lib.version. Use that implementation instead.
226    
227            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
228    
229    2003-12-02  Bernhard Herzog  <[email protected]>
230    
231            * MANIFEST.in: Add debian files
232    
233            * setup.py (setup call): Add packages for the Extensions so that
234            they're installed too
235            (data_files): Add READMEs and sample data from some Extensions
236    
237            * NEWS: Add note about the extensions in binary packages
238    
239    2003-12-02  Bernhard Herzog  <[email protected]>
240    
241            * Thuban/Model/save.py (SessionSaver.write_session): Save files
242            with the thuban-1.0rc1
243    
244            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
245            thuban-1.0rc1 namespace too
246    
247            * test/test_save.py (SaveSessionTest.dtd)
248            (SaveSessionTest.testEmptySession)
249            (SaveSessionTest.testSingleLayer)
250            (SaveSessionTest.testLayerProjection)
251            (SaveSessionTest.testRasterLayer)
252            (SaveSessionTest.testClassifiedLayer)
253            (SaveSessionTest.test_dbf_table)
254            (SaveSessionTest.test_joined_table)
255            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
256            namespace
257    
258            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
259            namespace
260            (TestSingleLayer.file_contents)
261            (TestNonAsciiColumnName.file_contents)
262            (TestLayerVisibility.file_contents)
263            (TestClassification.file_contents, TestLabels.file_contents)
264            (TestLayerProjection.file_contents)
265            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
266            (TestPostGISLayer.file_contents)
267            (TestPostGISLayerPassword.file_contents)
268            (TestLoadError.file_contents, TestLoadError.test): Update to
269            thuban-1.0rc1 namespace
270    
271    2003-12-01  Bernhard Herzog  <[email protected]>
272    
273            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
274            nt to better match Intevation's current w32 setup
275    
276            * HOWTO-Release: Add note about updating MANIFEST.in
277    
278            * MANIFEST.in: Add the Extensions
279    
280            * NEWS: Update for 1.0rc1
281    
282    2003-12-01  Bernhard Herzog  <[email protected]>
283    
284            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
285            cards for the dialog so that shapefiles ending in all uppercase
286            SHP are listed too
287    
288    2003-11-28  Bernhard Herzog  <[email protected]>
289    
290            * Thuban/version.py (longversion): Update to 1.0rc1
291    
292            * setup.py (setup call): Update version to 1.0rc1. Use the
293            [email protected] email address as author email instead of my
294            personal one.
295    
296    2003-11-28  Bernhard Herzog  <[email protected]>
297    
298            * po/de.po: Update german translation.
299    
300    2003-11-28  Bernhard Herzog  <[email protected]>
301    
302            Unify the filenames stored in .thuban files so that the .thuban
303            files are more platform independend
304    
305            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
306            that they can be used on both windows and unix
307            (SessionSaver.prepare_filename): New. Handle all filename
308            transformations for filenames stored in the thuban file
309            (SessionSaver.write_data_containers, SessionSaver.write_layer):
310            Use prepare_filename
311    
312            * test/test_save.py (SaveSessionTest.testSingleLayer)
313            (SaveSessionTest.testLayerProjection)
314            (SaveSessionTest.testRasterLayer)
315            (SaveSessionTest.testClassifiedLayer)
316            (SaveSessionTest.test_dbf_table)
317            (SaveSessionTest.test_joined_table): Filenames are always stored
318            with slashes on all currently supported platforms so adapt all
319            tests to this
320    
321            * test/test_load.py (LoadSessionTest.filenames): With the new
322            filename scheme the filenames in the tests should be
323            understandable on all currently supported platforms so we turn
324            this into an empty list because we don't have to normalize them
325            anymore
326    
327    2003-11-28  Bernhard Herzog  <[email protected]>
328    
329            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
330            Add the ellipsoid to the projection since some Proj versions
331            complain if it's missing.
332    
333    2003-11-27  Bernhard Herzog  <[email protected]>
334    
335            Corect some bounding box projection problems
336    
337            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
338            version of ForwardBBox
339            (Projection._transform_bbox): New. common implementation of
340            ForwardBBox and InverseBBox
341            (Projection.ForwardBBox): Use _transform_bbox.
342    
343            * test/test_proj.py (TestProjection.test): Add test for
344            InverseBBox
345    
346            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
347            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
348            new InverseBBox method to determine the unprojected bounding box
349            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
350            bbox.
351    
352            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
353            Removed.
354            (TestLayer.test_arc_layer_with_projection): New. This test is
355            better able to test whether bounding boxes are projected correctly
356            than test_point_layer_with_projection
357    
358            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
359            InverseBBox to unproject bboxes
360    
361    2003-11-25  Bernhard Herzog  <[email protected]>
362    
363            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
364            source code.
365    
366    2003-11-25  Bernhard Herzog  <[email protected]>
367    
368            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
369            there for backwards compatibility and all code relying on that
370            should have been updated by now.
371    
372    2003-11-25  Bernhard Herzog  <[email protected]>
373    
374            * test/test_load.py (TestClassification.test): Add the missing
375            round trip test.
376            (TestClassification.file_contents): Update to the newest file
377            format
378    
379    2003-11-25  Bernhard Herzog  <[email protected]>
380    
381            Add very experimental (and possibly dangerous) extension to draw
382            polygons:
383    
384            * Extensions/drawshape/README: New. Brief installation
385            instructions
386    
387            * Extensions/drawshape/drawshape.py: New. Implementation of the
388            drawshape extensions
389    
390            * Extensions/drawshape/patch.diff: Patch to apply before the
391            extension can be used.
392    
393    2003-11-24  Bernhard Herzog  <[email protected]>
394    
395            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
396            (ShapefileStore.__init__): Factor opening the shapefile into a
397            separate method (the new _open_shapefile). This makes the code a
398            bit more readable but the real reason is that it makes some evil
399            hacks easier. :-)
400    
401    2003-11-24  Bernhard Herzog  <[email protected]>
402    
403            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
404            converter is specified for an attribute assume it's a string
405            containing only Latin1 characters. Update doc-string accordingly.
406            This change should fix many places where unicode objects might
407            accidentally enter Thuban.
408    
409            * test/test_load.py (TestNonAsciiColumnName): New test to check
410            what happens with column names in DBF files that contain non-ascii
411            characters
412    
413    2003-11-21  Bernhard Herzog  <[email protected]>
414    
415            Enable the experimental attribute editing again and introduce a
416            command line switch to actually activate it
417    
418            * Thuban/UI/main.py (options): New. Container for options set on
419            the commmand line
420            (main): Add the --enable-attribute-editing flag.
421    
422            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
423            editing is enabled use the grid ctrl which allows editing of the
424            values
425    
426            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
427            New. Just delegate this to the underlying table.
428    
429    2003-11-20  Bernhard Herzog  <[email protected]>
430    
431            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
432            Skip this test if run under non-posix systems since it only works
433            there
434    
435    2003-11-19  Bernhard Herzog  <[email protected]>
436    
437            * Thuban/Model/resource.py: Rework the way gdal support is
438            determined so that we can give a reason in the about why gdal is
439            not supported.
440            (gdal_support_status): New. Variable holding a string with the
441            reason for no gdal support
442    
443            * Thuban/UI/about.py (About.__init__): Add the reason why gdal is
444            not supported to the message
445    
446    2003-11-19  Bernhard Herzog  <[email protected]>
447    
448            Remove the old table interface and its test cases
449    
450            * Thuban/Model/table.py (OldTableInterfaceMixin): Removed.
451            (DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin
452            anymore
453    
454            * Thuban/Model/transientdb.py (TransientTableBase)
455            (AutoTransientTable): Do not derive from OldTableInterfaceMixin
456            anymore
457    
458            * test/test_table.py: Removed since the old interface it tests is
459            gone.
460    
461            * test/runtests.py (main): The old table interface is gone and
462            with it the deprecation warnings so remove the code that turns
463            these warnings into errors
464    
465    2003-11-19  Bernhard Herzog  <[email protected]>
466    
467            * test/test_table.py: Revert to revision 1.5 again. Changing the
468            tests to use the new table interface is completely wrong since the
469            whole purpose of the tests in this module is to test the old
470            interface.
471    
472    2003-11-18  Bernhard Herzog  <[email protected]>
473    
474            * Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters):
475            New. Test whether the connection matches a set of connection
476            parameters
477    
478            * Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string
479            (DBFrame.OnAdd): Use the new MatchesParameters method when looking
480            for existing connections with the same parameters and break out of
481            the loop correctly.
482    
483            * test/test_postgis_db.py (TestBriefDescription)
484            (TestPostGISSimple.test_brief_description): Rename
485            TestBriefDescription to TestPostGISSimple and the test method to
486            test_brief_description so that we can add more test methods.
487            (TestPostGISSimple.test_matches_parameters): New. Test the new
488            MatchesParameters method
489    
490    2003-11-18  Bernhard Herzog  <[email protected]>
491    
492            * Thuban/Lib/connector.py (Publisher): Introduce a new flag,
493            _was_destroyed, to indicate whether an publisher instance has
494            already been destroyed.
495            (Publisher.Unsubscribe): Only disconnect if the publisher has not
496            been destroyed yet.
497            (Publisher.Destroy): Set the _was_destroyed flag to true.
498    
499            * test/test_connector.py
500            (TestPublisher.test_unsubscribe_after_destroy): New. Test that
501            calling Unsubscribe after Destroy doesn't raise an exception
502    
503    2003-11-14  Bernhard Herzog  <[email protected]>
504    
505            * Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix
506            typo in doc-string
507    
508    2003-11-13  Bernhard Herzog  <[email protected]>
509    
510            Quote table and column names properly for postgis.
511    
512            * Thuban/Model/postgisdb.py (quote_identifier): New. Function to
513            quote an identifier for use in an sql statement
514            (PostGISColumn.__init__): Add the quoted_name attribute
515            (PostGISTable.__init__): New instance variable quoted_tablename
516            (PostGISTable._fetch_table_information): Use the quoted table
517            name. New isntance variable quoted_geo_col with a quoted version
518            of geometry_column
519            (PostGISTable.NumRows, PostGISTable.RowIdToOrdinal)
520            (PostGISTable.RowOrdinalToId): Use the quoted table name
521            (PostGISTable.ReadValue, PostGISTable.ValueRange)
522            (PostGISTable.UniqueValues, PostGISTable.SimpleQuery)
523            (PostGISShapeStore.BoundingBox, PostGISShapeStore.Shape)
524            (PostGISShapeStore.AllShapes, PostGISShapeStore.ShapesInRegion):
525            Use quoted table and column names
526    
527            * test/test_postgis_db.py (TestPostGISSpecialCases)
528            (TestPostGISIgnoredColumns): Rename the class to
529            TestPostGISSpecialCases because that better describes the new
530            cases
531            (TestPostGISSpecialCases.test_unsupported_types)
532            (TestPostGISSpecialCases.test): Rename the method to
533            test_unsupported_types because we need a more descriptive name now
534            that there are more methods
535            (TestPostGISSpecialCases.test_table_name_quoting)
536            (TestPostGISSpecialCases.test_column_name_quoting)
537            (TestPostGISSpecialCases.test_shapestore_name_quoting): New test
538            cases to test quoting of table and column names in PostGISTable
539            and PostGISShapeStore
540    
541            * test/postgissupport.py
542            (skip_if_addgeometrycolumn_does_not_use_quote_ident): New. Skip if
543            AddGeometryColumn desn't support table or column names with sapces
544            or double quotes
545    
546    2003-11-12  Jan-Oliver Wagner <[email protected]>
547    
548            * Extensions/wms/__init__.py: New: Init to make this
549            directory a package.
550    
551            * Extensions/wms/wms.py: New: Provide layers via OGC WMS.
552    
553    2003-11-11  Bernhard Herzog  <[email protected]>
554    
555            * Thuban/Model/resource.py (EPSG_DEPRECATED_PROJ_FILE): New.
556            Constant for the file woth deprecated epsg projections
557            (get_system_proj_file): Update doc-string
558    
559            * Thuban/UI/projdialog.py (ProjFrame.build_dialog): Add a space
560            above the EPS widgets, introduce a check box for the deprecated
561            eps projections and a label for the epsg widgets
562            (ProjFrame._OnShowEPSG): Handle the deprecated EPSG projections
563            too
564    
565    2003-11-11  Bernhard Herzog  <[email protected]>
566    
567            Avoid warnings when run under Python 2.3
568    
569            * Thuban/UI/baserenderer.py (BaseRenderer.draw_point_shape)
570            (BaseRenderer.draw_label_layer): Coordinates must be ints.
571    
572            * Thuban/UI/renderer.py (MapRenderer.make_point): Turn this into a
573            real method so that we can convert to int.
574            (MapRenderer.label_font): The font size mist be an int.
575    
576            * Thuban/UI/common.py (Color2wxColour): The color values must be
577            ints. Also, remove the unnecessary asserts.
578    
579            * test/test_load_0_8.py (TestUnicodeStrings.file_contents)
580            (TestUnicodeStrings.test): Python source code should not contain
581            non-ascii characters unless an encoding is specified in the file.
582            Therefore use \x escapes in the string literals for non-ascii
583            characters.
584    
585    2003-11-11  Bernhard Herzog  <[email protected]>
586    
587            * Thuban/Model/resource.py (get_system_proj_file): Add a filename
588            parameter so that this function can be used for all proj files in
589            Resource/Projections
590            (DEFAULT_PROJ_FILE, EPSG_PROJ_FILE): New. Predefined filenames for
591            get_system_proj_file
592    
593            * Thuban/UI/projdialog.py (ProjFrame.__init__): Instead of one
594            ProjFile self.__sysProjFile use a dictionary of system ProjFile
595            objects self._sys_proj_files
596            (ProjFrame.build_dialog): Adapt to the new changes in the
597            ProjectionList constructor. Add a check button to toggle whether
598            EPSG projections are shown
599            (ProjFrame._OnShowEPSG): New. Handler for the epsg check button
600            events.
601            (ProjFrame.load_user_proj, ProjFrame.load_system_proj): Only show
602            the busy cursor if the files have not yet been loaded by the
603            dialog.
604            (ProjFrame.load_system_proj): Add a parameter for the name of the
605            proj file. Maintain the dictionary of system projections
606            self._sys_proj_files
607    
608            * Thuban/UI/projlist.py (ProjectionList): Merge the system_projs,
609            user_projs parameters into one parameter proj_files which is a
610            list of proj files.
611            (ProjectionList._subscribe_proj_files)
612            (ProjectionList._unsubscribe_proj_files): New. Move
613            subscription/unsubscription of projfile messages to separate
614            methods
615            (ProjectionList.Destroy): The unsubscribe is now done in
616            _unsubscribe_proj_files
617            (ProjectionList.update_projections): We now have a list of proj
618            file objects
619            (ProjectionList.SetProjFiles): New method to set a new list of
620            proj file objects
621    
622            * test/test_proj.py (ProjFileReadTests.test_get_system_proj_file):
623            Specify explicitly which system proj file to load.
624    
625    2003-11-11  Bernhard Herzog  <[email protected]>
626    
627            * Thuban/Model/load.py (SessionLoader.Destroy): New. Clear all
628            instance variables to cut cyclic references. The GC would have
629            collected the loader eventually but it can happen that it doesn't
630            run at all until thuban is closed (2.3 but not 2.2 tries a bit
631            harder and forces a collection when the interpreter terminates)
632            (load_session): Call the handler's Destroy method to make sure
633            that it gets garbage collected early. Otherwise it will be
634            collected very late if at all and it holds some references to e.g.
635            shapestores and the session which can lead to leaks (of e.g. the
636            temporary files)
637    
638            * test/test_load.py (TestSingleLayer.test_leak): New. test for the
639            resource leak in load_session
640    
641    2003-11-10  Bernhard Herzog  <[email protected]>
642    
643            * Thuban/UI/baserenderer.py: Add a way to specify how layers in
644            extensions are to be rendered.
645            (_renderer_extensions): New. List with renderer for layers in
646            extensions
647            (add_renderer_extension): New. Add a renderer extension
648            (init_renderer_extensions): New. Init the renderer extensions
649            (BaseRenderer.render_map_incrementally): Search
650            _renderer_extensions for how to draw unknown layer types
651            (BaseRenderer.draw_raster_data): Add format parameter so that
652            formats other than BMP can be drawn
653            (BaseRenderer.draw_raster_layer): Pass an explicit format to
654            draw_raster_data
655    
656            * Thuban/UI/renderer.py (raster_format_map): New. Mapping form the
657            strings of the format parameter of draw_raster_data method to wx
658            constants
659            (MapRenderer.draw_raster_data): Add the format parameter and use
660            raster_format_map to map it to the right wxwindows constant for
661            wxImageFromStream
662    
663            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Add
664            the format parameter and record it
665            (TestBaseRenderer.test_raster_no_projection): check the format
666            paramter of the draw_raster_data method
667            (TestBaseRenderer.test_renderer_extension): New. Test the renderer
668            extension facility
669    
670    2003-11-07  Bernhard Herzog  <[email protected]>
671    
672            Tweak the usage of the sqlite database to make common use cases
673            more responsive. In most cases copying the data to the sqlite
674            database takes so long that using sqlite doesn't have enough
675            advantages.
676    
677            * Thuban/Model/transientdb.py (TransientTableBase.ValueRange): Add
678            comments about performance and query the min and max in separate
679            statements because only that way will indexes be used.
680            (TransientTableBase.UniqueValues): Add some comments about
681            performance.
682            (AutoTransientTable.ValueRange, AutoTransientTable.UniqueValues):
683            Do not copy the data to the transient DB but use the transient
684            copy if it exists. See the new comments for the performance trade
685            offs
686    
687            * test/test_transientdb.py
688            (TestTransientTable.test_auto_transient_table): Make sure that the
689            data is copied to the transient database at some point.
690    
691    2003-11-03  Bernhard Herzog  <[email protected]>
692    
693            * Thuban/Model/data.py (ShapefileStore.ShapesInRegion): Bind some
694            globals to locals so that it's a bit faster
695    
696    2003-11-03  Bernhard Herzog  <[email protected]>
697    
698            * Thuban/UI/baserenderer.py
699            (BaseRenderer.draw_shape_layer_incrementally): Use the ReadValue
700            method. ReadValue is faster than ReadRowAsDict since it only reads
701            one cell especially now that the dbf file objects actually
702            implement it.
703    
704            * Thuban/Model/table.py (DBFTable.ReadValue): Use the new
705            read_attribute method of the dbf objects
706    
707    2003-11-03  Bernhard Herzog  <[email protected]>
708    
709            * Extensions/profiling/profiling.py (popup_dialog_box): New config
710            variable to indicate whether the result should be shown in a
711            dialog box
712            (profile_screen_renderer, time_screen_renderer): Only show a
713            dialog box if popup_dialog_box is true.
714            (profile_screen_renderer): Flush stdout after the printing the
715            first part of the "profiling..." message
716    
717            * Thuban/UI/baserenderer.py
718            (BaseRenderer.draw_shape_layer_incrementally): Cache the pens and
719            brushes for the groups so that they're not created over and over
720            again
721    
722            * Thuban/Model/classification.py (Classification.__getattr__)
723            (Classification._compile_classification)
724            (Classification._clear_compiled_classification): New. Methods to
725            manage a 'compiled' representation of the classification groups
726            which is created on demand
727            (Classification.InsertGroup, Classification.RemoveGroup)
728            (Classification.ReplaceGroup): reset the compiled representation
729            (Classification.FindGroup): Use the compiled representation to
730            find the matching group
731            (ClassGroupRange.GetRangeTuple): New. Return the range as a tuple
732    
733    2003-10-31  Bernhard Herzog  <[email protected]>
734    
735            * Thuban/Model/classification.py (Classification.SetDefaultGroup):
736            Send a CLASS_CHANGED message
737            (Classification.RemoveGroup): Send a CLASS_CHANGED message and do
738            not return the removed group since it wasn't used.
739    
740            * test/test_classification.py
741            (TestClassification.test_set_default_group): New. Test the
742            SetDefaultGroup method
743            (TestClassification.test_insert_group): New. Test the InsertGroup
744            method
745            (TestClassification.test_remove_group): New. Test the RemoveGroup
746            method
747            (TestClassification.test_replace_group): New. Test the
748            ReplaceGroup method
749    
750    2003-10-31  Bernhard Herzog  <[email protected]>
751    
752            * test/test_classification.py (TestClassification.setUp):
753            Subscribe to the CLASS_CHANGED messages
754            (TestClassification.tearDown): New. Destroy the classification
755            properly
756            (TestClassification.test_defaults): Add tests for the default line
757            width and whether no messages were sent yet
758            (TestClassification.test_set_default_properties): Add tests for
759            messages and setting the default line width
760            (TestClassification.test_add_singleton)
761            (TestClassification.test_add_range)
762            (TestClassification.test_multiple_groups): Add tests for messages
763    
764    2003-10-31  Bernhard Herzog  <[email protected]>
765    
766            Some more refactoring in preparation for new tests:
767    
768            * test/test_classification.py (TestClassification.setUp): New.
769            Instantiate the classification here. Update the test methods
770            accordingly.
771            (TestClassification.test_multiple_groups): Make sure that the two
772            singletons matching 1 are considered different.
773    
774    2003-10-31  Bernhard Herzog  <[email protected]>
775    
776            * test/test_classification.py (red, green, blue): New. These
777            constants were used in several cases. Update the relevant methods.
778            (TestClassification.test_defaults)
779            (TestClassification.test_set_default_properties)
780            (TestClassification.test_add_singleton)
781            (TestClassification.test_add_range)
782            (TestClassification.test_multiple_groups)
783            (TestClassification.test_deepcopy): New. These were formerly all
784            part of the single method test.
785            (TestClassification.test_deepcopy): Removed.
786            (TestClassIterator): Removed. The test case is now a method of
787            TestClassification since it tests part of the public interface of
788            Classification
789            (TestClassification.test_iterator): New. Used to be
790            TestClassIterator effectively
791    
792    2003-10-31  Jan-Oliver Wagner <[email protected]>
793    
794            GUIfied the functions of the profiling extension.
795    
796            * /Extensions/profiling/__init__.py: New: Init to make this
797            directory a package.
798    
799            * Extensions/profiling/profiling.py: Moved menu entries to
800            the Extensions menu. Applied _() for strings.
801            (profile_screen_renderer): Catch the detailed printout and present
802            it in a dialog.
803            (time_screen_renderer): Raise a dialog to present the result instead
804            of printing it to stdout.
805    
806    2003-10-31  Bernhard Herzog  <[email protected]>
807    
808            * test/test_classification.py (TestClassGroupProperties)
809            (TestClassGroup, TestClassGroupDefault, TestClassGroupRange)
810            (TestClassGroupSingleton, TestClassIterator, TestClassification):
811            Split TestClassification into several classes, one for each class
812            being tested. TestClassification itself now only tests
813            Classification. This split makes changes to the tests a bit easier
814    
815    2003-10-31  Bernhard Herzog  <[email protected]>
816    
817            * Extensions/profiling/profiling.py: New. Extension to measure
818            Thuban performance
819    
820    2003-10-31  Frank Koormann <[email protected]>
821    
822            Added two items to legend popup menu: Remove Layer and Show Layer Table
823    
824            * Thuban/UI/legend.py (LegendPanel._OnRemoveLayer,
825            LegendPanel._OnShowTable): New event handlers, call the corresponding
826            mainwindow methods.
827            (LegendTree._OnRightClick): Added items to popup menu.
828    
829    2003-10-30  Bernhard Herzog  <[email protected]>
830    
831            * Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle
832            EVT_WINDOW_DESTROY
833            (ThubanFrame.OnDestroy): New. Handler for EVT_WINDOW_DESTROY. Does
834            nothing but is convenient for the derived classes.
835    
836            * Thuban/UI/tableview.py
837            (TableFrame.OnDestroy, LayerTableFrame.OnDestroy): New.
838            Unsubscribe the messages here not in OnClose because that might
839            get called multiple times. Fixes RT #2196
840            (TableFrame.OnClose, LayerTableFrame.OnClose): Removed. Not needed
841            anymore.
842    
843            * README: Update the minimum requirement for wxPython. Since we
844            now use the EVT_WINDOW_DESTROY event, we need at least 2.4.0.4,
845            the version in which that was introduced for all platforms
846    
847    2003-10-30  Frank Koormann <[email protected]>
848    
849            * Thuban/UI/join.py (JoinDialog.OnJoin): Wrapped the major parts of
850            the join process in a ThubanBeginBusyCursor, ThubanEndBusyCursor
851            frame.
852    
853    2003-10-30  Jan-Oliver Wagner <[email protected]>
854    
855            Improved APR import extension, added further EPSG definitions
856            and some cleanup regarding string class.
857    
858            * test/test_proj.py (TestProjection.test_get_projection_units_geo):
859            Added test for alias 'longlat'.
860    
861            * Resources/Projections/epsg-deprecated.proj: New. Contains
862            deprecated EPSG definitions.
863    
864            * Extensions/importAPR/odb.py (ODBBaseObject.TreeInfo): Added
865            the variable names for objects.
866    
867            * Extensions/importAPR/apr.py (APR_BLnSym, APR_BMkSym, APR_BShSym): New.
868            Copied from importAPR and provided with documentation.
869    
870            * Extensions/importAPR/importAPR.py (APR_BLnSym, APR_BMkSym, APR_BShSym):
871            Moved to apr.py.
872            (APR_View): Added object ref 'ITheme'.
873    
874            * Thuban/Lib/fileutil.py, Thuban/UI/proj4dialog.py: Replaced string
875            split function by corresponding use of the string class method.
876    
877            * Thuban/Model/xmlwriter.py: Replaced string replace function by
878            corresponding string method.
879    
880    2003-10-29  Bernhard Herzog  <[email protected]>
881    
882            * Thuban/UI/baserenderer.py
883            (BaseRenderer.draw_shape_layer_incrementally): Speed up the
884            special case of a classification that only has the default group
885    
886    2003-10-27  Bernhard Herzog  <[email protected]>
887    
888            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
889    
890            * po/de.po: Update.
891    
892            * Thuban/UI/application.py
893            (ThubanApplication.ShowExceptionDialog): Handle translation of the
894            dialog message properly
895    
896    2003-10-27  Bernhard Herzog  <[email protected]>
897    
898            Rework how localization works so that we use wx's translation
899            functions when running Thuban as a normal application but not when
900            we don't need any UI, such as in the test suite. See the comment
901            in Thuban/__init__.py for details
902    
903            * Thuban/__init__.py (_): Add one level of indirection to make the
904            translation handling more flexible and to make it possible to use
905            either wx's translation services or not.
906            (gettext_identity, translation_function_installed)
907            (install_translation_function): New function to help with this
908    
909            * Thuban/UI/__init__.py: Install the wx specific translation
910            function if it's OK to do that
911    
912            * test/support.py (initthuban): Install a dummy translation
913            function so that importing Thuban.UI doesn't install a wx specific
914            one for which would need to import wxPython
915    
916    2003-10-27  Bernhard Herzog  <[email protected]>
917    
918            * HOWTO-Release: Source archives should be created first and the
919            binary packages should be created from the source archives.
920            There's an official debian package now so there's no need to test
921            the rpm on debian anymore
922    
923    2003-10-27  Bernhard Herzog  <[email protected]>
924    
925            Several rendering changes:
926    
927             - Render the selection into a separate bitmap so that only that
928               bitmap needs to be redrawn when the selection changes
929    
930             - Render incrementally showing previews and allowing interaction
931               before rendering is complete
932    
933             - Update the renderer interface a bit. Most parameters of
934               RenderMap are now parameters of the constructor
935    
936            * Thuban/UI/baserenderer.py (BaseRenderer.__init__): Add the map
937            and the update region as parameters. Update the doc-string
938            (BaseRenderer.render_map_incrementally): New. Generator function
939            to renders the map incrementally
940            (BaseRenderer.render_map): Remove the map argument (it's now in
941            the constructor) and simply iterate over the
942            render_map_incrementally generator to draw the map.
943            (BaseRenderer.draw_shape_layer_incrementally)
944            (BaseRenderer.draw_shape_layer): Renamed to
945            draw_shape_layer_incrementally and changed into a generator that
946            yields True every 500 shapes. Used by render_map_incrementally to
947            render shape layers incrementally
948    
949            * Thuban/UI/renderer.py (ScreenRenderer.RenderMap): Removed the
950            map and region parameters which are now in the constructor
951            (ScreenRenderer.RenderMapIncrementally): New. Public frontend for
952            the inherited render_map_incrementally.
953            (BaseRenderer.draw_shape_layer): Removed.
954            (ScreenRenderer.draw_selection_incrementally): New. The selection
955            drawing part of the removed draw_shape_layer as a generator
956            (ScreenRenderer.layer_shapes): Update because of the region
957            parameter change
958            (ExportRenderer.__init__): New. Extend the inherited constructor
959            with the destination region for the drawing
960            (ExportRenderer.RenderMap): Removed the map and region parameters
961            which are now in the constructor
962    
963            * Thuban/UI/view.py (MapCanvas.PreviewBitmap): New. Return a
964            bitmap suitable for a preview in a tool
965            (CanvasPanTool.MouseMove): Use the PreviewBitmap method to get the
966            bitmap
967            (MapPrintout.draw_on_dc): Adapt to new renderer interface
968            (MapCanvas.OnPaint): Handle drawing the selection bitmap if it
969            exists
970            (MapCanvas.OnIdle): Update the logic to deal with incremental
971            rendering and the selection bitmap
972            (MapCanvas._do_redraw): Handle the instantiation of the render
973            iterator and the redraws during rendering
974            (MapCanvas._render_iterator): New. Generator to incrementally
975            redraw both bitmaps
976            (MapCanvas.Export): Adapt to new renderer interface.
977            (MapCanvas.full_redraw): Reset the selection bitmap and the
978            renderer iterator too
979            (MapCanvas.redraw_selection): New. Force a redraw of the selection
980            bitmap
981            (MapCanvas.shape_selected): Only redraw the selection bitmap
982    
983            * test/test_baserenderer.py
984            (TestBaseRenderer.test_polygon_no_projection)
985            (TestBaseRenderer.test_raster_no_projection)
986            (TestBaseRenderer.test_point_map_projection)
987            (TestBaseRenderer.test_point_layer_and_map_projection)
988            (TestBaseRenderer.test_point_layer_projection)
989            (TestBaseRenderer.test_point_with_classification): Adapt to new
990            renderer interface
991    
992    2003-10-24  Bernhard Herzog  <[email protected]>
993    
994            * libraries/thuban/wxproj.cpp (draw_polygon_shape)
995            (point_in_polygon_shape, shape_centroid): Raise an exception if
996            the shape can't be read. Previously invalid shape ids would lead
997            to a segfault.
998    
999            * test/test_wxproj.py (TestShapeCentroid.test_invalid_shape_id):
1000            New. test whether an exception is raised for invalid shape ids
1001    
1002    2003-10-24  Jan-Oliver Wagner <[email protected]>
1003    
1004            * Thuban/Model/proj.py (Projection.GetProjectedUnits): Added 'longlat'
1005            as alias for 'latlong'.
1006    
1007            * Thuban/UI/projdialog.py (ProjFrame.__init__): Added 'longlat'
1008            as alias for 'latlong'.
1009    
1010    2003-10-24  Jan-Oliver Wagner <[email protected]>
1011    
1012            * Thuban/UI/projdialog.py (ProjFrame.proj_selection_changed): Set
1013            the projection even for the UnknownPanel.
1014            (UnknownProjPanel.__init__): Define the text and create the textctrl
1015            widget.
1016            (UnknownProjPanel._DoLayout): Replaced static text widget by the
1017            textctrl created in __init__.
1018            (UnknownProjPanel.SetProjection): Set the text for the text ctrl
1019            including the parameters of the projection.
1020            
1021    2003-10-24  Jan-Oliver Wagner <[email protected]>
1022    
1023            * Resources/Projections/epsg.proj: New. This is a list of
1024            EPSG codes with parameters for proj. The list has been
1025            generated using devtools/create_epsg.py based on the
1026            file nad/epsg of the proj 4.4.7 package. Four projection
1027            definitions have been deleted as they are not accepted by proj:
1028            "CH1903+ / LV95", "Bern 1898 (Bern) / LV03C", "CH1903 / LV03"
1029            and "HD72 / EOV".
1030    
1031    2003-10-22  Bernhard Herzog  <[email protected]>
1032    
1033            Some more tweaks to the projection dialog which should fix RT
1034            #1886.
1035    
1036            * Thuban/UI/projlist.py (ProjectionList.Destroy): Unsubscribe from
1037            the ProjFile's messages and call the base class methods correctly
1038            (ProjectionList.SelectProjection): Set the wxLIST_STATE_FOCUSED
1039            flag on the newly selected item too. Otherwise some other item is
1040            focused and the first time the focus is moved with the keyboard
1041            the selection moves in unexpected ways.
1042    
1043            * Thuban/UI/projdialog.py (ProjFrame.__init__): Do not set the
1044            focus on the OK button, only on the projection list. That way the
1045            list really has the focus initially
1046            (ProjFrame.OnClose): Call the projection list's Destroy method to
1047            make it unsubscribe all messages
1048    
1049    2003-10-21  Bernhard Herzog  <[email protected]>
1050    
1051            Rework the projection dialog to fix a few bugs, including RT 2166
1052            and most of 2168
1053    
1054            * Thuban/UI/projlist.py: New. The class ProjectionList is a
1055            special wxListCtrl to show a list of projections in a more MVC
1056            fashion
1057    
1058            * Thuban/UI/projdialog.py (ProjFrame): Substantial changes
1059            throughout the class. The main change is to use the ProjectionList
1060            class instead of a normal wxListBox. Also, add an explicit
1061            "Unknown" projection to the projection choice control.
1062            (ProjPanel.__init__): Add an "unknown" ellipsoid
1063            (TMPanel.__init__, LCCPanel.__init__): Tweak the order of
1064            instantiation of the panel's controls to make the tab-order more
1065            natural
1066    
1067    2003-10-21  Bernhard Herzog  <[email protected]>
1068    
1069            * test/test_load.py (TestSingleLayer.file_contents)
1070            (TestSingleLayer.test): Add non-ascii characters to the titles of
1071            session, map and layer. This is effectively a port of the
1072            TestUnicodeStrings test in test_load_0_8.py which for some reason
1073            was only added there.
1074    
1075            * test/test_load_0_9.py (TestSingleLayer.file_contents)
1076            (TestSingleLayer.test): Same as in test_load.py: add non-ascii
1077            characters to the titles of session, map and layer,.
1078    
1079    2003-10-21  Bernhard Herzog  <[email protected]>
1080    
1081            Add EPSG projection handling to .thuban files
1082    
1083            * test/test_save.py (SaveSessionTest.dtd)
1084            (SaveSessionTest.testEmptySession)
1085            (SaveSessionTest.testLayerProjection)
1086            (SaveSessionTest.testRasterLayer)
1087            (SaveSessionTest.testClassifiedLayer)
1088            (SaveSessionTest.test_dbf_table)
1089            (SaveSessionTest.test_joined_table)
1090            (SaveSessionTest.test_save_postgis): Update to 1.0-dev namespace
1091            (SaveSessionTest.testSingleLayer): Update to 1.0-dev namespace and
1092            use a and epsg projection to test saving them
1093    
1094            * test/test_load.py (LoadSessionTest.dtd): Update to 1.0-dev
1095            namespace
1096            (TestLayerVisibility.file_contents, TestLabels.file_contents)
1097            (TestLayerProjection.file_contents)
1098            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
1099            (TestPostGISLayer.file_contents)
1100            (TestPostGISLayerPassword.file_contents)
1101            (TestLoadError.file_contents, TestLoadError.test): Update to use
1102            1.0-dev namespace
1103            (TestSingleLayer.file_contents, TestSingleLayer.test): Update to
1104            use 1.0-dev namespace and use an EPSG projection to test whether
1105            loading it works
1106    
1107            * test/test_load_0_9.py: New. Effectively a copy of test_load.py
1108            as of Thuban 0.9. These are now tests to determine whether Thuban
1109            can still read files generated by Thuban 0.9
1110    
1111            * Thuban/Model/save.py (SessionSaver.write)
1112            (SessionSaver.write_session): Use the 1.0 dtd and 1.0-dev
1113            namespace
1114            (SessionSaver.write_projection): Write the projection's epsg
1115            attribute
1116    
1117            * Thuban/Model/load.py (SessionLoader.__init__): Also accept the
1118            thuban-1.0-dev.dtd namespace
1119            (SessionLoader.check_attrs): Allow a callable object as conversion
1120            too
1121            (SessionLoader.start_projection, SessionLoader.end_projection)
1122            (SessionLoader.start_parameter): Handle the epsg attribute and
1123            rename a few instance variables to lower case
1124    
1125            * Resources/XML/thuban-1.0.dtd: New. Only difference to
1126            thuban-0.9.dtd is the epsg attribute for projections.
1127    
1128    2003-10-21  Bernhard Herzog  <[email protected]>
1129    
1130            * test/runtests.py (main): Let the user specify which tests to run
1131            on the command line
1132    
1133            * test/support.py (ThubanTestResult.getDescription): Override to
1134            give a better short description. The description can be used as a
1135            parameter to run_tests to run that particular test in isolation.
1136    
1137    2003-10-21  Frank Koormann   <[email protected]>
1138    
1139            Popup menu for legend. Scheduled for the 1.2 release this was too
1140            simple to implement: The popup menu is bound to the legend tree, while
1141            the events are hanlded by its anchestor, the legend panel. This
1142            allows reuse of all the event handlers already implemented for the
1143            legend toolbar buttons.
1144    
1145            * Thuban/UI/legend.py (LegendPanel.__init__): EVT_MENU macros
1146            to add handlers for the events issued by the popup menu.
1147            (LegendPanel._OnToggleVisibility): Handler for toggling layer
1148            visibility event
1149            (LegendPanel._OnProjection): Handler for layer projection event.
1150            (LegendTree.__init__): Added EVT_TREE_ITEM_RIGHT_CLICK
1151            (LegendTree._OnRightClick): Event handler for right click, select item
1152            and pop up menu.
1153            (LegendTree.ToggleVisibility): Toggle layer visibility
1154            (LegendTree.LayerProjection): Raise layer projection dialog for
1155            current layer.
1156    
1157    2003-10-21  Bernhard Herzog  <[email protected]>
1158    
1159            * Resources/Projections/defaults.proj: Use correct DOCTYPE
1160            declaration. The top-level element is projectionlist not projfile
1161    
1162    2003-10-20  Bernhard Herzog  <[email protected]>
1163    
1164            * Thuban/UI/projdialog.py (ProjFrame.write_proj_file): New. helper
1165            method to write a projfile and display a busy cursor and error
1166            dialogs.
1167            (ProjFrame._OnSave, ProjFrame._OnAddToList, ProjFrame._OnImport)
1168            (ProjFrame._OnExport, ProjFrame._OnRemove): Use write_proj_file
1169            (ProjFrame.__FillAvailList): Translate "<None>" too and display a
1170            busy cursor while loading the user and system prj files.
1171    
1172    2003-10-16  Bernhard Herzog  <[email protected]>
1173    
1174            * Thuban/Model/resource.py (projfile_cache): Introduce a cache for
1175            ProjFile objects
1176            (clear_proj_file_cache): New function to clear the cache. Mainly
1177            useful for use by the test suite
1178            (read_proj_file): Use the cache.
1179    
1180            * test/test_proj.py (TestProjFile): Clarify the doc-string
1181            (ProjFileReadTests): Update doc-string
1182            (ProjFileReadTests.test_get_system_proj_file): Check whether the
1183            system proj files is cached.
1184            (ProjFileLoadTestCase): New base class for the proj file tests
1185            derived from support.FileLoadTestCase to provide some common
1186            behavior.
1187            (TestLoadingProjFile)
1188            (TestLoadingProjFileWithEmptyProjectionlist.file_contents)
1189            (TestProjFileWithInvalidParameters.file_contents): Derive from
1190            ProjFileLoadTestCase
1191            (TestLoadingProjFile.test_caching): New. Test whether the cache
1192            works
1193    
1194    2003-10-16      Silke Reimer    <[email protected]>
1195    
1196            * debian/*: New directory with configuration files for building a thuban
1197              deb-package.
1198    
1199    2003-10-14  Bernhard Herzog  <[email protected]>
1200    
1201            * test/test_proj.py: Execute support.run_tests when run as
1202            __main__ so that missing unsubscribes are detected
1203            (TestProjFile.tearDown): Destroy the proj_file properly
1204    
1205    2003-10-14  Bernhard Herzog  <[email protected]>
1206    
1207            * Thuban/Model/messages.py (PROJECTION_ADDED)
1208            (PROJECTION_REPLACED, PROJECTION_REMOVED): New message types for
1209            the ProjFile objects
1210    
1211            * Thuban/Model/proj.py (ProjFile): Derive from Publisher so we can
1212            easily send messages when the projections change
1213            (ProjFile.Add, ProjFile.Remove, ProjFile.Replace): Issue messages
1214            when the change was successful
1215    
1216            * test/test_proj.py (TestProjFile.setUp): Subscribe to some of the
1217            proj file messages
1218            (TestProjFile.test_add_remove)
1219            (TestProjFile.test_remove_non_existing)
1220            (TestProjFile.test_replace)
1221            (TestProjFile.test_replace_non_existing): Test whether the right
1222            messages are sent
1223    
1224  2003-10-14  Bernhard Herzog  <[email protected]>  2003-10-14  Bernhard Herzog  <[email protected]>
1225    
1226          * test/test_proj.py (TestProjFile.test): Refactor into several          * test/test_proj.py (TestProjFile.test): Refactor into several

Legend:
Removed from v.1822  
changed lines
  Added in v.2055

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26