1 |
|
2002-08-22 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/table.py (Table.write_record): New method to write |
4 |
|
records. |
5 |
|
(Table.__init__): Open the DBF file for writing too. |
6 |
|
|
7 |
|
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
8 |
|
into the underlying table. |
9 |
|
|
10 |
|
* extensions/shapelib/shapefil.h (DBFCommit), |
11 |
|
extensions/shapelib/dbfopen.c (DBFCommit): New API function to |
12 |
|
commit any changes made to the DBF file. |
13 |
|
|
14 |
|
* Thuban/UI/mainwindow.py (make_check_current_tool) |
15 |
|
(_tool_command): Put the code that generates the "checked" |
16 |
|
callback into a separate function so that we can reuse it |
17 |
|
elsewhere |
18 |
|
|
19 |
|
* Thuban/Model/save.py (Saver): New class to handle serializing a |
20 |
|
session into an XML file. The main reason to introduce a class is |
21 |
|
that applications built on Thuban can derive from it so that they |
22 |
|
can save additional information in a session file. |
23 |
|
(save_session): Delegate almost all the work to the Saver class. |
24 |
|
Rename the filename argument to file because it may be a file like |
25 |
|
object now. |
26 |
|
|
27 |
|
* Thuban/Model/load.py: Get rid of the Python 1.5.2 compatibility |
28 |
|
code. Remove the little test code which would be executed when the |
29 |
|
module is run as a script which didn't work anymore since it can't |
30 |
|
import the other Thuban modules. |
31 |
|
(ProcessSession, load_session): Refactor the ProcessSession to |
32 |
|
have one method for each element start and end tag so that derived |
33 |
|
classes can easily override the processing of individual tags. |
34 |
|
Also, always parse with namespaces enabled because applications |
35 |
|
built on top of Thuban will likely use namespaces if they extend |
36 |
|
the session file format. |
37 |
|
|
38 |
|
2002-08-21 Bernhard Herzog <[email protected]> |
39 |
|
|
40 |
|
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |
41 |
|
because thubaninit_contents will do it for us. |
42 |
|
|
43 |
|
2002-08-16 Jan-Oliver Wagner <[email protected]> |
44 |
|
|
45 |
|
* Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if |
46 |
|
tree window already open |
47 |
|
|
48 |
|
2002-08-15 Bernhard Herzog <[email protected]> |
49 |
|
|
50 |
|
* Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method |
51 |
|
with self. |
52 |
|
|
53 |
|
* Thuban/UI/view.py (MapCanvas.OnLeftUp): Only release the mouse |
54 |
|
when we have actually captured it. |
55 |
|
|
56 |
|
* Thuban/Model/layer.py (Layer.Destroy): New. Explicitly close the |
57 |
|
shapefile and destroy the table. |
58 |
|
|
59 |
|
* Thuban/Model/table.py (Table.Destroy): New. Close the DBF file. |
60 |
|
|
61 |
2002-08-14 Bernhard Herzog <[email protected]> |
2002-08-14 Bernhard Herzog <[email protected]> |
62 |
|
|
63 |
|
* Thuban/UI/controls.py (RecordTable.__init__): Remove the unused |
64 |
|
instance variable columns |
65 |
|
(RecordTable.GetTypeName): row and col may be negative in some |
66 |
|
cases. |
67 |
|
|
68 |
* setup.py (InstallLocal.initialize_options) |
* setup.py (InstallLocal.initialize_options) |
69 |
(InstallLocal.finalize_options, InstallLocal.user_options): New |
(InstallLocal.finalize_options, InstallLocal.user_options): New |
70 |
option create-init-file to build a thubaninit.py when running |
option create-init-file to build a thubaninit.py when running |