1 |
|
2002-07-09 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* setup.py: Create a file in python's site-packages directory to |
4 |
|
make installation of Thuban as a library easier. |
5 |
|
(ThubanInstall.user_options): Add two new options, |
6 |
|
create-init-module and init-module-dir |
7 |
|
(ThubanInstall.expand_with_pure_python_dirs): New method to expand |
8 |
|
filenames for installation in the default directories. |
9 |
|
(ThubanInstall.select_scheme, ThubanInstall.convert_paths): Extend |
10 |
|
the inherited methods to capture some filenames before they're |
11 |
|
transformed too much by distutils. |
12 |
|
(ThubanInstall.run): Create the init module if requested. |
13 |
|
(ThubanInstall.thuban_init_filename): New method to return the |
14 |
|
full name of the init module. |
15 |
|
(ThubanInstall.get_outputs): Append the filename of the init |
16 |
|
module. |
17 |
|
|
18 |
|
2002-07-08 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* setup.py (thuban_bdist_rpm): Extend this version of bdist_rpm to |
21 |
|
handle the prefix properly which means that the default for the |
22 |
|
installation prefix should be /usr for RPMs and /usr/local when |
23 |
|
doing a normal source install. |
24 |
|
(bdist_rpm_install_script): Script to override the default install |
25 |
|
commands in the specfile generated by the bdist_rpm command. |
26 |
|
(thuban_bdist_rpm.user_options): Add a prefix option |
27 |
|
(thuban_bdist_rpm.initialize_options): Init the prefix option. |
28 |
|
Create the script files for the spec files as empty files here |
29 |
|
(thuban_bdist_rpm._make_spec_file): Override the inherited method |
30 |
|
to fill the script files with content. |
31 |
|
|
32 |
|
* Thuban/Model/save.py (relative_filename): Wrapper around |
33 |
|
Thuban.Lib.fileutil.relative_filename that accepts an empty dir |
34 |
|
argument. save_session now automatically uses this version, |
35 |
|
solving a problem when saving to a relative filename. |
36 |
|
|
37 |
|
* setup.py: In the setup call, make sure that the library |
38 |
|
directories are under $prefix/lib not directly under $prefix. |
39 |
|
|
40 |
|
2002-06-20 Jan-Oliver Wagner <[email protected]> |
41 |
|
|
42 |
|
* Thuban/Model/extension.py: new module to handle extension objects. |
43 |
|
* Thuban/Model/messages.py: new messages for extensions. |
44 |
|
* Thuban/Model/session.py (Session.Extensions, Session.HasExtensions, |
45 |
|
Session.AddExtension): new for handling extensions. |
46 |
|
Also some other minor changes to round up extension handling. |
47 |
|
* Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization |
48 |
|
of Extension titles and title and names of its objects. |
49 |
|
|
50 |
|
2002-05-29 Bernhard Herzog <[email protected]> |
51 |
|
|
52 |
|
* Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind |
53 |
|
the events for a command. |
54 |
|
(MainWindow.add_toolbar_command, MainWindow.add_menu_command): |
55 |
|
Call bind_command_events to bind the events. add_toolbar_command |
56 |
|
can now bind events too so that it's possible to have commands |
57 |
|
that are only available through the toolbar. |
58 |
|
(MainWindow.init_ids): New instance variable events_bound to keep |
59 |
|
track of for which commands events have been bound. |
60 |
|
|
61 |
|
2002-05-28 Bernhard Herzog <[email protected]> |
62 |
|
|
63 |
|
* Thuban/UI/menu.py: New module to build and manage menus. |
64 |
|
|
65 |
|
* Thuban/UI/mainwindow.py: Remove some unused imports. |
66 |
|
(MainWindow.__init__, main_menu): move the definition of the main |
67 |
|
menu from __init__ to the Menu instance main_menu. |
68 |
|
(MainWindow.build_menu_bar, MainWindow.build_menu): New methods to |
69 |
|
build the menu bar and sub-menus from a menu description. |
70 |
|
|
71 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Read the |
72 |
|
startup file |
73 |
|
(ThubanApplication.read_startup_files): New method to run |
74 |
|
~/.thuban/thubanstart.py |
75 |
|
|
76 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar): |
77 |
|
Move the toolbar definition to the Menu instance main_toolbar. |
78 |
|
(MainWindow.build_toolbar): New method to build the toolbar |
79 |
|
similar to the build_menu methods |
80 |
|
|
81 |
|
2002-05-23 Bernhard Herzog <[email protected]> |
82 |
|
|
83 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of |
84 |
|
layer_outline_color. Fix it in the definition of the command too. |
85 |
|
|
86 |
|
* Thuban/UI/command.py (Command): Fix typo in doc string |
87 |
|
|
88 |
|
2002-05-22 Bernhard Herzog <[email protected]> |
89 |
|
|
90 |
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo |
91 |
|
in the docstring |
92 |
|
|
93 |
|
2002-05-15 Bernhard Herzog <[email protected]> |
94 |
|
|
95 |
|
* Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None |
96 |
|
when the shapefile is empty. |
97 |
|
(Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may |
98 |
|
now return None for empty shapefiles. Update doc-strings. |
99 |
|
|
100 |
|
* Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with |
101 |
|
the layer's bbox being None. |
102 |
|
|
103 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the |
104 |
|
layer's bbox being None. |
105 |
|
|
106 |
|
* Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when |
107 |
|
necessary. |
108 |
|
(MapCanvas.__init__): New instance variables, last_selected_layer |
109 |
|
and last_selected_shape to determine how the selection has |
110 |
|
changed. |
111 |
|
|
112 |
|
* Thuban/UI/tableview.py (TableGrid.__init__): Do not call |
113 |
|
AutoSizeColumns because it will cause a traversal of the entire |
114 |
|
table which for large .dbf files will take a very long time. |
115 |
|
|
116 |
|
2002-05-14 Bernhard Herzog <[email protected]> |
117 |
|
|
118 |
|
* Thuban/Model/layer.py (Layer.open_shapefile): Choose a better |
119 |
|
maximum depth for the tree than shapelib does by default. |
120 |
|
|
121 |
2002-05-10 Bernhard Herzog <[email protected]> |
2002-05-10 Bernhard Herzog <[email protected]> |
122 |
|
|
123 |
* setup.py (py_modules): The shptree modules doesn't have a |
* setup.py (py_modules): The shptree modules doesn't have a |