1 |
2003-04-25 Jonathan Coles <[email protected]> |
2003-04-25 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/load.py (SessionLoader.start_projection): Remember |
4 |
|
the projection name and use it when constructing the Projection |
5 |
|
object. |
6 |
|
|
7 |
|
* Thuban/Model/proj.py (Projection.__init__): Change the default |
8 |
|
value for 'name' to None and then test if name is equal to None |
9 |
|
in the body of the constructor. This way the caller doesn't have to |
10 |
|
know what the default value should be. Namely, useful in load.py |
11 |
|
where we have to pick a default value if the 'name' parameter |
12 |
|
doesn't exist in the XML file. |
13 |
|
|
14 |
|
* test/test_load.py (LoadSessionTest.testLayerProjection): New. |
15 |
|
Tests a file where a layer has a projection. |
16 |
|
|
17 |
|
2003-04-25 Jonathan Coles <[email protected]> |
18 |
|
|
19 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Add an item to the |
20 |
|
tree for projection information. |
21 |
|
|
22 |
|
* Thuban/Model/load.py (XMLReader.GetFilename): Renamed from |
23 |
|
XMLReader.GetFileName. |
24 |
|
(SessionLoader): Added support for loading projection tags that |
25 |
|
appear inside a layer. |
26 |
|
|
27 |
|
* Thuban/Model/proj.py (ProjFile): Document the class. Move |
28 |
|
back to using a list because the order of the projections in |
29 |
|
the file is important to maintain. Fixes RTbug #1817. |
30 |
|
|
31 |
|
* Thuban/Model/resource.py: Rename calls to ProjFile.GetFileName |
32 |
|
to ProjFile.GetFilename. |
33 |
|
|
34 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Save projection |
35 |
|
information. |
36 |
|
|
37 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnAddToList): Renamed from |
38 |
|
ProjFrame._OnSaveAs. Removed old dead code from previous |
39 |
|
implementation. |
40 |
|
(ProjFrame._OnExport): Add support for exporting more than one |
41 |
|
projection to a single file. |
42 |
|
(ProjFrame.__FillAvailList): use string formatting (% operator) |
43 |
|
to build strings that are (partly) translated. Fixes RTbug #1818. |
44 |
|
|
45 |
|
* test/test_proj.py (TestProjFile.test): New. Tests the base ProjFile |
46 |
|
class. |
47 |
|
|
48 |
|
2003-04-24 Bernhard Herzog <[email protected]> |
49 |
|
|
50 |
|
* po/es.po: Updated Spanish translation by Daniel Calvelo Aros |
51 |
|
|
52 |
|
* po/fr.po: New. French translation by Daniel Calvelo Aros |
53 |
|
|
54 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnSaveAs): Don't translate |
55 |
|
empty strings. |
56 |
|
|
57 |
|
2003-04-24 Jonathan Coles <[email protected]> |
58 |
|
|
59 |
* Thuban/Model/layer.py (Layer.GetProjection): New. Needed to |
* Thuban/Model/layer.py (Layer.GetProjection): New. Needed to |
60 |
implement the interface that the ProjFrame dialog expects. |
implement the interface that the ProjFrame dialog expects. |
61 |
|
|