/[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 693 by jonathan, Wed Apr 16 16:39:03 2003 UTC revision 720 by jonathan, Wed Apr 23 10:40:12 2003 UTC
# Line 1  Line 1 
1    2003-04-23  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/resource.py: Fixes RTbug #1813.
4            (ReadProjFile): Add documentation about which exceptions are raised.
5            Always pass the exceptions up to the caller.
6            (GetProjFiles): If the directory can't be read return an empty list.
7            If any of the proj files can't be read skip that file and go
8            on to the next one.
9    
10            * test/test_proj.py: Added test cases to handle nonexistent files,
11            unreadable files, and files that don't parse correctly.
12    
13    2003-04-23  Jonathan Coles   <[email protected]>
14    
15            Projection dialog. Allows the user to select from a list
16            of projection templates and optionally edit them and save new ones.
17    
18            * Thuban/UI/projdialog.py (ProjFrame): New. Main dialog.
19            (ProjPanel): Base class for projection specific panels.
20            (TMPanel): Projection panel for Transverse Mercartor.
21            (UTMPanel): Projection panel for Universal Transverse Mercartor.
22            (LCCPanel): Projection panel for Lambert Conic Conformal.
23            (GeoPanel): Projetion panel for Geographic Projection.
24    
25    2003-04-23  Jonathan Coles   <[email protected]>
26    
27            * Thuban/Model/load.py (XMLReader): Renamed from XMLProcessor to
28            promote symmetry. There now exists XMLReader and XMLWriter.
29            (XMLReader.read): New. Call to read the given file descriptor or
30            filename.
31            (XMLReader.close): New. Make sure the file is closed.
32            (XMLReader.GetFileName): New. Return just the file name that is being
33            read from.
34            (XMLReader.GetDirectory): New. Return just the directory of the file
35            that is being read.
36            (XMLReader.AddDispatchers): New. Take a dictionary which contains
37            the names of functions to call as the XML tree is parsed.
38            (XMLReader.startElementNS): Updated to use new dispatcher dictionary.
39            (XMLReader.endElementNS): Updated to use new dispatcher dictionary.
40            (SessionLoader): Removed class variables start_dispatcher and
41            end_dispatcher since this functionality is now part of a class
42            instance. Fixes RTbug #1808.
43            (SessionLoader.__init__): Add dispatcher functions.
44            (load_xmlfile): Code was moved into the XMLReader.read().
45            (load_session): Use modified SessionLoader.
46    
47            * Thuban/Model/map.py (Map.GetProjection): New. Returns the
48            map's projection.
49    
50            * Thuban/Model/proj.py (Projection.GetParameters): Renamed to
51            GetAllParameters.
52            (Projection.GetParameter): Returns the value for the given parameter.
53    
54            * Thuban/Model/resource.py: Use XMLReader and XMLWriter.
55            (GetProjFiles): Renamed from GetProjections. Now returns a list
56            of ProjFile objects.
57            (GetSystemProjFiles): Renamed from GetSuppliedProjections. Returns
58            a list of ProjFile objects whose files are not user defined.
59            (GetUserProjFiles): Renamed from GetUserProjections. Returns a
60            list of ProjFile objects whose files are user defined.
61            (ProjFileReader): Extend new XMLReader.
62    
63            * Thuban/Model/save.py (XMLWriter): Renamed from XMLSaver to
64            promote symmetry.
65    
66            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Use a wxChoice
67            control instead of a wxComboBox. wxChoice controls do not generate
68            events as the uses highlights possible choices which fixes problems
69            with resizing the dialog when the use selects an option.
70    
71            * Thuban/UI/classifier.py (Classifier.__init__): Use a wxChoice
72            control instead of a wxComboBox.
73    
74            * Thuban/UI/mainwindow.py (MainWindow.Projection): Use new projection
75            dialog.
76    
77            * test/test_proj.py (TestProjection.test): New tests for GetParameter
78            method.
79    
80    2003-04-22  Bernhard Herzog  <[email protected]>
81    
82            * Thuban/UI/mainwindow.py: Remove some unused imports and global
83            constants
84    
85            * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape)
86            (IdentifyGridCtrl.selected_shape): Use table, not shapetable.
87    
88    2003-04-17  Bernhard Herzog  <[email protected]>
89    
90            * Thuban/Model/layer.py: Don't import LAYER_LEGEND_CHANGED.
91            (Layer): Update doc-string since LAYER_LEGEND_CHANGED is not used
92            anymore.
93            (Layer.BoundingBox, Layer.GetFieldType, Layer.NumShapes)
94            (Layer.ShapeType, Layer.Shape): No need to call
95            self.open_shapefile since it's always called in __init__
96    
97            * Thuban/UI/application.py (ThubanApplication.MainLoop): Removed.
98            In wxPython 2.4 there's no need to extend MainLoop anymore since
99            wxPython itself makes sure OnExit is called.
100    
101  2003-04-16  Jonathan Coles   <[email protected]>  2003-04-16  Jonathan Coles   <[email protected]>
102    
103          Initial putback of projection management code. Includes new          Initial putback of projection management code. Includes new

Legend:
Removed from v.693  
changed lines
  Added in v.720

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26