1 |
bh |
19 |
2001-09-04 Bernhard Herzog <[email protected]> |
2 |
|
|
|
3 |
bh |
22 |
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method |
4 |
|
|
that runs a modal message box |
5 |
|
|
(MainWindow.OnClose): Use the new method |
6 |
|
|
(MainWindow.RemoveLayer): Just do nothing in case no layer is |
7 |
|
|
selected. The command should be grayed out anyway, so there's no |
8 |
|
|
need to pop up a message box. |
9 |
|
|
(MainWindow.AddLayer): Pop up a message box with an error message |
10 |
|
|
if the shape file can't be opened |
11 |
|
|
|
12 |
|
|
* Thuban/Model/layer.py (Layer.__init__): Open the shapefile |
13 |
|
|
immediately. This will cause an exception in case the file can't |
14 |
|
|
be opened and we can display an appropriate message. |
15 |
|
|
|
16 |
bh |
19 |
* MANIFEST.in: Add extensions/pyprojection/LICENSE |
17 |
|
|
|
18 |
|
|
* setup.py (thuban_bdist_rpm): New class implementing a Thuban |
19 |
|
|
specific bdist_rpm command. |
20 |
|
|
|
21 |
|
|
* Thuban/UI/main.py: Catch ImportError exceptions when importing |
22 |
|
|
the locale module because it may not be available on some |
23 |
|
|
installations. |
24 |
|
|
|
25 |
|
|
* extensions/pyprojection/LICENSE: Copy of the license text in |
26 |
|
|
Projection.i. Having it in a separate file makes it easier to |
27 |
|
|
refer to license text in e.g. RPMs |
28 |
|
|
|
29 |
bh |
18 |
2001-09-03 Bernhard Herzog <[email protected]> |
30 |
|
|
|
31 |
bh |
19 |
* setup.py: use wx-config instead of wxgtk-config because it's |
32 |
|
|
more generic |
33 |
|
|
|
34 |
|
|
* setup.py (ThubanInstall.get_outputs): Add the symlink in |
35 |
|
|
<prefix>/bin to the outputs |
36 |
|
|
(ThubanInstall.link_file): New method to link files. We need this |
37 |
|
|
because the standard copy_files refuses to link non-existing |
38 |
|
|
files. |
39 |
|
|
(ThubanInstall.run): Remove the leading install root from the |
40 |
|
|
script filename if an install root was specified and use the new |
41 |
|
|
link_file method |
42 |
|
|
|
43 |
bh |
18 |
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to |
44 |
|
|
the window when the first layer is added to the map. |
45 |
|
|
|
46 |
|
|
* setup.py (ThubanInstall.run): Honor the build root (self.root) |
47 |
|
|
when linking thuban.py to <prefix>/bin |
48 |
|
|
|
49 |
bh |
16 |
2001-08-31 Bernhard Herzog <[email protected]> |
50 |
|
|
|
51 |
|
|
* setup.py: In the setup call, the install parameters shouldn't |
52 |
|
|
have trailing slashes because distutils on non-posix platforms |
53 |
|
|
doesn't like that. The same applies to other directories like |
54 |
|
|
"Resources/Bitmaps" |
55 |
|
|
|
56 |
|
|
In the configuration section for nt, move the wxWindows directory |
57 |
|
|
optins into the part clearly marked as editable. |
58 |
|
|
|
59 |
|
|
(InstallLocal.initialize_options): |
60 |
|
|
(InstallLocal.user_options): remove the currently unused debug |
61 |
|
|
flag |
62 |
|
|
(thuban_build_py.find_all_modules): Add this method so that it |
63 |
|
|
works for our case of having packages and modules in one |
64 |
|
|
distribution as well. |
65 |
|
|
(ThubanInstall.initialize_options): |
66 |
|
|
(ThubanInstall.finalize_options): |
67 |
|
|
(ThubanInstall.user_options): |
68 |
|
|
(ThubanInstall.boolean_options): Add new options, do-symlink and |
69 |
|
|
extra files. Since these are the first ThubanInstall specific |
70 |
|
|
options, override user_options and boolean_options |
71 |
|
|
(ThubanInstall.run): Honor the new do-symlink and extra-files |
72 |
|
|
options. |
73 |
|
|
(ThubanInstall.get_outputs): Add to override the base-class's |
74 |
|
|
version and add the extra-files to the outputs |
75 |
|
|
(bdist_inno): New class for windows distributions with Inno Setup |
76 |
|
|
(InnoIconItem): Helper class for bdist_inno |
77 |
|
|
(thuban_bdist_inno): Thuban specific version of bdist_inno. Added |
78 |
|
|
this together with the appropriate parameters, to the setup call. |
79 |
|
|
|
80 |
|
|
* setup.cfg (bdist_inno): added new section for the inno setup |
81 |
|
|
installer |
82 |
|
|
|
83 |
|
|
* Thuban/UI/tree.py (myTreeCtrlPanel.__init__): New inst var |
84 |
|
|
changing_selection to avoid recursive selection events when |
85 |
|
|
modifying the selection in response to a selection event. |
86 |
|
|
(myTreeCtrlPanel.normalize_selection): Set the new inst var when |
87 |
|
|
changing the tree's selection. |
88 |
|
|
(myTreeCtrlPanel.OnSelChanged): Only normalize the selection when |
89 |
|
|
we're not being called indirectly from normalize_selection. |
90 |
|
|
|
91 |
|
|
* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): Call |
92 |
|
|
event.Check only if the command is actuall checkable. |
93 |
|
|
(MainWindow.__init__): Call the toolbar's Realize method to make |
94 |
|
|
sure that the items are actually shown |
95 |
|
|
|
96 |
bh |
7 |
2001-08-28 Bernhard Herzog <[email protected]> |
97 |
|
|
|
98 |
bh |
9 |
* setup.py: Fix some doc strings |
99 |
|
|
|
100 |
bh |
7 |
* ChangeLog: started |
101 |
|
|
|