1 |
|
2003-02-11 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/application.py (ThubanApplication.splash_screen): New |
4 |
|
method to create a splash screen. |
5 |
|
(ThubanApplication.ShowMainWindow): New. Show the main window. |
6 |
|
Needed so the splash screen can display the mainwindow |
7 |
|
(ThubanApplication.OnInit): Call the |
8 |
|
new splash_screen method to determine whether the application |
9 |
|
should display a splash screen. If it displays a splash screen do |
10 |
|
not immediately show the main window. |
11 |
|
|
12 |
|
2003-02-11 Jonathan Coles <[email protected]> |
13 |
|
|
14 |
|
* Thuban/Model/classification.py: Added import line to fix |
15 |
|
feature conflicts between running on python2.2 and python2.1. |
16 |
|
|
17 |
|
* Thuban/UI/classifier.py (ClassTable): Didn't need to hang |
18 |
|
onto the clinfo parameter, so removed the deepcopy(). |
19 |
|
|
20 |
|
2003-02-10 Jonathan Coles <[email protected]> |
21 |
|
|
22 |
|
* Thuban/Model/save.py (Saver.open_element, Saver.close_element): |
23 |
|
Added element_open variable to track opening and closing of tags |
24 |
|
so that tags that don't span more than one line are closed with |
25 |
|
/> instead of </tag_name>. Use the GetDefault*() methods of |
26 |
|
the Classification class. |
27 |
|
|
28 |
|
* Thuban/Model/classification.py (Classificaton): Added set and |
29 |
|
get methods for the default data. The class also takes a layer |
30 |
|
reference so that modification messages can be sent. Fixed the |
31 |
|
methods to use the new ClassData class. |
32 |
|
(ClassData): New class to encapsulate the classification data |
33 |
|
|
34 |
|
* Thuban/Model/layer.py (Layer): Remove the |
35 |
|
Set[Fill|Stroke|StrokeWidth]() methods. Code should call the |
36 |
|
SetDefault*() methods on the layer's classification object. |
37 |
|
(Layer.__init__): Use the new SetDefault*() methods in the |
38 |
|
Classification class. |
39 |
|
|
40 |
|
* Thuban/Model/load.py (ProcessSession): Use the new ClassData |
41 |
|
object instead of a dictionary. |
42 |
|
|
43 |
|
* Thuban/UI/classifier.py (ClassRenderer): New class to |
44 |
|
draw the classifications in the dialog box's table. |
45 |
|
(Classifier): Modified to use the ClassRenderer class. |
46 |
|
|
47 |
|
* Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*() |
48 |
|
methods of the Classification class. |
49 |
|
|
50 |
|
* Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods |
51 |
|
of the ClassData class. |
52 |
|
|
53 |
|
* test/test_classification.py, test/test_layer.py, |
54 |
|
test/test_map.py, test/test_session.py: Fix the tests to work |
55 |
|
with the above code changes. |
56 |
|
|
57 |
|
2003-02-03 Jonathan Coles <[email protected]> |
58 |
|
|
59 |
|
* Thuban/Model/classification.py (Classification): Added getNull() |
60 |
|
to return the NullData reference |
61 |
|
|
62 |
|
* Thuban/Model/layer.py (Layer.SetFill, Layer.SetStroke, |
63 |
|
Layer.SetStrokeWidth): Modified these functions to change the |
64 |
|
null data in the classification rather than keep these values |
65 |
|
directly in the Layer class. Menu options to change these values |
66 |
|
work again. |
67 |
|
|
68 |
|
2003-01-28 Jonathan Coles <[email protected]> |
69 |
|
|
70 |
|
* Thuban/UI/classifier.py (Classifier): Resolved merging conflicts. |
71 |
|
Fixed crashing problem on some systems. Dialog box shows |
72 |
|
classification data. |
73 |
|
|
74 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing |
75 |
|
Colors in the tree view. |
76 |
|
|
77 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build |
78 |
|
the tree info for classifications. Commented out unnecessary lines. |
79 |
|
|
80 |
|
* Thuban/Model/classification.py (Classification.TreeInfo): New |
81 |
|
function to add information about the classification into the |
82 |
|
tree view. |
83 |
|
|
84 |
|
2003-01-27 Jan-Oliver Wagner <[email protected]> |
85 |
|
|
86 |
|
* Thuban/__init__.py (_): New. |
87 |
|
|
88 |
|
* Thuban/Model/classification.py, Thuban/Model/extension.py, |
89 |
|
Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py, |
90 |
|
Thuban/Model/session.py, Thuban/UI/application.py, Thuban/UI/classifier.py, |
91 |
|
Thuban/UI/context.py, Thuban/UI/controls.py, Thuban/UI/identifyview.py, |
92 |
|
Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py, Thuban/UI/menu.py, |
93 |
|
Thuban/UI/proj4dialog.py, Thuban/UI/renderer.py, Thuban/UI/tree.py, |
94 |
|
Thuban/Lib/connector.py, Thuban/Lib/fileutil.py: |
95 |
|
Replace user string by _() for i18n. |
96 |
|
|
97 |
|
2003-01-27 Jonathan Coles <[email protected]> |
98 |
|
|
99 |
|
* Thuban/Model/layer.py: Classification initialization calls. |
100 |
|
|
101 |
|
* Thuban/Model/classification.py: Created class to encapsulate |
102 |
|
a layer classification. Supports specific data points and |
103 |
|
ranges. |
104 |
|
|
105 |
|
* Thuban/Model/load.py: Added support for loading classification |
106 |
|
information. |
107 |
|
|
108 |
|
* Thuban/Model/save.py: Added support for saving classification |
109 |
|
information. |
110 |
|
|
111 |
|
* Thuban/UI/classifier.py: Initial class for a dialog box for |
112 |
|
specifying classification information. |
113 |
|
|
114 |
|
* Thuban/UI/mainwindows.py: Support for opening the classifier |
115 |
|
dialog. |
116 |
|
|
117 |
|
* Thuban/UI/renderer.py: Support for drawing a layer with the |
118 |
|
classification information. |
119 |
|
|
120 |
|
* Data/iceland_sample_class.thuban: iceland_sample with |
121 |
|
classification data. |
122 |
|
|
123 |
|
* test/test_classification: Tests for the Classification class. |
124 |
|
|
125 |
|
2002-12-09 Bernhard Herzog <[email protected]> |
126 |
|
|
127 |
|
* test/test_command.py: New. Tests for the command classes. |
128 |
|
|
129 |
|
* Thuban/UI/command.py (ToolCommand): New class for tool commands. |
130 |
|
(Command.IsTool): New method to distinguish between command |
131 |
|
switching tools and other commands. |
132 |
|
|
133 |
|
* Thuban/UI/view.py (MapCanvas.SelectTool): New method to select |
134 |
|
the tool to avoid direct assignments to instance variables |
135 |
|
(MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool) |
136 |
|
(MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to |
137 |
|
change the tool |
138 |
|
|
139 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an |
140 |
|
active tool's command turns insensitive, disable the tool. |
141 |
|
(_tool_command): Use the new ToolCommand class |
142 |
|
|
143 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Use the |
144 |
|
SelectTool method to change the tool |
145 |
|
(iconfile): Use the ToolCommand class |
146 |
|
|
147 |
|
2002-12-03 Bernhard Herzog <[email protected]> |
148 |
|
|
149 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle |
150 |
|
the case of selected items that are not children of Layers or Maps |
151 |
|
properly. Previously this bug would trigger an assertion in |
152 |
|
wxWindows. |
153 |
|
|
154 |
2002-11-06 Frank Koormann <[email protected]> |
2002-11-06 Frank Koormann <[email protected]> |
155 |
|
|
156 |
* Thuban/UI/mainwindow.py: Altered the order of tools in the toolbar: |
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
157 |
First now are all navigation tools (Zoom In/Out, Pan, Full Extent). |
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
158 |
|
Full Extent). |
159 |
|
|
160 |
2002-10-23 Bernhard Herzog <[email protected]> |
2002-10-23 Bernhard Herzog <[email protected]> |
161 |
|
|