1 |
|
2002-02-15 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/layer.py (Layer.Shape): list append only takes one |
4 |
|
argument (python <= 1.5.2 erroneously accepted multiuple |
5 |
|
arguments) |
6 |
|
|
7 |
|
2002-02-04 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* Thuban/UI/identifyview.py (IdentifyGridCtrl): New class to use a |
10 |
|
RecordGrid in the identifyview. |
11 |
|
(IdentifyView.__init__): Use IdentifyGridCtrl instead of |
12 |
|
IdentifyListCtrl. The grid allows editing of the values. |
13 |
|
|
14 |
|
* Thuban/UI/controls.py (RecordTable, RecordGridCtrl): New classes |
15 |
|
implementing a grid for a single row of a thuban table. |
16 |
|
|
17 |
|
* Thuban/UI/view.py (MapCanvas.SelectShapeAt): Search through all |
18 |
|
layers by default. Easier to use than the previous default of only |
19 |
|
searching through the select layer which meant that if no layer |
20 |
|
was selected, you couldn't select a shape. |
21 |
|
|
22 |
|
* Thuban/UI/tableview.py (TableGrid.__init__): Fix typo |
23 |
|
|
24 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Honour the |
25 |
|
stroke_width attribute |
26 |
|
|
27 |
|
* Thuban/Model/save.py (save_session): Write the new stroke_width |
28 |
|
attribute |
29 |
|
|
30 |
|
* Thuban/Model/load.py (ProcessSession.startElement): Read the |
31 |
|
stroke_width attribute |
32 |
|
|
33 |
|
* Thuban/Model/layer.py (Layer.__init__): New parameter and |
34 |
|
instance variable stroke_width |
35 |
|
(Layer.SetStrokeWidth): Set the stroke_width. |
36 |
|
|
37 |
|
2002-02-01 Bernhard Herzog <[email protected]> |
38 |
|
|
39 |
|
* extensions/thuban/wxproj.cpp (project_points): Fix two |
40 |
|
off-by-one errors in the last loop that joins the various parts |
41 |
|
together. |
42 |
|
|
43 |
|
2002-01-14 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
* setup.py (data_dist.make_distribution): Fix some typos |
46 |
|
|
47 |
|
2001-09-18 Bernhard Herzog <[email protected]> |
48 |
|
|
49 |
|
* README: Slight tweaking in preparation for the 0.1 release |
50 |
|
|
51 |
|
* setup.cfg: Add section for sdist to create both tgz and zip |
52 |
|
archives |
53 |
|
|
54 |
|
* setup.py: increase version number to 0.1 |
55 |
|
(data_dist): New command class for data distribution |
56 |
|
|
57 |
|
|
58 |
|
2001-09-14 Bernhard Herzog <[email protected]> |
59 |
|
|
60 |
|
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
61 |
|
Handle the case of no layer (i.e. layer is None) properly. |
62 |
|
|
63 |
|
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
64 |
|
Set the initial selection of the combo boxes to reflect the |
65 |
|
projection we're starting with in a way that works on windows, |
66 |
|
too. |
67 |
|
|
68 |
|
* Thuban/Lib/connector.py (Connector.print_connections): Print the |
69 |
|
puiblisher's ids in hex to make it easier to compare them to the |
70 |
|
standard repr of python methods |
71 |
|
|
72 |
|
* Thuban/Model/map.py (Map.Destroy): Unsubscribe the label_layer |
73 |
|
messages |
74 |
|
|
75 |
|
2001-09-13 Bernhard Herzog <[email protected]> |
76 |
|
|
77 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.OnSelChanged): Make sure to |
78 |
|
deselect the layer if no layer is selected |
79 |
|
|
80 |
|
* Thuban/UI/view.py (MapCanvas.OnPaint): Only delay drawing to |
81 |
|
idle time when there actually is something to draw. If there's |
82 |
|
nothing to draw simply clear the window |
83 |
|
(MapCanvas.do_redraw): Call dc.EndDrawing and add some comments. |
84 |
|
(MapCanvas.SetMap): force a redraw in all cases because |
85 |
|
FitMapToWindow doesn't always do it. |
86 |
|
(MapCanvas.ZoomFactor): Add an optional parameter, center, to |
87 |
|
specify the point to move into the center of the window |
88 |
|
(ZoomOutTool.MouseUp, ZoomInTool.MouseUp): If the mouse wasn't |
89 |
|
dragged, zoon in/out by a factor of 2 |
90 |
|
(MapCanvas.find_shape_at): Iterate backwards (i.e. with decreasing |
91 |
|
index, i.e. reversed drawing order) so that objects appearing to |
92 |
|
be in from of others are selected first. This is probably mostly |
93 |
|
relevant for point shapes where the symbols used may overlap |
94 |
|
|
95 |
|
* Thuban/Model/session.py (create_empty_session): Unset the |
96 |
|
modified bit before returning it |
97 |
|
|
98 |
|
* Thuban/UI/mainwindow.py (MainWindow.NewSession): Use |
99 |
|
create_empty_session session to create the new, empty session. |
100 |
|
|
101 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Set the size of |
102 |
|
the tool bitmaps. |
103 |
|
(MainWindow.OnClose, MainWindow.save_modified_session): Separate |
104 |
|
the code that asks whether the session should be saved into the |
105 |
|
new method save_modified_session. |
106 |
|
(MainWindow.OpenSession, MainWindow.NewSession): Use the new |
107 |
|
method to save modified session here too. |
108 |
|
|
109 |
|
2001-09-11 Bernhard Herzog <[email protected]> |
110 |
|
|
111 |
|
* setup.py (InnoIconItem): fix typo |
112 |
|
|
113 |
|
(thuban_bdist_inno.run): |
114 |
|
(bdist_inno.run): Move the decision not to create symlinks on |
115 |
|
non-nt platforms to thuban_bdist_inno and do it unconditinally |
116 |
|
since we never want to create the symlinks here |
117 |
|
|
118 |
|
2001-09-10 Bernhard Herzog <[email protected]> |
119 |
|
|
120 |
|
* Thuban/UI/mainwindow.py (MainWindow.IdentifyTool): Popup the |
121 |
|
identify view immediately |
122 |
|
|
123 |
|
* Thuban/UI/controls.py: New file with two classes RecordListCtrl |
124 |
|
and SelectableRecordListCtrl that implement the code shared by the |
125 |
|
identify view and the label dialog |
126 |
|
|
127 |
|
* Thuban/UI/identifyview.py (IdentifyListCtrl): Derive from the |
128 |
|
new class RecordListCtrl |
129 |
|
|
130 |
|
* Thuban/UI/labeldialog.py (LabelDialog.OnOK): Check whether the |
131 |
|
return value of GetValue is None instead of using it as a boolean |
132 |
|
directly so that Zero numbers are handled properly. |
133 |
|
(LabelListCtrl): Derive from the new class |
134 |
|
SelectableRecordListCtrl |
135 |
|
|
136 |
|
* Thuban/UI/proj4dialog.py (Proj4Dialog.__init__): |
137 |
|
(Proj4Dialog.dialogLayout): Make the window resizable and set the |
138 |
|
size of the text control explicitly to make the sizers work on |
139 |
|
both Windows and X. |
140 |
|
|
141 |
2001-09-07 Bernhard Herzog <[email protected]> |
2001-09-07 Bernhard Herzog <[email protected]> |
142 |
|
|
143 |
* Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter |
* Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter |