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

Legend:
Removed from v.1906  
changed lines
  Added in v.2033

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26