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, |
91 |
|
Thuban/UI/classifier.py, Thuban/UI/context.py, Thuban/UI/controls.py, |
92 |
|
Thuban/UI/identifyview.py, Thuban/UI/labeldialog.py, |
93 |
|
Thuban/UI/mainwindow.py, Thuban/UI/menu.py, Thuban/UI/proj4dialog.py, |
94 |
|
Thuban/UI/renderer.py, Thuban/UI/tree.py, Thuban/Lib/connector.py, |
95 |
|
Thuban/Lib/fileutil.py: 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]> |
2002-12-03 Bernhard Herzog <[email protected]> |
148 |
|
|
149 |
* Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle |
* Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle |
156 |
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
157 |
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
158 |
Full Extent). |
Full Extent). |
159 |
|
|
160 |
2002-10-23 Bernhard Herzog <[email protected]> |
2002-10-23 Bernhard Herzog <[email protected]> |
161 |
|
|
162 |
* setup.py (setup call): version now 0.1.3 |
* setup.py (setup call): version now 0.1.3 |
267 |
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
268 |
VIEW_POSITION |
VIEW_POSITION |
269 |
|
|
270 |
2002-09-04 Frank Koormann <[email protected]> |
2002-09-04 Frank Koormann <[email protected]> |
271 |
|
|
272 |
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
273 |
|
|
354 |
|
|
355 |
* Thuban/Model/table.py (Table.write_record): New method to write |
* Thuban/Model/table.py (Table.write_record): New method to write |
356 |
records. |
records. |
357 |
(Table.__init__): Open the DBF file for writing too. |
(Table.__init__): Open the DBF file for writing too. |
358 |
|
|
359 |
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
360 |
into the underlying table. |
into the underlying table. |
392 |
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |
393 |
because thubaninit_contents will do it for us. |
because thubaninit_contents will do it for us. |
394 |
|
|
395 |
2002-08-16 Jan-Oliver Wagner <[email protected]> |
2002-08-16 Jan-Oliver Wagner <[email protected]> |
396 |
|
|
397 |
* Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if |
* Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if |
398 |
tree window already open |
tree window already open |
520 |
* Thuban/UI/tree.py: We can now simply subscribe to the session's |
* Thuban/UI/tree.py: We can now simply subscribe to the session's |
521 |
CHANGED channel to be informed of changes. |
CHANGED channel to be informed of changes. |
522 |
(SessionTreeCtrl.session_channels): Not needed any longer. |
(SessionTreeCtrl.session_channels): Not needed any longer. |
523 |
(SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed): |
(SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed): |
524 |
Only have to (un)subscribe CHANGED |
Only have to (un)subscribe CHANGED |
525 |
|
|
526 |
* Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps. |
* Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps. |
581 |
* Thuban/Model/layer.py (Layer.TreeInfo), |
* Thuban/Model/layer.py (Layer.TreeInfo), |
582 |
Thuban/Model/extension.py (Extension.TreeInfo), |
Thuban/Model/extension.py (Extension.TreeInfo), |
583 |
Thuban/Model/map.py (Map.TreeInfo), |
Thuban/Model/map.py (Map.TreeInfo), |
584 |
Thuban/Model/session.py (Session.TreeInfo): |
Thuban/Model/session.py (Session.TreeInfo): |
585 |
Add TreeInfo methods to implement the new tree view update scheme |
Add TreeInfo methods to implement the new tree view update scheme |
586 |
|
|
587 |
2002-07-16 Bernhard Herzog <[email protected]> |
2002-07-16 Bernhard Herzog <[email protected]> |
662 |
* setup.py: In the setup call, make sure that the library |
* setup.py: In the setup call, make sure that the library |
663 |
directories are under $prefix/lib not directly under $prefix. |
directories are under $prefix/lib not directly under $prefix. |
664 |
|
|
665 |
2002-06-20 Jan-Oliver Wagner <[email protected]> |
2002-06-20 Jan-Oliver Wagner <[email protected]> |
666 |
|
|
667 |
* Thuban/Model/extension.py: new module to handle extension objects. |
* Thuban/Model/extension.py: new module to handle extension objects. |
668 |
* Thuban/Model/messages.py: new messages for extensions. |
* Thuban/Model/messages.py: new messages for extensions. |
891 |
* Thuban/UI/messages.py (VIEW_POSITION): New message for the |
* Thuban/UI/messages.py (VIEW_POSITION): New message for the |
892 |
position in the statusbar |
position in the statusbar |
893 |
|
|
894 |
2002-04-26 Frank Koormann <[email protected]> |
2002-04-26 Frank Koormann <[email protected]> |
895 |
|
|
896 |
* Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data |
* Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data |
897 |
|
|
898 |
2002-04-24 Frank Koormann <[email protected]> |
2002-04-24 Frank Koormann <[email protected]> |
899 |
|
|
900 |
* Resources/Bitmaps/identify.xpm: shadow added |
* Resources/Bitmaps/identify.xpm: shadow added |
901 |
|
|
902 |
* Resources/Bitmaps/fullextent.xpm: new |
* Resources/Bitmaps/fullextent.xpm: new |
|
|
|
|
2002-04-22 Jan-Oliver Wagner <[email protected]> |
|
903 |
|
|
904 |
* Thuban/UI/tree.py (update_tree): added test for None on map bounding box |
2002-04-22 Jan-Oliver Wagner <[email protected]> |
905 |
|
|
906 |
|
* Thuban/UI/tree.py (update_tree): added test for None on map bounding |
907 |
|
box |
908 |
|
|
909 |
2002-04-21 Jan-Oliver Wagner <[email protected]> |
2002-04-21 Jan-Oliver Wagner <[email protected]> |
910 |
|
|
911 |
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
912 |
|
|
913 |
* Thuban/UI/tree.py (update_tree): added added map extent |
* Thuban/UI/tree.py (update_tree): added added map extent |
914 |
|
|
915 |
* Thuban/UI/mainwindow.py (_method_command): extended by parameter |
* Thuban/UI/mainwindow.py (_method_command): extended by parameter |
916 |
icon; added map_full_extend as tool |
icon; added map_full_extend as tool |
917 |
|
|
918 |
2002-04-19 Jan-Oliver Wagner <[email protected]> |
2002-04-19 Jan-Oliver Wagner <[email protected]> |
919 |
|
|
920 |
* Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for |
* Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for |
921 |
saving _new_ sessions |
saving _new_ sessions |
1017 |
|
|
1018 |
* setup.py: increase version number to 0.1 |
* setup.py: increase version number to 0.1 |
1019 |
(data_dist): New command class for data distribution |
(data_dist): New command class for data distribution |
|
|
|
1020 |
|
|
1021 |
2001-09-14 Bernhard Herzog <[email protected]> |
2001-09-14 Bernhard Herzog <[email protected]> |
1022 |
|
|
1023 |
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
1024 |
Handle the case of no layer (i.e. layer is None) properly. |
Handle the case of no layer (i.e. layer is None) properly. |
1025 |
|
|
1026 |
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
1027 |
Set the initial selection of the combo boxes to reflect the |
Set the initial selection of the combo boxes to reflect the |
1028 |
projection we're starting with in a way that works on windows, |
projection we're starting with in a way that works on windows, |
1029 |
too. |
too. |
1133 |
(MainWindow.identify_view_on_demand): Store the interactor in an |
(MainWindow.identify_view_on_demand): Store the interactor in an |
1134 |
instvar and use that reference instead of going through main.app |
instvar and use that reference instead of going through main.app |
1135 |
|
|
1136 |
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
1137 |
* Thuban/UI/application.py (ThubanApplication.OnInit): |
* Thuban/UI/application.py (ThubanApplication.OnInit): |
1138 |
* Thuban/UI/main.py (main): Create the session tree view in main |
* Thuban/UI/main.py (main): Create the session tree view in main |
1139 |
with the new mainwindow method ShowSessionTree and not directly |
with the new mainwindow method ShowSessionTree and not directly |
1140 |
the application's OnInit method |
the application's OnInit method |
1150 |
layer to the tableview dialog. |
layer to the tableview dialog. |
1151 |
|
|
1152 |
* Thuban/UI/tableview.py: Add some doc-strings |
* Thuban/UI/tableview.py: Add some doc-strings |
1153 |
(TableGrid): |
(TableGrid): |
1154 |
(TableGrid.OnRangeSelect): |
(TableGrid.OnRangeSelect): |
1155 |
(TableGrid.OnSelectCell): |
(TableGrid.OnSelectCell): |
1156 |
(TableFrame.__init__): |
(TableFrame.__init__): |
1217 |
2001-09-05 Bernhard Herzog <[email protected]> |
2001-09-05 Bernhard Herzog <[email protected]> |
1218 |
|
|
1219 |
* Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor. |
* Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor. |
1220 |
|
|
1221 |
* Thuban/UI/mainwindow.py (MainWindow.__init__): New argument |
* Thuban/UI/mainwindow.py (MainWindow.__init__): New argument |
1222 |
interactor to pass through to the MapCanvas |
interactor to pass through to the MapCanvas |
1223 |
|
|
1224 |
* Thuban/UI/application.py (ThubanApplication.OnInit): Use the new |
* Thuban/UI/application.py (ThubanApplication.OnInit): Use the new |
1225 |
argument to the MainWindow constructor to get rid of the ugly hack |
argument to the MainWindow constructor to get rid of the ugly hack |
1226 |
that made main.app available early just so that the mapcanvas |
that made main.app available early just so that the mapcanvas |
1267 |
(ThubanInstall.run): Remove the leading install root from the |
(ThubanInstall.run): Remove the leading install root from the |
1268 |
script filename if an install root was specified and use the new |
script filename if an install root was specified and use the new |
1269 |
link_file method |
link_file method |
1270 |
|
|
1271 |
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to |
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to |
1272 |
the window when the first layer is added to the map. |
the window when the first layer is added to the map. |
1273 |
|
|
1304 |
(InnoIconItem): Helper class for bdist_inno |
(InnoIconItem): Helper class for bdist_inno |
1305 |
(thuban_bdist_inno): Thuban specific version of bdist_inno. Added |
(thuban_bdist_inno): Thuban specific version of bdist_inno. Added |
1306 |
this together with the appropriate parameters, to the setup call. |
this together with the appropriate parameters, to the setup call. |
1307 |
|
|
1308 |
* setup.cfg (bdist_inno): added new section for the inno setup |
* setup.cfg (bdist_inno): added new section for the inno setup |
1309 |
installer |
installer |
1310 |
|
|