/[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 715 by jonathan, Wed Apr 23 08:47:18 2003 UTC revision 734 by bh, Thu Apr 24 19:14:16 2003 UTC
# Line 1  Line 1 
1    2003-04-24  Bernhard Herzog  <[email protected]>
2    
3            * po/es.po: Updated Spanish translation by Daniel Calvelo Aros
4    
5            * po/fr.po: New. French translation by Daniel Calvelo Aros
6    
7            * Thuban/UI/projdialog.py (ProjFrame._OnSaveAs): Don't translate
8            empty strings.
9    
10    2003-04-25  Jonathan Coles   <[email protected]>
11    
12            * Thuban/Model/layer.py (Layer.GetProjection): New. Needed to
13            implement the interface that the ProjFrame dialog expects.
14    
15            * Thuban/Model/proj.py (Projection.SetName): New. Allows the
16            name of the projection to be changed.
17            (ProjFile): Use a dictionary instead of a list so that removing
18            projections is easier and we are sure about uniqueness.
19            (ProjFile.Remove): Remove the given projection object.
20    
21            * Thuban/Model/resource.py (GetSystemProjFiles, GetUserProjFiles):
22            Return a list with only one projection file instead of searching for
23            any projection file. This simplifies many things if the user can
24            only have one system file and one user file.
25    
26            * Thuban/UI/classgen.py: Change all references to
27            genCombo to genChoice.
28    
29            * Thuban/UI/mainwindow.py: Add a Projection option under the
30            layer menu.
31            (MainWindow.LayerProjection): New. Open up a projection window
32            for a layer.
33    
34            * Thuban/UI/projdialog.py: Large changes to how the dialog is
35            laid out. Use three panels instead of one. One for the list of
36            projections, one for the edit controls, and one for the buttons.
37            Fixed resizing problems so that the dialog resizes correctly
38            when the projection panel changes. Added import/export, save, and
39            new buttons/functionality.
40    
41    2003-04-24  Bernhard Herzog  <[email protected]>
42    
43            First step towards table management. Introduce a simple data
44            abstraction so that we replace the data a layer uses more easily
45            in the next step.
46    
47            * Thuban/Model/data.py: New file with a simple data abstraction
48            that bundles shapefile and dbffile into one object.
49    
50            * Thuban/Model/session.py (Session.OpenShapefile): New method to
51            open shapefiles and return a shape store object
52    
53            * Thuban/Model/layer.py (Layer.__init__): Pass the data as a store
54            object instead of a shapefile filename. This introduces a new
55            instance variable store holding the datastore. For intermediate
56            backwards compatibility keep the old instance variables.
57            (open_shapefile): Removed. No longer needed with the shape store.
58            (Layer.SetShapeStore, Layer.ShapeStore): New methods to set and
59            get the shape store used by a layer.
60            (Layer.Destroy): No need to explicitly destroy the shapefile or
61            table anymore.
62    
63            * Thuban/UI/mainwindow.py (MainWindow.AddLayer)
64            (MainWindow.AddLayer): Use the session's OpenShapefile method to
65            open shapefiles
66    
67            * Thuban/Model/load.py (ProcessSession.start_layer): Use the
68            session's OpenShapefile method to open shapefiles
69    
70            * test/test_classification.py
71            (TestClassification.test_classification): Use the session's
72            OpenShapefile method to open shapefiles and build the filename in
73            a more platform independed way
74    
75            * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
76            Implement to have a session to use in the tests
77            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
78            (TestLayer.test_point_layer, TestLayer.test_empty_layer): Use the
79            session's OpenShapefile method to open shapefiles
80            (TestLayerLegend.setUp): Instantiate a session so that we can use
81            it to open shapefiles.
82            (TestLayerLegend.tearDown): Make sure that all references to
83            layers and session are removed otherwise we may get a resource
84            leak
85    
86            * test/test_map.py (TestMapAddLayer.test_add_layer)
87            (TestMapWithContents.setUp): Instantiate a session so that we can
88            use it to open shapefiles.
89            (TestMapWithContents.tearDown): Make sure that all references to
90            layers, maps and sessions are removed otherwise we may get a
91            resource leak
92            ("__main__"): use support.run_tests() so that more info about
93            uncollected garbage is printed
94    
95            * test/test_save.py (SaveSessionTest.testSingleLayer): Use the
96            session's OpenShapefile method to open shapefiles
97            ("__main__"): use support.run_tests() so that more info about
98            uncollected garbage is printed
99    
100            * test/test_selection.py (TestSelection.tearDown): Make sure that
101            all references to the session and the selection are removed
102            otherwise we may get a resource leak
103            (TestSelection.get_layer): Instantiate a session so that we can
104            use it to open shapefiles.
105            ("__main__"): use support.run_tests() so that more info about
106            uncollected garbage is printed
107    
108            * test/test_session.py (TestSessionBase.tearDown)
109            (TestSessionWithContent.tearDown): Make sure that all references
110            to the session and layers are removed otherwise we may get a
111            resource leak
112            (TestSessionWithContent.setUp): Use the session's OpenShapefile
113            method to open shapefiles
114    
115    2003-04-24  Jonathan Coles   <[email protected]>
116    
117            * Thuban/Model/load.py (XMLReader.read): Should have been checking
118            if the file_or_filename object had the 'read' attribute.
119    
120    2003-04-23  Jonathan Coles   <[email protected]>
121    
122            * Thuban/Model/resource.py: Fixes RTbug #1813.
123            (ReadProjFile): Add documentation about which exceptions are raised.
124            Always pass the exceptions up to the caller.
125            (GetProjFiles): If the directory can't be read return an empty list.
126            If any of the proj files can't be read skip that file and go
127            on to the next one.
128    
129            * test/test_proj.py: Added test cases to handle nonexistent files,
130            unreadable files, and files that don't parse correctly.
131    
132    2003-04-23  Jonathan Coles   <[email protected]>
133    
134            Projection dialog. Allows the user to select from a list
135            of projection templates and optionally edit them and save new ones.
136    
137            * Thuban/UI/projdialog.py (ProjFrame): New. Main dialog.
138            (ProjPanel): Base class for projection specific panels.
139            (TMPanel): Projection panel for Transverse Mercartor.
140            (UTMPanel): Projection panel for Universal Transverse Mercartor.
141            (LCCPanel): Projection panel for Lambert Conic Conformal.
142            (GeoPanel): Projetion panel for Geographic Projection.
143    
144  2003-04-23  Jonathan Coles   <[email protected]>  2003-04-23  Jonathan Coles   <[email protected]>
145    
146          * Thuban/Model/load.py (XMLReader): Renamed from XMLProcessor to          * Thuban/Model/load.py (XMLReader): Renamed from XMLProcessor to

Legend:
Removed from v.715  
changed lines
  Added in v.734

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26