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

Legend:
Removed from v.1894  
changed lines
  Added in v.2054

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26