/[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 1870 by bh, Mon Oct 27 13:24:20 2003 UTC revision 2052 by frank, Thu Jan 22 14:40:32 2004 UTC
# Line 1  Line 1 
1    2004-01-22  Frank Koormann  <[email protected]>
2    
3            * Doc/manual/thuban-manual.xml: Added section on installation of
4            Thuban under Win32 systems. Fixed image path references in the postgis
5            section. Some minor source formattings.
6    
7    2004-01-21  Frank Koormann  <[email protected]>
8    
9            Make Thuban remember path selections (at least for one application run).
10    
11            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
12            attribute of application object. Path is a dictionary of
13            strings, currently with the items "data" and "projection".  
14            (Application.SetPath): New, stores path for the specified item.
15            (Application.Path): New, return path for the specified item.
16    
17            * Thuban/UI/mainwindow.py
18            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
19            MainWindow.AddLayer, MainWindow.AddRasterLayer,
20            MainWindow.TableOpen): Access "data" path information of the
21            application.
22            
23            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
24            Access "projection" path information of the application.
25    
26    2004-01-05  Bernhard Herzog  <[email protected]>
27    
28            * po/ru.po: Updated translations from Alex Shevlakov
29    
30    2004-01-05  Bernhard Herzog  <[email protected]>
31    
32            * po/Makefile, po/README: Move the description of how to generate
33            the translation statistics to the README.
34    
35    2003-12-23  Bernhard Herzog  <[email protected]>
36    
37            * NEWS: Update for 1.0.0
38    
39            * po/it.po: Another update from Maurizio Napolitano
40    
41    2003-12-23  Bernhard Herzog  <[email protected]>
42    
43            * po/it.po: Updated translation from Maurizio Napolitano
44    
45    2003-12-23  Bernhard Herzog  <[email protected]>
46    
47            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
48            for translation
49    
50            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
51            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
52            strings for translation
53    
54            * po/de.po: Update with the newly marked strings.
55    
56    2003-12-22  Bernhard Herzog  <[email protected]>
57    
58            * HOWTO-Release: Fix the places where version numbers have to be
59            updated
60    
61    2003-12-22  Bernhard Herzog  <[email protected]>
62    
63            * setup.py (setup call): 1.0.0, yeah!
64    
65            * Thuban/version.py (longversion): 1.0.0, yeah!
66    
67            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
68            1.0.0 namespace too
69    
70            * Thuban/Model/save.py (SessionSaver.write_session): Save with
71            1.0.0 namespace
72    
73            * test/test_load.py (LoadSessionTest.dtd)
74            (TestSingleLayer.file_contents)
75            (TestNonAsciiColumnName.file_contents)
76            (TestLayerVisibility.file_contents)
77            (TestClassification.file_contents, TestLabels.file_contents)
78            (TestLayerProjection.file_contents)
79            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
80            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
81            (TestPostGISLayerPassword.file_contents)
82            (TestLoadError.file_contents, TestLoadError.test): Update for
83            1.0.0 namespace
84    
85            * test/test_save.py (SaveSessionTest.dtd)
86            (SaveSessionTest.testEmptySession)
87            (SaveSessionTest.testSingleLayer)
88            (SaveSessionTest.testLayerProjection)
89            (SaveSessionTest.testRasterLayer)
90            (SaveSessionTest.testClassifiedLayer)
91            (SaveSessionTest.test_dbf_table)
92            (SaveSessionTest.test_joined_table)
93            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
94    
95    2003-12-22  Bernhard Herzog  <[email protected]>
96    
97            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
98            alignment flags are byte strings not unicode and that they have
99            valid values
100    
101            * test/test_load.py (TestLabelLayer): New. Test loading (and
102            indirectly saving) of maps with labels.
103    
104    2003-12-22  Bernhard Herzog  <[email protected]>
105    
106            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
107            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
108            unsubscribe all subscribers.
109            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
110            self.grid since it may already have been destroyed.
111            Fixes RT #2256
112    
113    2003-12-19  Bernhard Herzog  <[email protected]>
114    
115            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
116    
117    2003-12-16  Bernhard Herzog  <[email protected]>
118            
119            * debian/bitmappath.patch, debian/setup.py.patch:
120                    added to ensure compliance with FHS for debian
121            * debian/rules, debian/changelog:
122                added patches in rules to ensure compliance with FHS for debian
123    
124    2003-12-16  Bernhard Herzog  <[email protected]>
125    
126            * po/Makefile (mo): Make the output a bit nicer so that it prints
127            statistics about the translations. Add a comment how produce even
128            nicer statistics with sed.
129    
130    2003-12-09  Frank Koormann   <[email protected]>
131    
132            * Resources/Projections/defaults.proj:
133            French projection sample with correct accents (UNICODE).
134    
135    2003-12-05  Bernhard Herzog  <[email protected]>
136    
137            * MANIFEST.in: Add the devtools directory
138    
139            * setup.py (setup call): Use license instead of licence. This
140            silences a deprecation warning on Python 2.3
141    
142    2003-12-05  Frank Koormann   <[email protected]>
143    
144            Documentation synced with 1.0rc1
145    
146            * Doc/manual/thuban-manual.xml:
147            Minor formatting changes and references to database layers .
148            Introduction.Internationalization: New section on i18n.
149            MapManagement.AddingandRemovingLayers: Added item on database layers.  
150            MapManagement.TheLegend: Added section and screenshot on popup menu.
151            ProjectionManagement: Updated screenshot and sentence on EPSG.
152            Appendix.SupportedDataSources: Added PostGIS.
153            Appendix.WorkingwithPostGIS: New section.
154    
155            * Doc/manual/images/6_projection.png: Updated screenshot including
156            EPSG checkboxes.
157    
158            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
159    
160            * Doc/manual/images/app_postgis_add_layer.png,
161            Doc/manual/images/app_postgis_db_add.png,
162            Doc/manual/images/app_postgis_db_management.png:
163            New screenshots focussing on database layers
164    
165    2003-12-05  Frank Koormann   <[email protected]>
166    
167            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
168            write warning to stderr instead of rising a warning dialog
169    
170    2003-12-03  Bernhard Herzog  <[email protected]>
171    
172            Fix for RT #2243
173    
174            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
175            New. Like has_selected_layer but for shape layers only
176            (_has_selected_shape_layer): New. Like _has_selected_layer but for
177            shape layers only
178            (layer_show_table command, layer_jointable command): Use these
179            commands should only be available for shape layers
180    
181    2003-12-03  Bernhard Herzog  <[email protected]>
182    
183            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
184            publishers that are wx objects and may have been destroyed by wx
185            already. Fixes RT #2242.
186    
187    2003-12-03  Bernhard Herzog  <[email protected]>
188    
189            * po/ru.po: Updates from Alex Shevlakov
190    
191    2003-12-03  Silke Reimer <silkeintevation.de>
192    
193            * debian/control, debian/changelog: Added gdal-support to
194                    debian package, updated to new thuban version
195    
196    
197    2003-12-03  Bernhard Herzog  <[email protected]>
198    
199            * Thuban/Lib/version.py: New. Module for version number
200            manipulations. The version of make_tuple here also deals better
201            with more unusual version number strings, such as e.g.
202            "1.2+cvs20031111"
203    
204            * Thuban/version.py (make_tuple): Removed. It's now in
205            Thuban.Lib.version. Use that implementation instead.
206    
207            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
208    
209    2003-12-02  Bernhard Herzog  <[email protected]>
210    
211            * MANIFEST.in: Add debian files
212    
213            * setup.py (setup call): Add packages for the Extensions so that
214            they're installed too
215            (data_files): Add READMEs and sample data from some Extensions
216    
217            * NEWS: Add note about the extensions in binary packages
218    
219    2003-12-02  Bernhard Herzog  <[email protected]>
220    
221            * Thuban/Model/save.py (SessionSaver.write_session): Save files
222            with the thuban-1.0rc1
223    
224            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
225            thuban-1.0rc1 namespace too
226    
227            * test/test_save.py (SaveSessionTest.dtd)
228            (SaveSessionTest.testEmptySession)
229            (SaveSessionTest.testSingleLayer)
230            (SaveSessionTest.testLayerProjection)
231            (SaveSessionTest.testRasterLayer)
232            (SaveSessionTest.testClassifiedLayer)
233            (SaveSessionTest.test_dbf_table)
234            (SaveSessionTest.test_joined_table)
235            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
236            namespace
237    
238            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
239            namespace
240            (TestSingleLayer.file_contents)
241            (TestNonAsciiColumnName.file_contents)
242            (TestLayerVisibility.file_contents)
243            (TestClassification.file_contents, TestLabels.file_contents)
244            (TestLayerProjection.file_contents)
245            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
246            (TestPostGISLayer.file_contents)
247            (TestPostGISLayerPassword.file_contents)
248            (TestLoadError.file_contents, TestLoadError.test): Update to
249            thuban-1.0rc1 namespace
250    
251    2003-12-01  Bernhard Herzog  <[email protected]>
252    
253            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
254            nt to better match Intevation's current w32 setup
255    
256            * HOWTO-Release: Add note about updating MANIFEST.in
257    
258            * MANIFEST.in: Add the Extensions
259    
260            * NEWS: Update for 1.0rc1
261    
262    2003-12-01  Bernhard Herzog  <[email protected]>
263    
264            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
265            cards for the dialog so that shapefiles ending in all uppercase
266            SHP are listed too
267    
268    2003-11-28  Bernhard Herzog  <[email protected]>
269    
270            * Thuban/version.py (longversion): Update to 1.0rc1
271    
272            * setup.py (setup call): Update version to 1.0rc1. Use the
273            [email protected] email address as author email instead of my
274            personal one.
275    
276    2003-11-28  Bernhard Herzog  <[email protected]>
277    
278            * po/de.po: Update german translation.
279    
280    2003-11-28  Bernhard Herzog  <[email protected]>
281    
282            Unify the filenames stored in .thuban files so that the .thuban
283            files are more platform independend
284    
285            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
286            that they can be used on both windows and unix
287            (SessionSaver.prepare_filename): New. Handle all filename
288            transformations for filenames stored in the thuban file
289            (SessionSaver.write_data_containers, SessionSaver.write_layer):
290            Use prepare_filename
291    
292            * test/test_save.py (SaveSessionTest.testSingleLayer)
293            (SaveSessionTest.testLayerProjection)
294            (SaveSessionTest.testRasterLayer)
295            (SaveSessionTest.testClassifiedLayer)
296            (SaveSessionTest.test_dbf_table)
297            (SaveSessionTest.test_joined_table): Filenames are always stored
298            with slashes on all currently supported platforms so adapt all
299            tests to this
300    
301            * test/test_load.py (LoadSessionTest.filenames): With the new
302            filename scheme the filenames in the tests should be
303            understandable on all currently supported platforms so we turn
304            this into an empty list because we don't have to normalize them
305            anymore
306    
307    2003-11-28  Bernhard Herzog  <[email protected]>
308    
309            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
310            Add the ellipsoid to the projection since some Proj versions
311            complain if it's missing.
312    
313    2003-11-27  Bernhard Herzog  <[email protected]>
314    
315            Corect some bounding box projection problems
316    
317            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
318            version of ForwardBBox
319            (Projection._transform_bbox): New. common implementation of
320            ForwardBBox and InverseBBox
321            (Projection.ForwardBBox): Use _transform_bbox.
322    
323            * test/test_proj.py (TestProjection.test): Add test for
324            InverseBBox
325    
326            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
327            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
328            new InverseBBox method to determine the unprojected bounding box
329            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
330            bbox.
331    
332            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
333            Removed.
334            (TestLayer.test_arc_layer_with_projection): New. This test is
335            better able to test whether bounding boxes are projected correctly
336            than test_point_layer_with_projection
337    
338            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
339            InverseBBox to unproject bboxes
340    
341    2003-11-25  Bernhard Herzog  <[email protected]>
342    
343            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
344            source code.
345    
346    2003-11-25  Bernhard Herzog  <[email protected]>
347    
348            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
349            there for backwards compatibility and all code relying on that
350            should have been updated by now.
351    
352    2003-11-25  Bernhard Herzog  <[email protected]>
353    
354            * test/test_load.py (TestClassification.test): Add the missing
355            round trip test.
356            (TestClassification.file_contents): Update to the newest file
357            format
358    
359    2003-11-25  Bernhard Herzog  <[email protected]>
360    
361            Add very experimental (and possibly dangerous) extension to draw
362            polygons:
363    
364            * Extensions/drawshape/README: New. Brief installation
365            instructions
366    
367            * Extensions/drawshape/drawshape.py: New. Implementation of the
368            drawshape extensions
369    
370            * Extensions/drawshape/patch.diff: Patch to apply before the
371            extension can be used.
372    
373    2003-11-24  Bernhard Herzog  <[email protected]>
374    
375            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
376            (ShapefileStore.__init__): Factor opening the shapefile into a
377            separate method (the new _open_shapefile). This makes the code a
378            bit more readable but the real reason is that it makes some evil
379            hacks easier. :-)
380    
381    2003-11-24  Bernhard Herzog  <[email protected]>
382    
383            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
384            converter is specified for an attribute assume it's a string
385            containing only Latin1 characters. Update doc-string accordingly.
386            This change should fix many places where unicode objects might
387            accidentally enter Thuban.
388    
389            * test/test_load.py (TestNonAsciiColumnName): New test to check
390            what happens with column names in DBF files that contain non-ascii
391            characters
392    
393    2003-11-21  Bernhard Herzog  <[email protected]>
394    
395            Enable the experimental attribute editing again and introduce a
396            command line switch to actually activate it
397    
398            * Thuban/UI/main.py (options): New. Container for options set on
399            the commmand line
400            (main): Add the --enable-attribute-editing flag.
401    
402            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
403            editing is enabled use the grid ctrl which allows editing of the
404            values
405    
406            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
407            New. Just delegate this to the underlying table.
408    
409    2003-11-20  Bernhard Herzog  <[email protected]>
410    
411            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
412            Skip this test if run under non-posix systems since it only works
413            there
414    
415    2003-11-19  Bernhard Herzog  <[email protected]>
416    
417            * Thuban/Model/resource.py: Rework the way gdal support is
418            determined so that we can give a reason in the about why gdal is
419            not supported.
420            (gdal_support_status): New. Variable holding a string with the
421            reason for no gdal support
422    
423            * Thuban/UI/about.py (About.__init__): Add the reason why gdal is
424            not supported to the message
425    
426    2003-11-19  Bernhard Herzog  <[email protected]>
427    
428            Remove the old table interface and its test cases
429    
430            * Thuban/Model/table.py (OldTableInterfaceMixin): Removed.
431            (DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin
432            anymore
433    
434            * Thuban/Model/transientdb.py (TransientTableBase)
435            (AutoTransientTable): Do not derive from OldTableInterfaceMixin
436            anymore
437    
438            * test/test_table.py: Removed since the old interface it tests is
439            gone.
440    
441            * test/runtests.py (main): The old table interface is gone and
442            with it the deprecation warnings so remove the code that turns
443            these warnings into errors
444    
445    2003-11-19  Bernhard Herzog  <[email protected]>
446    
447            * test/test_table.py: Revert to revision 1.5 again. Changing the
448            tests to use the new table interface is completely wrong since the
449            whole purpose of the tests in this module is to test the old
450            interface.
451    
452    2003-11-18  Bernhard Herzog  <[email protected]>
453    
454            * Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters):
455            New. Test whether the connection matches a set of connection
456            parameters
457    
458            * Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string
459            (DBFrame.OnAdd): Use the new MatchesParameters method when looking
460            for existing connections with the same parameters and break out of
461            the loop correctly.
462    
463            * test/test_postgis_db.py (TestBriefDescription)
464            (TestPostGISSimple.test_brief_description): Rename
465            TestBriefDescription to TestPostGISSimple and the test method to
466            test_brief_description so that we can add more test methods.
467            (TestPostGISSimple.test_matches_parameters): New. Test the new
468            MatchesParameters method
469    
470    2003-11-18  Bernhard Herzog  <[email protected]>
471    
472            * Thuban/Lib/connector.py (Publisher): Introduce a new flag,
473            _was_destroyed, to indicate whether an publisher instance has
474            already been destroyed.
475            (Publisher.Unsubscribe): Only disconnect if the publisher has not
476            been destroyed yet.
477            (Publisher.Destroy): Set the _was_destroyed flag to true.
478    
479            * test/test_connector.py
480            (TestPublisher.test_unsubscribe_after_destroy): New. Test that
481            calling Unsubscribe after Destroy doesn't raise an exception
482    
483    2003-11-14  Bernhard Herzog  <[email protected]>
484    
485            * Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix
486            typo in doc-string
487    
488    2003-11-13  Bernhard Herzog  <[email protected]>
489    
490            Quote table and column names properly for postgis.
491    
492            * Thuban/Model/postgisdb.py (quote_identifier): New. Function to
493            quote an identifier for use in an sql statement
494            (PostGISColumn.__init__): Add the quoted_name attribute
495            (PostGISTable.__init__): New instance variable quoted_tablename
496            (PostGISTable._fetch_table_information): Use the quoted table
497            name. New isntance variable quoted_geo_col with a quoted version
498            of geometry_column
499            (PostGISTable.NumRows, PostGISTable.RowIdToOrdinal)
500            (PostGISTable.RowOrdinalToId): Use the quoted table name
501            (PostGISTable.ReadValue, PostGISTable.ValueRange)
502            (PostGISTable.UniqueValues, PostGISTable.SimpleQuery)
503            (PostGISShapeStore.BoundingBox, PostGISShapeStore.Shape)
504            (PostGISShapeStore.AllShapes, PostGISShapeStore.ShapesInRegion):
505            Use quoted table and column names
506    
507            * test/test_postgis_db.py (TestPostGISSpecialCases)
508            (TestPostGISIgnoredColumns): Rename the class to
509            TestPostGISSpecialCases because that better describes the new
510            cases
511            (TestPostGISSpecialCases.test_unsupported_types)
512            (TestPostGISSpecialCases.test): Rename the method to
513            test_unsupported_types because we need a more descriptive name now
514            that there are more methods
515            (TestPostGISSpecialCases.test_table_name_quoting)
516            (TestPostGISSpecialCases.test_column_name_quoting)
517            (TestPostGISSpecialCases.test_shapestore_name_quoting): New test
518            cases to test quoting of table and column names in PostGISTable
519            and PostGISShapeStore
520    
521            * test/postgissupport.py
522            (skip_if_addgeometrycolumn_does_not_use_quote_ident): New. Skip if
523            AddGeometryColumn desn't support table or column names with sapces
524            or double quotes
525    
526    2003-11-12  Jan-Oliver Wagner <[email protected]>
527    
528            * Extensions/wms/__init__.py: New: Init to make this
529            directory a package.
530    
531            * Extensions/wms/wms.py: New: Provide layers via OGC WMS.
532    
533    2003-11-11  Bernhard Herzog  <[email protected]>
534    
535            * Thuban/Model/resource.py (EPSG_DEPRECATED_PROJ_FILE): New.
536            Constant for the file woth deprecated epsg projections
537            (get_system_proj_file): Update doc-string
538    
539            * Thuban/UI/projdialog.py (ProjFrame.build_dialog): Add a space
540            above the EPS widgets, introduce a check box for the deprecated
541            eps projections and a label for the epsg widgets
542            (ProjFrame._OnShowEPSG): Handle the deprecated EPSG projections
543            too
544    
545    2003-11-11  Bernhard Herzog  <[email protected]>
546    
547            Avoid warnings when run under Python 2.3
548    
549            * Thuban/UI/baserenderer.py (BaseRenderer.draw_point_shape)
550            (BaseRenderer.draw_label_layer): Coordinates must be ints.
551    
552            * Thuban/UI/renderer.py (MapRenderer.make_point): Turn this into a
553            real method so that we can convert to int.
554            (MapRenderer.label_font): The font size mist be an int.
555    
556            * Thuban/UI/common.py (Color2wxColour): The color values must be
557            ints. Also, remove the unnecessary asserts.
558    
559            * test/test_load_0_8.py (TestUnicodeStrings.file_contents)
560            (TestUnicodeStrings.test): Python source code should not contain
561            non-ascii characters unless an encoding is specified in the file.
562            Therefore use \x escapes in the string literals for non-ascii
563            characters.
564    
565    2003-11-11  Bernhard Herzog  <[email protected]>
566    
567            * Thuban/Model/resource.py (get_system_proj_file): Add a filename
568            parameter so that this function can be used for all proj files in
569            Resource/Projections
570            (DEFAULT_PROJ_FILE, EPSG_PROJ_FILE): New. Predefined filenames for
571            get_system_proj_file
572    
573            * Thuban/UI/projdialog.py (ProjFrame.__init__): Instead of one
574            ProjFile self.__sysProjFile use a dictionary of system ProjFile
575            objects self._sys_proj_files
576            (ProjFrame.build_dialog): Adapt to the new changes in the
577            ProjectionList constructor. Add a check button to toggle whether
578            EPSG projections are shown
579            (ProjFrame._OnShowEPSG): New. Handler for the epsg check button
580            events.
581            (ProjFrame.load_user_proj, ProjFrame.load_system_proj): Only show
582            the busy cursor if the files have not yet been loaded by the
583            dialog.
584            (ProjFrame.load_system_proj): Add a parameter for the name of the
585            proj file. Maintain the dictionary of system projections
586            self._sys_proj_files
587    
588            * Thuban/UI/projlist.py (ProjectionList): Merge the system_projs,
589            user_projs parameters into one parameter proj_files which is a
590            list of proj files.
591            (ProjectionList._subscribe_proj_files)
592            (ProjectionList._unsubscribe_proj_files): New. Move
593            subscription/unsubscription of projfile messages to separate
594            methods
595            (ProjectionList.Destroy): The unsubscribe is now done in
596            _unsubscribe_proj_files
597            (ProjectionList.update_projections): We now have a list of proj
598            file objects
599            (ProjectionList.SetProjFiles): New method to set a new list of
600            proj file objects
601    
602            * test/test_proj.py (ProjFileReadTests.test_get_system_proj_file):
603            Specify explicitly which system proj file to load.
604    
605    2003-11-11  Bernhard Herzog  <[email protected]>
606    
607            * Thuban/Model/load.py (SessionLoader.Destroy): New. Clear all
608            instance variables to cut cyclic references. The GC would have
609            collected the loader eventually but it can happen that it doesn't
610            run at all until thuban is closed (2.3 but not 2.2 tries a bit
611            harder and forces a collection when the interpreter terminates)
612            (load_session): Call the handler's Destroy method to make sure
613            that it gets garbage collected early. Otherwise it will be
614            collected very late if at all and it holds some references to e.g.
615            shapestores and the session which can lead to leaks (of e.g. the
616            temporary files)
617    
618            * test/test_load.py (TestSingleLayer.test_leak): New. test for the
619            resource leak in load_session
620    
621    2003-11-10  Bernhard Herzog  <[email protected]>
622    
623            * Thuban/UI/baserenderer.py: Add a way to specify how layers in
624            extensions are to be rendered.
625            (_renderer_extensions): New. List with renderer for layers in
626            extensions
627            (add_renderer_extension): New. Add a renderer extension
628            (init_renderer_extensions): New. Init the renderer extensions
629            (BaseRenderer.render_map_incrementally): Search
630            _renderer_extensions for how to draw unknown layer types
631            (BaseRenderer.draw_raster_data): Add format parameter so that
632            formats other than BMP can be drawn
633            (BaseRenderer.draw_raster_layer): Pass an explicit format to
634            draw_raster_data
635    
636            * Thuban/UI/renderer.py (raster_format_map): New. Mapping form the
637            strings of the format parameter of draw_raster_data method to wx
638            constants
639            (MapRenderer.draw_raster_data): Add the format parameter and use
640            raster_format_map to map it to the right wxwindows constant for
641            wxImageFromStream
642    
643            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Add
644            the format parameter and record it
645            (TestBaseRenderer.test_raster_no_projection): check the format
646            paramter of the draw_raster_data method
647            (TestBaseRenderer.test_renderer_extension): New. Test the renderer
648            extension facility
649    
650    2003-11-07  Bernhard Herzog  <[email protected]>
651    
652            Tweak the usage of the sqlite database to make common use cases
653            more responsive. In most cases copying the data to the sqlite
654            database takes so long that using sqlite doesn't have enough
655            advantages.
656    
657            * Thuban/Model/transientdb.py (TransientTableBase.ValueRange): Add
658            comments about performance and query the min and max in separate
659            statements because only that way will indexes be used.
660            (TransientTableBase.UniqueValues): Add some comments about
661            performance.
662            (AutoTransientTable.ValueRange, AutoTransientTable.UniqueValues):
663            Do not copy the data to the transient DB but use the transient
664            copy if it exists. See the new comments for the performance trade
665            offs
666    
667            * test/test_transientdb.py
668            (TestTransientTable.test_auto_transient_table): Make sure that the
669            data is copied to the transient database at some point.
670    
671    2003-11-03  Bernhard Herzog  <[email protected]>
672    
673            * Thuban/Model/data.py (ShapefileStore.ShapesInRegion): Bind some
674            globals to locals so that it's a bit faster
675    
676    2003-11-03  Bernhard Herzog  <[email protected]>
677    
678            * Thuban/UI/baserenderer.py
679            (BaseRenderer.draw_shape_layer_incrementally): Use the ReadValue
680            method. ReadValue is faster than ReadRowAsDict since it only reads
681            one cell especially now that the dbf file objects actually
682            implement it.
683    
684            * Thuban/Model/table.py (DBFTable.ReadValue): Use the new
685            read_attribute method of the dbf objects
686    
687    2003-11-03  Bernhard Herzog  <[email protected]>
688    
689            * Extensions/profiling/profiling.py (popup_dialog_box): New config
690            variable to indicate whether the result should be shown in a
691            dialog box
692            (profile_screen_renderer, time_screen_renderer): Only show a
693            dialog box if popup_dialog_box is true.
694            (profile_screen_renderer): Flush stdout after the printing the
695            first part of the "profiling..." message
696    
697            * Thuban/UI/baserenderer.py
698            (BaseRenderer.draw_shape_layer_incrementally): Cache the pens and
699            brushes for the groups so that they're not created over and over
700            again
701    
702            * Thuban/Model/classification.py (Classification.__getattr__)
703            (Classification._compile_classification)
704            (Classification._clear_compiled_classification): New. Methods to
705            manage a 'compiled' representation of the classification groups
706            which is created on demand
707            (Classification.InsertGroup, Classification.RemoveGroup)
708            (Classification.ReplaceGroup): reset the compiled representation
709            (Classification.FindGroup): Use the compiled representation to
710            find the matching group
711            (ClassGroupRange.GetRangeTuple): New. Return the range as a tuple
712    
713    2003-10-31  Bernhard Herzog  <[email protected]>
714    
715            * Thuban/Model/classification.py (Classification.SetDefaultGroup):
716            Send a CLASS_CHANGED message
717            (Classification.RemoveGroup): Send a CLASS_CHANGED message and do
718            not return the removed group since it wasn't used.
719    
720            * test/test_classification.py
721            (TestClassification.test_set_default_group): New. Test the
722            SetDefaultGroup method
723            (TestClassification.test_insert_group): New. Test the InsertGroup
724            method
725            (TestClassification.test_remove_group): New. Test the RemoveGroup
726            method
727            (TestClassification.test_replace_group): New. Test the
728            ReplaceGroup method
729    
730    2003-10-31  Bernhard Herzog  <[email protected]>
731    
732            * test/test_classification.py (TestClassification.setUp):
733            Subscribe to the CLASS_CHANGED messages
734            (TestClassification.tearDown): New. Destroy the classification
735            properly
736            (TestClassification.test_defaults): Add tests for the default line
737            width and whether no messages were sent yet
738            (TestClassification.test_set_default_properties): Add tests for
739            messages and setting the default line width
740            (TestClassification.test_add_singleton)
741            (TestClassification.test_add_range)
742            (TestClassification.test_multiple_groups): Add tests for messages
743    
744    2003-10-31  Bernhard Herzog  <[email protected]>
745    
746            Some more refactoring in preparation for new tests:
747    
748            * test/test_classification.py (TestClassification.setUp): New.
749            Instantiate the classification here. Update the test methods
750            accordingly.
751            (TestClassification.test_multiple_groups): Make sure that the two
752            singletons matching 1 are considered different.
753    
754    2003-10-31  Bernhard Herzog  <[email protected]>
755    
756            * test/test_classification.py (red, green, blue): New. These
757            constants were used in several cases. Update the relevant methods.
758            (TestClassification.test_defaults)
759            (TestClassification.test_set_default_properties)
760            (TestClassification.test_add_singleton)
761            (TestClassification.test_add_range)
762            (TestClassification.test_multiple_groups)
763            (TestClassification.test_deepcopy): New. These were formerly all
764            part of the single method test.
765            (TestClassification.test_deepcopy): Removed.
766            (TestClassIterator): Removed. The test case is now a method of
767            TestClassification since it tests part of the public interface of
768            Classification
769            (TestClassification.test_iterator): New. Used to be
770            TestClassIterator effectively
771    
772    2003-10-31  Jan-Oliver Wagner <[email protected]>
773    
774            GUIfied the functions of the profiling extension.
775    
776            * /Extensions/profiling/__init__.py: New: Init to make this
777            directory a package.
778    
779            * Extensions/profiling/profiling.py: Moved menu entries to
780            the Extensions menu. Applied _() for strings.
781            (profile_screen_renderer): Catch the detailed printout and present
782            it in a dialog.
783            (time_screen_renderer): Raise a dialog to present the result instead
784            of printing it to stdout.
785    
786    2003-10-31  Bernhard Herzog  <[email protected]>
787    
788            * test/test_classification.py (TestClassGroupProperties)
789            (TestClassGroup, TestClassGroupDefault, TestClassGroupRange)
790            (TestClassGroupSingleton, TestClassIterator, TestClassification):
791            Split TestClassification into several classes, one for each class
792            being tested. TestClassification itself now only tests
793            Classification. This split makes changes to the tests a bit easier
794    
795    2003-10-31  Bernhard Herzog  <[email protected]>
796    
797            * Extensions/profiling/profiling.py: New. Extension to measure
798            Thuban performance
799    
800    2003-10-31  Frank Koormann <[email protected]>
801    
802            Added two items to legend popup menu: Remove Layer and Show Layer Table
803    
804            * Thuban/UI/legend.py (LegendPanel._OnRemoveLayer,
805            LegendPanel._OnShowTable): New event handlers, call the corresponding
806            mainwindow methods.
807            (LegendTree._OnRightClick): Added items to popup menu.
808    
809    2003-10-30  Bernhard Herzog  <[email protected]>
810    
811            * Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle
812            EVT_WINDOW_DESTROY
813            (ThubanFrame.OnDestroy): New. Handler for EVT_WINDOW_DESTROY. Does
814            nothing but is convenient for the derived classes.
815    
816            * Thuban/UI/tableview.py
817            (TableFrame.OnDestroy, LayerTableFrame.OnDestroy): New.
818            Unsubscribe the messages here not in OnClose because that might
819            get called multiple times. Fixes RT #2196
820            (TableFrame.OnClose, LayerTableFrame.OnClose): Removed. Not needed
821            anymore.
822    
823            * README: Update the minimum requirement for wxPython. Since we
824            now use the EVT_WINDOW_DESTROY event, we need at least 2.4.0.4,
825            the version in which that was introduced for all platforms
826    
827    2003-10-30  Frank Koormann <[email protected]>
828    
829            * Thuban/UI/join.py (JoinDialog.OnJoin): Wrapped the major parts of
830            the join process in a ThubanBeginBusyCursor, ThubanEndBusyCursor
831            frame.
832    
833    2003-10-30  Jan-Oliver Wagner <[email protected]>
834    
835            Improved APR import extension, added further EPSG definitions
836            and some cleanup regarding string class.
837    
838            * test/test_proj.py (TestProjection.test_get_projection_units_geo):
839            Added test for alias 'longlat'.
840    
841            * Resources/Projections/epsg-deprecated.proj: New. Contains
842            deprecated EPSG definitions.
843    
844            * Extensions/importAPR/odb.py (ODBBaseObject.TreeInfo): Added
845            the variable names for objects.
846    
847            * Extensions/importAPR/apr.py (APR_BLnSym, APR_BMkSym, APR_BShSym): New.
848            Copied from importAPR and provided with documentation.
849    
850            * Extensions/importAPR/importAPR.py (APR_BLnSym, APR_BMkSym, APR_BShSym):
851            Moved to apr.py.
852            (APR_View): Added object ref 'ITheme'.
853    
854            * Thuban/Lib/fileutil.py, Thuban/UI/proj4dialog.py: Replaced string
855            split function by corresponding use of the string class method.
856    
857            * Thuban/Model/xmlwriter.py: Replaced string replace function by
858            corresponding string method.
859    
860    2003-10-29  Bernhard Herzog  <[email protected]>
861    
862            * Thuban/UI/baserenderer.py
863            (BaseRenderer.draw_shape_layer_incrementally): Speed up the
864            special case of a classification that only has the default group
865    
866    2003-10-27  Bernhard Herzog  <[email protected]>
867    
868            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
869    
870            * po/de.po: Update.
871    
872            * Thuban/UI/application.py
873            (ThubanApplication.ShowExceptionDialog): Handle translation of the
874            dialog message properly
875    
876    2003-10-27  Bernhard Herzog  <[email protected]>
877    
878            Rework how localization works so that we use wx's translation
879            functions when running Thuban as a normal application but not when
880            we don't need any UI, such as in the test suite. See the comment
881            in Thuban/__init__.py for details
882    
883            * Thuban/__init__.py (_): Add one level of indirection to make the
884            translation handling more flexible and to make it possible to use
885            either wx's translation services or not.
886            (gettext_identity, translation_function_installed)
887            (install_translation_function): New function to help with this
888    
889            * Thuban/UI/__init__.py: Install the wx specific translation
890            function if it's OK to do that
891    
892            * test/support.py (initthuban): Install a dummy translation
893            function so that importing Thuban.UI doesn't install a wx specific
894            one for which would need to import wxPython
895    
896  2003-10-27  Bernhard Herzog  <[email protected]>  2003-10-27  Bernhard Herzog  <[email protected]>
897    
898          * HOWTO-Release: Source archives should be created first and the          * HOWTO-Release: Source archives should be created first and the

Legend:
Removed from v.1870  
changed lines
  Added in v.2052

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26