/[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 756 by jonathan, Fri Apr 25 14:48:44 2003 UTC revision 766 by bh, Tue Apr 29 12:42:27 2003 UTC
# Line 1  Line 1 
1    2003-04-29  Bernhard Herzog  <[email protected]>
2    
3            Next step of table implementation. Introduce a transient database
4            using SQLite that some of the data is copied to on demand. This
5            allows us to do joins and other operations that require an index
6            for good performance with reasonable efficiency. Thuban now needs
7            SQLite 2.8.0 and pysqlite 0.4.1. Older versions may work but I
8            haven't tested that.
9            
10            * Thuban/Model/transientdb.py: New. Transient database
11            implementation.
12    
13            * test/test_transientdb.py: New. Tests for the transient DB
14            classes.
15    
16            * Thuban/Model/session.py (AutoRemoveFile, AutoRemoveDir): New
17            classes to help automatically remove temporary files and
18            directories.
19            (Session.__init__): New instance variables temp_dir for the
20            temporary directory and transient_db for the SQLite database
21            (Session.temp_directory): New. Create a temporary directory if not
22            yet done and return its name. Use AutoRemoveDir to have it
23            automatically deleted
24            (Session.TransientDB): Instantiate the transient database if not
25            done yet and return it.
26    
27            * Thuban/Model/data.py (ShapefileStore.__init__): Use an
28            AutoTransientTable so that data is copied to the transient DB on
29            demand.
30            (SimpleStore): New class that simply combines a table and a
31            shapefile
32    
33            * Thuban/Model/table.py (Table, DBFTable): Rename Table into
34            DBFTable and update its doc-string to reflect the fact that this
35            is only the table interface to a DBF file. Table is now an alias
36            for DBFTable for temporary backwards compatibility.
37    
38            * Thuban/UI/application.py (ThubanApplication.OnExit): Make sure
39            the last reference to the session goes away so that the temporary
40            files are removed properly.
41    
42            * test/test_load.py (LoadSessionTest.tearDown): Remove the
43            reference to the session to make sure the temporary files are
44            removed.
45    
46    2003-04-29  Bernhard Herzog  <[email protected]>
47    
48            * Thuban/Model/load.py (XMLReader.__init__, XMLReader.read): Turn
49            the __parser instance variable into a normal local variable in
50            read. It's only used there and read will never be called more than
51            once. Plus it introduces a reference cycle that keeps can keep the
52            session object alive for a long time.
53    
54    2003-04-25  Jonathan Coles   <[email protected]>
55    
56            * Thuban/Model/proj.py (Projection): Removed Set*() methods to make
57            Projection an immutable item. Fixes RTbug #1825.
58            (Projection.__init__): Initialize instance variables here.
59            (ProjFile.Replace): New. Replace the given projection object with
60            the new projection object. This solves the problem of needing the
61            mutator Projection.SetProjection() in the ProjFrame class and
62            allows a projection to change parameters without changing its
63            location in the file.
64    
65            * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs): Dialog should
66            be of type wxSAVE and should verify overwriting a file.
67    
68            * Thuban/UI/projdialog.py (ProjFrame._OnSave): Use the new
69            ProjFile.Replace() method instead of the mutator
70            Projection.SetProjection(). Also requires that we reassign the
71            client data to the new projection.
72    
73            * test/test_proj.py (TestProjection.test): Test GetName() and
74            GetAllParameters()
75            (TestProjFile.test): Remove tests for Set*() methods. Add tests
76            for Replace().
77    
78  2003-04-25  Jonathan Coles   <[email protected]>  2003-04-25  Jonathan Coles   <[email protected]>
79    
80          * Thuban/Model/save.py (SessionSaver.write_projection): Make sure          * Thuban/Model/save.py (SessionSaver.write_projection): Make sure

Legend:
Removed from v.756  
changed lines
  Added in v.766

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26