/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Contents of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 35 - (show annotations)
Thu Sep 6 15:33:09 2001 UTC (23 years, 6 months ago) by bh
Original Path: trunk/thuban/ChangeLog
File size: 7036 byte(s)
update ChangeLog

1 2001-09-06 Bernhard Herzog <[email protected]>
2
3 * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the
4 layer to the tableview dialog.
5
6 * Thuban/UI/tableview.py: Add some doc-strings
7 (TableGrid):
8 (TableGrid.OnRangeSelect):
9 (TableGrid.OnSelectCell):
10 (TableFrame.__init__):
11 (TableFrame.row_selected):
12 Selecting rows in the grid view now updates the selected shapes
13 through the TableFrame. To achieve this we derive TableGrid from
14 Publisher and introduce the message type ROW_SELECTED which the
15 TableFrame subscribes to and which is issued by OnRangeSelect and
16 OnSelectCell
17
18 (DataTable.SelectRow): Removed because it's no longer needed in
19 the row/shape selection scheme
20
21 * Thuban/UI/dialogs.py: New file implementing common classes for
22 dialogs
23
24 * Thuban/UI/tableview.py (TableGrid.__init__): Don't subscribe to
25 the SELECTED_SHAPE message anymore. This is now handled by the
26 parent.
27 (TableGrid.select_shape): Only update the selection if the shape
28 is not None.
29 (TableFrame): Inherit from the new NonModalDialog class.
30 (TableFrame.__init__, TableFrame.select_shape): Handle the
31 SELECT_SHAPE message.
32 (TableFrame.OnClose): Extend the inherited method to unsubscribe
33 SELECT_SHAPE
34
35 * Thuban/UI/mainwindow.py (MainWindow.init_dialogs):
36 (MainWindow.add_dialog):
37 (MainWindow.dialog_open):
38 (MainWindow.remove_dialog):
39 (MainWindow.get_open_dialog): New methods to maintain a dictionary
40 of opened non-modal dialogs.
41
42 (MainWindow.__init__): Initialize the new non-modal dictionary
43 management code
44 (MainWindow.LayerShowTable): maintain separate dialogs for each
45 table using the non-modal dialog management code to only open a
46 view once for each table.
47
48 (MainWindow.IdentifyTool):
49 (MainWindow.__init__):
50 (MainWindow.identify_view_on_demand): Don't open the identify view
51 in IdentifyTool anymore. This will be done automatically by the
52 new method identify_view_on_demand which handles the
53 SELECTED_SHAPE message so that the identify view will be opened on
54 demand
55
56 * Thuban/UI/identifyview.py (IdentifyListCtrl.__init__): Remove
57 the interactor argument. The SELECTED_SHAPE message is now handled
58 by the parent.
59 (IdentifyView.__init__): Add the interactor argument so that we
60 can handle the SELECTED_SHAPE message here
61 (IdentifyView.selected_shape): New method to handle the
62 SELECTED_SHAPE messages
63
64 * Thuban/UI/identifyview.py (IdentifyView): Derive from the new
65 NonModalDialog class
66 (IdentifyView.OnClose): Extend the inherited version to
67 unsubscribe SELECT_SHAPE
68
69 * Thuban/Model/session.py (Session.UnsetModified): Remove debug prints
70
71 2001-09-05 Bernhard Herzog <[email protected]>
72
73 * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
74
75 * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
76 interactor to pass through to the MapCanvas
77
78 * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
79 argument to the MainWindow constructor to get rid of the ugly hack
80 that made main.app available early just so that the mapcanvas
81 could access the interactor object.
82
83 2001-09-04 Bernhard Herzog <[email protected]>
84
85 * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method
86 that runs a modal message box
87 (MainWindow.OnClose): Use the new method
88 (MainWindow.RemoveLayer): Just do nothing in case no layer is
89 selected. The command should be grayed out anyway, so there's no
90 need to pop up a message box.
91 (MainWindow.AddLayer): Pop up a message box with an error message
92 if the shape file can't be opened
93
94 * Thuban/Model/layer.py (Layer.__init__): Open the shapefile
95 immediately. This will cause an exception in case the file can't
96 be opened and we can display an appropriate message.
97
98 * MANIFEST.in: Add extensions/pyprojection/LICENSE
99
100 * setup.py (thuban_bdist_rpm): New class implementing a Thuban
101 specific bdist_rpm command.
102
103 * Thuban/UI/main.py: Catch ImportError exceptions when importing
104 the locale module because it may not be available on some
105 installations.
106
107 * extensions/pyprojection/LICENSE: Copy of the license text in
108 Projection.i. Having it in a separate file makes it easier to
109 refer to license text in e.g. RPMs
110
111 2001-09-03 Bernhard Herzog <[email protected]>
112
113 * setup.py: use wx-config instead of wxgtk-config because it's
114 more generic
115
116 * setup.py (ThubanInstall.get_outputs): Add the symlink in
117 <prefix>/bin to the outputs
118 (ThubanInstall.link_file): New method to link files. We need this
119 because the standard copy_files refuses to link non-existing
120 files.
121 (ThubanInstall.run): Remove the leading install root from the
122 script filename if an install root was specified and use the new
123 link_file method
124
125 * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
126 the window when the first layer is added to the map.
127
128 * setup.py (ThubanInstall.run): Honor the build root (self.root)
129 when linking thuban.py to <prefix>/bin
130
131 2001-08-31 Bernhard Herzog <[email protected]>
132
133 * setup.py: In the setup call, the install parameters shouldn't
134 have trailing slashes because distutils on non-posix platforms
135 doesn't like that. The same applies to other directories like
136 "Resources/Bitmaps"
137
138 In the configuration section for nt, move the wxWindows directory
139 optins into the part clearly marked as editable.
140
141 (InstallLocal.initialize_options):
142 (InstallLocal.user_options): remove the currently unused debug
143 flag
144 (thuban_build_py.find_all_modules): Add this method so that it
145 works for our case of having packages and modules in one
146 distribution as well.
147 (ThubanInstall.initialize_options):
148 (ThubanInstall.finalize_options):
149 (ThubanInstall.user_options):
150 (ThubanInstall.boolean_options): Add new options, do-symlink and
151 extra files. Since these are the first ThubanInstall specific
152 options, override user_options and boolean_options
153 (ThubanInstall.run): Honor the new do-symlink and extra-files
154 options.
155 (ThubanInstall.get_outputs): Add to override the base-class's
156 version and add the extra-files to the outputs
157 (bdist_inno): New class for windows distributions with Inno Setup
158 (InnoIconItem): Helper class for bdist_inno
159 (thuban_bdist_inno): Thuban specific version of bdist_inno. Added
160 this together with the appropriate parameters, to the setup call.
161
162 * setup.cfg (bdist_inno): added new section for the inno setup
163 installer
164
165 * Thuban/UI/tree.py (myTreeCtrlPanel.__init__): New inst var
166 changing_selection to avoid recursive selection events when
167 modifying the selection in response to a selection event.
168 (myTreeCtrlPanel.normalize_selection): Set the new inst var when
169 changing the tree's selection.
170 (myTreeCtrlPanel.OnSelChanged): Only normalize the selection when
171 we're not being called indirectly from normalize_selection.
172
173 * Thuban/UI/mainwindow.py (MainWindow.update_command_ui): Call
174 event.Check only if the command is actuall checkable.
175 (MainWindow.__init__): Call the toolbar's Realize method to make
176 sure that the items are actually shown
177
178 2001-08-28 Bernhard Herzog <[email protected]>
179
180 * setup.py: Fix some doc strings
181
182 * ChangeLog: started
183

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26