/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 840 by bh, Tue May 6 15:54:35 2003 UTC revision 865 by frank, Thu May 8 12:35:14 2003 UTC
# Line 1  Line 1 
1    2003-05-08  Frank Koormann <[email protected]>
2    
3            Reorganization of scalebar component (no wx in Thuban/Model)
4    
5            * Thuban/Model/scalebar.py: Rendering moved to Thuban/UI/scalebar.py
6            (deriveInterval):
7            Calculate scalebar interval and unit which fits in width for scale.
8            (roundInterval): Round float.
9    
10            * Thuban/UI/scalebar.py (ScaleBar): Scalebar rendering
11    
12            * test/test_scalebar.py: Test for Thuban/Model/scalebar.py methods.
13    
14            * Thuban/UI/legend.py: Import Thuban.UI.scalebar
15    
16    2003-05-08  Frank Koormann <[email protected]>
17    
18            * Thuban/UI/legend.py (ScalebarBitmap.SetCanvas):
19            Initialize ScaleBar with canvas.map
20    
21            * Thuban/Model/scalebar.py (ScaleBar.roundInterval()): New,
22            round intervals to display smarter lengths
23            (ScaleBar.DrawScalebar): Draw Scalebar only if the map contains a
24            layer. If the maps has no projection applied grey the scalebar.
25    
26    2003-05-07  Frank Koormann <[email protected]>
27            
28            Basic Scalebar features added.
29    
30            * Thuban/Model/scalebar.py (ScaleBar): New, scalebar rendering.
31    
32            * Thuban/UI/legend.py (LegendPanel): Added scalebar bitmap
33            (ScaleBarBitmap): New, links the scalebar bitmap with view messages
34            and the renderer.
35    
36            * Thuban/UI/view.py (MapCanvas.set_view_transform): Issue SCALE_CHANGED.
37    
38            * Thuban/UI/messages.py: SCALE_CHANGED added.
39    
40    2003-05-07  Bernhard Herzog  <[email protected]>
41    
42            * Thuban/Model/session.py (Session.__init__): New instance
43            variable shapestores to hold a list of all open shapestore objects
44            (Session.ShapeStores): New. Accessor method for the shapestores
45            list.
46            (Session._add_shapestore, Session._clean_weak_store_refs): New.
47            Internal methods to maintain the shapestores list.
48            (Session.Tables): New. Return all tables open in the session.
49            (Session.OpenShapefile): Insert the new ShapeStore into the
50            shapestores list.
51    
52            * test/test_session.py (TestSessionSimple.test_initial_state): Add
53            tests for ShapeStores and Tables
54            (TestSessionWithContent.test_shape_stores)
55            (TestSessionWithContent.test_tables): New. Test cases for
56            ShapeStores and Tables
57    
58    2003-05-07  Bernhard Herzog  <[email protected]>
59    
60            * Thuban/Model/transientdb.py (TransientTableBase.ReadRowAsDict):
61            Add comments about the optimizations used.
62            (AutoTransientTable.ReadValue, TransientTableBase.ReadValue): New.
63            Implement the ReadValue table interface method.
64    
65            * test/test_transientdb.py
66            (TestTransientTable.run_iceland_political_tests)
67            (TestTransientTable.test_transient_joined_table): Add tests for
68            ReadValue
69    
70    2003-05-07  Frank Koormann <[email protected]>
71    
72            * Resources/Bitmaps/fulllayerextent.xpm,
73            Resources/Bitmaps/fullselextent.xpm: Replaced the place holders with
74            new icons.
75    
76    2003-05-06  Bernhard Herzog  <[email protected]>
77    
78            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
79            New. Simply delegate to the transient table's version.
80    
81            * test/test_transientdb.py
82            (TestTransientTable.test_auto_transient_table_query): New. Test
83            case for AutoTransientTable's SimpleQuery
84    
85    2003-05-06  Bernhard Herzog  <[email protected]>
86    
87            * Thuban/Model/transientdb.py (TransientTableBase.SimpleQuery):
88            Implement a simple query method for the query dialog
89            (TransientTableBase.create): Add an INTEGER PRIMARY KEY that holds
90            the row index or shapeid.
91            (TransientTable.create): Insert the right value of the row index
92            (TransientJoinedTable.create): Copy the row index of the left
93            table to the joined result table
94    
95            * test/test_transientdb.py
96            (TestTransientTable.test_transient_table_read_twice): Fix
97            doc-string
98            (TestTransientTable.test_transient_table_query): New. Test for the
99            SimpleQuery method
100    
101  2003-05-06  Bernhard Herzog  <[email protected]>  2003-05-06  Bernhard Herzog  <[email protected]>
102    
103          Convert all table users to use the new table interface. This only          Convert all table users to use the new table interface. This only

Legend:
Removed from v.840  
changed lines
  Added in v.865

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26