/[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 1639 by bh, Fri Aug 22 18:19:27 2003 UTC revision 1653 by bh, Mon Aug 25 16:00:06 2003 UTC
# Line 1  Line 1 
1    2003-08-25  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Release the the mouse
4            before calling MouseLeftUp. MouseLeftUp may pop up modal dialogs
5            which leads to an effectively frozen X session because the user
6            can only interact with the dialog but the mouse is still grabbed
7            by the canvas.
8            Also, call the tool's Hide method before MouseLeftUp because
9            MouseLeftUp may change the tool's coordinates.
10    
11    2003-08-25  Bernhard Herzog  <[email protected]>
12    
13            * Thuban/UI/application.py (ThubanApplication.OpenSession): Catch
14            LoadCancelled exceptions and handle them by returning immediately.
15    
16    2003-08-25  Bernhard Herzog  <[email protected]>
17    
18            GUI part of loading sessions with postgis connections which may
19            require user interaction to get passwords or updated parameters
20    
21            * Thuban/UI/dbdialog.py (DBDialog): Reimplement to make it look a
22            bit nucer and be more generic.
23            (DBFrame.OnAdd): Adapt to new DBDialog interface
24    
25            * Thuban/UI/application.py (ThubanApplication.OpenSession): New
26            optional parameter db_connection_callback which is passed to
27            load_session.
28    
29            * Thuban/UI/mainwindow.py (MainWindow.run_db_param_dialog): New.
30            Suitable as a db_connection_callback
31            (MainWindow.OpenSession): Use self.run_db_param_dialog as the
32            db_connection_callback of the application's OpenSession method
33    
34    
35    2003-08-25  Bernhard Herzog  <[email protected]>
36    
37            Basic loading of sessions containing postgis connections:
38    
39            * Thuban/Model/load.py (LoadError): Add doc-string
40            (LoadCancelled): New exception class to indicate a cancelled load
41            (SessionLoader.__init__): Add the db_connection_callback parameter
42            which will be used by the loader to get updated parameters and a
43            password for a database connection
44            (SessionLoader.__init__): Add the new XML elements to the
45            dispatchers dictionary
46            (SessionLoader.check_attrs): Two new conversions, ascii to convert
47            to a byte-string object and idref as a generic id reference
48            (SessionLoader.start_dbconnection)
49            (SessionLoader.start_dbshapesource): New. Handlers for the new XML
50            elements
51            (load_session): Add the db_connection_callback to pass through the
52            SessionLoader
53    
54            * test/test_load.py (TestPostGISLayer, TestPostGISLayerPassword):
55            New classes to test loading of sessions with postgis database
56            connections.
57    
58    2003-08-25  Bernhard Herzog  <[email protected]>
59    
60            * Thuban/UI/mainwindow.py (__ThubanVersion__): Remove this and
61            replace it and the comment with __BuildDate__ by the Source: and
62            Id: cvs keywords as used in the other files.
63    
64    2003-08-25  Bernhard Herzog  <[email protected]>
65    
66            * Thuban/Model/load.py (SessionLoader.check_attrs): Raise a
67            LoadError when a required attribute is missing. The code used to
68            be commented out for some reason, but probably should have been
69            active.
70    
71            * test/test_load.py (TestLoadError.test): Test the message in the
72            LoadError too to make sure it really is about the missing
73            attribute
74    
75  2003-08-22  Bernhard Herzog  <[email protected]>  2003-08-22  Bernhard Herzog  <[email protected]>
76          
77            * test/test_save.py (SaveSessionTest.test_dbf_table)
78            (SaveSessionTest.test_joined_table): Add XML validation tests.
79    
80    2003-08-22  Bernhard Herzog  <[email protected]>
81    
82          Implement saving a session with a postgis connection          Implement saving a session with a postgis connection
83    
84          * Resources/XML/thuban-0.9.dtd (dbconnection, dbshapesource) New          * Resources/XML/thuban-0.9.dtd (dbconnection, dbshapesource) New

Legend:
Removed from v.1639  
changed lines
  Added in v.1653

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26