/[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 762 by jonathan, Tue Apr 29 09:02:33 2003 UTC revision 767 by jonathan, Tue Apr 29 13:03:47 2003 UTC
# Line 1  Line 1 
1  2003-04-25  Jonathan Coles   <[email protected]>  2003-04-29  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/mainwindow.py (MainWindow.SetMap): Look up the
4            legend dialog box and tell it to change its map to the one
5            supplied to SetMap(). Fixes RTbug #1770.
6    
7    2003-04-29  Bernhard Herzog  <[email protected]>
8    
9            Next step of table implementation. Introduce a transient database
10            using SQLite that some of the data is copied to on demand. This
11            allows us to do joins and other operations that require an index
12            for good performance with reasonable efficiency. Thuban now needs
13            SQLite 2.8.0 and pysqlite 0.4.1. Older versions may work but I
14            haven't tested that.
15            
16            * Thuban/Model/transientdb.py: New. Transient database
17            implementation.
18    
19            * test/test_transientdb.py: New. Tests for the transient DB
20            classes.
21    
22            * Thuban/Model/session.py (AutoRemoveFile, AutoRemoveDir): New
23            classes to help automatically remove temporary files and
24            directories.
25            (Session.__init__): New instance variables temp_dir for the
26            temporary directory and transient_db for the SQLite database
27            (Session.temp_directory): New. Create a temporary directory if not
28            yet done and return its name. Use AutoRemoveDir to have it
29            automatically deleted
30            (Session.TransientDB): Instantiate the transient database if not
31            done yet and return it.
32    
33            * Thuban/Model/data.py (ShapefileStore.__init__): Use an
34            AutoTransientTable so that data is copied to the transient DB on
35            demand.
36            (SimpleStore): New class that simply combines a table and a
37            shapefile
38    
39            * Thuban/Model/table.py (Table, DBFTable): Rename Table into
40            DBFTable and update its doc-string to reflect the fact that this
41            is only the table interface to a DBF file. Table is now an alias
42            for DBFTable for temporary backwards compatibility.
43    
44            * Thuban/UI/application.py (ThubanApplication.OnExit): Make sure
45            the last reference to the session goes away so that the temporary
46            files are removed properly.
47    
48            * test/test_load.py (LoadSessionTest.tearDown): Remove the
49            reference to the session to make sure the temporary files are
50            removed.
51    
52    2003-04-29  Bernhard Herzog  <[email protected]>
53    
54            * Thuban/Model/load.py (XMLReader.__init__, XMLReader.read): Turn
55            the __parser instance variable into a normal local variable in
56            read. It's only used there and read will never be called more than
57            once. Plus it introduces a reference cycle that keeps can keep the
58            session object alive for a long time.
59    
60    2003-04-29  Jonathan Coles   <[email protected]>
61    
62          * Thuban/Model/proj.py (Projection): Removed Set*() methods to make          * Thuban/Model/proj.py (Projection): Removed Set*() methods to make
63          Projection an immutable item. Fixes RTbug #1825.          Projection an immutable item. Fixes RTbug #1825.

Legend:
Removed from v.762  
changed lines
  Added in v.767

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26