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