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