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

Legend:
Removed from v.1643  
changed lines
  Added in v.1655

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26