/[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 1834 by bh, Mon Oct 20 11:01:14 2003 UTC revision 1942 by bh, Tue Nov 11 18:28:01 2003 UTC
# Line 1  Line 1 
1    2003-11-11  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/resource.py (EPSG_DEPRECATED_PROJ_FILE): New.
4            Constant for the file woth deprecated epsg projections
5            (get_system_proj_file): Update doc-string
6    
7            * Thuban/UI/projdialog.py (ProjFrame.build_dialog): Add a space
8            above the EPS widgets, introduce a check box for the deprecated
9            eps projections and a label for the epsg widgets
10            (ProjFrame._OnShowEPSG): Handle the deprecated EPSG projections
11            too
12    
13    2003-11-11  Bernhard Herzog  <[email protected]>
14    
15            Avoid warnings when run under Python 2.3
16    
17            * Thuban/UI/baserenderer.py (BaseRenderer.draw_point_shape)
18            (BaseRenderer.draw_label_layer): Coordinates must be ints.
19    
20            * Thuban/UI/renderer.py (MapRenderer.make_point): Turn this into a
21            real method so that we can convert to int.
22            (MapRenderer.label_font): The font size mist be an int.
23    
24            * Thuban/UI/common.py (Color2wxColour): The color values must be
25            ints. Also, remove the unnecessary asserts.
26    
27            * test/test_load_0_8.py (TestUnicodeStrings.file_contents)
28            (TestUnicodeStrings.test): Python source code should not contain
29            non-ascii characters unless an encoding is specified in the file.
30            Therefore use \x escapes in the string literals for non-ascii
31            characters.
32    
33    2003-11-11  Bernhard Herzog  <[email protected]>
34    
35            * Thuban/Model/resource.py (get_system_proj_file): Add a filename
36            parameter so that this function can be used for all proj files in
37            Resource/Projections
38            (DEFAULT_PROJ_FILE, EPSG_PROJ_FILE): New. Predefined filenames for
39            get_system_proj_file
40    
41            * Thuban/UI/projdialog.py (ProjFrame.__init__): Instead of one
42            ProjFile self.__sysProjFile use a dictionary of system ProjFile
43            objects self._sys_proj_files
44            (ProjFrame.build_dialog): Adapt to the new changes in the
45            ProjectionList constructor. Add a check button to toggle whether
46            EPSG projections are shown
47            (ProjFrame._OnShowEPSG): New. Handler for the epsg check button
48            events.
49            (ProjFrame.load_user_proj, ProjFrame.load_system_proj): Only show
50            the busy cursor if the files have not yet been loaded by the
51            dialog.
52            (ProjFrame.load_system_proj): Add a parameter for the name of the
53            proj file. Maintain the dictionary of system projections
54            self._sys_proj_files
55    
56            * Thuban/UI/projlist.py (ProjectionList): Merge the system_projs,
57            user_projs parameters into one parameter proj_files which is a
58            list of proj files.
59            (ProjectionList._subscribe_proj_files)
60            (ProjectionList._unsubscribe_proj_files): New. Move
61            subscription/unsubscription of projfile messages to separate
62            methods
63            (ProjectionList.Destroy): The unsubscribe is now done in
64            _unsubscribe_proj_files
65            (ProjectionList.update_projections): We now have a list of proj
66            file objects
67            (ProjectionList.SetProjFiles): New method to set a new list of
68            proj file objects
69    
70            * test/test_proj.py (ProjFileReadTests.test_get_system_proj_file):
71            Specify explicitly which system proj file to load.
72    
73    2003-11-11  Bernhard Herzog  <[email protected]>
74    
75            * Thuban/Model/load.py (SessionLoader.Destroy): New. Clear all
76            instance variables to cut cyclic references. The GC would have
77            collected the loader eventually but it can happen that it doesn't
78            run at all until thuban is closed (2.3 but not 2.2 tries a bit
79            harder and forces a collection when the interpreter terminates)
80            (load_session): Call the handler's Destroy method to make sure
81            that it gets garbage collected early. Otherwise it will be
82            collected very late if at all and it holds some references to e.g.
83            shapestores and the session which can lead to leaks (of e.g. the
84            temporary files)
85    
86            * test/test_load.py (TestSingleLayer.test_leak): New. test for the
87            resource leak in load_session
88    
89    2003-11-10  Bernhard Herzog  <[email protected]>
90    
91            * Thuban/UI/baserenderer.py: Add a way to specify how layers in
92            extensions are to be rendered.
93            (_renderer_extensions): New. List with renderer for layers in
94            extensions
95            (add_renderer_extension): New. Add a renderer extension
96            (init_renderer_extensions): New. Init the renderer extensions
97            (BaseRenderer.render_map_incrementally): Search
98            _renderer_extensions for how to draw unknown layer types
99            (BaseRenderer.draw_raster_data): Add format parameter so that
100            formats other than BMP can be drawn
101            (BaseRenderer.draw_raster_layer): Pass an explicit format to
102            draw_raster_data
103    
104            * Thuban/UI/renderer.py (raster_format_map): New. Mapping form the
105            strings of the format parameter of draw_raster_data method to wx
106            constants
107            (MapRenderer.draw_raster_data): Add the format parameter and use
108            raster_format_map to map it to the right wxwindows constant for
109            wxImageFromStream
110    
111            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Add
112            the format parameter and record it
113            (TestBaseRenderer.test_raster_no_projection): check the format
114            paramter of the draw_raster_data method
115            (TestBaseRenderer.test_renderer_extension): New. Test the renderer
116            extension facility
117    
118    2003-11-07  Bernhard Herzog  <[email protected]>
119    
120            Tweak the usage of the sqlite database to make common use cases
121            more responsive. In most cases copying the data to the sqlite
122            database takes so long that using sqlite doesn't have enough
123            advantages.
124    
125            * Thuban/Model/transientdb.py (TransientTableBase.ValueRange): Add
126            comments about performance and query the min and max in separate
127            statements because only that way will indexes be used.
128            (TransientTableBase.UniqueValues): Add some comments about
129            performance.
130            (AutoTransientTable.ValueRange, AutoTransientTable.UniqueValues):
131            Do not copy the data to the transient DB but use the transient
132            copy if it exists. See the new comments for the performance trade
133            offs
134    
135            * test/test_transientdb.py
136            (TestTransientTable.test_auto_transient_table): Make sure that the
137            data is copied to the transient database at some point.
138    
139    2003-11-03  Bernhard Herzog  <[email protected]>
140    
141            * Thuban/Model/data.py (ShapefileStore.ShapesInRegion): Bind some
142            globals to locals so that it's a bit faster
143    
144    2003-11-03  Bernhard Herzog  <[email protected]>
145    
146            * Thuban/UI/baserenderer.py
147            (BaseRenderer.draw_shape_layer_incrementally): Use the ReadValue
148            method. ReadValue is faster than ReadRowAsDict since it only reads
149            one cell especially now that the dbf file objects actually
150            implement it.
151    
152            * Thuban/Model/table.py (DBFTable.ReadValue): Use the new
153            read_attribute method of the dbf objects
154    
155    2003-11-03  Bernhard Herzog  <[email protected]>
156    
157            * Extensions/profiling/profiling.py (popup_dialog_box): New config
158            variable to indicate whether the result should be shown in a
159            dialog box
160            (profile_screen_renderer, time_screen_renderer): Only show a
161            dialog box if popup_dialog_box is true.
162            (profile_screen_renderer): Flush stdout after the printing the
163            first part of the "profiling..." message
164    
165            * Thuban/UI/baserenderer.py
166            (BaseRenderer.draw_shape_layer_incrementally): Cache the pens and
167            brushes for the groups so that they're not created over and over
168            again
169    
170            * Thuban/Model/classification.py (Classification.__getattr__)
171            (Classification._compile_classification)
172            (Classification._clear_compiled_classification): New. Methods to
173            manage a 'compiled' representation of the classification groups
174            which is created on demand
175            (Classification.InsertGroup, Classification.RemoveGroup)
176            (Classification.ReplaceGroup): reset the compiled representation
177            (Classification.FindGroup): Use the compiled representation to
178            find the matching group
179            (ClassGroupRange.GetRangeTuple): New. Return the range as a tuple
180    
181    2003-10-31  Bernhard Herzog  <[email protected]>
182    
183            * Thuban/Model/classification.py (Classification.SetDefaultGroup):
184            Send a CLASS_CHANGED message
185            (Classification.RemoveGroup): Send a CLASS_CHANGED message and do
186            not return the removed group since it wasn't used.
187    
188            * test/test_classification.py
189            (TestClassification.test_set_default_group): New. Test the
190            SetDefaultGroup method
191            (TestClassification.test_insert_group): New. Test the InsertGroup
192            method
193            (TestClassification.test_remove_group): New. Test the RemoveGroup
194            method
195            (TestClassification.test_replace_group): New. Test the
196            ReplaceGroup method
197    
198    2003-10-31  Bernhard Herzog  <[email protected]>
199    
200            * test/test_classification.py (TestClassification.setUp):
201            Subscribe to the CLASS_CHANGED messages
202            (TestClassification.tearDown): New. Destroy the classification
203            properly
204            (TestClassification.test_defaults): Add tests for the default line
205            width and whether no messages were sent yet
206            (TestClassification.test_set_default_properties): Add tests for
207            messages and setting the default line width
208            (TestClassification.test_add_singleton)
209            (TestClassification.test_add_range)
210            (TestClassification.test_multiple_groups): Add tests for messages
211    
212    2003-10-31  Bernhard Herzog  <[email protected]>
213    
214            Some more refactoring in preparation for new tests:
215    
216            * test/test_classification.py (TestClassification.setUp): New.
217            Instantiate the classification here. Update the test methods
218            accordingly.
219            (TestClassification.test_multiple_groups): Make sure that the two
220            singletons matching 1 are considered different.
221    
222    2003-10-31  Bernhard Herzog  <[email protected]>
223    
224            * test/test_classification.py (red, green, blue): New. These
225            constants were used in several cases. Update the relevant methods.
226            (TestClassification.test_defaults)
227            (TestClassification.test_set_default_properties)
228            (TestClassification.test_add_singleton)
229            (TestClassification.test_add_range)
230            (TestClassification.test_multiple_groups)
231            (TestClassification.test_deepcopy): New. These were formerly all
232            part of the single method test.
233            (TestClassification.test_deepcopy): Removed.
234            (TestClassIterator): Removed. The test case is now a method of
235            TestClassification since it tests part of the public interface of
236            Classification
237            (TestClassification.test_iterator): New. Used to be
238            TestClassIterator effectively
239    
240    2003-10-31  Jan-Oliver Wagner <[email protected]>
241    
242            GUIfied the functions of the profiling extension.
243    
244            * /Extensions/profiling/__init__.py: New: Init to make this
245            directory a package.
246    
247            * Extensions/profiling/profiling.py: Moved menu entries to
248            the Extensions menu. Applied _() for strings.
249            (profile_screen_renderer): Catch the detailed printout and present
250            it in a dialog.
251            (time_screen_renderer): Raise a dialog to present the result instead
252            of printing it to stdout.
253    
254    2003-10-31  Bernhard Herzog  <[email protected]>
255    
256            * test/test_classification.py (TestClassGroupProperties)
257            (TestClassGroup, TestClassGroupDefault, TestClassGroupRange)
258            (TestClassGroupSingleton, TestClassIterator, TestClassification):
259            Split TestClassification into several classes, one for each class
260            being tested. TestClassification itself now only tests
261            Classification. This split makes changes to the tests a bit easier
262    
263    2003-10-31  Bernhard Herzog  <[email protected]>
264    
265            * Extensions/profiling/profiling.py: New. Extension to measure
266            Thuban performance
267    
268    2003-10-31  Frank Koormann <[email protected]>
269    
270            Added two items to legend popup menu: Remove Layer and Show Layer Table
271    
272            * Thuban/UI/legend.py (LegendPanel._OnRemoveLayer,
273            LegendPanel._OnShowTable): New event handlers, call the corresponding
274            mainwindow methods.
275            (LegendTree._OnRightClick): Added items to popup menu.
276    
277    2003-10-30  Bernhard Herzog  <[email protected]>
278    
279            * Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle
280            EVT_WINDOW_DESTROY
281            (ThubanFrame.OnDestroy): New. Handler for EVT_WINDOW_DESTROY. Does
282            nothing but is convenient for the derived classes.
283    
284            * Thuban/UI/tableview.py
285            (TableFrame.OnDestroy, LayerTableFrame.OnDestroy): New.
286            Unsubscribe the messages here not in OnClose because that might
287            get called multiple times. Fixes RT #2196
288            (TableFrame.OnClose, LayerTableFrame.OnClose): Removed. Not needed
289            anymore.
290    
291            * README: Update the minimum requirement for wxPython. Since we
292            now use the EVT_WINDOW_DESTROY event, we need at least 2.4.0.4,
293            the version in which that was introduced for all platforms
294    
295    2003-10-30  Frank Koormann <[email protected]>
296    
297            * Thuban/UI/join.py (JoinDialog.OnJoin): Wrapped the major parts of
298            the join process in a ThubanBeginBusyCursor, ThubanEndBusyCursor
299            frame.
300    
301    2003-10-30  Jan-Oliver Wagner <[email protected]>
302    
303            Improved APR import extension, added further EPSG definitions
304            and some cleanup regarding string class.
305    
306            * test/test_proj.py (TestProjection.test_get_projection_units_geo):
307            Added test for alias 'longlat'.
308    
309            * Resources/Projections/epsg-deprecated.proj: New. Contains
310            deprecated EPSG definitions.
311    
312            * Extensions/importAPR/odb.py (ODBBaseObject.TreeInfo): Added
313            the variable names for objects.
314    
315            * Extensions/importAPR/apr.py (APR_BLnSym, APR_BMkSym, APR_BShSym): New.
316            Copied from importAPR and provided with documentation.
317    
318            * Extensions/importAPR/importAPR.py (APR_BLnSym, APR_BMkSym, APR_BShSym):
319            Moved to apr.py.
320            (APR_View): Added object ref 'ITheme'.
321    
322            * Thuban/Lib/fileutil.py, Thuban/UI/proj4dialog.py: Replaced string
323            split function by corresponding use of the string class method.
324    
325            * Thuban/Model/xmlwriter.py: Replaced string replace function by
326            corresponding string method.
327    
328    2003-10-29  Bernhard Herzog  <[email protected]>
329    
330            * Thuban/UI/baserenderer.py
331            (BaseRenderer.draw_shape_layer_incrementally): Speed up the
332            special case of a classification that only has the default group
333    
334    2003-10-27  Bernhard Herzog  <[email protected]>
335    
336            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
337    
338            * po/de.po: Update.
339    
340            * Thuban/UI/application.py
341            (ThubanApplication.ShowExceptionDialog): Handle translation of the
342            dialog message properly
343    
344    2003-10-27  Bernhard Herzog  <[email protected]>
345    
346            Rework how localization works so that we use wx's translation
347            functions when running Thuban as a normal application but not when
348            we don't need any UI, such as in the test suite. See the comment
349            in Thuban/__init__.py for details
350    
351            * Thuban/__init__.py (_): Add one level of indirection to make the
352            translation handling more flexible and to make it possible to use
353            either wx's translation services or not.
354            (gettext_identity, translation_function_installed)
355            (install_translation_function): New function to help with this
356    
357            * Thuban/UI/__init__.py: Install the wx specific translation
358            function if it's OK to do that
359    
360            * test/support.py (initthuban): Install a dummy translation
361            function so that importing Thuban.UI doesn't install a wx specific
362            one for which would need to import wxPython
363    
364    2003-10-27  Bernhard Herzog  <[email protected]>
365    
366            * HOWTO-Release: Source archives should be created first and the
367            binary packages should be created from the source archives.
368            There's an official debian package now so there's no need to test
369            the rpm on debian anymore
370    
371    2003-10-27  Bernhard Herzog  <[email protected]>
372    
373            Several rendering changes:
374    
375             - Render the selection into a separate bitmap so that only that
376               bitmap needs to be redrawn when the selection changes
377    
378             - Render incrementally showing previews and allowing interaction
379               before rendering is complete
380    
381             - Update the renderer interface a bit. Most parameters of
382               RenderMap are now parameters of the constructor
383    
384            * Thuban/UI/baserenderer.py (BaseRenderer.__init__): Add the map
385            and the update region as parameters. Update the doc-string
386            (BaseRenderer.render_map_incrementally): New. Generator function
387            to renders the map incrementally
388            (BaseRenderer.render_map): Remove the map argument (it's now in
389            the constructor) and simply iterate over the
390            render_map_incrementally generator to draw the map.
391            (BaseRenderer.draw_shape_layer_incrementally)
392            (BaseRenderer.draw_shape_layer): Renamed to
393            draw_shape_layer_incrementally and changed into a generator that
394            yields True every 500 shapes. Used by render_map_incrementally to
395            render shape layers incrementally
396    
397            * Thuban/UI/renderer.py (ScreenRenderer.RenderMap): Removed the
398            map and region parameters which are now in the constructor
399            (ScreenRenderer.RenderMapIncrementally): New. Public frontend for
400            the inherited render_map_incrementally.
401            (BaseRenderer.draw_shape_layer): Removed.
402            (ScreenRenderer.draw_selection_incrementally): New. The selection
403            drawing part of the removed draw_shape_layer as a generator
404            (ScreenRenderer.layer_shapes): Update because of the region
405            parameter change
406            (ExportRenderer.__init__): New. Extend the inherited constructor
407            with the destination region for the drawing
408            (ExportRenderer.RenderMap): Removed the map and region parameters
409            which are now in the constructor
410    
411            * Thuban/UI/view.py (MapCanvas.PreviewBitmap): New. Return a
412            bitmap suitable for a preview in a tool
413            (CanvasPanTool.MouseMove): Use the PreviewBitmap method to get the
414            bitmap
415            (MapPrintout.draw_on_dc): Adapt to new renderer interface
416            (MapCanvas.OnPaint): Handle drawing the selection bitmap if it
417            exists
418            (MapCanvas.OnIdle): Update the logic to deal with incremental
419            rendering and the selection bitmap
420            (MapCanvas._do_redraw): Handle the instantiation of the render
421            iterator and the redraws during rendering
422            (MapCanvas._render_iterator): New. Generator to incrementally
423            redraw both bitmaps
424            (MapCanvas.Export): Adapt to new renderer interface.
425            (MapCanvas.full_redraw): Reset the selection bitmap and the
426            renderer iterator too
427            (MapCanvas.redraw_selection): New. Force a redraw of the selection
428            bitmap
429            (MapCanvas.shape_selected): Only redraw the selection bitmap
430    
431            * test/test_baserenderer.py
432            (TestBaseRenderer.test_polygon_no_projection)
433            (TestBaseRenderer.test_raster_no_projection)
434            (TestBaseRenderer.test_point_map_projection)
435            (TestBaseRenderer.test_point_layer_and_map_projection)
436            (TestBaseRenderer.test_point_layer_projection)
437            (TestBaseRenderer.test_point_with_classification): Adapt to new
438            renderer interface
439    
440    2003-10-24  Bernhard Herzog  <[email protected]>
441    
442            * libraries/thuban/wxproj.cpp (draw_polygon_shape)
443            (point_in_polygon_shape, shape_centroid): Raise an exception if
444            the shape can't be read. Previously invalid shape ids would lead
445            to a segfault.
446    
447            * test/test_wxproj.py (TestShapeCentroid.test_invalid_shape_id):
448            New. test whether an exception is raised for invalid shape ids
449    
450    2003-10-24  Jan-Oliver Wagner <[email protected]>
451    
452            * Thuban/Model/proj.py (Projection.GetProjectedUnits): Added 'longlat'
453            as alias for 'latlong'.
454    
455            * Thuban/UI/projdialog.py (ProjFrame.__init__): Added 'longlat'
456            as alias for 'latlong'.
457    
458    2003-10-24  Jan-Oliver Wagner <[email protected]>
459    
460            * Thuban/UI/projdialog.py (ProjFrame.proj_selection_changed): Set
461            the projection even for the UnknownPanel.
462            (UnknownProjPanel.__init__): Define the text and create the textctrl
463            widget.
464            (UnknownProjPanel._DoLayout): Replaced static text widget by the
465            textctrl created in __init__.
466            (UnknownProjPanel.SetProjection): Set the text for the text ctrl
467            including the parameters of the projection.
468            
469    2003-10-24  Jan-Oliver Wagner <[email protected]>
470    
471            * Resources/Projections/epsg.proj: New. This is a list of
472            EPSG codes with parameters for proj. The list has been
473            generated using devtools/create_epsg.py based on the
474            file nad/epsg of the proj 4.4.7 package. Four projection
475            definitions have been deleted as they are not accepted by proj:
476            "CH1903+ / LV95", "Bern 1898 (Bern) / LV03C", "CH1903 / LV03"
477            and "HD72 / EOV".
478    
479    2003-10-22  Bernhard Herzog  <[email protected]>
480    
481            Some more tweaks to the projection dialog which should fix RT
482            #1886.
483    
484            * Thuban/UI/projlist.py (ProjectionList.Destroy): Unsubscribe from
485            the ProjFile's messages and call the base class methods correctly
486            (ProjectionList.SelectProjection): Set the wxLIST_STATE_FOCUSED
487            flag on the newly selected item too. Otherwise some other item is
488            focused and the first time the focus is moved with the keyboard
489            the selection moves in unexpected ways.
490    
491            * Thuban/UI/projdialog.py (ProjFrame.__init__): Do not set the
492            focus on the OK button, only on the projection list. That way the
493            list really has the focus initially
494            (ProjFrame.OnClose): Call the projection list's Destroy method to
495            make it unsubscribe all messages
496    
497    2003-10-21  Bernhard Herzog  <[email protected]>
498    
499            Rework the projection dialog to fix a few bugs, including RT 2166
500            and most of 2168
501    
502            * Thuban/UI/projlist.py: New. The class ProjectionList is a
503            special wxListCtrl to show a list of projections in a more MVC
504            fashion
505    
506            * Thuban/UI/projdialog.py (ProjFrame): Substantial changes
507            throughout the class. The main change is to use the ProjectionList
508            class instead of a normal wxListBox. Also, add an explicit
509            "Unknown" projection to the projection choice control.
510            (ProjPanel.__init__): Add an "unknown" ellipsoid
511            (TMPanel.__init__, LCCPanel.__init__): Tweak the order of
512            instantiation of the panel's controls to make the tab-order more
513            natural
514    
515    2003-10-21  Bernhard Herzog  <[email protected]>
516    
517            * test/test_load.py (TestSingleLayer.file_contents)
518            (TestSingleLayer.test): Add non-ascii characters to the titles of
519            session, map and layer. This is effectively a port of the
520            TestUnicodeStrings test in test_load_0_8.py which for some reason
521            was only added there.
522    
523            * test/test_load_0_9.py (TestSingleLayer.file_contents)
524            (TestSingleLayer.test): Same as in test_load.py: add non-ascii
525            characters to the titles of session, map and layer,.
526    
527    2003-10-21  Bernhard Herzog  <[email protected]>
528    
529            Add EPSG projection handling to .thuban files
530    
531            * test/test_save.py (SaveSessionTest.dtd)
532            (SaveSessionTest.testEmptySession)
533            (SaveSessionTest.testLayerProjection)
534            (SaveSessionTest.testRasterLayer)
535            (SaveSessionTest.testClassifiedLayer)
536            (SaveSessionTest.test_dbf_table)
537            (SaveSessionTest.test_joined_table)
538            (SaveSessionTest.test_save_postgis): Update to 1.0-dev namespace
539            (SaveSessionTest.testSingleLayer): Update to 1.0-dev namespace and
540            use a and epsg projection to test saving them
541    
542            * test/test_load.py (LoadSessionTest.dtd): Update to 1.0-dev
543            namespace
544            (TestLayerVisibility.file_contents, TestLabels.file_contents)
545            (TestLayerProjection.file_contents)
546            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
547            (TestPostGISLayer.file_contents)
548            (TestPostGISLayerPassword.file_contents)
549            (TestLoadError.file_contents, TestLoadError.test): Update to use
550            1.0-dev namespace
551            (TestSingleLayer.file_contents, TestSingleLayer.test): Update to
552            use 1.0-dev namespace and use an EPSG projection to test whether
553            loading it works
554    
555            * test/test_load_0_9.py: New. Effectively a copy of test_load.py
556            as of Thuban 0.9. These are now tests to determine whether Thuban
557            can still read files generated by Thuban 0.9
558    
559            * Thuban/Model/save.py (SessionSaver.write)
560            (SessionSaver.write_session): Use the 1.0 dtd and 1.0-dev
561            namespace
562            (SessionSaver.write_projection): Write the projection's epsg
563            attribute
564    
565            * Thuban/Model/load.py (SessionLoader.__init__): Also accept the
566            thuban-1.0-dev.dtd namespace
567            (SessionLoader.check_attrs): Allow a callable object as conversion
568            too
569            (SessionLoader.start_projection, SessionLoader.end_projection)
570            (SessionLoader.start_parameter): Handle the epsg attribute and
571            rename a few instance variables to lower case
572    
573            * Resources/XML/thuban-1.0.dtd: New. Only difference to
574            thuban-0.9.dtd is the epsg attribute for projections.
575    
576    2003-10-21  Bernhard Herzog  <[email protected]>
577    
578            * test/runtests.py (main): Let the user specify which tests to run
579            on the command line
580    
581            * test/support.py (ThubanTestResult.getDescription): Override to
582            give a better short description. The description can be used as a
583            parameter to run_tests to run that particular test in isolation.
584    
585    2003-10-21  Frank Koormann   <[email protected]>
586    
587            Popup menu for legend. Scheduled for the 1.2 release this was too
588            simple to implement: The popup menu is bound to the legend tree, while
589            the events are hanlded by its anchestor, the legend panel. This
590            allows reuse of all the event handlers already implemented for the
591            legend toolbar buttons.
592    
593            * Thuban/UI/legend.py (LegendPanel.__init__): EVT_MENU macros
594            to add handlers for the events issued by the popup menu.
595            (LegendPanel._OnToggleVisibility): Handler for toggling layer
596            visibility event
597            (LegendPanel._OnProjection): Handler for layer projection event.
598            (LegendTree.__init__): Added EVT_TREE_ITEM_RIGHT_CLICK
599            (LegendTree._OnRightClick): Event handler for right click, select item
600            and pop up menu.
601            (LegendTree.ToggleVisibility): Toggle layer visibility
602            (LegendTree.LayerProjection): Raise layer projection dialog for
603            current layer.
604    
605    2003-10-21  Bernhard Herzog  <[email protected]>
606    
607            * Resources/Projections/defaults.proj: Use correct DOCTYPE
608            declaration. The top-level element is projectionlist not projfile
609    
610  2003-10-20  Bernhard Herzog  <[email protected]>  2003-10-20  Bernhard Herzog  <[email protected]>
611    
612          * Thuban/UI/projdialog.py (ProjFrame.write_proj_file): New. helper          * Thuban/UI/projdialog.py (ProjFrame.write_proj_file): New. helper

Legend:
Removed from v.1834  
changed lines
  Added in v.1942

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26