/[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 55 by bh, Tue Sep 11 11:45:27 2001 UTC revision 126 by bh, Thu May 2 18:55:46 2002 UTC
# Line 1  Line 1 
1    2002-05-02  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/view.py: Keep the temporary bitmap used during drawing
4            around to speed up most redraws:
5            (MapCanvas.__init__): New instance variable bitmap which holds the
6            bitmap
7            (MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use
8            self.bitmap to draw.
9            (MapCanvas.full_redraw): New method to force a full redraw
10            including the bitmap
11            (MapCanvas.SetMap): Subscribe full_redraw instead of redraw to
12            make sure the bitmap is redrawn.
13            (MapCanvas.projection_changed, MapCanvas.set_view_transform,
14            MapCanvas.shape_selected): Call full_redraw instead of readraw to
15            make sure the bitmap is redrawn.
16            (MapCanvas.OnSize): New method to handle size events so that the
17            bitmap can be redrawn.
18    
19    2002-04-29  Bernhard Herzog  <[email protected]>
20    
21            * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
22            canvas' VIEW_POSITION event
23            (MainWindow.view_position_changed): Handler for VIEW_POSITION.
24            Update the text in the status-bar accordingly.
25    
26            * Thuban/UI/view.py (MapCanvas): Derive from Publisher as well
27            (MapCanvas.__del__): Implement because Publisher.__del__ has to be
28            called.
29            (MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize
30            current_position
31            (MapCanvas.set_current_position): New method to set
32            current_position. Issue a VIEW_POSITION event
33            (MapCanvas.CurrentPosition): New public method to return the value
34            of current_position. Should be called when the VIEW_POSITION event
35            is processed.
36            (MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion):
37            Update the position.
38            (MapCanvas.OnLeaveWindow): Set the position to None.
39    
40            * Thuban/UI/messages.py (VIEW_POSITION): New message for the
41            position in the statusbar
42    
43    2002-04-26      Frank Koormann <[email protected]>
44    
45            * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data
46    
47    2002-04-24      Frank Koormann <[email protected]>
48            
49            * Resources/Bitmaps/identify.xpm: shadow added
50    
51            * Resources/Bitmaps/fullextent.xpm: new
52            
53    2002-04-22      Jan-Oliver Wagner <[email protected]>
54    
55            * Thuban/UI/tree.py (update_tree): added test for None on map bounding box
56    
57    2002-04-21      Jan-Oliver Wagner <[email protected]>
58    
59            * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new
60    
61            * Thuban/UI/tree.py (update_tree): added added map extent
62    
63            * Thuban/UI/mainwindow.py (_method_command): extended by parameter
64            icon; added map_full_extend as tool
65    
66    2002-04-19      Jan-Oliver Wagner <[email protected]>
67    
68            * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for
69            saving _new_ sessions
70    
71            * Thuban/Model/session.py (create_empty_session): new session
72            don't have a filename (set to None)
73    
74            * Thuban/UI/tree.py (update_tree): added filename and modified flag
75    
76            * Thuban/Model/load.py (ProcessSession): convert projection
77            parameters from unicode to regular string
78    
79            * Data/iceland_sample.session: Added UTM Zone 26 projection.
80    
81    2002-04-11  Bernhard Herzog  <[email protected]>
82    
83            * extensions/shapelib/shapefil.h, extensions/shapelib/shpopen.c,
84            extensions/shapelib/dbfopen.c: Update to the versions of shapelib
85            1.2.9
86    
87            * setup.py (Lib.wxproj extension): Don't link shpopen.c and put
88            the pyshapelib directoy into the list of include dirs, so that
89            pyshapelib_api.h can be found.
90    
91            * extensions/thuban/wxproj.cpp (pyshapelib_api): New variable that
92            holds the pyshapelib C-API
93            (draw_polygon_shape, point_in_polygon_shape, shape_centroid): Use
94            pyshapelib_api to access the shapelib functions.
95            (initwxproj): Import the c_api from the shapelib module and
96            initialize pyshapelib_api.
97    
98    2002-04-04  Bernhard Herzog  <[email protected]>
99    
100            * setup.py (thuban_bdist_rpm.initialize_options): Use
101            initialize_options to create the scripts for the rpm.
102    
103            * extensions/pyprojection/setup.py (PROJ4_PREFIX): Just use /
104    
105    2002-04-03  Bernhard Herzog  <[email protected]>
106    
107            * setup.py: Increment version to 0.1.1
108    
109            * Thuban/UI/mainwindow.py (MainWindow.__init__): Move the "Add
110            Layer" and "Remove Layer" commands from the layer menu to the map
111            menu
112    
113    2002-02-15  Bernhard Herzog  <[email protected]>
114    
115            * Thuban/Model/layer.py (Layer.Shape): list append only takes one
116            argument (python <= 1.5.2 erroneously accepted multiuple
117            arguments)
118    
119    2002-02-04  Bernhard Herzog  <[email protected]>
120    
121            * Thuban/UI/identifyview.py (IdentifyGridCtrl): New class to use a
122            RecordGrid in the identifyview.
123            (IdentifyView.__init__): Use IdentifyGridCtrl instead of
124            IdentifyListCtrl. The grid allows editing of the values.
125    
126            * Thuban/UI/controls.py (RecordTable, RecordGridCtrl): New classes
127            implementing a grid for a single row of a thuban table.
128    
129            * Thuban/UI/view.py (MapCanvas.SelectShapeAt): Search through all
130            layers by default. Easier to use than the previous default of only
131            searching through the select layer which meant that if no layer
132            was selected, you couldn't select a shape.
133    
134            * Thuban/UI/tableview.py (TableGrid.__init__): Fix typo
135    
136            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Honour the
137            stroke_width attribute
138    
139            * Thuban/Model/save.py (save_session): Write the new stroke_width
140            attribute
141    
142            * Thuban/Model/load.py (ProcessSession.startElement): Read the
143            stroke_width attribute
144    
145            * Thuban/Model/layer.py (Layer.__init__): New parameter and
146            instance variable stroke_width
147            (Layer.SetStrokeWidth): Set the stroke_width.
148    
149    2002-02-01  Bernhard Herzog  <[email protected]>
150    
151            * extensions/thuban/wxproj.cpp (project_points): Fix two
152            off-by-one errors in the last loop that joins the various parts
153            together.
154    
155    2002-01-14  Bernhard Herzog  <[email protected]>
156    
157            * setup.py (data_dist.make_distribution): Fix some typos
158    
159    2001-09-18  Bernhard Herzog  <[email protected]>
160    
161            * README: Slight tweaking in preparation for the 0.1 release
162    
163            * setup.cfg: Add section for sdist to create both tgz and zip
164            archives
165    
166            * setup.py: increase version number to 0.1
167            (data_dist): New command class for data distribution
168            
169    
170    2001-09-14  Bernhard Herzog  <[email protected]>
171    
172            * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):
173            Handle the case of no layer (i.e. layer is None) properly.
174    
175            * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):
176            Set the initial selection of the combo boxes to reflect the
177            projection we're starting with in a way that works on windows,
178            too.
179    
180            * Thuban/Lib/connector.py (Connector.print_connections): Print the
181            puiblisher's ids in hex to make it easier to compare them to the
182            standard repr of python methods
183    
184            * Thuban/Model/map.py (Map.Destroy): Unsubscribe the label_layer
185            messages
186    
187    2001-09-13  Bernhard Herzog  <[email protected]>
188    
189            * Thuban/UI/tree.py (SessionTreeCtrl.OnSelChanged): Make sure to
190            deselect the layer if no layer is selected
191    
192            * Thuban/UI/view.py (MapCanvas.OnPaint): Only delay drawing to
193            idle time when there actually is something to draw. If there's
194            nothing to draw simply clear the window
195            (MapCanvas.do_redraw): Call dc.EndDrawing and add some comments.
196            (MapCanvas.SetMap): force a redraw in all cases because
197            FitMapToWindow doesn't always do it.
198            (MapCanvas.ZoomFactor): Add an optional parameter, center, to
199            specify the point to move into the center of the window
200            (ZoomOutTool.MouseUp, ZoomInTool.MouseUp): If the mouse wasn't
201            dragged, zoon in/out by a factor of 2
202            (MapCanvas.find_shape_at): Iterate backwards (i.e. with decreasing
203            index, i.e. reversed drawing order) so that objects appearing to
204            be in from of others are selected first. This is probably mostly
205            relevant for point shapes where the symbols used may overlap
206    
207            * Thuban/Model/session.py (create_empty_session): Unset the
208            modified bit before returning it
209    
210            * Thuban/UI/mainwindow.py (MainWindow.NewSession): Use
211            create_empty_session session to create the new, empty session.
212    
213            * Thuban/UI/mainwindow.py (MainWindow.__init__): Set the size of
214            the tool bitmaps.
215            (MainWindow.OnClose, MainWindow.save_modified_session): Separate
216            the code that asks whether the session should be saved into the
217            new method save_modified_session.
218            (MainWindow.OpenSession, MainWindow.NewSession): Use the new
219            method to save modified session here too.
220    
221  2001-09-11  Bernhard Herzog  <[email protected]>  2001-09-11  Bernhard Herzog  <[email protected]>
222    
223          * setup.py (InnoIconItem): fix typo          * setup.py (InnoIconItem): fix typo

Legend:
Removed from v.55  
changed lines
  Added in v.126

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26