/[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 765 by bh, Tue Apr 29 10:56:10 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]>  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          * Thuban/Model/load.py (XMLReader.__init__, XMLReader.read): Turn
49          the __parser instance variable into a normal local variable in          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          read. It's only used there and read will never be called more than

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26